/*
Theme Name: Education Premium New
Theme URI: https://oureducationbd.com/
Author: Our Education BD
Description: Premium responsive education WordPress theme.
Version: 1.0.0
Text Domain: education-premium-new
*/

/* =========================================================
   RESET & BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f6f8fc;
    color: #172033;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e7ebf2;
    box-shadow: 0 4px 20px rgba(20, 35, 60, 0.06);
}

.header-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo h2 {
    margin: 0;
    color: #1769e0;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.custom-logo {
    max-width: 210px;
    max-height: 65px;
    width: auto;
    height: auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-menu {
    margin-left: auto;
}

.main-menu .menu {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu .menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu .menu li a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: #273247;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.main-menu .menu li a:hover,
.main-menu .menu li.current-menu-item > a {
    color: #1769e0;
    background: #eef5ff;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #eef5ff;
    color: #1769e0;
    font-size: 24px;
    cursor: pointer;
}


/* =========================================================
   HEADER SEARCH
========================================================= */

.header-search {
    flex: 0 0 auto;
}

.header-search form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-search input {
    width: 190px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    outline: none;
    background: #f9fbfe;
    color: #172033;
    font-size: 13px;
    transition: all 0.25s ease;
}

.header-search input:focus {
    border-color: #1769e0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.08);
}

.header-search button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #1769e0;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.25s ease;
}

.header-search button:hover {
    background: #0f57c4;
    transform: translateY(-1px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(255, 255, 255, 0.10),
            transparent 25%
        ),
        linear-gradient(135deg, #0969e8 0%, #315de8 100%);
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    top: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    left: -160px;
    bottom: -190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.hero h1 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    max-width: 760px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: #1769e0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: #0f57c4;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(23, 105, 224, 0.18);
}

.hero .btn {
    min-height: 50px;
    padding: 12px 24px;
    background: #ffffff;
    color: #1769e0;
}

.hero .btn:hover {
    background: #f4f8ff;
    color: #0f57c4;
}

.hero .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}


/* =========================================================
   SEARCH SECTION
========================================================= */

.search-section {
    padding: 70px 0;
    background: #ffffff;
    text-align: center;
}

.search-section h2 {
    margin-bottom: 8px;
    color: #172033;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
}

.search-section p {
    margin-bottom: 0;
    color: #687386;
    font-size: 16px;
}

.search-form {
    display: flex;
    width: min(720px, 100%);
    margin: 25px auto 0;
    gap: 10px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #172033;
    font-size: 14px;
    transition: all 0.25s ease;
}

.search-form input:focus {
    border-color: #1769e0;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.08);
}

.search-form button {
    min-width: 120px;
    height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #1769e0;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.search-form button:hover {
    background: #0f57c4;
    transform: translateY(-1px);
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    margin-bottom: 38px;
    text-align: center;
}

.section-title h2,
.section-heading h2 {
    color: #172033;
}

.section-title h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.section-title p {
    margin-bottom: 0;
    color: #687386;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.3;
}

.view-all {
    flex: 0 0 auto;
    color: #1769e0;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: #0f57c4;
}


/* =========================================================
   CATEGORIES
========================================================= */

.categories {
    padding: 85px 0;
    background: #f6f8fc;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    display: block;
    padding: 38px 24px;
    border: 1px solid #e7ebf2;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(25, 45, 75, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-7px);
    border-color: #d6e5fb;
    box-shadow: 0 18px 40px rgba(25, 45, 75, 0.12);
}

.category-card .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    margin-bottom: 18px;
    font-size: 58px;
    line-height: 1;
}

.category-card h3 {
    margin-bottom: 8px;
    color: #172033;
    font-size: 22px;
    line-height: 1.3;
}

.category-card p {
    margin: 0;
    color: #687386;
    font-size: 14px;
}


/* =========================================================
   LATEST / POSTS SECTION
========================================================= */

.latest-books {
    padding: 85px 0;
    background: #ffffff;
}

.posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}


/* =========================================================
   POST CARD
========================================================= */

.book-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(25, 45, 75, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    border-color: #d6e5fb;
    box-shadow: 0 18px 38px rgba(25, 45, 75, 0.12);
}

.book-card .thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.book-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.book-card:hover .thumb img {
    transform: scale(1.03);
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    margin: 12px 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.card-content h3 a {
    color: #172033;
    transition: color 0.2s ease;
}

.card-content h3 a:hover {
    color: #1769e0;
}

.card-content p {
    margin: 0 0 18px;
    color: #687386;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   POST META
========================================================= */

.post-meta,
.single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #7b8494;
    font-size: 12px;
}

.badge,
.single-category {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 50px;
    background: #eef5ff;
    color: #1769e0;
    font-weight: 700;
}


/* =========================================================
   CARD BUTTONS
========================================================= */

.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.card-buttons .btn {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
}

.btn-details {
    background: #edf3fb;
    color: #1769e0;
}

.btn-details:hover {
    background: #1769e0;
    color: #ffffff;
}

.btn-download {
    background: #1769e0;
    color: #ffffff;
}


/* =========================================================
   SINGLE POST / DETAILS
========================================================= */

.single-post,
.admission-details,
.jobs-details {
    width: 100%;
    max-width: 1180px;
    margin: 50px auto 30px;
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
}

.single-thumb {
    width: 100%;
    overflow: hidden;
    background: #eef2f7;
}

.single-thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    margin: 0;
}

.single-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 40px 45px;
}

.single-meta {
    margin-bottom: 16px;
    font-size: 14px;
}

.single-category {
    padding: 6px 12px;
    font-size: 13px;
}

.single-title {
    margin: 0 0 25px;
    color: #0f172a;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.7px;
}


/* =========================================================
   ADMISSION / JOB INFO BOX
========================================================= */

.admission-box,
.admission-info-box,
.job-info-box {
    margin: 20px 0 25px;
    padding: 20px;
    border: 1px solid #dbeafe;
    border-left: 5px solid #1769e0;
    border-radius: 12px;
    background: #f8fbff;
}

.admission-box h3,
.admission-info-title,
.job-info-title {
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
}

.admission-box p,
.admission-info-box p,
.job-info-box p {
    margin: 0;
    color: #475569;
}


/* =========================================================
   DOWNLOAD / APPLY BUTTON
========================================================= */

.single-download {
    margin: 20px 0 25px;
}

.single-download .btn {
    min-height: 48px;
    padding: 11px 20px;
}


/* =========================================================
   SINGLE BODY
========================================================= */

.single-body {
    width: 100%;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.single-body p {
    margin: 0 0 20px;
}

.single-body h2,
.single-body h3,
.single-body h4,
.single-body h5,
.single-body h6 {
    margin: 30px 0 12px;
    color: #0f172a;
    line-height: 1.35;
}

.single-body h2 {
    font-size: 28px;
}

.single-body h3 {
    font-size: 23px;
}

.single-body h4 {
    font-size: 20px;
}

.single-body ul,
.single-body ol {
    margin: 0 0 22px;
    padding-left: 25px;
}

.single-body li {
    margin-bottom: 8px;
}

.single-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
}

.single-body iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
}

.single-body table {
    width: 100%;
    max-width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
}

.single-body table th,
.single-body table td {
    padding: 10px 12px;
    border: 1px solid #dbe2ea;
    text-align: left;
}

.single-body table th {
    background: #f1f5f9;
    font-weight: 700;
}

.single-body a {
    color: #1769e0;
    font-weight: 600;
}

.single-body a:hover {
    color: #0f57c4;
    text-decoration: underline;
}


/* =========================================================
   TAGS
========================================================= */

.single-tags {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 14px;
}

.single-tags strong {
    color: #0f172a;
    margin-right: 8px;
}

.single-tags a {
    display: inline-block;
    margin: 4px;
    padding: 6px 11px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-size: 12px;
}

.single-tags a:hover {
    background: #eef5ff;
    color: #1769e0;
}


/* =========================================================
   POST NAVIGATION
========================================================= */

