:root {
    --green: #b8f36a;
    --deep: #14251c;
    --cream: #f7f6f0;
    --paper: #fffefa;
    --muted: #68766f;
    --line: #e3e8df;
    --radius: 20px;
    --shadow: 0 15px 40px rgba(20, 37, 28, 0.1);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--cream);
    color: var(--deep);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.hero-art {
    min-height: 470px;
    position: relative;
    border-radius: 34px;
    background:
        linear-gradient(135deg, #dcebcfdd, #dcebcf99),
        url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1200&q=85")
            center/cover;
    overflow: hidden;
    padding: 27px;
    isolation: isolate;
}

.hero-art:before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: #c0e4a1;
    right: -90px;
    top: -100px;
    z-index: -1;
}

.hero-art:after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid #aacd91;
    right: -30px;
    bottom: -100px;
    z-index: -1;
}

.art-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 900;
    color: #557246;
}

.art-label span:last-child {
    border: 1px solid #abc998;
    padding: 6px 10px;
    border-radius: 30px;
}

.feature-card {
    position: absolute;
    background: var(--paper);
    border-radius: 23px;
    padding: 19px;
    box-shadow: var(--shadow);
}

.fc-main {
    left: 7%;
    right: 15%;
    top: 83px;
    transform: rotate(-3deg);
}

.fc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-logo {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: var(--deep);
    color: var(--green);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 20px;
}

.pill {
    font-size: 10px;
    padding: 5px 9px;
    border-radius: 30px;
    background: #edf6e5;
    color: #4e7a2b;
    font-weight: 800;
}

.fc-main h3 {
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.6px;
    margin: 16px 0 5px;
}

.fc-main p {
    font-size: 12px;
    margin: 0;
    color: var(--muted);
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 19px;
}

.metric {
    background: #f5f7f0;
    border-radius: 13px;
    padding: 11px;
}

.metric small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.metric strong {
    font-size: 15px;
}

.fc-float {
    right: 5%;
    bottom: 20px;
    width: 205px;
    transform: rotate(4deg);
}

.fc-float .stars {
    color: #e7a33c;
    font-size: 12px;
}

.fc-float strong {
    display: block;
    font-size: 14px;
    margin-top: 5px;
}

.fc-float small {
    font-size: 11px;
    color: var(--muted);
}

.spark {
    position: absolute;
    left: 9%;
    bottom: 37px;
    font-size: 44px;
    color: #65913c;
    transform: rotate(-13deg);
}

a {
    text-decoration: none;
    color: inherit;
}
button,
input {
    font: inherit;
}
.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

/* HEADER */
.topline {
    background: var(--deep);
    color: #dfe9e1;
    font-size: 12px;
    padding: 9px 0;
}
.topline .wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.topline strong {
    color: var(--green);
}

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 246, 240, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #dfe5dd;
}
.navin {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.logo-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    background: var(--green);
    border-radius: 12px;
}
.logo small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.5px;
}
.navlinks {
    display: flex;
    gap: 25px;
    font-size: 13px;
    font-weight: 700;
}
.navlinks a:hover {
    color: #5c8b36;
}
.nav-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 13px;
}
.nav-btn,
.btn-dark {
    background: var(--deep);
    color: white;
}
.btn-green {
    background: var(--green);
    color: var(--deep);
}
.btn-outline {
    border: 1px solid #d2dbd0;
    background: white;
}
.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
}

/* HERO */
.hero {
    padding: 65px 0 42px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}
.badge {
    display: inline-flex;
    padding: 7px 12px;
    background: #eaf5df;
    color: #4c742d;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero h1 {
    font-size: clamp(42px, 5.5vw, 70px);
    line-height: 1;
    letter-spacing: -3px;
    margin: 20px 0;
}
.hero h1 span {
    color: #679b38;
}
.hero p {
    max-width: 570px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}
