/* =========================================================
   BLOG & LORE PAGE
   Fantasy Name Generator
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --bg-main: #090706;
    --bg-secondary: #120d0a;
    --bg-card: #17100c;
    --bg-card-light: #1d1510;

    --gold: #c79a3b;
    --gold-light: #e3bd62;
    --gold-dark: #806020;

    --text-main: #eee4d2;
    --text-soft: #b9aa91;
    --text-muted: #827764;

    --border: rgba(199, 154, 59, 0.35);

    --shadow:
        0 18px 45px rgba(0, 0, 0, 0.55);

    --max-width: 1200px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at top,
            rgba(83, 45, 17, 0.18),
            transparent 45%
        ),
        var(--bg-main);

    color: var(--text-main);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.blog-header {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background:
        linear-gradient(
            180deg,
            #090909,
            #0d0a08
        );

    border-bottom: 1px solid var(--border);

    position: relative;
    z-index: 20;
}


/* LOGO */

.blog-logo {
    line-height: 1;
}

.logo-main {
    color: #f0e7d4;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;
    font-weight: 700;

    letter-spacing: 3px;
}

.logo-subtitle {
    margin-top: 5px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 4px;
}


/* NAVIGATION */

.blog-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.blog-navigation a {
    position: relative;

    color: #c8bca8;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        color 0.25s ease;
}

.blog-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition:
        width 0.25s ease;
}

.blog-navigation a:hover,
.blog-navigation a.active {
    color: var(--gold-light);
}

.blog-navigation a:hover::after,
.blog-navigation a.active::after {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.blog-hero {
    min-height: 450px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(5, 4, 3, 0.45),
            rgba(5, 3, 2, 0.88)
        ),
        url("../images/blog/valyria-scroll.jpg.jpg")
        center / cover no-repeat;
}


/* overlay */

.blog-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(199, 154, 59, 0.08),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 0, 0, 0.75)
        );
}


/* HERO CONTENT */

.blog-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    padding: 70px 25px;

    text-align: center;
}

/* =========================================================
   PREMIUM BLOG HERO TYPOGRAPHY
========================================================= */

.blog-eyebrow {
    margin-bottom: 18px;

    color: #c9a227;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.4;

    letter-spacing: 0.24em;

    text-transform: uppercase;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.55);
}


.blog-hero h1 {
    max-width: 880px;

    margin:
        0 auto
        18px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            46px,
            6.5vw,
            76px
        );
        

    font-weight: 700;

    line-height: 1.02;

    letter-spacing: -0.025em; 

    text-shadow:
        none;

    filter:
        drop-shadow(
            0 5px 18px
            rgba(0, 0, 0, 0.42)
        );
        .hero-title-main {
    display: block;
    color: #f1eee6;
}

.hero-title-accent {
    display: block;
    margin-top: 4px;
    color: #c9a227;
}
}


.hero-divider {
    width: fit-content;

    margin:
        22px auto
        26px;

    color: #d7a437;

    font-size: 15px;

    line-height: 1;

    text-shadow:
        0 0 15px
        rgba(215, 164, 55, 0.22);
}


.blog-hero-description {
    max-width: 720px;

    margin: 0 auto;

    color: #eee4d2;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    font-weight: 400;

    line-height: 1.75;

    letter-spacing: 0;

    text-shadow:
        0 3px 14px
        rgba(0, 0, 0, 0.65);
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.blog-container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 90px 0 100px;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-bottom: 35px;
}

.section-title span {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold-dark)
        );
}

.section-title span:last-child {
    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            transparent
        );
}

.section-title h2 {
    flex-shrink: 0;

    color: var(--gold-light);

    font-size: 18px;

    letter-spacing: 3px;

    font-weight: 700;
}

.section-title-left {
    justify-content: flex-start;
}

.section-title-left h2 {
    font-size: 21px;
}


/* =========================================================
   FEATURED ARTICLE
========================================================= */

.featured-section {
    margin-bottom: 90px;
}

.featured-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(0, 0.85fr);

    min-height: 430px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #1b120d,
            #100b08
        );

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}


/* FEATURED IMAGE */

.featured-image {
    display: block;
    min-height: 430px;

    overflow: hidden;

    position: relative;
    cursor: pointer;
    text-decoration: none;
}


.featured-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 50%,
            rgba(12, 7, 4, 0.7)
        );
}

.featured-image img {
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.featured-card:hover
.featured-image img {
    transform: scale(1.05);
}


/* FEATURED CONTENT */

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px;
}

