/* =========================================================
   AARSH INSTITUTE BLOG
========================================================= */

.blog-page {
    min-height: 100vh;
    background: #050505;
    color: #fff;
    overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.blog-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 100px;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(253, 190, 0, 0.08),
            transparent 38%
        ),
        #050505;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}


.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(0,0,0,0.15) 60%,
            #050505 100%
        );
    pointer-events: none;
}


.blog-hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    left: 50%;
    top: -430px;
    transform: translateX(-50%);
    background: rgba(253,190,0,0.06);
    filter: blur(120px);
    border-radius: 50%;
}


.blog-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    text-align: center;
}


.blog-eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    color: #fdbe00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}


.blog-hero h1 {
    margin: 0;
    font-size: clamp(54px, 9vw, 110px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}


.blog-hero h1 strong {
    color: #fdbe00;
}


.blog-hero p {
    max-width: 720px;
    margin: 30px auto 0;
    color: rgba(255,255,255,0.55);
    font-size: 16px;
    line-height: 1.9;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 130px;
}


.blog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 28px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.blog-section-label {
    color: #fdbe00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}


.blog-section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}


.blog-section-heading p {
    max-width: 350px;
    margin: 0;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
    line-height: 1.7;
    text-align: right;
}


/* =========================================================
   GRID
========================================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* =========================================================
   CARD
========================================================= */

.blog-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    background: #0a0a0a;
    transition:
        transform 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}


.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(253,190,0,0.35);
    box-shadow: 0 25px 80px rgba(0,0,0,0.45);
}


/* =========================================================
   IMAGE
========================================================= */

.blog-image-link {
    display: block;
}


.blog-image-wrap {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: #111;
}


.blog-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0,0,0,0.75) 100%
        );
    pointer-events: none;
}


.blog-image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}


.blog-card:hover .blog-image-wrap img {
    transform: scale(1.07);
}


.blog-category {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fdbe00;
    color: #000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
}


/* =========================================================
   CONTENT
========================================================= */

.blog-content {
    padding: 28px;
}


.blog-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
}


.blog-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fdbe00;
}


.blog-content h3 {
    margin: 0;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}


.blog-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}


.blog-content h3 a:hover {
    color: #fdbe00;
}


.blog-content p {
    margin: 17px 0 0;
    color: rgba(255,255,255,0.43);
    font-size: 14px;
    line-height: 1.8;
}


.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: #fdbe00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
}


.blog-read-more span {
    font-size: 17px;
    transition: transform 0.3s ease;
}


.blog-read-more:hover span {
    transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .blog-section {
        padding: 80px 24px 100px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 640px) {

    .blog-hero {
        min-height: 480px;
        padding: 120px 20px 80px;
    }

    .blog-hero p {
        font-size: 14px;
        line-height: 1.75;
    }

    .blog-section {
        padding: 65px 18px 80px;
    }

    .blog-section-heading {
        display: block;
    }

    .blog-section-heading p {
        margin-top: 18px;
        text-align: left;
    }

    .blog-image-wrap {
        height: 260px;
    }

    .blog-content {
        padding: 23px;
    }

}




















/* =========================================================
   INDIVIDUAL BLOG ARTICLE
========================================================= */

.blog-article-page {
    min-height: 100vh;
    background: #050505;
    color: #fff;
}


/* =========================================================
   ARTICLE HERO
========================================================= */

.article-hero {
    padding: 170px 24px 90px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(253,190,0,0.08),
            transparent 40%
        ),
        #050505;
}


.article-hero-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}


.article-category {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fdbe00;
    color: #000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.15em;
}


.article-hero h1 {
    margin: 25px 0 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.045em;
}


.article-intro {
    max-width: 720px;
    margin: 28px auto 0;
    color: rgba(255,255,255,0.55);
    font-size: 17px;
    line-height: 1.8;
}


.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    color: rgba(255,255,255,0.35);
    font-size: 11px;
}


.article-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fdbe00;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.article-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}


.article-main {
    width: 100%;
}


.article-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #111;
}


.article-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.article-main > p {
    color: rgba(255,255,255,0.58);
    font-size: 17px;
    line-height: 1.95;
}


.article-lead {
    margin-top: 45px;
    font-size: 20px !important;
    color: rgba(255,255,255,0.72) !important;
}


.article-main h2 {
    margin-top: 55px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}


.article-cta {
    margin-top: 70px;
    padding: 40px;
    border: 1px solid rgba(253,190,0,0.22);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(253,190,0,0.08),
            rgba(255,255,255,0.02)
        );
}


.article-cta > span {
    color: #fdbe00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.25em;
}