.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.hero-photo {
    height: 430px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #dcebd1;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-card {
    position: absolute;
    left: 25px;
    bottom: 25px;
    background: white;
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.hero-card strong {
    display: block;
    font-size: 21px;
}
.hero-card span {
    font-size: 11px;
    color: var(--muted);
}

/* DIRECTORY */
.directory {
    background: white;
    padding: 70px 0;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 25px;
}
.kicker {
    color: #679638;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.section-title h2 {
    margin: 7px 0 0;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -2px;
}
.section-title p {
    color: var(--muted);
    font-size: 13px;
    max-width: 420px;
}

/* SEARCH */
.search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.search {
    flex: 1;
    position: relative;
}
.search span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7d8981;
    font-size: 19px;
}
.search input {
    width: 100%;
    padding: 15px 16px 15px 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: #fff;
}
.search input:focus {
    border-color: #a4ca80;
    box-shadow: 0 0 0 3px #b8f36a33;
}
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.filter {
    border: 1px solid var(--line);
    background: white;
    border-radius: 999px;
    padding: 9px 14px;
    color: #68756d;
    font-size: 12px;
    font-weight: 800;
}
.filter.active,
.filter:hover {
    background: var(--deep);
    color: white;
}

/* COLORFUL FRANCHISE CARDS — banner overlay */
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.franchise-card {
    min-width: 0;
    position: relative;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}
.franchise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(20, 30, 25, 0.16);
}
.card-image-wrap {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #ecefea;
}
.card-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.franchise-card:hover .card-photo {
    transform: scale(1.045);
}
.photo-category {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(20, 25, 22, 0.72);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    backdrop-filter: blur(6px);
}
.card-banner {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 70px;
    padding: 11px 14px;
    color: #fff;
    background: var(--brand-color, #263b30);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-5%);
    z-index: 2;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.22);
}
.card-banner .icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.brand-icon {
    width: 27px;
    height: 27px;
    display: block;
}
.banner-copy {
    min-width: 0;
    flex: 1;
}
.banner-copy h3 {
    margin: 0 0 3px;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 850;
    color: #fff;
    overflow-wrap: anywhere;
}
.banner-copy span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    line-height: 1.25;
}
.banner-link {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.card-details {
    padding: 44px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-details p {
    color: #657168;
    font-size: 11px;
    line-height: 1.65;
    margin: 0 0 14px;
}
.details-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand-color, #263b30);
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}
.details-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
.details-link span {
    font-size: 15px;
}
.empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 50px;
    color: var(--muted);
}

/* INFO */
.info {
    padding: 70px 0;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.info-box {
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
}
.info-box.dark {
    background: var(--deep);
    color: white;
}
.info-box h2 {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -1.3px;
    margin: 10px 0 15px;
}
.info-box p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}
.info-box.dark p {
    color: #b9c7bd;
}
.points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}
.point {
    padding: 14px;
    border: 1px solid #ffffff1c;
    border-radius: 14px;
    background: #ffffff08;
}
.point strong {
    display: block;
    font-size: 13px;
}
.point span {
    font-size: 10px;
    color: #b9c7bd;
}

/* CTA */
.cta {
    padding: 0 0 70px;
}
.cta-box {
    background: var(--green);
    border-radius: 25px;
    padding: 35px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.cta-box h2 {
    margin: 0 0 8px;
    font-size: 35px;
    letter-spacing: -1.5px;
}
.cta-box p {
    margin: 0;
    color: #405a31;
    font-size: 13px;
}

/* =========================================================
   ARTICLES SECTION
   ========================================================= */

.articles-section {
    padding-bottom: 90px;
    background: #f7f7f5;
}

.articles-section .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: end;
    margin-bottom: 45px;
}

.section-heading .kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.section-heading p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* GRID */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* CARD */

.article-card {
    background: #fff;
    border: 1px solid #e8e8e5;
    border-radius: 18px;
    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* IMAGE */

.article-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
}

.article-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

/* PLACEHOLDER */

.article-image-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;

    background: #eee;
    color: #999;

    font-size: 42px;
}

/* CONTENT */