.article-category {
    display: inline-block;

    margin-bottom: 17px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
}

.featured-content h3 {
    margin-bottom: 20px;

    color: #f0e5d0;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.2;
}

.featured-content p {
    margin-bottom: 30px;

    color: var(--text-soft);

    font-size: 15px;
}


/* READ BUTTON */

.read-button {
    align-self: flex-start;

    padding: 12px 0;

    color: var(--gold-light);

    border-bottom: 1px solid var(--gold-dark);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.read-button span {
    margin-left: 7px;
}

.read-button:hover {
    color: #fff;

    border-color: var(--gold-light);
}


/* =========================================================
   BLOG LAYOUT
========================================================= */

.blog-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 55px;

    align-items: start;
}


/* =========================================================
   POSTS GRID
========================================================= */

.posts-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #19110c,
            #100b08
        );

    border: 1px solid rgba(
        199,
        154,
        59,
        0.25
    );

    box-shadow:
        0 12px 30px rgba(
            0,
            0,
            0,
            0.35
        );

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(
            199,
            154,
            59,
            0.55
        );

    box-shadow:
        0 20px 40px rgba(
            0,
            0,
            0,
            0.5
        );
}


/* CARD IMAGE */

.card-image {
    display: block;

    height: 210px;
    overflow: hidden;

    cursor: pointer;
    text-decoration: none;
}
.card-image img {
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.blog-card:hover
.card-image img {
    transform: scale(1.07);
}


/* CARD CONTENT */

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 12px;

    color: #eee3d0;

    font-size: 21px;

    line-height: 1.3;
}

.card-content p {
    margin-bottom: 17px;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.65;
}

.card-meta {
    margin-bottom: 15px;

    color: var(--text-muted);

    font-size: 12px;
}

.card-meta span {
    margin: 0 5px;

    color: var(--gold-dark);
}

.card-content > a {
    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        color 0.25s ease;
}

.card-content > a:hover {
    color: var(--gold-light);
}


/* =========================================================
   VIEW ALL
========================================================= */

.view-all-wrapper {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}

.view-all-button {
    display: inline-block;

    padding: 13px 25px;

    color: var(--gold-light);

    border: 1px solid var(--gold-dark);

    background:
        rgba(
            199,
            154,
            59,
            0.04
        );

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.view-all-button:hover {
    background:
        rgba(
            199,
            154,
            59,
            0.12
        );

    border-color:
        var(--gold);

    color: #fff;
}


/* =========================================================
   SIDEBAR
========================================================= */

.blog-sidebar {
    display: flex;
    flex-direction: column;

    gap: 25px;
}

.sidebar-box {
    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #17100c,
            #100b08
        );

    border: 1px solid rgba(
        199,
        154,
        59,
        0.25
    );
}

.sidebar-box > h3 {
    margin-bottom: 20px;

    color: var(--gold-light);

    font-size: 14px;

    letter-spacing: 2px;
}


/* =========================================================
   SEARCH
========================================================= */

.search-box {
    display: flex;

    border: 1px solid
        rgba(
            199,
            154,
            59,
            0.35
        );

    background: #0b0806;
}

.search-box input {
    width: 100%;

    min-width: 0;

    padding: 13px 14px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text-main);

    font-size: 13px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box button {
    width: 48px;

    flex-shrink: 0;

    border: 0;

    background: transparent;

    color: var(--gold);

    cursor: pointer;

    transition:
        color 0.25s ease;
}

.search-box button:hover {
    color: var(--gold-light);
}


/* =========================================================
   CATEGORIES
========================================================= */

.category-list {
    list-style: none;
}

.category-list li {
    border-bottom: 1px solid
        rgba(
            199,
            154,
            59,
            0.12
        );
}

.category-list li:last-child {
    border-bottom: 0;
}

.category-list a {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 0;

    color: var(--text-soft);

    font-size: 13px;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.category-list a:hover {
    padding-left: 5px;

    color: var(--gold-light);
}

.category-list a span {
    width: 20px;

    color: var(--gold);

    text-align: center;
}

.category-list a b {
    margin-left: auto;

    color: var(--text-muted);

    font-size: 11px;

    font-weight: normal;
}


/* =========================================================
   POPULAR POSTS
========================================================= */

.popular-post {
    display: grid;

    grid-template-columns: 72px 1fr;

    gap: 14px;

    padding: 15px 0;

    border-bottom: 1px solid
        rgba(
            199,
            154,
            59,
            0.12
        );
}

.popular-post:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}