.article-cta h3 {
    margin: 14px 0 0;
    font-size: 30px;
    line-height: 1.2;
}


.article-cta p {
    margin: 15px 0 0;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}


.article-cta a {
    display: inline-block;
    margin-top: 25px;
    padding: 13px 22px;
    border-radius: 999px;
    background: #fdbe00;
    color: #000;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s ease;
}


.article-cta a:hover {
    background: #fff;
}


/* =========================================================
   ARTICLE MOBILE
========================================================= */

@media (max-width: 640px) {

    .article-hero {
        padding: 130px 18px 70px;
    }

    .article-intro {
        font-size: 14px;
    }

    .article-content {
        padding: 55px 18px 80px;
    }

    .article-main > p {
        font-size: 15px;
        line-height: 1.85;
    }

    .article-lead {
        font-size: 17px !important;
    }

    .article-cta {
        padding: 28px 22px;
    }

    .article-cta h3 {
        font-size: 24px;
    }

}












/* =========================================================
   AARSH INSTITUTE
   BLOG ARTICLE SIDEBAR + PREMIUM ARTICLE LAYOUT
========================================================= */


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.article-layout {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 110px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;

    gap: 64px;

    align-items: start;
}


/* =========================================================
   ARTICLE MAIN
========================================================= */

.article-layout .article-content {
    min-width: 0;
    width: 100%;
}

.article-layout .article-main {
    width: 100%;
    max-width: 860px;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.article-featured-image {
    position: relative;
    width: 100%;
    margin-bottom: 42px;

    overflow: hidden;

    border-radius: 26px;

    border: 1px solid rgba(255,255,255,0.09);

    background: #0b0b0b;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);
}

.article-featured-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.32),
            transparent 45%
        );

    pointer-events: none;
}

.article-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 560px;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.article-featured-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   ARTICLE TYPOGRAPHY
========================================================= */

.article-layout .article-main p {
    color: rgba(255,255,255,0.64);

    font-size: 17px;
    line-height: 1.9;

    margin: 0 0 24px;
}

.article-layout .article-main .article-lead {
    color: rgba(255,255,255,0.82);

    font-size: 20px;
    line-height: 1.85;

    padding-left: 22px;

    border-left: 3px solid #fdbe00;

    margin-bottom: 52px;
}

.article-layout .article-main h2 {
    color: #fff;

    font-size: clamp(25px, 3vw, 34px);

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -0.025em;

    margin: 58px 0 20px;
}

.article-layout .article-main h2:first-of-type {
    margin-top: 0;
}


/* =========================================================
   ARTICLE CTA
========================================================= */

.article-cta {
    position: relative;

    overflow: hidden;

    margin-top: 65px;
    padding: 38px;

    border-radius: 26px;

    border: 1px solid rgba(253,190,0,0.25);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(253,190,0,0.12),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );
}

.article-cta span {
    display: block;

    margin-bottom: 12px;

    color: #fdbe00;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.25em;

    text-transform: uppercase;
}

.article-cta h3 {
    margin: 0;

    color: #fff;

    font-size: clamp(24px, 3vw, 34px);

    line-height: 1.2;

    font-weight: 800;
}

.article-cta p {
    margin-top: 16px !important;

    max-width: 650px;

    color: rgba(255,255,255,0.52) !important;

    font-size: 15px !important;

    line-height: 1.7 !important;
}

.article-cta a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 22px;

    min-height: 48px;

    padding: 0 24px;

    border-radius: 999px;

    background: #fdbe00;

    color: #050505;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.article-cta a:hover {
    background: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;

    top: 110px;

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   SIDEBAR CARD
========================================================= */

.sidebar-card {
    position: relative;

    overflow: hidden;

    padding: 28px;

    border-radius: 24px;

    border: 1px solid rgba(255,255,255,0.09);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.018)
        );

    box-shadow:
        0 18px 50px rgba(0,0,0,0.20);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.sidebar-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -90px;

    border-radius: 50%;

    background: rgba(253,190,0,0.07);

    filter: blur(35px);

    pointer-events: none;
}

.sidebar-card:hover {
    transform: translateY(-4px);

    border-color: rgba(253,190,0,0.28);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.025)
        );
}


/* =========================================================
   DEMO CARD
========================================================= */

.sidebar-demo-card {
    border-color: rgba(253,190,0,0.28);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(253,190,0,0.13),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(253,190,0,0.045),
            rgba(255,255,255,0.018)
        );
}


/* =========================================================
   CARD TOP
========================================================= */

.sidebar-card-top {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;
}

.sidebar-card-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 14px;

    background: rgba(253,190,0,0.10);

    color: #fdbe00;

    font-size: 18px;

    border: 1px solid rgba(253,190,0,0.10);
}

