/* Education Today header — stays visible while scrolling */
.et-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    box-shadow: 0 4px 20px rgba(10, 31, 107, 0.12);
}

.et-header-spacer {
    width: 100%;
    height: 130px;
    flex-shrink: 0;
}

.et-header-top {
    background: #0b1f6b;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}

.et-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
    padding: 8px 0;
}

.et-header-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
}

.et-header-contact a,
.et-header-social a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.et-header-contact a:hover,
.et-header-social a:hover {
    color: #fff;
    opacity: 0.85;
}

.et-header-contact i {
    font-size: 13px;
}

.et-header-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.et-header-social a {
    width: 28px;
    height: 28px;
    justify-content: center;
    font-size: 14px;
}

.et-header-main {
    background: #fff;
}

.et-header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 88px;
    padding: 10px 0;
}

.et-logo img {
    display: block;
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.et-nav {
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    margin-left: auto;
}

.et-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.et-nav ul li a {
    display: block;
    padding: 8px 10px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

@media (min-width: 1200px) {
    .et-nav ul li a {
        padding: 8px 12px;
    }
}

.et-nav ul li a:hover,
.et-nav ul li a.active {
    color: #0b1f6b;
}

/* Dropdown menus — match educationtoday.co */
.et-nav ul li.has-dropdown {
    position: relative;
}

.et-nav ul li.has-dropdown > a {
    border-radius: 6px;
}

.et-nav ul li.has-dropdown:hover > a,
.et-nav ul li.has-dropdown:focus-within > a {
    background: #0b1f6b;
    color: #fff;
}

.et-nav .et-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block;
    min-width: 280px;
    max-width: 360px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e8ecf4;
    box-shadow: 0 12px 28px rgba(18, 24, 51, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.et-nav ul li.has-dropdown:hover > .et-dropdown,
.et-nav ul li.has-dropdown:focus-within > .et-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.et-nav .et-dropdown li {
    display: block;
    width: 100%;
}

.et-nav .et-dropdown li a {
    display: block;
    padding: 12px 18px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    white-space: normal;
    border-radius: 0;
    background: transparent;
}

.et-nav .et-dropdown li a:hover {
    background: #f4f6fb;
    color: #0b1f6b;
}

.et-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.et-google-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.et-menu-toggle {
    border: 0;
    background: transparent;
    color: #0b1f6b;
    font-size: 24px;
    line-height: 1;
    padding: 6px;
    margin-left: auto;
}

/* Mobile menu logo sizing */
.th-menu-wrapper .mobile-logo img {
    max-height: 56px;
    width: auto;
}

@media (max-width: 991.98px) {
    .et-header-spacer {
        height: 114px;
    }

    .et-header-top-inner {
        justify-content: center;
        text-align: center;
    }

    .et-header-social {
        display: none;
    }

    .et-header-main-inner {
        min-height: 72px;
    }

    .et-logo img {
        height: 52px;
    }
}

@media (max-width: 575.98px) {
    .et-header-contact {
        justify-content: center;
        gap: 8px 16px;
        font-size: 12px;
    }

    .et-logo img {
        height: 46px;
        max-width: 170px;
    }
}

/* Weekly News section – full-width dark band, slightly lower */
.et-weekly-news,
.et-weekly-news-full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 80px;
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    position: relative;
    left: 0;
    right: 0;
}

.et-weekly-news .container,
.et-weekly-news-full .container {
    max-width: 1320px;
}

.et-weekly-news .sec-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 40px;
    color: #fff;
}

.et-weekly-news .blog-style3 .blog-img img {
    width: 100%;
    min-height: 340px;
    object-fit: cover;
}

.et-weekly-news .blog-style3 .box-title-30 {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.et-weekly-news .blog-style1 .blog-img img {
    width: 100%;
    min-height: 210px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .et-weekly-news,
    .et-weekly-news-full {
        margin-top: 50px;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .et-weekly-news .blog-style3 .blog-img img {
        min-height: 260px;
    }
}

/* EducationToday footer (matched to educationtoday.co) */
.et-footer {
    background: linear-gradient(180deg, #062865 0%, #0a327c 52%, #103d93 100%) !important;
    color: #eef4ff !important;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 42px 0 24px;
}

.et-footer a {
    color: #eef4ff !important;
    text-decoration: none;
}

.et-footer h5,
.et-footer li,
.et-footer p,
.et-footer span,
.et-footer i {
    color: #eef4ff !important;
}

.et-footer a:hover {
    color: #ffffff !important;
}

.et-footer h5 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.et-footer ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.et-footer li {
    margin-bottom: 10px;
    list-style: none;
    font-size: 15px;
    line-height: 1.5;
}

.et-footer .et-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    max-width: 170px;
}

.et-footer .et-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 6px;
    color: #eef4ff !important;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
}

.et-footer .et-social a:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

.et-footer .et-social a[aria-label="Facebook"]:hover i { color: #1877F2 !important; }
.et-footer .et-social a[aria-label="YouTube"]:hover i { color: #FF0000 !important; }
.et-footer .et-social a[aria-label="LinkedIn"]:hover i { color: #0A66C2 !important; }
.et-footer .et-social a[aria-label="Instagram"]:hover i { color: #C13584 !important; }
.et-footer .et-social a[aria-label="X"]:hover i { color: #1DA1F2 !important; }

.et-footer .et-bottom {
    border-top: 1px solid rgba(235, 243, 255, 0.28) !important;
    margin-top: 26px;
    padding-top: 18px;
    font-size: 13px;
    color: rgba(238, 244, 255, 0.92) !important;
    text-align: center;
}

@media (max-width: 991.98px) {
    .et-footer .et-social {
        max-width: none;
    }
}

/* Force EducationToday blue instead of theme pink/purple/red accents */
:root {
    --theme-color: #25348B !important;
    --theme-color2: #0a327c !important;
}

.breadcumb-menu li:not(:first-child):last-child,
.breadcumb-menu li:last-child {
    color: #25348B !important;
}

.category,
a.category,
.blog-img .category,
.blog-meta .category {
    --theme-color: #25348B !important;
    background-color: #25348B !important;
}

.category:hover,
a.category:hover {
    background-color: #0a327c !important;
}

.th-btn,
.th-btn.style2,
button.th-btn,
a.th-btn {
    background-color: #25348B !important;
    border-color: #25348B !important;
}

.th-btn:hover,
a.th-btn:hover,
button.th-btn:hover {
    background-color: #0a327c !important;
    border-color: #0a327c !important;
}

.scroll-top {
    background-color: #25348B !important;
}

.text-theme,
a.text-theme {
    color: #25348B !important;
}

.blog-meta a:hover,
.blog-meta a:hover i,
a.hover-line:hover,
.page-link:hover,
.page-item.active .page-link {
    color: #25348B !important;
}

.page-item.active .page-link {
    background-color: #25348B !important;
    border-color: #25348B !important;
}

a.th-btn.style2.et-view-all-btn,
.et-view-all-btn.th-btn.style2 {
    color: #ffffff !important;
}

a.th-btn.style2.et-view-all-btn:hover,
.et-view-all-btn.th-btn.style2:hover {
    color: #ffffff !important;
}

.et-comment-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25348B;
    color: #fff;
    font-family: "League Spartan", sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.et-news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #54595F;
}

.et-news-content h1,
.et-news-content h2,
.et-news-content h3,
.et-news-content h4,
.et-news-content h5,
.et-news-content h6 {
    color: #080809;
    margin: 1.2em 0 0.6em;
}

.et-news-content p {
    margin-bottom: 1em;
}

.et-news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1em 0;
}

.et-news-content ul,
.et-news-content ol {
    margin: 0 0 1em 1.2em;
}

.et-news-content .et-read-more-wrap {
    display: block !important;
    width: 100% !important;
    clear: both;
    margin: 32px 0 12px;
    text-align: center !important;
}

.et-news-content .et-read-more-wrap a.et-read-more-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    float: none !important;
    width: auto !important;
    margin: 0 auto !important;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    background: #25348B !important;
    color: #ffffff !important;
    font-family: "League Spartan", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none !important;
}

.et-news-content a.et-read-more-btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
}

.et-news-content a.et-read-more-btn:hover {
    background: #0a327c !important;
    color: #ffffff !important;
}

.et-newsletter {
    margin-top: 20px;
}

.et-newsletter .newsletter-form.width2 {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 560px;
}

.et-newsletter .newsletter-form.width2 .form-control {
    flex: 1 1 240px;
    min-height: 52px;
}

.et-newsletter .newsletter-form.width2 .th-btn {
    min-height: 52px;
}

/* EducationToday pagination */
.et-pager {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0 0;
}

.et-pager ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.et-pager li {
    display: inline-flex;
    margin: 0;
    list-style: none;
}

.et-pager a,
.et-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e6eaf2;
    border-radius: 999px;
    background: #fff;
    color: #121833;
    font-family: "League Spartan", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: 0.25s ease;
}

.et-pager a:hover {
    color: #fff;
    background: #25348B;
    border-color: #25348B;
}

.et-pager a.active {
    color: #fff;
    background: #25348B;
    border-color: #25348B;
    pointer-events: none;
}

.et-pager li.disabled span {
    opacity: 0.4;
    cursor: not-allowed;
}

.th-pagination .et-pager {
    margin-top: 0;
}

.th-blog .et-faq,
.et-faq {
    margin: 40px 0 16px;
    padding: 0;
}

.th-blog .et-faq #et-faq-title,
.et-faq #et-faq-title {
    margin-bottom: 18px;
    color: #121833;
}

.th-blog .et-faq-list,
.et-faq-list {
    display: grid;
    gap: 12px;
}

.th-blog .et-faq-item,
.et-faq-item {
    border: 1px solid #e6eaf2 !important;
    border-radius: 12px !important;
    background: #f7f9fc !important;
    overflow: hidden;
    box-shadow: none !important;
}

.th-blog .et-faq-item[open],
.et-faq-item[open] {
    background: #fff !important;
    border-color: #cfd8ea !important;
}

.th-blog .et-faq-item summary,
.et-faq-item summary {
    position: relative;
    display: block;
    cursor: pointer;
    list-style: none !important;
    padding: 16px 52px 16px 18px !important;
    font-family: "League Spartan", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    color: #121833 !important;
}

.th-blog .et-faq-item summary::-webkit-details-marker,
.et-faq-item summary::-webkit-details-marker,
.th-blog .et-faq-item summary::marker,
.et-faq-item summary::marker {
    display: none !important;
    content: "" !important;
}

.th-blog .et-faq-item summary::after,
.et-faq-item summary::after {
    content: "+" !important;
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #25348B;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
    float: none !important;
}

.th-blog .et-faq-item[open] summary::after,
.et-faq-item[open] summary::after {
    content: "–" !important;
}

.th-blog .et-faq-item p,
.et-faq-item p {
    margin: 0 !important;
    padding: 0 18px 18px !important;
    color: #54595F !important;
    font-size: 15px;
    line-height: 1.75 !important;
}

.blog-meta .et-views {
    color: #54595F;
    text-decoration: none;
    pointer-events: none;
}
