/* Web/static/styles/term.css */

.term-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background-color: #fafafa;
}

.term-hero h1 {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    letter-spacing: 0.005em;
}

.term-hero .tagline {
    font-size: 1.1em;  /* Smaller font size for the tagline */
    color: #6e6e73;
    max-width: 700px;
    margin: 0 auto 20px;
}

.term-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px;
}

.term-section {
    margin-bottom: 40px; /* Space between sections */
     text-align: left;
}

.term-section h2 {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 15px; /* Less space below heading */
    letter-spacing: -0.01em;
}

.term-section p {
    font-size: 1em; /*  Slightly smaller font size for paragraphs */
    color: #555;
    line-height: 1.6;
    margin-bottom: 1em;
}

.term-section ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
      font-size: 1em;
    color: #555;
    line-height: 1.6;
}
.term-section li{
     margin-bottom: 0.5em;
}
.term-section a {
    color: #007aff;
    text-decoration: none;
}

.term-section a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .term-hero {
        padding: 60px 20px 30px;
    }

    .term-hero h1 {
        font-size: 2.5em;
    }

    .term-hero .tagline {
        font-size: 1em; /* Even smaller on mobile */
    }

    .term-content {
        padding: 20px;
    }

    .term-section {
        margin-bottom: 30px;
    }

      .ac-ln-menu-items {
        flex-direction: column;
        align-items: flex-start;
    }
      .ac-ln-menu-item {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .ac-ln-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .ac-ln-actions {
        margin-left: 0;
        margin-top: 10px;
    }
}