.article-card-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 13px;

    color: #888;
    font-size: 12px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-card-content h3 {
    margin: 0 0 13px;
    font-size: 21px;
    line-height: 1.3;
}

.article-card-content h3 a {
    color: #171717;
    text-decoration: none;
}

.article-card-content h3 a:hover {
    text-decoration: underline;
}

.article-card-content p {
    margin: 0 0 20px;

    color: #666;
    font-size: 14px;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* READ MORE */

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #171717;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.article-read-more span {
    transition: transform 0.2s ease;
}

.article-read-more:hover span {
    transform: translateX(5px);
}

/* ACTION */

.articles-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.articles-action .btn {
    text-decoration: none;
}

/* EMPTY */

.articles-empty {
    padding: 60px 20px;
    text-align: center;

    background: #fff;
    border: 1px solid #e8e8e5;
    border-radius: 18px;
}

.empty-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f1ef;
    color: #777;

    font-size: 25px;
}

.articles-empty h3 {
    margin: 0 0 8px;
}

.articles-empty p {
    margin: 0;
    color: #777;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .section-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .articles-section {
        padding: 65px 0;
    }

    .articles-section .container {
        width: min(100% - 30px, 1180px);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-card-image {
        height: 210px;
    }
}

/* =========================================================
   PUBLIC ARTICLE INDEX
   ========================================================= */

.articles-page {
    background: #fff;
}

.articles-page-hero {
    padding: 30px 0px;
    background: #f7f7f5;
    border-bottom: 1px solid #e8e8e5;
}

.articles-page-hero-inner {
    max-width: 800px;
}

.articles-page-hero h1 {
    margin: 12px 0 22px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -3px;
}

.articles-page-hero p {
    max-width: 680px;
    margin: 0;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}

.articles-list-section {
    padding: 10px 0;
}

.articles-list-header {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: end;
    margin-bottom: 45px;
}

.articles-list-header h2 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.articles-list-header p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* GRID */

.articles-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.article-page-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e8e5;
    border-radius: 18px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.article-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* IMAGE */

.article-page-card-image {
    height: 240px;
    overflow: hidden;
    background: #eeeeec;
}

.article-page-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.article-page-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.article-page-card:hover img {
    transform: scale(1.05);
}

.article-page-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;

    height: 100%;

    color: #999;
    font-size: 42px;
}

/* CONTENT */

.article-page-card-content {
    padding: 27px;
}

.article-page-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;

    color: #888;
    font-size: 12px;
}

.article-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-page-card-content h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.3;
}

.article-page-card-content h2 a {
    color: #171717;
    text-decoration: none;
}

.article-page-card-content h2 a:hover {
    text-decoration: underline;
}

.article-page-card-content p {
    margin: 0 0 22px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-page-read {
    display: inline-flex;
    gap: 8px;
    align-items: center;

    color: #171717;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.article-page-read span {
    transition: transform 0.2s ease;
}

.article-page-read:hover span {
    transform: translateX(5px);
}

/* PAGINATION */

.articles-pagination {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.articles-pagination nav {
    display: flex;
    justify-content: center;
}

/* EMPTY */

.articles-page-empty {
    padding: 80px 20px;
    text-align: center;

    border: 1px solid #e8e8e5;
    border-radius: 20px;
}

.articles-empty-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f1ef;
    color: #777;

    font-size: 28px;
}

.articles-page-empty h2 {
    margin-bottom: 10px;
}

.articles-page-empty p {
    margin-bottom: 25px;
    color: #777;
}

/* CTA */

.articles-page-cta {
    padding: 0 0 90px;
}

.articles-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    padding: 50px;
    border-radius: 24px;

    background: #171717;
    color: #fff;
}

.articles-cta-box h2 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
}

.articles-cta-box p {
    margin: 0;
    color: #bdbdbd;
}

.articles-cta-box .kicker {
    color: #aaa;
}

/* =========================================================
   PUBLIC ARTICLE DETAIL
   ========================================================= */

.article-detail-page {
    background: #fff;
}