.post-navigation {
    width: 100%;
    max-width: 1180px;
    margin: 25px auto 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.post-navigation .previous-post,
.post-navigation .next-post {
    max-width: 48%;
}

.post-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 16px;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #ffffff;
    color: #1769e0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.post-navigation a:hover {
    background: #1769e0;
    border-color: #1769e0;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   RELATED POSTS
========================================================= */

.related-posts,
.jobs-related-posts {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 60px;
}

.related-posts .section-heading {
    margin-bottom: 25px;
}

.related-posts .section-heading h2,
.jobs-related-posts .section-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 30px;
    line-height: 1.3;
}

.related-posts .posts,
.jobs-related-posts .posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.related-posts .book-card,
.jobs-related-posts .book-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e7ebf2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(25, 45, 75, 0.06);
    transition: all 0.25s ease;
}

.related-posts .book-card:hover,
.jobs-related-posts .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(25, 45, 75, 0.12);
}

.related-posts .book-card .thumb,
.jobs-related-posts .book-card .thumb {
    display: block;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #eef2f7;
}

.related-posts .book-card .thumb img,
.jobs-related-posts .book-card .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    transition: transform 0.3s ease;
}

.related-posts .book-card:hover .thumb img,
.jobs-related-posts .book-card:hover .thumb img {
    transform: scale(1.04);
}

.related-posts .card-content,
.jobs-related-posts .card-content {
    padding: 19px;
}

.related-posts .post-meta,
.jobs-related-posts .post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 12px;
}

.related-posts .badge,
.jobs-related-posts .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 20px;
    background: #eef5ff;
    color: #1769e0;
    font-weight: 700;
}

.related-posts .card-content h3,
.jobs-related-posts .card-content h3 {
    margin: 8px 0 10px;
    font-size: 19px;
    line-height: 1.4;
}

.related-posts .card-content h3 a,
.jobs-related-posts .card-content h3 a {
    color: #172033;
    text-decoration: none;
}

.related-posts .card-content h3 a:hover,
.jobs-related-posts .card-content h3 a:hover {
    color: #1769e0;
}

.related-posts .card-content p,
.jobs-related-posts .card-content p {
    margin: 0 0 15px;
    color: #687386;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    margin-top: 45px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #ffffff;
    color: #172033;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    border-color: #1769e0;
    background: #1769e0;
    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    width: min(800px, calc(100% - 40px));
    margin: 70px auto;
    padding: 55px 30px;
    border: 1px solid #e7ebf2;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(25, 45, 75, 0.06);
}

.empty-state h2 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 30px;
}

.empty-state p {
    margin: 0 0 25px;
    color: #687386;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 0;
    background: #111827;
    color: #aeb7c7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-widget h3 {
    margin-bottom: 17px;
    color: #ffffff;
    font-size: 19px;
}

.footer-widget p {
    color: #aeb7c7;
    font-size: 14px;
}

.footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 9px;
}

.footer-widget ul li a {
    color: #aeb7c7;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-widget ul li a:hover {
    color: #ffffff;
}

.copyright {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center;
}

.copyright p {
    margin: 0;
    color: #8993a4;
    font-size: 13px;
}