.sidebar-card-tag {
    color: rgba(255,255,255,0.36);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.17em;

    text-transform: uppercase;

    text-align: right;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.sidebar-card h2 {
    position: relative;

    margin: 0;

    color: #fff;

    font-size: 24px;

    line-height: 1.2;

    font-weight: 850;

    letter-spacing: -0.025em;
}

.sidebar-card p {
    position: relative;

    margin: 13px 0 0;

    color: rgba(255,255,255,0.48);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   SIDEBAR BUTTONS
========================================================= */

.sidebar-primary-btn,
.sidebar-outline-btn {
    position: relative;

    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 22px;

    padding: 0 18px;

    border-radius: 13px;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 0.13em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.sidebar-primary-btn {
    background: #fdbe00;

    border: 1px solid #fdbe00;

    color: #050505;
}

.sidebar-primary-btn:hover {
    background: #fff;

    border-color: #fff;

    color: #050505;

    transform: translateY(-2px);
}

.sidebar-outline-btn {
    background: rgba(255,255,255,0.025);

    border: 1px solid rgba(253,190,0,0.45);

    color: #fdbe00;
}

.sidebar-outline-btn:hover {
    background: #fdbe00;

    border-color: #fdbe00;

    color: #050505;

    transform: translateY(-2px);
}


/* =========================================================
   QUICK LINKS
========================================================= */

.sidebar-quick-links {
    padding: 10px 18px 8px;

    border-radius: 22px;

    border: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.018);
}

.quick-links-title {
    padding: 14px 4px 9px;

    color: rgba(255,255,255,0.30);

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}

.sidebar-quick-links a {
    display: grid;

    grid-template-columns: 34px minmax(0, 1fr) 14px;

    align-items: center;

    gap: 10px;

    min-height: 54px;

    border-bottom: 1px solid rgba(255,255,255,0.055);

    color: rgba(255,255,255,0.62);

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.sidebar-quick-links a:last-child {
    border-bottom: 0;
}

.sidebar-quick-links a:hover {
    padding-left: 5px;

    color: #fdbe00;
}

.quick-link-icon {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255,255,255,0.045);

    color: #fdbe00;

    font-size: 12px;
}

.quick-arrow {
    color: rgba(255,255,255,0.20);

    font-size: 9px;

    transition: transform 0.25s ease;
}

.sidebar-quick-links a:hover .quick-arrow {
    color: #fdbe00;

    transform: translateX(3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .article-layout {
        grid-template-columns: minmax(0, 1fr) 310px;

        gap: 35px;
    }

    .sidebar-card {
        padding: 23px;
    }

    .sidebar-card h2 {
        font-size: 21px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 900px) {

    .article-layout {
        width: min(100% - 32px, 760px);

        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 80px;
    }

    .blog-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

    .sidebar-quick-links {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .article-layout {
        width: calc(100% - 24px);
    }

    .blog-sidebar {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .sidebar-quick-links {
        grid-column: auto;
    }

    .sidebar-card {
        padding: 22px;

        border-radius: 20px;
    }

    .sidebar-card h2 {
        font-size: 22px;
    }

    .article-layout .article-main p {
        font-size: 15px;

        line-height: 1.8;
    }

    .article-layout .article-main .article-lead {
        font-size: 17px;

        line-height: 1.75;

        padding-left: 17px;
    }

    .article-layout .article-main h2 {
        font-size: 25px;

        margin-top: 45px;
    }

    .article-cta {
        padding: 27px 22px;

        border-radius: 20px;
    }

}

/* =========================================================
   SIDEBAR STUDY RESOURCE LINKS
========================================================= */

.sidebar-resource-links {
    position: relative;

    display: flex;
    flex-direction: column;

    margin-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.07);
}

.sidebar-resource-links a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    min-height: 46px;

    padding: 0 2px;

    border-bottom: 1px solid rgba(255,255,255,0.055);

    color: rgba(255,255,255,0.56);

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.sidebar-resource-links a:last-child {
    border-bottom: 0;
}

.sidebar-resource-links a:hover {
    padding-left: 6px;

    color: #fdbe00;
}

.sidebar-resource-links a i {
    width: 14px;
    height: 14px;

    flex-shrink: 0;

    color: rgba(255,255,255,0.22);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.sidebar-resource-links a:hover i {
    color: #fdbe00;

    transform: translate(2px, -2px);
}


/* =========================================================
   SIDEBAR MOBILE
========================================================= */

@media (max-width: 600px) {

    .sidebar-resource-links a {
        min-height: 48px;

        font-size: 12px;
    }

}