.article-detail-hero {
    padding: 70px 0 80px;
    background: #f7f7f5;
    border-bottom: 1px solid #e8e8e5;
}

.article-detail-header {
    max-width: 900px;
}

.article-back {
    display: inline-block;
    margin-bottom: 35px;

    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.article-back:hover {
    color: #000;
}

.article-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;

    color: #777;
    font-size: 13px;
}

.article-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.article-detail-header h1 {
    max-width: 900px;

    margin: 0;

    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.03;
    letter-spacing: -3px;
}

.article-detail-headline {
    max-width: 760px;

    margin: 25px 0 0;

    color: #666;
    font-size: 18px;
    line-height: 1.7;
}

/* DETAIL LAYOUT */

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 70px;

    max-width: 1150px;
    margin: 0 auto;

    padding: 75px 0 100px;
}

/* FEATURED IMAGE */

.article-detail-image {
    margin: 0 0 45px;
}

.article-detail-image img {
    width: 100%;
    max-height: 600px;

    display: block;

    object-fit: cover;

    border-radius: 20px;
}

/* CONTENT */

.article-content {
    color: #292929;
    font-size: 17px;
    line-height: 1.9;
}

.article-content h2 {
    margin: 45px 0 18px;

    font-size: 32px;
    line-height: 1.2;
}

.article-content h3 {
    margin: 35px 0 15px;

    font-size: 25px;
    line-height: 1.3;
}

.article-content h4 {
    margin: 30px 0 12px;
    font-size: 21px;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 25px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;

    border-left: 4px solid #171717;

    background: #f7f7f5;
}

.article-content img {
    max-width: 100%;
    height: auto;

    border-radius: 12px;
}

.article-content a {
    color: #171717;
    font-weight: 600;
}

.article-content table {
    width: 100%;
    margin: 30px 0;

    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

/* ARTICLE BOTTOM CTA */

.article-detail-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-top: 55px;
    padding: 30px;

    border-radius: 18px;
    background: #f7f7f5;
}

.article-detail-bottom strong,
.article-detail-bottom span {
    display: block;
}

.article-detail-bottom span {
    margin-top: 5px;
    color: #777;
    font-size: 14px;
}

/* SIDEBAR */

.article-detail-sidebar {
    position: relative;
}

.article-sidebar-card {
    position: sticky;
    top: 30px;

    padding: 28px;

    border-radius: 18px;

    background: #171717;
    color: #fff;
}

.article-sidebar-card h3 {
    margin: 12px 0;

    font-size: 24px;
    line-height: 1.25;
}

.article-sidebar-card p {
    margin: 0 0 25px;

    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.7;
}

.article-sidebar-card .kicker {
    color: #aaa;
    font-size: 11px;
}

/* RELATED */

.article-related {
    margin-top: 40px;
}

.article-related h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.related-item {
    display: flex;
    gap: 12px;

    padding: 13px 0;

    border-bottom: 1px solid #e8e8e5;

    color: #171717;
    text-decoration: none;
}

.related-item img {
    width: 75px;
    height: 60px;

    flex: 0 0 75px;

    object-fit: cover;
    border-radius: 8px;
}

.related-item strong {
    display: block;

    font-size: 13px;
    line-height: 1.4;
}

.related-item small {
    display: block;
    margin-top: 5px;

    color: #888;
    font-size: 11px;
}

/* DETAIL CTA */

.article-detail-cta {
    padding: 0 0 90px;
}

.article-detail-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    padding: 55px;

    border-radius: 24px;

    background: #171717;
    color: #fff;
}

.article-detail-cta-box h2 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 42px);
}