/* =========================================================
   WORDPRESS
========================================================= */

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 15px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    margin-top: 6px;
    color: #687386;
    font-size: 13px;
    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-wrap {
        gap: 15px;
    }

    .main-menu .menu {
        gap: 2px;
    }

    .main-menu .menu li a {
        padding: 8px 9px;
        font-size: 14px;
    }

    .header-search input {
        width: 145px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-post,
    .admission-details,
    .jobs-details {
        width: calc(100% - 30px);
    }

    .related-posts,
    .jobs-related-posts,
    .post-navigation {
        width: calc(100% - 30px);
    }

    .single-content {
        padding: 30px;
    }

    .single-title {
        font-size: 34px;
    }

    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 24px);
        max-width: 620px;
    }


    /* HEADER */

    .site-header {
        position: sticky;
        top: 0;
    }

    .header-wrap {
        min-height: 66px;
        padding: 8px 0;
        justify-content: space-between;
    }

    .logo {
        min-width: 0;
        max-width: calc(100% - 55px);
    }

    .logo h2 {
        font-size: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .custom-logo {
        max-width: 170px;
        max-height: 48px;
    }

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .header-search {
        display: none;
    }


    /* MOBILE MENU */

    .main-menu {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 12px;
        right: 12px;
        width: auto;
        margin: 0;
        padding: 8px;
        border: 1px solid #e7ebf2;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .main-menu.active {
        display: block;
    }

    .main-menu .menu {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-menu .menu li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-menu .menu li a {
        display: block;
        width: 100%;
        margin: 0;
        padding: 11px 14px;
        border-radius: 9px;
        font-size: 15px;
    }


    /* HERO */

    .hero {
        padding: 62px 0 70px;
    }

    .hero h1 {
        font-size: 35px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero .btn {
        width: min(100%, 290px);
    }


    /* SEARCH */

    .search-section {
        padding: 50px 0;
    }

    .search-section h2 {
        font-size: 28px;
    }

    .search-section p {
        font-size: 14px;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form input,
    .search-form button {
        width: 100%;
    }


    /* CATEGORIES */

    .categories {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .section-title h2 {
        font-size: 27px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card {
        padding: 28px 20px;
        border-radius: 18px;
    }


    /* POSTS */

    .latest-books {
        padding: 60px 0;
    }

    .posts {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .book-card {
        border-radius: 17px;
    }

    .book-card .thumb {
        aspect-ratio: 16 / 9;
    }

    .card-content {
        padding: 18px;
    }

    .card-buttons {
        flex-direction: column;
    }

    .card-buttons .btn {
        width: 100%;
    }


    /* SECTION HEADING */

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .view-all {
        margin-top: 4px;
    }


    /* SINGLE POST */

    .single-post,
    .admission-details,
    .jobs-details {
        width: calc(100% - 24px);
        margin: 25px auto 22px;
        border-radius: 15px;
    }

    .single-thumb img {
        max-height: 400px;
        object-fit: cover;
    }

    .single-content {
        padding: 22px 17px 28px;
    }

    .single-meta {
        gap: 7px 9px;
        margin-bottom: 12px;
        font-size: 12px;
    }

    .single-category {
        padding: 5px 9px;
        font-size: 11px;
    }

    .single-title {
        margin-bottom: 20px;
        font-size: 27px;
        line-height: 1.3;
        letter-spacing: -0.3px;
    }

    .admission-box,
    .admission-info-box,
    .job-info-box {
        padding: 17px 15px;
        margin-bottom: 22px;
    }

    .admission-box h3,
    .admission-info-title,
    .job-info-title {
        font-size: 17px;
    }

    .admission-box p,
    .admission-info-box p,
    .job-info-box p {
        font-size: 14px;
    }

    .single-download {
        margin: 17px 0 22px;
    }

    .single-download .btn {
        width: 100%;
        min-height: 46px;
        font-size: 13px;
    }

    .single-body {
        font-size: 15px;
        line-height: 1.85;
    }

    .single-body h2 {
        font-size: 23px;
    }

    .single-body h3 {
        font-size: 20px;
    }

    .single-body h4 {
        font-size: 18px;
    }

    .single-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }


    /* NAVIGATION */

    .post-navigation {
        width: calc(100% - 24px);
        margin: 20px auto 35px;
        flex-direction: column;
        align-items: stretch;
    }

    .post-navigation .previous-post,
    .post-navigation .next-post {
        max-width: 100%;
        width: 100%;
    }

    .post-navigation a {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }


    /* RELATED */

    .related-posts,
    .jobs-related-posts {
        width: calc(100% - 24px);
        margin-bottom: 40px;
    }

    .related-posts .section-heading h2,
    .jobs-related-posts .section-heading h2 {
        font-size: 24px;
    }

    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .related-posts .book-card .thumb,
    .jobs-related-posts .book-card .thumb {
        height: 210px;
    }

    .related-posts .card-content,
    .jobs-related-posts .card-content {
        padding: 16px;
    }

    .related-posts .card-content h3,
    .jobs-related-posts .card-content h3 {
        font-size: 18px;
    }

    .related-posts .card-content p,
    .jobs-related-posts .card-content p {
        font-size: 13px;
    }


    /* EMPTY STATE */

    .empty-state {
        width: calc(100% - 24px);
        margin: 50px auto;
        padding: 40px 20px;
    }


    /* FOOTER */

    .site-footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .copyright {
        padding: 18px 0;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 20px);
    }

    .logo h2 {
        font-size: 18px;
    }

    .hero {
        padding: 52px 0 60px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 7px 12px;
    }

    .section-heading {
        gap: 10px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .card-content {
        padding: 16px;
    }

    .single-post,
    .admission-details,
    .jobs-details {
        width: calc(100% - 18px);
        border-radius: 13px;
    }

    .single-content {
        padding: 19px 14px 24px;
    }

    .single-title {
        font-size: 24px;
    }

    .single-body {
        font-size: 14px;
    }

    .related-posts,
    .jobs-related-posts,
    .post-navigation {
        width: calc(100% - 18px);
    }

    .related-posts .section-heading h2,
    .jobs-related-posts .section-heading h2 {
        font-size: 22px;
    }
}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 340px) {

    .logo h2 {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .section-heading h2 {
        font-size: 21px;
    }
}
/* =========================================================
   PREMIUM ARCHIVE / CATEGORY PAGES
========================================================= */

.archive-page {
    min-height: 70vh;
    background: #f6f8fc;
}


/* =========================================================
   ARCHIVE HERO
========================================================= */

.archive-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 78px;
    background: linear-gradient(
        135deg,
        #0969e8 0%,
        #315de8 100%
    );
    color: #ffffff;
}

.archive-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -170px;
    right: -100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.archive-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.archive-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.archive-hero h1 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.archive-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   ARCHIVE CONTENT
========================================================= */

.archive-content {
    padding: 70px 0 90px;
    background: #f6f8fc;
}


/* =========================================================
   TOP BAR
========================================================= */

.archive-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.archive-label {
    display: block;
    margin-bottom: 7px;
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.archive-topbar h2 {
    margin: 0;
    color: #172033;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
}

.archive-count {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #dfe6f0;
    border-radius: 50px;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   ARCHIVE GRID
========================================================= */

.archive-grid {
    display: grid;
    grid-template-columns: repeat(
        3,
        minmax(0, 1fr)
    );
    gap: 26px;
}


/* =========================================================
   PREMIUM POST CARD
========================================================= */

.premium-post-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e4e9f1;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 10px 30px rgba(25,45,75,0.06);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.premium-post-card:hover {
    transform: translateY(-7px);
    border-color: #d7e3f5;
    box-shadow:
        0 20px 45px rgba(25,45,75,0.13);
}


/* =========================================================
   POST IMAGE
========================================================= */

.premium-post-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.premium-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.premium-post-card:hover
.premium-post-image img {
    transform: scale(1.045);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.premium-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            #eef5ff,
            #f8fbff
        );
}

.premium-placeholder span {
    font-size: 65px;
}


/* =========================================================
   POST CONTENT
========================================================= */

.premium-post-content {
    padding: 21px 22px 23px;
}


/* =========================================================
   META
========================================================= */

.premium-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-bottom: 12px;
}

.premium-category {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 50px;
    background: #eef5ff;
    color: #1769e0;
    font-size: 11px;
    font-weight: 800;
}

.premium-date {
    color: #7b8494;
    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   TITLE
========================================================= */

.premium-post-title {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 800;
}

.premium-post-title a {
    color: #172033;
    text-decoration: none;
    transition: color 0.2s ease;
}

.premium-post-title a:hover {
    color: #1769e0;
}


/* =========================================================
   EXCERPT
========================================================= */

.premium-excerpt {
    min-height: 49px;
    margin-bottom: 18px;
    color: #687386;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   READ MORE
========================================================= */

.premium-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 9px;
    background: #eef5ff;
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.premium-read-more span {
    font-size: 16px;
    line-height: 1;
}

.premium-read-more:hover {
    background: #1769e0;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   PAGINATION
========================================================= */

.premium-pagination {
    margin-top: 48px;
    text-align: center;
}

.premium-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.premium-pagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.premium-pagination .page-numbers a,
.premium-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dfe5ee;
    border-radius: 9px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.premium-pagination .page-numbers a:hover,
.premium-pagination .page-numbers .current {
    border-color: #1769e0;
    background: #1769e0;
    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.premium-empty-state {
    max-width: 720px;
    margin: 10px auto 30px;
    padding: 65px 30px;
    border: 1px solid #e4e9f1;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(25,45,75,0.06);
}

.empty-icon {
    margin-bottom: 15px;
    font-size: 55px;
}

.premium-empty-state h2 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 28px;
}

.premium-empty-state p {
    margin: 0 0 25px;
    color: #687386;
    font-size: 15px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .archive-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .archive-hero {
        padding: 55px 0 62px;
    }

    .archive-hero h1 {
        font-size: 34px;
    }

    .archive-hero p {
        font-size: 14px;
    }

    .archive-content {
        padding: 50px 0 65px;
    }

    .archive-topbar {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .archive-topbar h2 {
        font-size: 27px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .premium-post-card {
        border-radius: 17px;
    }

    .premium-post-content {
        padding: 18px;
    }

    .premium-post-title {
        font-size: 19px;
    }

    .premium-excerpt {
        min-height: auto;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .archive-hero {
        padding: 48px 0 55px;
    }

    .archive-hero h1 {
        font-size: 29px;
    }

    .archive-badge {
        font-size: 11px;
        padding: 7px 12px;
    }

    .archive-topbar h2 {
        font-size: 24px;
    }

    .archive-count {
        font-size: 11px;
    }

    .premium-post-title {
        font-size: 18px;
    }

    .premium-post-content {
        padding: 16px;
    }

}
/* =========================================================
   FINAL CONTENT VISIBILITY FIX
   JOB / ADMISSION / BOOK DETAILS
========================================================= */

.single-post,
.admission-details,
.jobs-details {
    width: 100%;
    max-width: 1180px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin: 40px auto 30px;
}

/* Main content must flow naturally */
.single-post .single-content,
.admission-details .single-content,
.jobs-details .single-content {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

/* Article body */
.single-post .single-body,
.admission-details .single-body,
.jobs-details .single-body {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    position: relative;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

/* Paragraphs */
.single-post .single-body p,
.admission-details .single-body p,
.jobs-details .single-body p {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 20px;
}

/* Headings */
.single-post .single-body h2,
.single-post .single-body h3,
.single-post .single-body h4,
.admission-details .single-body h2,
.admission-details .single-body h3,
.admission-details .single-body h4,
.jobs-details .single-body h2,
.jobs-details .single-body h3,
.jobs-details .single-body h4 {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    margin: 30px 0 14px;
    color: #0f172a;
}

/* Lists */
.single-post .single-body ul,
.single-post .single-body ol,
.admission-details .single-body ul,
.admission-details .single-body ol,
.jobs-details .single-body ul,
.jobs-details .single-body ol {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 22px;
    padding-left: 28px;
}

.single-post .single-body li,
.admission-details .single-body li,
.jobs-details .single-body li {
    display: list-item !important;
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 9px;
}

/* Information boxes */
.single-post .admission-box,
.admission-details .admission-box,
.jobs-details .job-info-box,
.jobs-details .admission-box,
.admission-info-box {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    position: relative;
}

/* Information box text */
.single-post .admission-box p,
.admission-details .admission-box p,
.jobs-details .job-info-box p,
.jobs-details .admission-box p,
.admission-info-box p {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Tables */
.single-post .single-body table,
.admission-details .single-body table,
.jobs-details .single-body table {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
}

/* Images inside article */
.single-post .single-body img,
.admission-details .single-body img,
.jobs-details .single-body img {
    max-width: 100%;
    height: auto !important;
    max-height: none;
}

/* Links */
.single-post .single-body a,
.admission-details .single-body a,
.jobs-details .single-body a {
    position: relative;
    z-index: 2;
}

/* =========================================================
   MOBILE CONTENT FIX
========================================================= */

@media (max-width: 768px) {

    .single-post,
    .admission-details,
    .jobs-details {
        width: calc(100% - 24px);
        margin: 25px auto 25px;
        overflow: visible !important;
    }

    .single-post .single-content,
    .admission-details .single-content,
    .jobs-details .single-content {
        padding: 22px 17px 30px;
        overflow: visible !important;
    }

    .single-post .single-body,
    .admission-details .single-body,
    .jobs-details .single-body {
        font-size: 15px;
        line-height: 1.85;
        overflow: visible !important;
    }

    .single-post .admission-box,
    .admission-details .admission-box,
    .jobs-details .job-info-box,
    .jobs-details .admission-box {
        padding: 17px 15px;
        margin-bottom: 24px;
        overflow: visible !important;
    }

    .single-post .single-body p,
    .admission-details .single-body p,
    .jobs-details .single-body p {
        margin-bottom: 18px;
    }
}
/* =========================================================
   FINAL CONTENT VISIBILITY / SCROLL FIX
   ========================================================= */

html,
body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Single post must grow with content */
.single-post,
.admission-details,
.jobs-details {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Main content */
.single-post .single-content,
.admission-details .single-content,
.jobs-details .single-content {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Article body */
.single-post .single-body,
.admission-details .single-body,
.jobs-details .single-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Paragraphs */
.single-post .single-body p,
.admission-details .single-body p,
.jobs-details .single-body p {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 20px;
}

/* Headings */
.single-post .single-body h1,
.single-post .single-body h2,
.single-post .single-body h3,
.single-post .single-body h4,
.single-post .single-body h5,
.single-post .single-body h6,
.admission-details .single-body h1,
.admission-details .single-body h2,
.admission-details .single-body h3,
.admission-details .single-body h4,
.admission-details .single-body h5,
.admission-details .single-body h6,
.jobs-details .single-body h1,
.jobs-details .single-body h2,
.jobs-details .single-body h3,
.jobs-details .single-body h4,
.jobs-details .single-body h5,
.jobs-details .single-body h6 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Lists */
.single-post .single-body ul,
.single-post .single-body ol,
.admission-details .single-body ul,
.admission-details .single-body ol,
.jobs-details .single-body ul,
.jobs-details .single-body ol {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Images */
.single-post .single-body img,
.admission-details .single-body img,
.jobs-details .single-body img {
    max-width: 100%;
    height: auto;
}

/* Tables */
.single-post .single-body table,
.admission-details .single-body table,
.jobs-details .single-body table {
    max-width: 100%;
}

/* Make WordPress content fully visible */
.entry-content,
.wp-block-post-content,
.post-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Elementor/content wrapper safety */
.elementor,
.elementor-widget,
.elementor-widget-container {
    height: auto;
    max-height: none;
}

/* Mobile content fix */
@media (max-width: 768px) {

    .single-post,
    .admission-details,
    .jobs-details {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .single-post .single-content,
    .admission-details .single-content,
    .jobs-details .single-content {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .single-post .single-body,
    .admission-details .single-body,
    .jobs-details .single-body {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* =========================================
   HEADER MENU - ONE LINE FIX
========================================= */

header {
    width: 100%;
}

header .container {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 20px;
}

/* Logo */
header .site-branding,
header .logo,
header .site-title {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Navigation */
header nav {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

header nav ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

header nav ul li {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

header nav ul li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-height: 1.2 !important;
    padding: 12px 10px !important;
    margin: 0 !important;
}

/* Search */
header form,
header .search-form,
header .header-search {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* =========================================
   DESKTOP
========================================= */

@media (min-width: 769px) {

    header .container {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    header nav ul li a {
        white-space: nowrap !important;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    header .container {
        flex-wrap: wrap !important;
    }

    header nav ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    header nav ul li a {
        white-space: nowrap !important;
    }

}
/* =========================================================
   OUR EDUCATION BD - ABOUT US PAGE
   ========================================================= */

.oe-about-page {
    background: #f7f9fc;
    color: #10233f;
}

.oe-about-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


/* HERO */

.oe-about-hero {
    padding: 85px 20px 75px;
    text-align: center;
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e5ebf3;
}

.oe-about-badge {
    display: inline-block;
    padding: 9px 18px;
    margin-bottom: 20px;
    border-radius: 30px;
    background: #eaf2ff;
    color: #1769e0;
    font-size: 14px;
    font-weight: 700;
}

.oe-about-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    font-weight: 800;
    color: #10233f;
}

.oe-about-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #607089;
}


/* MAIN ABOUT */

.oe-about-content {
    padding: 85px 20px;
    background: #ffffff;
}

.oe-about-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.oe-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.oe-about-text h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    color: #10233f;
}

.oe-about-text p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}


/* HIGHLIGHT */

.oe-about-highlight {
    padding: 42px 35px;
    border-radius: 24px;
    background: linear-gradient(145deg, #1769e0, #0b55c5);
    color: #ffffff;
    box-shadow: 0 25px 55px rgba(23, 105, 224, 0.20);
}

.oe-highlight-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,0.15);
    font-size: 30px;
}

.oe-about-highlight h3 {
    margin: 0 0 15px;
    font-size: 25px;
    color: #ffffff;
}

.oe-about-highlight p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
}


/* FEATURES */

.oe-about-features {
    padding: 90px 20px;
    background: #f7f9fc;
}

.oe-about-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.oe-about-heading h2 {
    margin: 0 0 15px;
    font-size: clamp(30px, 4vw, 44px);
    color: #10233f;
}

.oe-about-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}


.oe-about-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.oe-about-card {
    padding: 35px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(16, 35, 63, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.oe-about-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(16, 35, 63, 0.12);
}

.oe-card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #edf4ff;
    font-size: 30px;
}

.oe-about-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    color: #10233f;
}

.oe-about-card p {
    margin: 0;
    color: #718096;
    line-height: 1.7;
    font-size: 14px;
}


/* MISSION / VISION */

.oe-about-vision {
    padding: 85px 20px;
    background: #ffffff;
}

.oe-vision-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.oe-vision-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    border: 1px solid #e5ebf3;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(16, 35, 63, 0.05);
}

.oe-vision-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #edf4ff;
    font-size: 27px;
}

.oe-vision-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #10233f;
}

.oe-vision-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}


/* CTA */

.oe-about-cta {
    padding: 85px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0d63dc, #1769e0);
    color: #ffffff;
}

.oe-about-cta h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
}

.oe-about-cta p {
    max-width: 680px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
}

.oe-about-button {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 10px;
    background: #ffffff;
    color: #1769e0 !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.oe-about-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}


/* MOBILE */

@media (max-width: 900px) {

    .oe-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .oe-about-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .oe-vision-box {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .oe-about-container {
        width: min(100% - 28px, 1120px);
    }

    .oe-about-hero {
        padding: 60px 15px;
    }

    .oe-about-content,
    .oe-about-features,
    .oe-about-vision,
    .oe-about-cta {
        padding: 60px 15px;
    }

    .oe-about-cards {
        grid-template-columns: 1fr;
    }

    .oe-about-highlight {
        padding: 30px 25px;
    }

    .oe-vision-item {
        padding: 25px;
    }

}
/* =========================================================
   PREMIUM CONTACT PAGE
========================================================= */

.contact-page {
    background: #f6f8fc;
}


/* HERO */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 75px 0;
    background: linear-gradient(135deg, #0969e8 0%, #315de8 100%);
    color: #ffffff;
}

.contact-hero::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -130px;
    top: -170px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.contact-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 7px 15px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50px;
    background: rgba(255,255,255,0.12);
    font-size: 13px;
    font-weight: 700;
}

.contact-hero h1 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: clamp(40px, 6vw, 62px);
    line-height: 1.1;
    font-weight: 800;
}

.contact-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255,255,255,0.92);
    font-size: 17px;
}


/* MAIN SECTION */

.contact-section {
    padding: 80px 0;
    background: #f6f8fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: start;
}


/* LEFT */

.contact-info {
    padding-top: 10px;
}

.section-label {
    margin-bottom: 10px;
    color: #1769e0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info h2 {
    margin: 0 0 15px;
    color: #172033;
    font-size: 36px;
    line-height: 1.25;
}

.contact-intro {
    margin-bottom: 30px;
    color: #687386;
    font-size: 15px;
    line-height: 1.8;
}


/* INFO CARDS */

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 14px;
    padding: 17px;
    border: 1px solid #e4e9f1;
    border-radius: 16px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(25,45,75,0.05);
    transition: all 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: #cfe0ff;
    box-shadow: 0 14px 32px rgba(25,45,75,0.10);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: #eef5ff;
    color: #1769e0;
    font-size: 22px;
    font-weight: 800;
}

.contact-info-card span {
    display: block;
    margin-bottom: 3px;
    color: #7b8494;
    font-size: 12px;
    font-weight: 600;
}

.contact-info-card strong {
    display: block;
    color: #172033;
    font-size: 15px;
    line-height: 1.4;
}


/* FACEBOOK ICON */

.contact-info-card .contact-icon {
    font-family: Arial, Helvetica, sans-serif;
}


/* FORM BOX */

.contact-form-box {
    padding: 35px;
    border: 1px solid #e4e9f1;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(25,45,75,0.08);
}

.form-heading {
    margin-bottom: 25px;
}

.form-heading > span {
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
}

.form-heading h2 {
    margin: 6px 0 8px;
    color: #172033;
    font-size: 30px;
}

.form-heading p {
    margin: 0;
    color: #687386;
    font-size: 14px;
}


/* FORM */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #273247;
    font-size: 13px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dce3ee;
    border-radius: 11px;
    outline: none;
    background: #f9fbfe;
    color: #172033;
    font-size: 14px;
    transition: all 0.25s ease;
}

.form-group input {
    height: 48px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1769e0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23,105,224,0.08);
}


/* SUBMIT */

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 0;
    border-radius: 11px;
    background: #1769e0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact-submit:hover {
    background: #0f57c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23,105,224,0.20);
}

.contact-submit span {
    font-size: 18px;
}


/* SUCCESS / ERROR */

.contact-success,
.contact-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-success {
    border: 1px solid #b7ebc6;
    background: #effcf3;
    color: #18743a;
}

.contact-error {
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #b42318;
}


/* BOTTOM CTA */

.contact-bottom {
    padding: 0 0 80px;
    background: #f6f8fc;
}

.contact-bottom-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px 35px;
    border-radius: 22px;
    background: linear-gradient(135deg, #172033 0%, #263653 100%);
    box-shadow: 0 15px 40px rgba(15,23,42,0.12);
}

.contact-bottom-box span {
    color: #8fb9ff;
    font-size: 13px;
    font-weight: 700;
}

.contact-bottom-box h2 {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: 25px;
}

.contact-bottom-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-bottom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-bottom-btn.primary {
    background: #1769e0;
    color: #ffffff;
}

.contact-bottom-btn.secondary {
    background: #ffffff;
    color: #1769e0;
}

.contact-bottom-btn:hover {
    transform: translateY(-2px);
}


/* TABLET */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-info {
        max-width: 700px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-form-box {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

}


/* MOBILE */

@media (max-width: 768px) {

    .contact-hero {
        padding: 58px 0 65px;
    }

    .contact-hero h1 {
        font-size: 40px;
    }

    .contact-hero p {
        font-size: 14px;
    }

    .contact-section {
        padding: 55px 0;
    }

    .contact-info h2 {
        font-size: 29px;
    }

    .contact-form-box {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-heading h2 {
        font-size: 25px;
    }

    .contact-bottom {
        padding-bottom: 55px;
    }

    .contact-bottom-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 20px;
        border-radius: 17px;
    }

    .contact-bottom-box h2 {
        font-size: 22px;
    }

    .contact-bottom-buttons {
        width: 100%;
        flex-direction: column;
    }

    .contact-bottom-btn {
        width: 100%;
    }

}


/* SMALL MOBILE */

@media (max-width: 420px) {

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-info-card {
        padding: 14px;
    }

    .contact-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

}
/* =========================================================
   PREMIUM RESPONSIVE HEADER MENU
   Desktop + Tablet + Mobile
   ========================================================= */

.main-navigation,
.site-navigation,
.primary-navigation {
    position: relative;
    padding-bottom: 14px;
}

/* Blue line under menu */
.main-navigation::after,
.site-navigation::after,
.primary-navigation::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #0d6efd 20%,
        #4f8dfd 50%,
        #0d6efd 80%,
        transparent
    );

    border-radius: 50px;
}

/* Menu list */
.main-navigation ul,
.site-navigation ul,
.primary-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

/* Menu item */
.main-navigation ul li,
.site-navigation ul li,
.primary-navigation ul li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* Menu button */
.main-navigation ul li a,
.site-navigation ul li a,
.primary-navigation ul li a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 9px 15px;

    color: #0b2345;
    background: #ffffff;

    border: 1.5px solid #0d6efd;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    text-decoration: none;

    overflow: hidden;
    z-index: 1;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Animated blue background */
.main-navigation ul li a::before,
.site-navigation ul li a::before,
.primary-navigation ul li a::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: 0;
    height: 0;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #2563eb
    );

    border-radius: 50%;

    transform: translate(-50%, -50%);

    transition:
        width 0.45s ease,
        height 0.45s ease;

    z-index: -1;
}

/* Desktop hover */
@media (min-width: 769px) {

    .main-navigation ul li a:hover,
    .site-navigation ul li a:hover,
    .primary-navigation ul li a:hover {
        color: #ffffff;

        transform: translateY(-4px);

        border-color: #0d6efd;

        box-shadow:
            0 8px 20px rgba(13, 110, 253, 0.25),
            0 0 0 3px rgba(13, 110, 253, 0.06);
    }

    .main-navigation ul li a:hover::before,
    .site-navigation ul li a:hover::before,
    .primary-navigation ul li a:hover::before {
        width: 300%;
        height: 300%;
    }

    /* White animated line */
    .main-navigation ul li a::after,
    .site-navigation ul li a::after,
    .primary-navigation ul li a::after {
        content: "";

        position: absolute;

        left: 15%;
        right: 15%;
        bottom: 4px;

        height: 2px;

        background: #ffffff;

        border-radius: 20px;

        transform: scaleX(0);
        transform-origin: center;

        transition: transform 0.3s ease;
    }

    .main-navigation ul li a:hover::after,
    .site-navigation ul li a:hover::after,
    .primary-navigation ul li a:hover::after {
        transform: scaleX(1);
    }
}


/* =========================================================
   ACTIVE MENU
   ========================================================= */

.main-navigation ul li.current-menu-item > a,
.site-navigation ul li.current-menu-item > a,
.primary-navigation ul li.current-menu-item > a,

.main-navigation ul li.current_page_item > a,
.site-navigation ul li.current_page_item > a,
.primary-navigation ul li.current_page_item > a {

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #2563eb
    );

    border-color: #0d6efd;

    box-shadow:
        0 5px 15px rgba(13, 110, 253, 0.20);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) and (min-width: 769px) {

    .main-navigation ul,
    .site-navigation ul,
    .primary-navigation ul {
        gap: 6px;
    }

    .main-navigation ul li a,
    .site-navigation ul li a,
    .primary-navigation ul li a {
        padding: 8px 11px;
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .main-navigation,
    .site-navigation,
    .primary-navigation {
        width: 100%;
        padding: 8px 5px 12px;
    }

    /* Keep menu inside screen */
    .main-navigation ul,
    .site-navigation ul,
    .primary-navigation ul {
        width: 100%;

        display: flex;
        flex-wrap: wrap;

        justify-content: center;
        align-items: center;

        gap: 6px;

        margin: 0 auto;
        padding: 0;
    }

    /* Mobile menu item */
    .main-navigation ul li,
    .site-navigation ul li,
    .primary-navigation ul li {
        flex: 0 0 auto;
        max-width: 100%;
    }

    /* Mobile buttons */
    .main-navigation ul li a,
    .site-navigation ul li a,
    .primary-navigation ul li a {

        min-height: 38px;

        padding: 8px 11px;

        font-size: 13px;
        font-weight: 600;

        border-radius: 8px;

        white-space: nowrap;

        transform: none !important;
    }

    /* Disable large circle animation on mobile */
    .main-navigation ul li a::before,
    .site-navigation ul li a::before,
    .primary-navigation ul li a::before {
        display: none;
    }

    /* Mobile tap effect */
    .main-navigation ul li a:active,
    .site-navigation ul li a:active,
    .primary-navigation ul li a:active {

        color: #ffffff;

        background: #0d6efd;

        box-shadow:
            0 4px 12px rgba(13, 110, 253, 0.25);

        transform: scale(0.97) !important;
    }

    /* Remove hover underline on mobile */
    .main-navigation ul li a::after,
    .site-navigation ul li a::after,
    .primary-navigation ul li a::after {
        display: none;
    }

    /* Active menu */
    .main-navigation ul li.current-menu-item > a,
    .site-navigation ul li.current-menu-item > a,
    .primary-navigation ul li.current-menu-item > a,

    .main-navigation ul li.current_page_item > a,
    .site-navigation ul li.current_page_item > a,
    .primary-navigation ul li.current_page_item > a {

        color: #ffffff;

        background: linear-gradient(
            135deg,
            #0d6efd,
            #2563eb
        );

        border-color: #0d6efd;

        box-shadow:
            0 4px 12px rgba(13, 110, 253, 0.20);
    }

    /* Mobile blue line */
    .main-navigation::after,
    .site-navigation::after,
    .primary-navigation::after {
        left: 5%;
        right: 5%;
        height: 2px;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .main-navigation,
    .site-navigation,
    .primary-navigation {
        padding-left: 3px;
        padding-right: 3px;
    }

    .main-navigation ul,
    .site-navigation ul,
    .primary-navigation ul {
        gap: 5px;
    }

    .main-navigation ul li a,
    .site-navigation ul li a,
    .primary-navigation ul li a {

        min-height: 35px;

        padding: 7px 9px;

        font-size: 12px;

        border-radius: 7px;
    }
}


/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 350px) {

    .main-navigation ul li a,
    .site-navigation ul li a,
    .primary-navigation ul li a {

        padding: 6px 8px;

        font-size: 11px;
    }
}
/* =========================================================
   FINAL PREMIUM SEARCH BAR
   MOBILE + PC
   ========================================================= */

.search-section,
.search-section .container {
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-section form,
.search-section .search-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 650px !important;

    margin: 0 auto !important;
    gap: 8px !important;

    box-sizing: border-box !important;
}

/* INPUT */
.search-section form input[type="search"],
.search-section form input[type="text"],
.search-section .search-input {

    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 50px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    box-sizing: border-box !important;

    border: 1.5px solid #d7e5f5 !important;
    border-radius: 15px !important;

    background: #ffffff !important;

    color: #172033 !important;

    font-size: 14px !important;

    outline: none !important;

    box-shadow:
        0 5px 18px rgba(30,80,140,.07) !important;

    transition: all .3s ease !important;
}

/* INPUT FOCUS */
.search-section form input[type="search"]:focus,
.search-section form input[type="text"]:focus,
.search-section .search-input:focus {

    border-color: #0d6efd !important;

    box-shadow:
        0 0 0 4px rgba(13,110,253,.08),
        0 8px 22px rgba(13,110,253,.12) !important;
}

/* PLACEHOLDER */
.search-section input::placeholder {
    color: #8996a8 !important;
    opacity: .75 !important;

    transition: all .3s ease !important;
}

.search-section input:focus::placeholder {
    opacity: .25 !important;
    filter: blur(2px);
}


/* SEARCH BUTTON */
.search-section form button,
.search-section form input[type="submit"],
.search-section form .search-submit {

    flex: 0 0 52px !important;

    width: 52px !important;
    min-width: 52px !important;

    height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    border: none !important;
    border-radius: 15px !important;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #2563eb
    ) !important;

    color: #ffffff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 0 !important;

    cursor: pointer !important;

    box-shadow:
        0 7px 18px rgba(13,110,253,.20) !important;

    transition: all .3s ease !important;
}


/* SEARCH ICON */
.search-section form button::before,
.search-section form input[type="submit"]::before,
.search-section form .search-submit::before {

    content: "🔍" !important;

    font-size: 20px !important;

    line-height: 1 !important;

    display: block !important;
}


/* BUTTON HOVER */
.search-section form button:hover,
.search-section form input[type="submit"]:hover,
.search-section form .search-submit:hover {

    transform: translateY(-2px) !important;

    box-shadow:
        0 10px 24px rgba(13,110,253,.28) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:768px) {

    .search-section {
        width: 100% !important;
        padding: 0 18px !important;
        box-sizing: border-box !important;
    }

    .search-section form,
    .search-section .search-form {

        display: flex !important;

        flex-direction: row !important;

        flex-wrap: nowrap !important;

        width: 100% !important;

        max-width: none !important;

        gap: 7px !important;
    }

    .search-section form input[type="search"],
    .search-section form input[type="text"],
    .search-section .search-input {

        flex: 1 1 auto !important;

        width: 100% !important;

        min-width: 0 !important;

        height: 48px !important;

        padding: 0 15px !important;

        border-radius: 14px !important;

        font-size: 13px !important;
    }

    .search-section form button,
    .search-section form input[type="submit"],
    .search-section form .search-submit {

        flex: 0 0 48px !important;

        width: 48px !important;

        min-width: 48px !important;

        height: 48px !important;

        border-radius: 14px !important;
    }

    .search-section form button::before,
    .search-section form input[type="submit"]::before,
    .search-section form .search-submit::before {

        font-size: 18px !important;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width:420px) {

    .search-section {
        padding: 0 16px !important;
    }

    .search-section form {
        gap: 6px !important;
    }

    .search-section form input[type="search"],
    .search-section form input[type="text"],
    .search-section .search-input {

        height: 46px !important;

        padding: 0 13px !important;

        border-radius: 13px !important;
    }

    .search-section form button,
    .search-section form input[type="submit"],
    .search-section form .search-submit {

        flex: 0 0 46px !important;

        width: 46px !important;

        min-width: 46px !important;

        height: 46px !important;

        border-radius: 13px !important;
    }
}
/* =========================================================
   AUTO HIDE / SHOW PREMIUM HEADER
   ========================================================= */

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;

    transform: translateY(0);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* যখন নিচের দিকে scroll করবে */
.site-header.header-hidden {
    transform: translateY(-110%);
}


/* Header আবার দেখা দিলে premium shadow */
.site-header.header-visible {
    box-shadow:
        0 8px 25px rgba(20, 70, 130, 0.12);
}


/* Mobile */
@media (max-width: 768px) {

    .site-header {
        transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
    }

    .site-header.header-hidden {
        transform: translateY(-110%);
    }
}


/* =========================================================
   PREMIUM MOBILE MENU + BACKDROP BLUR
   ========================================================= */

@media (max-width: 768px) {

    /* Header must stay above everything */
    .site-header {
        z-index: 99999 !important;
    }

    /* Mobile menu button */
    .menu-toggle {
        position: relative !important;
        z-index: 100001 !important;

        width: 58px !important;
        height: 58px !important;

        border: 1px solid rgba(13,110,253,.18) !important;
        border-radius: 16px !important;

        background: linear-gradient(
            145deg,
            #0d6efd,
            #2563eb
        ) !important;

        box-shadow:
            0 8px 22px rgba(13,110,253,.25) !important;

        transition: all .35s ease !important;
    }

    .menu-toggle:hover {
        transform: translateY(-2px);
    }


    /* =====================================================
       MENU PANEL
       ===================================================== */

    .main-menu {
        position: fixed !important;

        top: 86px !important;
        left: 16px !important;
        right: 16px !important;

        width: auto !important;

        max-height: calc(100vh - 105px) !important;

        padding: 12px !important;

        background: rgba(255,255,255,.96) !important;

        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;

        border: 1px solid rgba(13,110,253,.16) !important;

        border-radius: 22px !important;

        box-shadow:
            0 20px 55px rgba(10,40,90,.22),
            0 5px 18px rgba(13,110,253,.10) !important;

        z-index: 100000 !important;

        overflow-y: auto !important;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px) scale(.97);

        transition:
            opacity .28s ease,
            transform .28s ease,
            visibility .28s ease !important;
    }


    /* OPEN MENU */

    .main-menu.mobile-menu-open {
        opacity: 1 !important;
        visibility: visible !important;

        transform: translateY(0) scale(1) !important;
    }


    /* =====================================================
       MENU ITEMS
       ===================================================== */

    .main-menu ul,
    .main-menu ul.menu {
        display: flex !important;

        flex-direction: column !important;

        gap: 8px !important;

        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none !important;
    }


    .main-menu ul li {
        width: 100% !important;
        margin: 0 !important;
    }


    .main-menu ul li a {

        display: flex !important;

        align-items: center !important;

        width: 100% !important;

        min-height: 52px !important;

        padding: 0 18px !important;

        box-sizing: border-box !important;

        border-radius: 14px !important;

        border: 1px solid #e1ebf8 !important;

        background: linear-gradient(
            135deg,
            #ffffff,
            #f7faff
        ) !important;

        color: #102a43 !important;

        font-size: 15px !important;

        font-weight: 600 !important;

        text-decoration: none !important;

        box-shadow:
            0 3px 10px rgba(20,70,130,.04) !important;

        transition:
            transform .25s ease,
            background .25s ease,
            border-color .25s ease,
            box-shadow .25s ease,
            color .25s ease !important;
    }


    /* Hover / tap */

    .main-menu ul li a:hover,
    .main-menu ul li a:focus {

        transform: translateX(4px) !important;

        color: #0d6efd !important;

        border-color: #bcd5f7 !important;

        background:
            linear-gradient(
                135deg,
                #eef6ff,
                #ffffff
            ) !important;

        box-shadow:
            0 7px 18px rgba(13,110,253,.10) !important;
    }


    /* Active page */

    .main-menu ul li.current-menu-item a {

        color: #ffffff !important;

        border-color: transparent !important;

        background:
            linear-gradient(
                135deg,
                #0d6efd,
                #2563eb
            ) !important;

        box-shadow:
            0 8px 20px rgba(13,110,253,.22) !important;
    }


    /* =====================================================
       BACKGROUND BLUR
       ===================================================== */

    body.mobile-menu-active::before {

        content: "";

        position: fixed;

        inset: 0;

        background: rgba(7,25,55,.20);

        backdrop-filter: blur(7px);

        -webkit-backdrop-filter: blur(7px);

        z-index: 99990;

        animation: mobileBackdrop .25s ease forwards;
    }


    @keyframes mobileBackdrop {

        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }


    /* Header stays sharp above blur */

    body.mobile-menu-active .site-header {
        filter: none !important;
    }


    /* Prevent page scrolling while menu open */

    body.mobile-menu-active {
        overflow: hidden !important;
    }
}

/* =========================================================
   FINAL HEADER OVERRIDE - KEEP AT VERY END
   ========================================================= */
.site-header{
    position:sticky !important;
    top:0 !important;
    z-index:99999 !important;
    transform:translateY(0) !important;
    opacity:1 !important;
    visibility:visible !important;
    transition:transform .30s ease, opacity .25s ease, visibility .30s ease !important;
    will-change:transform;
}

.site-header.header-hidden{
    transform:translateY(-110%) !important;
    opacity:0 !important;
    visibility:hidden !important;
}

.site-header.header-visible,
.site-header.menu-is-open{
    transform:translateY(0) !important;
    opacity:1 !important;
    visibility:visible !important;
}

@media (max-width:768px){
    .site-header{
        position:sticky !important;
        top:0 !important;
    }

    .menu-toggle{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        position:relative !important;
        z-index:100002 !important;
        pointer-events:auto !important;
        cursor:pointer !important;
    }

    .main-menu.active{
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
        pointer-events:auto !important;
    }

    .site-header.menu-is-open,
    .site-header.menu-is-open.header-hidden{
        transform:translateY(0) !important;
        opacity:1 !important;
        visibility:visible !important;
    }

    body.mobile-menu-active::before,
    body.mobile-menu-active::after{
        display:none !important;
        content:none !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
    }
}



/* FINAL MOBILE MENU FIX */
@media (max-width:768px){
    .main-menu{display:none !important;}
    .main-menu.active,
    .main-menu.mobile-menu-open{
        display:block !important;
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
        transform:translateY(0) scale(1) !important;
    }
    body.mobile-menu-active::before,
    body.mobile-menu-active::after{
        display:none !important;
        content:none !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
    }
    body.mobile-menu-active{overflow:hidden !important;}
}

/* =========================================================
   FINAL V3 MOBILE TOGGLE — DO NOT REMOVE
   ========================================================= */
@media (max-width:768px){
    .site-header .menu-toggle{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        position:relative !important;
        z-index:100005 !important;
        pointer-events:auto !important;
        cursor:pointer !important;
        -webkit-tap-highlight-color:transparent !important;
    }
    .site-header .menu-toggle .menu-close-icon{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:30px !important;
        height:30px !important;
        color:#fff !important;
        font:300 38px/1 Arial,sans-serif !important;
        opacity:1 !important;
        visibility:visible !important;
    }
    .site-header .main-menu{
        z-index:100004 !important;
    }
    .site-header .main-menu.active,
    .site-header .main-menu.mobile-menu-open{
        display:block !important;
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
    }
    .site-header .main-menu:not(.active):not(.mobile-menu-open){
        display:none !important;
        pointer-events:none !important;
    }
    /* Absolutely no page blur/backdrop. */
    body.mobile-menu-active::before,
    body.mobile-menu-active::after,
    body.menu-open::before,
    body.menu-open::after{
        display:none !important;
        content:none !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
        filter:none !important;
    }
}


/* =========================================================
   FINAL COMPACT POST CARDS
   Books / Notes / News / Admission / Jobs
   ========================================================= */

/* Homepage / latest sections */
.posts {
    grid-template-columns: repeat(4, minmax(0, 260px));
    gap: 20px;
}

.book-card {
    width: 260px;
    max-width: 260px;
}

.book-card .thumb {
    aspect-ratio: 16 / 10;
}

.book-card .card-content {
    padding: 14px;
}

.book-card .card-content h3 {
    font-size: 17px;
    line-height: 1.35;
    margin: 8px 0 7px;
}

.book-card .card-content p {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 12px;
}

/* Category / archive pages */
.archive-grid {
    grid-template-columns: repeat(4, minmax(0, 260px));
    gap: 20px;
}

.premium-post-card {
    width: 260px;
    max-width: 260px;
    border-radius: 16px;
}

.premium-post-image {
    aspect-ratio: 16 / 10;
}

.premium-post-content {
    padding: 14px;
}

.premium-category {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 10px;
}

.premium-date {
    font-size: 10px;
}

.premium-post-title {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 7px;
}

.premium-excerpt {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 12px;
    min-height: 0;
}

/* Related posts */
.related-posts .posts,
.jobs-related-posts .posts {
    grid-template-columns: repeat(4, minmax(0, 260px));
    gap: 20px;
}

.related-posts .book-card,
.jobs-related-posts .book-card {
    width: 260px;
    max-width: 260px;
}

/* Tablet */
@media (max-width: 1100px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(3, minmax(0, 260px));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book-card,
    .premium-post-card,
    .related-posts .book-card,
    .jobs-related-posts .book-card {
        width: 100%;
        max-width: 300px;
        justify-self: center;
    }
}


/* =========================================================
   FINAL SQUARE POST CARDS
   Small, clean and uniform
   ========================================================= */

.posts {
    grid-template-columns: repeat(4, 280px);
    gap: 20px;
}

.book-card {
    width: 280px;
    max-width: 280px;
    height: 280px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.book-card .thumb {
    flex: 0 0 145px;
    aspect-ratio: auto;
    overflow: hidden;
}

.book-card .card-content {
    flex: 1;
    min-height: 0;
    padding: 12px 14px;
    overflow: hidden;
}

.book-card .card-content h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 5px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card .card-content p {
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card .card-buttons {
    margin-top: auto;
    gap: 7px;
}

.book-card .card-buttons .btn {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 11px;
}

/* Category / archive cards — TRUE SQUARE */
.archive-grid {
    grid-template-columns: repeat(4, 280px);
    gap: 20px;
}

.premium-post-card {
    width: 280px;
    max-width: 280px;
    height: 280px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.premium-post-image {
    flex: 0 0 145px;
    aspect-ratio: auto;
    overflow: hidden;
}

.premium-post-content {
    flex: 1;
    min-height: 0;
    padding: 12px 14px;
    overflow: hidden;
}

.premium-post-meta {
    gap: 5px 8px;
    margin-bottom: 5px;
}

.premium-category,
.premium-date {
    font-size: 10px;
}

.premium-post-title {
    font-size: 16px;
    line-height: 1.3;
    margin: 4px 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.premium-excerpt {
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related cards */
.related-posts .posts,
.jobs-related-posts .posts {
    grid-template-columns: repeat(4, 280px);
    gap: 20px;
}

.related-posts .book-card,
.jobs-related-posts .book-card {
    width: 280px;
    max-width: 280px;
    height: 280px;
}

/* Tablet */
@media (max-width: 1200px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(3, 280px);
    }
}

/* Smaller tablet */
@media (max-width: 900px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(2, 280px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: 280px;
        justify-content: center;
        gap: 16px;
    }

    .book-card,
    .premium-post-card,
    .related-posts .book-card,
    .jobs-related-posts .book-card {
        width: 280px;
        max-width: 280px;
        height: 280px;
        justify-self: center;
    }
}


/* =========================================================
   TINY COMPACT SQUARE POST CARDS
   ========================================================= */

.posts {
    grid-template-columns: repeat(4, 220px);
    gap: 18px;
}

.book-card {
    width: 220px;
    max-width: 220px;
    height: 220px;
    border-radius: 14px;
}

.book-card .thumb {
    flex: 0 0 112px;
}

.book-card .card-content {
    padding: 10px 12px;
}

.book-card .card-content h3 {
    font-size: 14px;
    line-height: 1.25;
    margin: 4px 0;
}

.book-card .card-content p {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 5px;
}

.book-card .card-buttons .btn {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 10px;
}

/* Archive / category */
.archive-grid {
    grid-template-columns: repeat(4, 220px);
    gap: 18px;
}

.premium-post-card {
    width: 220px;
    max-width: 220px;
    height: 220px;
    border-radius: 14px;
}

.premium-post-image {
    flex: 0 0 112px;
}

.premium-post-content {
    padding: 10px 12px;
}

.premium-post-meta {
    gap: 4px 6px;
    margin-bottom: 3px;
}

.premium-category,
.premium-date {
    font-size: 9px;
}

.premium-post-title {
    font-size: 14px;
    line-height: 1.25;
    margin: 3px 0 4px;
}

.premium-excerpt {
    font-size: 11px;
    line-height: 1.35;
    margin: 0;
}

.related-posts .posts,
.jobs-related-posts .posts {
    grid-template-columns: repeat(4, 220px);
    gap: 18px;
}

.related-posts .book-card,
.jobs-related-posts .book-card {
    width: 220px;
    max-width: 220px;
    height: 220px;
}

@media (max-width: 1100px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(3, 220px);
    }
}

@media (max-width: 850px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(2, 220px);
    }
}

@media (max-width: 520px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: 220px;
        justify-content: center;
    }

    .book-card,
    .premium-post-card,
    .related-posts .book-card,
    .jobs-related-posts .book-card {
        width: 220px;
        max-width: 220px;
        height: 220px;
    }
}


/* =========================================================
   MEDIUM-SMALL SQUARE POST CARDS
   ========================================================= */

.posts {
    grid-template-columns: repeat(4, 240px);
    gap: 20px;
}

.book-card {
    width: 240px;
    max-width: 240px;
    height: 240px;
}

.book-card .thumb {
    flex: 0 0 125px;
}

.book-card .card-content {
    padding: 11px 13px;
}

.book-card .card-content h3 {
    font-size: 15px;
    line-height: 1.3;
}

.book-card .card-content p {
    font-size: 11.5px;
    line-height: 1.4;
}

.book-card .card-buttons .btn {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10.5px;
}

.archive-grid {
    grid-template-columns: repeat(4, 240px);
    gap: 20px;
}

.premium-post-card {
    width: 240px;
    max-width: 240px;
    height: 240px;
}

.premium-post-image {
    flex: 0 0 125px;
}

.premium-post-content {
    padding: 11px 13px;
}

.premium-post-title {
    font-size: 15px;
    line-height: 1.3;
}

.premium-excerpt {
    font-size: 11.5px;
    line-height: 1.4;
}

.related-posts .posts,
.jobs-related-posts .posts {
    grid-template-columns: repeat(4, 240px);
    gap: 20px;
}

.related-posts .book-card,
.jobs-related-posts .book-card {
    width: 240px;
    max-width: 240px;
    height: 240px;
}

@media (max-width: 1100px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(3, 240px);
    }
}

@media (max-width: 850px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(2, 240px);
    }
}

@media (max-width: 520px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: 240px;
    }

    .book-card,
    .premium-post-card,
    .related-posts .book-card,
    .jobs-related-posts .book-card {
        width: 240px;
        max-width: 240px;
        height: 240px;
    }
}