.popular-post:first-of-type {
    padding-top: 0;
}

.popular-post img {
    width: 72px;
    height: 65px;

    object-fit: cover;
}

.popular-post h4 {
    margin-bottom: 5px;

    color: #e8ddc9;

    font-size: 13px;

    line-height: 1.35;
}

.popular-post h4 {
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.popular-post:hover h4 {
    color: #d8ad55;
    transform: translateX(5px);
}
.popular-post small {
    color: var(--text-muted);

    font-size: 10px;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-box {
    background:
        radial-gradient(
            circle at top right,
            rgba(
                199,
                154,
                59,
                0.12
            ),
            transparent 55%
        ),
        #17100c;
}

.newsletter-box p {
    margin-bottom: 20px;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.6;
}

.newsletter-box form {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.newsletter-box input {
    width: 100%;

    padding: 12px 13px;

    outline: none;

    border: 1px solid
        rgba(
            199,
            154,
            59,
            0.3
        );

    background: #0b0806;

    color: var(--text-main);

    font-size: 12px;
}

.newsletter-box input::placeholder {
    color: var(--text-muted);
}

.newsletter-box input:focus {
    border-color: var(--gold);
}

.newsletter-box button {
    padding: 12px;

    border: 1px solid var(--gold-dark);

    background:
        linear-gradient(
            135deg,
            #8d6b28,
            #5d4317
        );

    color: #fff;

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    transition:
        filter 0.25s ease,
        transform 0.25s ease;
}

.newsletter-box button:hover {
    filter: brightness(1.2);

    transform: translateY(-1px);
}


/* =========================================================
   FOOTER
========================================================= */

.blog-footer {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1.2fr
        1.2fr;

    gap: 45px;

    padding:
        70px max(6%, calc((100vw - 1200px) / 2))
        30px;

    background:
        linear-gradient(
            180deg,
            #0e0907,
            #060504
        );

    border-top: 1px solid var(--border);
}


/* FOOTER BRAND */

.footer-brand h2 {
    color: #eee3d0;

    font-size: 24px;

    letter-spacing: 3px;
}

.footer-brand > span {
    display: block;

    margin-top: 4px;

    color: var(--gold);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
}

.footer-brand p {
    max-width: 330px;

    margin-top: 20px;

    color: var(--text-muted);

    font-size: 13px;
}


/* FOOTER COLUMNS */

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.footer-column h3 {
    margin-bottom: 18px;

    color: var(--gold-light);

    font-size: 12px;

    letter-spacing: 2px;
}

.footer-column a {
    margin-bottom: 9px;

    color: var(--text-muted);

    font-size: 13px;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-column a:hover {
    padding-left: 4px;

    color: var(--gold-light);
}

.footer-column p {
    color: var(--text-muted);

    font-size: 13px;
}


/* FOOTER BOTTOM */

.footer-bottom {
    grid-column: 1 / -1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;

    margin-top: 15px;

    border-top: 1px solid
        rgba(
            199,
            154,
            59,
            0.15
        );

    color: #655c50;

    font-size: 11px;
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: var(--gold);
    color: #090706;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #080605;
}

::-webkit-scrollbar-thumb {
    background: #4c3818;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #806020;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .blog-header {
        padding: 0 4%;
    }

    .blog-navigation {
        gap: 20px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .newsletter-box {
        grid-column: 1 / -1;
    }

    .blog-footer {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .blog-header {
        min-height: auto;

        padding: 20px;

        flex-direction: column;

        gap: 20px;
    }

    .blog-navigation {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 14px 20px;
    }

    .blog-navigation a {
        font-size: 11px;
    }

    .blog-hero {
        min-height: 390px;
    }

    .blog-hero-content {
        padding: 50px 20px;
    }
    .blog-eyebrow {
    font-size: 9px;

    letter-spacing: 0.19em;
}

.blog-hero h1 {
    max-width: 560px;

    font-size: 42px;

    line-height: 1.04;

    letter-spacing: -0.02em;
}

.blog-hero-description {
    max-width: 520px;

    font-size: 14px;

    line-height: 1.7;
}

.hero-divider {
    margin:
        18px auto
        22px;

    font-size: 13px;
}

    .blog-container {
        width: min(
            calc(100% - 28px),
            var(--max-width)
        );

        padding-top: 60px;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 260px;
    }

    .featured-content {
        padding: 30px 25px;
    }

    .featured-content h3 {
        font-size: 28px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .newsletter-box {
        grid-column: auto;
    }

    .blog-footer {
        grid-template-columns: 1fr;

        padding:
            55px 25px 25px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .blog-navigation {
        gap: 10px 14px;
    }

    .blog-navigation a {
        font-size: 10px;
    }

    .section-title {
        gap: 10px;
    }

    .section-title h2 {
        font-size: 14px;

        letter-spacing: 1.5px;
    }

    .featured-content {
        padding: 25px 20px;
    }

    .card-content {
        padding: 20px;
    }

    .card-image {
        height: 190px;
    }
}
/* =========================================================
   ARTICLE PAGE
========================================================= */

.article-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 25px 100px;
}

.article-header {
    text-align: center;
    margin-bottom: 45px;
}

.article-header .article-category {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.article-header h1 {
    color: #f0d58d;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.article-date {
    color: var(--text-muted);
    font-size: 12px;
}

.article-cover {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
    margin-bottom: 45px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.9;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content h2 {
    margin: 45px 0 18px;
    color: var(--gold-light);
    font-size: 28px;
    line-height: 1.3;
}

.article-content h3 {
    margin: 35px 0 15px;
    color: #e8d5a8;
    font-size: 21px;
}

.article-content strong {
    color: #eee3d0;
}

.article-back {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 22px;
    color: var(--gold-light);
    border: 1px solid var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: 0.25s ease;
}

.article-back:hover {
    color: #fff;
    background: rgba(199, 154, 59, 0.12);
    border-color: var(--gold);
}


/* =========================================================
   ARTICLE MOBILE
========================================================= */

@media (max-width: 700px) {

    .article-page {
        padding: 55px 20px 70px;
    }

    .article-header h1 {
        font-size: 38px;
    }

    .article-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-cover {
        margin-bottom: 30px;
    }
}
/* =========================================================
   FOOTER BRAND LOGO
========================================================= */

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.footer-logo-image {
    position: relative;
    left: 4px;

    width: 52px;
    height: 52px;
    flex: 0 0 52px;

    object-fit: contain;

    filter:
        brightness(1.18)
        contrast(1.08)
        saturate(1.12)
        drop-shadow(0 0 7px rgba(201, 162, 39, 0.18));

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.footer-logo-main {
    color: #f1eee6;

    font-family: "Cinzel", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 3px;
}

.footer-logo-sub {
    margin-top: 6px;

    color: #c9a227;

    font-family: "Cinzel", Georgia, serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 3px;
}

.footer-brand-logo:hover .footer-logo-image {
    transform: scale(1.06);

    filter:
        brightness(1.3)
        contrast(1.1)
        saturate(1.15)
        drop-shadow(0 0 15px rgba(201, 162, 39, 0.34));
}


/* MOBILE */

@media (max-width: 600px) {

    .footer-logo-image {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .footer-logo-main {
        font-size: 21px;
        letter-spacing: 2.4px;
    }

    .footer-logo-sub {
        font-size: 7px;
        letter-spacing: 2.4px;
    }

}
/* =========================================================
   ALL ARTICLES PAGE — PROFESSIONAL ARCHIVE LAYOUT
========================================================= */

.all-articles-page {
    width: min(calc(100% - 48px), 1200px);
    max-width: 1200px;

    margin: 0 auto;

    padding: 80px 0 110px;
}


/* =========================================================
   ALL ARTICLES TITLE
========================================================= */

.all-articles-page .section-title {
    margin-bottom: 45px;
}

.all-articles-page .section-title h1 {
    flex-shrink: 0;

    color: var(--gold-light);

    font-size: 24px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 4px;

    text-shadow:
        0 2px 15px rgba(0, 0, 0, 0.55);
}


/* =========================================================
   ARTICLES GRID
========================================================= */

.all-articles-page .articles-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;
}


/* =========================================================
   ARTICLE CARDS
========================================================= */

.all-articles-page .blog-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #19110c 0%,
            #100b08 100%
        );

    border:
        1px solid rgba(199, 154, 59, 0.26);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.38);

    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease,
        box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Smooth premium card hover */

.all-articles-page .blog-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(199, 154, 59, 0.58);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.52),
        0 0 25px rgba(199, 154, 59, 0.05);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.all-articles-page .card-image {
    display: block;

    width: 100%;
    height: 220px;

    overflow: hidden;

    background: #0b0806;

    cursor: pointer;
}

.all-articles-page .card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1);

    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s ease;

    will-change: transform;
}


/* Smooth image zoom */

.all-articles-page .blog-card:hover .card-image img {
    transform: scale(1.055);

    filter:
        brightness(1.07)
        saturate(1.06);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.all-articles-page .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 26px 27px 27px;
}


.all-articles-page .article-category {
    margin-bottom: 14px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.5px;
}


/* Premium article heading */

.all-articles-page .card-content h3 {
    margin-bottom: 12px;

    color: #f0e6d5;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.3;

    transition:
        color 0.35s ease;
}

.all-articles-page .blog-card:hover .card-content h3 {
    color: #fff4dc;
}


.all-articles-page .card-content p {
    margin-bottom: 18px;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   META
========================================================= */

.all-articles-page .card-meta {
    margin-top: auto;
    margin-bottom: 18px;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   READ MORE
========================================================= */

.all-articles-page .card-content > a {
    width: fit-content;

    position: relative;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.6px;

    transition:
        color 0.3s ease,
        transform 0.35s ease;
}

.all-articles-page .card-content > a:hover {
    color: var(--gold-light);

    transform: translateX(4px);
}


/* Small premium underline */

.all-articles-page .card-content > a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 28px;
    height: 1px;

    background: var(--gold-dark);

    transition:
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease;
}

.all-articles-page .card-content > a:hover::after {
    width: 58px;

    background: var(--gold);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .all-articles-page {
        width: min(calc(100% - 36px), 1200px);

        padding-top: 65px;
    }

    .all-articles-page .articles-grid {
        gap: 22px;
    }

    .all-articles-page .card-image {
        height: 200px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .all-articles-page {
        width: calc(100% - 28px);

        padding:
            55px 0
            80px;
    }

    .all-articles-page .section-title {
        margin-bottom: 32px;
    }

    .all-articles-page .section-title h1 {
        font-size: 18px;

        letter-spacing: 2.5px;
    }

    .all-articles-page .articles-grid {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .all-articles-page .card-image {
        height: 220px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .all-articles-page .card-image {
        height: 190px;
    }

    .all-articles-page .card-content {
        padding: 22px 20px 24px;
    }

    .all-articles-page .card-content h3 {
        font-size: 20px;
    }

}
@media (max-width: 768px) {

    .blog-layout {
        display: flex;
        flex-direction: column;
    }

    .blog-sidebar {
        order: -1;
    }

    .blog-sidebar .sidebar-box:not(:first-child) {
        display: none;
    }

}
@media (max-width: 768px) {

    .blog-sidebar .sidebar-box:first-child {
        width: calc(100vw - 32px) !important;
        max-width: 420px;

        margin-left: 50% !important;
        transform: translateX(-50%);
    }

    .blog-sidebar .search-box {
        width: 100% !important;
        box-sizing: border-box;
    }

}
/* =========================================================
   PROFESSIONAL BLOG ARTICLE LAYOUT
   ========================================================= */

.article-page {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 72px 24px 90px;
}


/* =========================================================
   ARTICLE HEADER
   ========================================================= */

.article-header {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}

.article-category {
    display: inline-block;
    margin-bottom: 16px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #d8ab3c;
}

.article-header h1 {
    max-width: 760px;
    margin: 0 auto 18px;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.02em;

    color: #f2d57d;
}

.article-meta {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: #a99b88;
}

.article-meta span {
    display: inline-block;
    margin: 0 8px;

    color: #665a49;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.article-image {
    width: 100%;
    max-width: 940px;
    margin: 0 auto 54px;
}

.article-image img {
    display: block;

    width: 100%;
    height: auto;
    max-height: 600px;

    object-fit: cover;

    border-radius: 14px;
    border: 1px solid rgba(216, 171, 60, 0.18);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.015);
}


/* =========================================================
   ARTICLE BODY
   ========================================================= */

.article-content {
    width: 100%;
    max-width: 790px;
    margin: 0 auto;

    font-size: 17px;
    line-height: 1.85;

    color: #cfc4b5;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content .article-intro {
    margin-bottom: 30px;

    font-size: 20px;
    line-height: 1.75;

    color: #e3d8c7;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.article-content h2 {
    position: relative;

    margin: 58px 0 22px;
    padding-bottom: 13px;

    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.015em;

    color: #e4bd55;
}

.article-content h2::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 52px;
    height: 2px;

    background: #b98927;
}

.article-content h3 {
    margin: 38px 0 16px;

    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;

    color: #efd77f;
}


/* =========================================================
   ARTICLE LINKS
   ========================================================= */

.article-content a:not(.read-button) {
    color: #e8bd4f;
    font-weight: 600;

    text-decoration-line: underline;
    text-decoration-color: rgba(232, 189, 79, 0.55);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

.article-content a:not(.read-button):hover {
    color: #ffe39a;
    text-decoration-color: #ffe39a;
}

.article-content a:not(.read-button):focus-visible {
    outline: 2px solid #e8bd4f;
    outline-offset: 4px;
    border-radius: 2px;
}


/* =========================================================
   STRONG / EMPHASIS
   ========================================================= */

.article-content strong {
    color: #eee2cf;
    font-weight: 700;
}

.article-content em {
    color: #dfd1bf;
}


/* =========================================================
   LISTS
   ========================================================= */

.article-content ul,
.article-content ol {
    margin: 18px 0 28px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.article-content li::marker {
    color: #d8ab3c;
}


/* =========================================================
   FAQ / QUESTION SECTION
   ========================================================= */

.article-faq {
    margin-top: 70px;
    padding-top: 10px;
}

.article-faq > h2 {
    margin-bottom: 30px;
}

.article-faq h3 {
    position: relative;

    margin: 16px 0 0;
    padding: 20px 52px 20px 22px;

    font-size: 18px;
    line-height: 1.45;

    color: #f0d271;

    background: rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(216, 171, 60, 0.16);
    border-radius: 10px 10px 0 0;
}

.article-faq h3::after {
    content: "?";

    position: absolute;
    top: 50%;
    right: 20px;

    transform: translateY(-50%);

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(216, 171, 60, 0.35);
    border-radius: 50%;

    font-size: 13px;
    color: #d8ab3c;
}

.article-faq h3 + p {
    margin: 0 0 18px;
    padding: 20px 22px;

    line-height: 1.8;

    color: #c9beaf;

    background: rgba(0, 0, 0, 0.18);

    border-right: 1px solid rgba(216, 171, 60, 0.12);
    border-bottom: 1px solid rgba(216, 171, 60, 0.12);
    border-left: 1px solid rgba(216, 171, 60, 0.12);

    border-radius: 0 0 10px 10px;
}


/* =========================================================
   BACK TO BLOG BUTTON
   ========================================================= */

.article-content .read-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 46px;
    padding: 13px 20px;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #e7bd50;
    text-decoration: none;

    background: rgba(216, 171, 60, 0.06);

    border: 1px solid rgba(216, 171, 60, 0.4);
    border-radius: 6px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}

.article-content .read-button:hover {
    color: #130e08;
    background: #d8ab3c;
    border-color: #d8ab3c;

    transform: translateY(-2px);
}


/* =========================================================
   DESKTOP ENHANCEMENT
   ========================================================= */

@media (min-width: 900px) {

    .article-page {
        padding-top: 88px;
    }

    .article-image {
        margin-bottom: 62px;
    }

    .article-content {
        font-size: 18px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .article-page {
        padding:
            52px 20px
            70px;
    }

    .article-header {
        margin-bottom: 28px;
    }

    .article-header h1 {
        font-size: 42px;
    }

    .article-image {
        margin-bottom: 40px;
    }

    .article-image img {
        border-radius: 10px;
    }

    .article-content {
        max-width: 100%;

        font-size: 16.5px;
        line-height: 1.8;
    }

    .article-content .article-intro {
        font-size: 18px;
    }

    .article-content h2 {
        margin-top: 48px;

        font-size: 28px;
    }

    .article-content h3 {
        font-size: 19px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .article-page {
        padding:
            40px 17px
            60px;
    }

    .article-header h1 {
        font-size: 35px;
        line-height: 1.08;
    }

    .article-category {
        font-size: 10px;
    }

    .article-meta {
        font-size: 11px;
    }

    .article-meta span {
        margin: 0 4px;
    }

    .article-image {
        margin-bottom: 34px;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.78;
    }

    .article-content .article-intro {
        font-size: 17px;
    }

    .article-content p {
        margin-bottom: 19px;
    }

    .article-content h2 {
        margin:
            43px 0
            19px;

        font-size: 25px;
    }

    .article-content h3 {
        margin-top: 31px;

        font-size: 18px;
    }

    .article-faq {
        margin-top: 55px;
    }

    .article-faq h3 {
        padding:
            17px 46px
            17px 17px;

        font-size: 16px;
    }

    .article-faq h3 + p {
        padding: 17px;
    }
}