.article-detail-cta-box p {
    margin: 0;
    color: #bbb;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .articles-list-header {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .articles-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-detail-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .article-detail-sidebar {
        order: 2;
    }

    .article-sidebar-card {
        position: static;
    }

    .article-detail-main {
        order: 1;
    }

    .articles-cta-box,
    .article-detail-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .articles-page-hero {
        padding: 70px 0;
    }

    .articles-page-hero h1 {
        letter-spacing: -2px;
    }

    .articles-list-section {
        padding: 65px 0;
    }

    .articles-page-grid {
        grid-template-columns: 1fr;
    }

    .article-page-card-image {
        height: 220px;
    }

    .articles-cta-box,
    .article-detail-cta-box {
        padding: 32px 25px;
        border-radius: 18px;
    }

    .article-detail-hero {
        padding: 55px 0 60px;
    }

    .article-detail-header h1 {
        letter-spacing: -2px;
    }

    .article-detail-layout {
        padding: 55px 0 70px;
    }

    .article-detail-image img {
        border-radius: 14px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-detail-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* FOOTER */
footer {
    background: #101b15;
    color: white;
    padding: 45px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 30px;
    padding-bottom: 35px;
}
footer p,
footer a,
footer span {
    color: #aebbb1;
    font-size: 11px;
    line-height: 1.8;
}
footer h4 {
    color: var(--green);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links {
    display: grid;
    gap: 6px;
}
.copyright {
    border-top: 1px solid #ffffff18;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* MOBILE */
@media (max-width: 950px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 750px) {
    .navlinks,
    .nav-btn {
        display: none;
    }
    .menu {
        display: block;
    }
    .hero-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 42px 0;
    }
    .hero-photo {
        height: 350px;
    }
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .section-title {
        display: block;
    }
    .section-title p {
        margin-top: 10px;
    }
    .search-row {
        flex-direction: column;
    }
    .search-row .btn {
        width: 100%;
    }
    .cta-box {
        display: block;
        padding: 28px 23px;
    }
    .cta-box .btn {
        margin-top: 18px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 430px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
    .card-body {
        padding: 12px;
    }
    .card h3 {
        font-size: 14px;
    }
    .card p {
        font-size: 10px;
    }
    .hero h1 {
        font-size: 43px;
    }
    .points {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FIX PADDING ARTIKEL
   ========================================================= */

.articles-section .container,
.articles-page-hero .wrap,
.articles-list-section .wrap,
.articles-page-cta .wrap,
.article-detail-hero .wrap,
.article-detail-layout,
.article-detail-cta .wrap {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* Supaya tidak pernah menempel ke tepi layar */
.articles-section,
.articles-page,
.article-detail-page {
    overflow-x: hidden;
}

/* Desktop */
@media (min-width: 751px) {
    .articles-section .container,
    .articles-page-hero .wrap,
    .articles-list-section .wrap,
    .articles-page-cta .wrap,
    .article-detail-hero .wrap,
    .article-detail-layout,
    .article-detail-cta .wrap {
        width: min(1180px, calc(100% - 40px));
    }
}

/* Tablet */
@media (max-width: 750px) {
    .articles-section .container,
    .articles-page-hero .wrap,
    .articles-list-section .wrap,
    .articles-page-cta .wrap,
    .article-detail-hero .wrap,
    .article-detail-layout,
    .article-detail-cta .wrap {
        width: calc(100% - 30px);
    }
}

/* HP kecil */
@media (max-width: 430px) {
    .articles-section .container,
    .articles-page-hero .wrap,
    .articles-list-section .wrap,
    .articles-page-cta .wrap,
    .article-detail-hero .wrap,
    .article-detail-layout,
    .article-detail-cta .wrap {
        width: calc(100% - 24px);
    }
}

/* =========================================================
   ARTICLE DETAIL - FINAL SPACING
========================================================= */

.article-detail-page {
    width: 100%;
    overflow-x: hidden;
}

/* HERO */
.article-detail-hero {
    width: 100%;
    padding: 70px 0 80px;
    background: #f7f7f5;
    border-bottom: 1px solid #e8e8e5;
}

.article-detail-hero > .wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.article-detail-header {
    max-width: 900px;
}

/* CONTENT */
.article-detail-content-section {
    background: #fff;
}

.article-detail-content-section > .wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 70px;

    padding: 75px 0 100px;
}

/* MAIN */
.article-detail-main {
    min-width: 0;
}

/* IMAGE */
.article-detail-image {
    width: 100%;
    margin: 0 0 45px;
}

.article-detail-image img {
    width: 100%;
    max-height: 600px;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* CONTENT */
.article-content {
    max-width: 820px;
    color: #292929;
    font-size: 17px;
    line-height: 1.9;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content h2 {
    margin: 45px 0 18px;
    font-size: 32px;
    line-height: 1.2;
}

.article-content h3 {
    margin: 35px 0 15px;
    font-size: 25px;
    line-height: 1.3;
}

.article-content h4 {
    margin: 30px 0 12px;
    font-size: 21px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 25px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.article-content th,
.article-content td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    border-left: 4px solid #171717;
    background: #f7f7f5;
}

/* ARTICLE BOTTOM CTA */
.article-detail-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-top: 55px;
    padding: 30px;

    border-radius: 18px;
    background: #f7f7f5;
}

.article-detail-bottom strong,
.article-detail-bottom span {
    display: block;
}

.article-detail-bottom span {
    margin-top: 5px;
    color: #777;
    font-size: 14px;
}

/* SIDEBAR */
.article-detail-sidebar {
    position: relative;
}

.article-sidebar-card {
    position: sticky;
    top: 100px;

    padding: 28px;

    border-radius: 18px;

    background: #171717;
    color: #fff;
}

.article-sidebar-card h3 {
    margin: 12px 0;
    font-size: 24px;
    line-height: 1.25;
}

.article-sidebar-card p {
    margin: 0 0 25px;
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.7;
}

.article-sidebar-card .w-100 {
    width: 100%;
}

/* RELATED */
.article-related {
    margin-top: 40px;
}

.article-related h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #e8e8e5;
    color: #171717;
    text-decoration: none;
}

.related-item img,
.related-item-placeholder {
    width: 75px;
    height: 60px;
    flex: 0 0 75px;
    object-fit: cover;
    border-radius: 8px;
}

.related-item-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1ef;
    color: #888;
}

.related-item strong {
    display: block;
    font-size: 13px;
    line-height: 1.4;
}

.related-item small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 11px;
}

/* BOTTOM CTA */
.article-detail-cta {
    padding: 0 0 90px;
}

.article-detail-cta > .wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.article-detail-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    padding: 55px;
    border-radius: 24px;

    background: #171717;
    color: #fff;
}

.article-detail-cta-box h2 {
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 42px);
}

.article-detail-cta-box p {
    margin: 0;
    color: #bbb;
}

/* MOBILE */
@media (max-width: 900px) {
    .article-detail-hero > .wrap,
    .article-detail-content-section > .wrap,
    .article-detail-cta > .wrap {
        width: calc(100% - 30px);
    }

    .article-detail-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .article-detail-sidebar {
        order: 2;
    }

    .article-detail-main {
        order: 1;
    }

    .article-sidebar-card {
        position: static;
    }

    .article-detail-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .article-detail-hero {
        padding: 50px 0 55px;
    }

    .article-detail-layout {
        padding: 55px 0 70px;
    }

    .article-detail-header h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .article-detail-headline {
        font-size: 16px;
    }

    .article-detail-image img {
        border-radius: 14px;
    }

    .article-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .article-detail-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-detail-cta {
        padding-bottom: 60px;
    }

    .article-detail-cta-box {
        padding: 32px 25px;
        border-radius: 18px;
    }
}

/* Responsive franchise directory */
@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-image-wrap {
        height: 200px;
    }
}
@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .card-image-wrap {
        height: 220px;
    }
}

/* Franchise cards responsive overrides */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .card-image-wrap {
        height: 230px;
    }
    .card-banner {
        left: 0px;
        right: 0px;
        gap: 9px;
        padding: 10px 11px;
    }
    .banner-copy h3 {
        font-size: 15px;
    }
    .card-details {
        padding-top: 42px;
    }
}