/* =========================================================
   FINAL 230 x 230 SQUARE POST CARDS
   ========================================================= */

.posts,
.related-posts .posts,
.jobs-related-posts .posts {
    grid-template-columns: repeat(4, 230px);
    gap: 20px;
}

.book-card,
.related-posts .book-card,
.jobs-related-posts .book-card {
    width: 230px;
    max-width: 230px;
    height: 230px;
}

.book-card .thumb {
    flex: 0 0 120px;
}

.archive-grid {
    grid-template-columns: repeat(4, 230px);
    gap: 20px;
}

.premium-post-card {
    width: 230px;
    max-width: 230px;
    height: 230px;
}

.premium-post-image {
    flex: 0 0 120px;
}

@media (max-width: 1100px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(3, 230px);
    }
}

@media (max-width: 850px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: repeat(2, 230px);
    }
}

@media (max-width: 520px) {
    .posts,
    .archive-grid,
    .related-posts .posts,
    .jobs-related-posts .posts {
        grid-template-columns: 230px;
    }

    .book-card,
    .premium-post-card,
    .related-posts .book-card,
    .jobs-related-posts .book-card {
        width: 230px;
        max-width: 230px;
        height: 230px;
    }
}
/* =====================================================
   PREMIUM HERO BACKGROUND
   ===================================================== */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(0, 210, 255, 0.20) 0,
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(120, 80, 255, 0.25) 0,
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #061642 0%,
            #092b78 35%,
            #123f9f 62%,
            #241d72 100%
        );

    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    right: -170px;
    top: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(61, 220, 255, 0.28) 0%,
            rgba(61, 220, 255, 0.08) 38%,
            transparent 70%
        );

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 0 80px rgba(0, 200, 255, 0.12),
        inset 0 0 70px rgba(255,255,255,0.05);

    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;

    width: 360px;
    height: 360px;

    left: -170px;
    bottom: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 220, 255, 0.22) 0%,
            rgba(0, 220, 255, 0.06) 40%,
            transparent 70%
        );

    border: 1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 0 90px rgba(0, 200, 255, 0.12);

    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -360px;
    top: -260px;

    border-radius: 50%;

    background:
        repeating-radial-gradient(
            circle,
            transparent 0,
            transparent 34px,
            rgba(255,255,255,0.035) 35px,
            rgba(255,255,255,0.035) 36px
        );

    pointer-events: none;
}

@media (max-width: 768px) {

    .hero::before {
        width: 280px;
        height: 280px;
        right: -140px;
        top: -120px;
    }

    .hero::after {
        width: 250px;
        height: 250px;
        left: -130px;
        bottom: -130px;
    }

    .hero-content::before {
        width: 400px;
        height: 400px;
        right: -260px;
        top: -150px;
    }
}