@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

/* DM Sans font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Playfair font */
@import url('https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

:root {
    --navy: #0e2a4a;
    --navy-dark: #0a1f38;
    --red: #c12026;
    --red-hover: #a81b20;
    --white: #ffffff;
    --label-color: #98afc6;
    --placeholder: #848498;
    --border-light: #c5d4e3;
    --page-bg: #f5f7fa;
    --radius-hero: 60px;
    --radius-logo: 40px;
    --banner-height: 467px;
    --banner-height-mobile: 380px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Instrument Sans", sans-serif;
}

body {
    font-family: "Instrument Sans", sans-serif;
    background: var(--page-bg);
}

.main-section {
    font-family: "Instrument Sans", sans-serif;
    background: var(--page-bg);
    min-height: 100vh;

}

.main-section h1,
.main-section h2,
.main-section h3,
.main-section h4,
.main-section h5,
.main-section h6,
.main-section p,
.main-section input,
.main-section a {
    margin: 0;
    font-family: "Instrument Sans", sans-serif;
}

.banner-section.article-section {
    position: relative;
    margin: 10px;
    height: 330px;
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: visible;
}

.banner-section {
    background-image: url('./images/articles-bg.png');
}

/* ── Event Detail Banner ── */
.evant-banner-section {
    background-image: url('./images/articles-bg.png');
    position: relative;
    margin: 15px ;
    height: 330px;
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: visible;
}

.evant-banner-section .hero-content {
    padding-bottom: 24px;
}

.banner-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo-area {
    width: 340px;
    height: 96px;
    flex-shrink: 0;
    text-decoration: none;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.logo-area img {
    display: none;
}

.mobile-nav {
    display: none;
}

.mobile-nav-header,
.mobile-nav-close {
    display: none;
}
/* ── Header ── */
.site-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 96px;
    position: relative;
    z-index: 10;
    width: 100%;
}
/* ── Desktop Nav ── */
.desktop-nav {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 16px;
    padding: 0 40px 0 8px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    flex: 1;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
}
.nav-list li {
    flex-shrink: 0;
}
.nav-list a {
    color: #BAC9D9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}
.nav-list a:hover {
    opacity: 0.85;
}

.nav-list a.active {
    color: #FFFFFF;
    font-weight: 700;
}

.mobile-nav a.active {
    color: #FFFFFF;
    font-weight: 700;
}
.nav-chevron {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.nav-list > li.has-dropdown {
    position: relative;
}

.nav-list > li.has-dropdown > a.nav-dropdown-toggle {
    cursor: pointer;
}

.desktop-nav .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(14, 42, 74, 0.18);
    z-index: 40;
}

.desktop-nav .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.desktop-nav .nav-list > li.has-dropdown:hover > .nav-dropdown-menu,
.desktop-nav .nav-list > li.has-dropdown.is-open > .nav-dropdown-menu {
    display: block;
}

.desktop-nav .nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #3C4A57 !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}

.desktop-nav .nav-dropdown-menu a:hover,
.desktop-nav .nav-dropdown-menu a.active {
    background: #F3F6F9;
    color: #0E2A4A !important;
    opacity: 1;
}

.btn-sponsor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #A8151A;
    border: 1px solid #640C0F;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 11px 20px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    transition: background 0.2s;
}
.btn-sponsor:hover {
    background: var(--red-hover);
}
/* ── Mobile menu button (hidden on desktop) ── */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Content ── */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

}
.countdown-wrap {
    margin-bottom: clamp(20px, 2vw, 32px);
}
.countdown-label {
    color: #BAC9D9;
    font-size: 12px;
    padding-bottom: 10px;
    font-weight: 600;
    font-family: "DM Sans", sans-serif !important;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF0D;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 10px 28px;
    color: var(--white);
    font-size: 13px;
}

.countdown-timer .time-unit {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.countdown-timer strong {
    font-size: 18px;
    font-weight: 700;
}

.countdown-timer .divider {
    opacity: 0.5;
    font-weight: 300;
}

.hero-title {
    color: #E9EEF3;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.hero-title-line {
    display: inline;
}
/* ── Search Bar (Desktop) ── */
.search-bar {
    position: absolute;
    bottom: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1280px;
    display: flex;
    align-items: center;
    background: #173A5D;
    border: 6px solid var(--white);
    border-radius: 30px;
    padding: 12px 8px;
    z-index: 20;
    box-shadow: 0 12px 36px rgba(14, 42, 74, 0.22);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 0 14px;
    border-right: 1px solid rgba(152, 175, 198, 0.35);
    min-width: 0;
}

.search-field.has-chevron {
    padding-right: 12px;
}

.search-field:last-of-type {
    border-right: none;
}

.field-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.search-field label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--label-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.field-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.field-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 8px;
    align-self: flex-end;
    pointer-events: none;
}

.search-field input,
.select-wrap select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #E9EEF3;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 0;
}

.search-field input::placeholder {
    color: var(--white);
    font-weight: 600;
    opacity: 1;
}

.select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.select-wrap select {
    padding-right: 8px;
}

.select-wrap select option {
    background: var(--navy-dark);
    color: var(--white);
    font-weight: 600;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #A8151A;
    border: none;
    border-radius: 12px;
    width: 54px;
    height: 54px;
    min-width: 54px;
    margin-inline: 6px 10px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--red-hover);
}

.search-btn-icon {
    width: 17px;
    height: 17px;
}

.search-btn-text {
    display: none;
}

/* ── Article Experience Section ── */
.article-experience {
    width: 100%;
    background: #f3f4f6;
    padding: 56px 20px 48px;
    box-sizing: border-box;
}

.article-experience-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.article-experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 22px;
}

.article-experience-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A8151A;
    flex-shrink: 0;
}

.article-experience-title {
    padding-bottom:  20px;
    color: #1f2937;
    font-size: clamp(16px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.article-experience-title span {
    color: #A8151A;
}

.article-experience-text {
    padding-bottom: 28px;
    max-width: 680px;
    color: #6b7280;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.article-experience-actions {
    display: flex;
    align-items: center;
    justify-content: center;
width: 100%;
    gap: 14px;
}

.article-experience-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.article-experience-btn-red {
    background: linear-gradient(180deg, #c12026 0%, #A8151A 100%);
}

.article-experience-btn-red:hover {
    background: linear-gradient(180deg, #a81b20 0%, #8f1217 100%);
}

.article-experience-btn-navy {
    background: linear-gradient(180deg, #205183 0%, #205183 100%);
}

.article-experience-btn-navy:hover {
    background: linear-gradient(180deg, #0e2a4a 0%, #0a1f38 100%);
}

/* ── Featured Vendor / Article Slider ── */
.vedor-section {
    width: 100%;
    background: #f3f4f6;
    padding: 8px 20px 48px;
    box-sizing: border-box;
}

.vedor-section-inner {
    max-width: 1750px;
    margin: 0 auto;
}

.featured-slider {
    width: 100%;
}

.featured-slider-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.featured-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    background: #ffffff;
}

.featured-slide.is-active {
    display: grid;
}

.featured-slide-media {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
}

.featured-slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 30px;
    background: #ffffff;
}

.featured-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #F6F6F6;
    border: 1.08px solid #EAEAEA;
    color: #707070;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.featured-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A8151A;
    flex-shrink: 0;
}

.featured-slide-title {
    padding: 0 0 14px;
    color: #292929;
    font-size: clamp(16px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.7;
}

.featured-slide-text {
    padding: 0 0 18px;
    color: #707070;
    font-size: 15px;
    line-height: 1.65;
    max-width: 520px;
}

.featured-slide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.4;
}

.featured-slide-meta strong {
    font-size: 15px;
    color:#292929;
    font-weight: 600;
}

.featured-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    margin-top: auto !important;
    padding: 12px 22px;
    border-radius: 10px;
    background: #A8151A;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.featured-slide-btn:hover {
    background: #8f1217;
}

.featured-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.featured-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.featured-dot.is-active {
    background: #A8151A;
    transform: scale(1.08);
}

.featured-dot:hover {
    background: #9ca3af;
}

.featured-dot.is-active:hover {
    background: #A8151A;
}

/* ── Article Market Section ── */
.article-market-section {
    width: 100%;
    background: #f3f4f6;
    padding: 40px 20px 56px;
    box-sizing: border-box;
}
.share-business-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.share-business-title {
    margin: 0;
    color: #A8151A;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.share-business-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.share-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
}

.share-control-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
}

.share-control input,
.share-control select {
    border: none;
    outline: none;
    background: transparent;
    color: #707070;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    min-width: 0;
    border-radius: 10px !important;
}

.share-control input::placeholder {
    color: #9ca3af;
}

.share-control-search {
    min-width: 220px;
}

.share-control-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.share-control-search-btn .share-control-icon {
    opacity: 0.7;
}

.share-control-search-btn:hover .share-control-icon,
.share-control-search-btn:focus-visible .share-control-icon {
    opacity: 1;
}

.share-control-search input {
    width: 100%;
}

.share-control-date {
    min-width: 160px;
}

.share-control-date select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.share-control-sort {
    position: relative;
    padding: 0;
    border: none;
    background: transparent;
    min-height: 0;
}

.share-control-sort .article-sort-desktop {
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 10px;
}

.share-category-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.share-category-pill,
.share-category-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 25px;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #F3F3F3;
    border: 1px solid #E6E6E6;
    color: #292929;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-category-pill.is-active {
    background: #292929;
    color: #ffffff;
}

.share-category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.share-category-more {
    display: none;
    background: #fce7eb;
    color: #A8151A;
    border-color: #f9c5ce;
    min-width: 40px;
    justify-content: center;
    padding: 8px 12px;
}

.article-market-toolbar {
    display: none;
}

.article-results-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.article-results-count strong {
    color: #707070;
    font-weight: 600;
}

.article-sort-wrap {
    position: relative;
    flex-shrink: 0;
}

.article-sort-desktop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    pointer-events: none;
}

.article-sort-value {
    color: #292929;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    padding-right: 4px;
}

.article-sort-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.article-sort-label {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.article-sort-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    pointer-events: none;
    opacity: 0.7;
}

.article-sort-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border-radius: 10px !important;
    z-index: 3;
    border: none;
    background: transparent;
}

.article-sort-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}

.article-sort-mobile img {
    width: 18px;
    height: 18px;
}

.article-sort-mobile-text {
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.article-market-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.article-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f4;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.article-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 18px ;
    flex: 1;
}

.article-card-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e8eaed;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.article-card-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.article-card-date {
    display: none;
}

.article-date-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.85;
}

.article-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.article-card-title a {
    color:#292929;
    font-size: clamp(14px, 2vw, 18px);
    text-decoration: none;
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.article-card-title a:hover {
    color: #A8151A;
}

.article-card-excerpt {
    color: #707070;
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
font-weight: 400;

    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    max-width: 100%;
    word-break: break-word;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: auto 0 0;
    padding-top: 4px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.4;
}

.article-card-meta strong {
    color: #374151;
    font-weight: 600;
}

.article-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.article-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: var(--white);
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.article-page-btn:hover {
    border-color: #d1d5db;
    color: #292929;
}

.article-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: var(--white);
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.article-page-num:hover {
    border-color: #d1d5db;
    color: #292929;
}

.article-page-num.is-active {
    background: #A8151A;
    border-color: #A8151A;
    color: var(--white);
}

/* ── Footer Section ── */
.footer-section {
    width: 100%;
    margin-top: 0;
}

.footer-main {
    background: var(--white);
    padding: 56px 24px 48px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    width: auto;
    display: block;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-about {
    color: #707070;
    font-size: 14px;
    line-height: 1.65;
    max-width: 340px;
}

.footer-heading {
    color: #204c7c;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-list a {
    color: #707070;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-list a:hover {
    color: #204c7c;
}

.footer-contact-item {
    color: #707070;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef2f6;
    color: #204c7c;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    background: #dce6f0;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-cta .footer-heading {
    margin-bottom: 6px;
}

.footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px clamp(15px, 2vw, 20px);
    border-radius: 8px;
    font-size: 15px;
    max-width: 182px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.footer-btn:hover {
    opacity: 0.92;
}

.footer-btn-red {
    background: #A8151A;

    color: var(--white);
}

.footer-btn-blue {
    background: #204c7c;
    color: var(--white);
}

.footer-bottom {
    background: #0c1c2c;
    padding: 18px 24px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom-start {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-copy,
.footer-rights,
.footer-bottom-end a,
.footer-bottom-mobile a {
    color: #9ca3af;
    font-size: 13px;
}

.footer-bottom-end {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-end a,
.footer-bottom-mobile a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-end a:hover,
.footer-bottom-mobile a:hover {
    color: var(--white);
}

.footer-bottom-mobile {
    display: none;
}

/* ── Article Detail Section ── */
.article-detail-section {
    width: 100%;
    padding: 28px 20px 64px;
    box-sizing: border-box;
}

.article-detail-inner {
    max-width: 1800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding:clamp(10px,3vw, 48px) clamp(10px, 2vw, 28px) 56px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}
span.breadcrumb-text {
    font-size: 12px;
    color: #545454;
    font-weight: 500;
}
.article-detail-breadcrumb {
    max-width: 1850px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
padding: 20px;

    font-size: 13px;
    color: #9ca3af;
}

.article-detail-breadcrumb a {
    color: #707070;
    text-decoration: none;
}

.article-detail-breadcrumb a:hover {
    color: #204c7c;
}

.article-detail-breadcrumb .breadcrumb-sep {
    color: #c0c4cc;
    display: flex;
}

.article-detail-card {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    grid-template-areas:
        "header header"
        "share main"
        "share bio";
    column-gap: 56px;
    row-gap: 28px;
    align-items: start;
 padding-bottom: 60px;
}

.article-detail-main {
    display: contents;
}

.article-post-header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 36px;
}

.article-post-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 14px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.article-post-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #A8151A;
    flex-shrink: 0;
}

.article-post-title {
    padding: 0 0 28px;
    max-width: 920px;
    color: #1f2937;
    font-size: clamp(16px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.article-post-title-accent {
    color: #A8151A;
}

.article-post-meta-bar {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    max-width: 668px;
    width: 100%;
    padding: 16px 0;
    margin-bottom: 28px;
    border-top: 1px dashed #e8c4c8;
    border-bottom: 1px dashed #e8c4c8;
    text-align: left;
}

.article-post-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.article-post-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.article-post-author-name {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.article-post-author-role {
    color: #707070;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.article-post-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.article-post-meta-text {
    margin: 0;
    color: #707070;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: right;
    white-space: nowrap;
}

.article-post-social {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.article-post-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    text-decoration: none;
    transition: background 0.2s ease;
}

.article-post-social-btn:hover {
    background: #e5e7eb;
}

.article-post-social-btn img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.article-post-hero {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.article-post-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 24px;
}

.article-mobile-toolbar {
    display: none;
}

/* ── Mobile share bottom sheet (Article Detail) ── */
.article-share-sheet {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    pointer-events: none;
}

.article-share-sheet.is-open {
    display: block;
    pointer-events: auto;
}

@media (max-width: 992px) {
    body.article-share-sheet-open,
    body.article-toc-sheet-open {
        overflow: hidden;
    }
}

.article-share-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-share-sheet.is-open .article-share-sheet-backdrop {
    opacity: 1;
}

.article-share-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 22px 18px 32px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.article-share-sheet.is-open .article-share-sheet-panel {
    transform: translateY(0);
}

.article-share-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.article-share-sheet-header h2 {
    margin: 0;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    line-height: 1.2;
}

.article-share-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.article-share-sheet-body .article-share-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: row;
    justify-items: center;
    align-items: center;
    gap: 22px 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-share-sheet-body .article-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    max-width: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    justify-self: center;
    background: #f2f2f2;
    text-decoration: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

.article-share-sheet-body .article-share-btn img {
    display: block;
    width: 17px;
    height: 17px;
    max-width: 17px;
    max-height: 17px;
    object-fit: contain;
    flex-shrink: 0;
}

.article-share-sheet-body .article-share-btn:nth-child(14) {
    grid-column: auto;
}

/* ── Mobile TOC bottom sheet (Article Detail) ── */
.article-toc-sheet {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    pointer-events: none;
}

.article-toc-sheet.is-open {
    display: block;
    pointer-events: auto;
}

@media (min-width: 993px) {
    .article-share-sheet,
    .article-toc-sheet {
        display: none !important;
    }
}

.article-toc-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-toc-sheet.is-open .article-toc-sheet-backdrop {
    opacity: 1;
}

.article-toc-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 22px 18px 28px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.article-toc-sheet.is-open .article-toc-sheet-panel {
    transform: translateY(0);
}

.article-toc-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.article-toc-sheet-header h2 {
    margin: 0;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    line-height: 1.2;
}

.article-toc-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.article-toc-sheet-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 8px;
}

.article-toc-sheet-body .article-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc-sheet-counter;
    border-left: none;
}

.article-toc-sheet-body .article-toc-list li {
    counter-increment: toc-sheet-counter;
    margin: 0;
    padding: 0;
    border-left: none;
    border-bottom: 1px solid #e5e7eb;
}

.article-toc-sheet-body .article-toc-list li:last-child {
    border-bottom: none;
}

.article-toc-sheet-body .article-toc-list a {
    display: block;
    padding: 14px 12px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.article-toc-sheet-body .article-toc-list a::before {
    content: counter(toc-sheet-counter) ". ";
}

.article-toc-sheet-body .article-toc-list li.is-active a {
    background: #fdf2f2;
    border-color: #A8151A;
    color: #A8151A;
    font-weight: 600;
}

.article-detail-title {
    grid-area: title;
    text-align: center;
    color: #1f2937;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin: 0 auto;
    padding-bottom: 28px;
    max-width: 100%;
    white-space: nowrap;
}

.article-detail-title .title-accent {
    color: #A8151A;
    white-space: nowrap;
}

.article-detail-hero {
    grid-area: hero;
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

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

.article-hero-date {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(41, 41, 41, 0.72);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.article-hero-date-icon {
    width: 16px !important;
    height: 16px !important;
    max-height: none !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    border-radius: 0 !important;
}

.article-detail-layout {
    display: contents;
}

.article-share-sidebar {
    grid-area: share;
    position: sticky;
    top: 24px;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    width: 100%;
    max-width: 250px;
}

.article-toc {
    width: 100%;
}

.article-toc-heading,
.article-share-heading {
    color: #A8151A;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-align: left;
    line-height: 1.3;
    padding: 0 0 14px;

    white-space: nowrap;
}

.article-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc-counter;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid #E5E7EB;
}

.article-toc-list li {
    counter-increment: toc-counter;
    margin: 0;
    padding: 8px 0 8px 14px;
    border-left: 3px solid transparent;
    margin-left: -2px;
}

.article-toc-list li.is-active {
    border-left-color: #A8151A;
}

.article-toc-list a {
    display: block;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-toc-list a::before {
    content: counter(toc-counter) ". ";
}

.article-toc-list li.is-active a {
    color: #A8151A;
    font-weight: 700;
}

.article-toc-list a:hover {
    color: #A8151A;
}

.article-share-block {
    width: 100%;
}

.article-share-heading span {
    color: #A8151A;
}

.article-share-list {
    display: grid;
    grid-template-columns: repeat(5, 40px);
    gap: 10px;
    width: max-content;
}

.article-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #F2F2F2;
    text-decoration: none;
    transition: background 0.2s;
}

.article-share-btn:hover {
    background: #e8e8e8;
}

.article-share-btn img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.article-detail-content {
    grid-area: main;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: left;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.75;
}

.article-section {
    margin: 0;
}

.article-detail-content > p,
.article-section > p {
    margin: 0 0 20px;
    color: #666666;
    line-height: 1.7;
}

.article-detail-content h2,
.article-section > h2 {
    color: #333333;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    margin: 40px 0 20px;
}

.article-section:first-child > h2,
.article-detail-content h2:first-child {
    margin-top: 0;
}

.article-detail-content h3 {
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 700;
    margin: 22px 0 12px;
}

.article-cta {
    margin: 30px 0;
    padding: 32px 36px;
    border-radius: 16px;
    background: #FFF5F5;
    border: 1px solid #FCDEDE;
    box-sizing: border-box;
    width: 100%;
}

.article-cta-left {
    text-align: left;
    display: block;
}

.article-cta-left .article-cta-btn {
    display: inline-flex;
}

.article-cta-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-cta-center .article-cta-btn {
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.article-cta-left p {
    margin: 0 0 20px;
    color: #292929;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}

.article-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 8px;
    background: #A8151A;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.2s ease;
}

.article-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #F8D7D7;
}

.article-cta-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.article-cta-center h3 {
    margin: 0 0 12px;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.article-cta-center p {
    margin: 0 0 20px;
    max-width: 640px;
    color: #555555;
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
}

.article-cta-btn:hover {
    background: #8f1216;
}

.article-cta-left h3 {
    margin: 0 0 12px;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.article-note-box {
    margin: 28px 0;
    padding: 20px 24px;
    border-radius: 12px;
    background: #FFF5F5;
    border: none;
    border-left: 4px solid #A8151A;
    box-sizing: border-box;
}

.article-note-box p {
    margin: 0;
    color: #666666;
    font-size: 15px;
    font-style: italic;
    line-height: 1.55;
}

.article-note-box p + p {
    margin-top: 6px;
}

.article-note-box strong {
    color: #1a1a1a;
    font-weight: 700;
}

.article-tips-card {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 0 28px;
    padding: 28px 30px;
    border-radius: 14px;
    background: #FFF5F5;
    border: 1px solid #FCDEDE;
    box-sizing: border-box;
}

.article-detail-content > h2 + .article-tips-card,
.article-section > h2 + .article-tips-card {
    margin-top: 0;
}

.article-tips-card + h2,
.article-section:has(.article-tips-card) + .article-section > h2 {
    margin-top: 28px;
}

.article-tips-label {
    margin: 0;
    padding: 0 0 18px;
    color: #A8151A;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.article-tips-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
}

.article-tips-list li {
    position: relative;
    padding-left: 36px;
    color: #555555;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

.article-tips-list li strong {
    color: #1a1a1a;
    font-weight: 700;
}

.article-tips-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #F8D7D7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.4 6.1L4.9 8.6L9.6 3.4' stroke='%23A8151A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.article-tips-card > .article-cta-btn {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    margin: 0;
}

.article-table-wrap-compact {
    max-width: 480px;
}

.article-table-wrap-dates {
    width: 100%;
    max-width: 383px;
}

.article-dates-table {
    width: 100%;
    table-layout: fixed;
    min-width: 0;
}

.article-dates-table th:first-child,
.article-dates-table td:first-child {
    width: 38%;
}

.article-dates-table th:last-child,
.article-dates-table td:last-child {
    width: 62%;
}

.article-dates-table th,
.article-dates-table td {
    white-space: nowrap;
}

.article-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #A8151A;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    margin: 4px 0 8px;
}

.article-text-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.article-text-link img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    filter: invert(14%) sepia(72%) saturate(3842%) hue-rotate(346deg) brightness(85%) contrast(95%);
}

.article-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 18px 0 22px;
    border: none;
    border-radius: 0;
}

.article-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
    background: #ffffff;
    max-width: 383px;
}

.article-data-table th,
.article-data-table td {
    padding: 14px 20px;
    text-align: left;
    border: 1px solid #dddddd;
    font-size: 15px;
    line-height: 1.45;
    vertical-align: middle;
}

.article-data-table th {
    background: #ffffff;
    color: #1f2937;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
}

.article-data-table td {
    color: #555555;
    background: #ffffff;
    font-weight: 400;
}

.article-data-table tbody tr:last-child td {
    border-bottom: 1px solid #dddddd;
}

.article-check-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-check-list li {
    position: relative;
    padding-left: 32px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

.article-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: #F0F0F0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.4 6.1L4.9 8.6L9.6 3.4' stroke='%23555555' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.article-tip-list {
    gap: 20px;
    margin-top: 8px;
}

.article-tip-list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-left: 32px;
    color: #6b7280;
}

.article-tip-list li::before {
    top: 2px;
}

.article-tip-list li strong {
    color: #555555;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.article-tip-list li span {
    display: block;
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.article-faq-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 8px;
}

.article-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article-faq-card {
    margin: 0;
    padding: 24px 26px;
    border-radius: 14px;
    background: #F4F4F4;
    box-sizing: border-box;
}

.article-faq-card-wide {
    grid-column: 1 / -1;
}

.article-detail-content > h3 {
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 700;
    margin: 22px 0 16px;
}

.article-faq-item h3,
.article-faq-card h3 {
    margin: 0 0 10px;
    color: #222222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.article-faq-item p,
.article-faq-card p {
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.65;
}

.article-author-bio {
    grid-area: bio;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "avatar content"
        "avatar text";
    align-items: center;
    column-gap: 24px;
    max-width: 1300px;
    margin: auto !important;
    width: 100%;
    padding: 28px 30px;
    border-radius: 16px;
    background: #F8F8F8;
    border: 2px dashed #F9B9BB;
    box-sizing: border-box;
    text-align: left;
}

.article-author-bio-avatar {
    grid-area: avatar;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-author-bio-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.article-author-bio-label {
    color: #ED1D24;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.3;
}

.article-author-bio-name {
    margin-top: 6px;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.article-author-bio-role {
    margin-top: 4px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.article-author-bio-text {
    grid-area: text;
    margin: 0;
    padding: 14px 0 0;
    color: #666666;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.article-author-bio-text strong {
    color: #333333;
    font-weight: 700;
}

/* ── Keep Reading (Article Detail) ── */
.keep-reading-section {
    width: 100%;

    padding: 48px 20px 64px;
    box-sizing: border-box;
}

.keep-reading-inner {
    max-width: 1380px;
    margin: 0 auto;
}

.keep-reading-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.keep-reading-title {
    margin: 0;
    color: #1f2937;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.keep-reading-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 8px;
    background: #A8151A;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.keep-reading-btn:hover {
    background: #8f1216;
}

.keep-reading-btn .keep-reading-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    line-height: 0;
    flex-shrink: 0;
}

.keep-reading-btn .keep-reading-btn-arrow-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.keep-reading-btn-mobile {
    display: none;
}

.keep-reading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.keep-reading-grid .article-card-title {
    font-size: 17px;
}

/* ── Event Detail Footer ── */
.event-detail-footer {
    width: 100%;
    margin-top: auto;
}

/* ── Product Section (Event Detail) ── */
.product-section {
    max-width: 1420px;
    margin: 0 auto;
    padding: 72px 20px 80px;
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.results-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
}

.results-count strong {
    color: #374151;
    font-weight: 600;
}

.view-toggle {
    display: inline-flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #d1d5db;
    background: var(--white);
    color: #6b7280;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.toggle-btn:first-child {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.toggle-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.toggle-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.toggle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    background: #C577460D;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.card-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 90px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.badge-date-desktop {
    background: #ffffff;
    color: #0e2a4a;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 8px 12px 7px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.badge-date-mobile {
    display: none;
}

.badge-weekday {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    padding: 7px 10px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.date-bar-black {
    background: #000000;
}

.date-bar-blue {
    background: #205e8b;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
    gap: 16px;
}

.card-title {
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.card-location {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.4;
}

.card-location img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.card-desc {
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.card-tags span {
    background: #ede4d3;
    color: #7c6a4f;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
}

.card-featured {
    display: flex;
    align-items: center;
    font-family: "Playfair Display", serif;
    justify-content: center;
    gap: 8px;
    background: var(--footer-bg, #848889);
    color: var(--footer-color, #1a1a1a);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 16px;
    text-transform: uppercase;
}

.card-featured svg {
    width: 20px;
    height: 16px;
    flex-shrink: 0;
}

.card-theme-yellow {
    --card-bg: #F3D98F33;
    --footer-bg: #f5c518;
    --footer-color: #1a1a1a;
}

.card-theme-yellow .card-body {
    background: #F3D98F33;
}

.card-theme-grey {
    --card-bg: #eef1f4;
    --footer-bg: #8a9aab;
    --footer-color: #ffffff;
}

.card-theme-copper {
    --card-bg: #fde8d8;
    --footer-bg: #b8734a;
    --footer-color: #ffffff;
}

.card-theme-plain {
    --card-bg: #ffffff;
}

.card-theme-plain .card-featured {
    display: none;
}

.product-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: var(--white);
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.page-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.page-back,
.page-next {
    padding: 0 18px;
}

/* ── Vendor Detail Page ── */
.vendor-detail-section {
    max-width: 1420px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    background: var(--page-bg);
}

.vendor-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 400px);
    grid-template-areas:
        "breadcrumb ."
        "main sidebar";
    gap: 14px 24px;
    align-items: stretch;
}

.vendor-breadcrumb {
    grid-area: breadcrumb;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #707070;
    padding-left: 2px;
}

.vendor-detail-main {
    grid-area: main;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-information {
    grid-area: sidebar;
    height: 100%;
}

.vendor-breadcrumb a {
    color: #707070;
    text-decoration: none;
}

.vendor-breadcrumb a:hover {
    color: #204c7c;
}

.breadcrumb-sep {
    color: #9ca3af;
}

.vendor-detail-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 28px 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vendor-detail-intro {
    margin-bottom: 20px;
}

.vendor-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.vendor-detail-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vendor-detail-head-row .vendor-detail-location {
    flex: 1;
    min-width: 0;
}

.vendor-detail-head-row .vendor-directions-btn-desktop {
    flex-shrink: 0;
}

.vendor-detail-section .vendor-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #eef1f4;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
}

.vendor-detail-section .vendor-tag img {
    width: 14px;
    height: 14px;
}

.vendor-detail-section .vendor-tag-featured {
    background: #f5c518;
    color: #1a1a1a;
    font-weight: 600;
}

.vendor-directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #A8151A;
    border: 1px solid #640C0F;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
 
    transition: background 0.2s, transform 0.2s;
}

.vendor-directions-btn-mobile {
    display: none;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
}

.vendor-directions-btn:hover {
    background: var(--red-hover);
}

.vendor-directions-btn img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.vendor-detail-title {
    color: #1f2937;
    font-size: clamp(16px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    padding-bottom: 12px;
}

.vendor-detail-title .title-accent {
    color: #A8151A;
}

.vendor-detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size:clamp(12px,1vw,14px);
    line-height: 1.5;
}

.vendor-detail-location img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.vendor-detail-hero {
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
}

.vendor-detail-hero img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 260px;
    max-height: 360px;
    object-fit: cover;
    border-radius: 14px;
}

.vendor-detail-body {
    margin-top: 0;
    margin-bottom: 24px;
    flex: 1;
}

.vendor-detail-actions {
    margin-top: 4px;
}

@media (min-width: 993px) {
    .vendor-directions-btn-desktop {
        display: inline-flex;
    }

    .vendor-detail-actions {
        display: none;
    }
}

.vendor-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 0 0 24px;
    padding: 16px 18px;
}

.vendor-quote-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    opacity: 0.45;
}

.vendor-quote p {
    color: #4b5563;
    font-size: 15px;
    font-style: italic;
    line-height: 1.65;
}

.vendor-about-title {
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 23px;
}

.vendor-established {
    display: inline-flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.vendor-established-label {
    padding: 10px 16px;
    background: #eef1f4;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

.vendor-established-value {
    padding: 10px 20px;
    background: #ECECEC;
    color: #292929;
    font-size: 14px;
    font-weight: 600;
}

.vendor-about-text {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

/* ── Company Information Sidebar ── */
.company-information {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
}

.company-info-card,
.company-details-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.company-details-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-card-heading {
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 20px;
    line-height: 1.3;
}

.company-card-heading .heading-accent {
    color: #A8151A;
}

.company-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.company-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.company-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F6F6F6;
   
}

.company-info-icon img {
    width: 18px;
    height: 18px;
}

.company-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.company-info-label {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.company-info-value {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    word-break: break-word;
}

.company-info-link {
    color: #2563eb;
    font-weight: 600;
}

.share-business {
    padding-top: 4px;
    border-top: 1px solid #eef1f4;
}

.share-heading,
.payments-heading {
    margin-bottom: 14px;
}

.share-social-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef1f4;
    text-decoration: none;
    transition: background 0.2s;
}

.share-social-btn:hover {
    background: #dce6f0;
}

.share-social-btn img {
    width: 16px;
    height: 16px;
}

.business-hours-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eef1f4;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.business-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.hours-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: #4b5563;
    font-size: 13px;
}

.hours-row.is-active {
    background: #f3f4f6;
    color: #1f2937;
    font-weight: 600;
}

.hours-day {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hours-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #A8151A;
    flex-shrink: 0;
}

.hours-time {
    text-align: left;
}

.accepted-payments {
    padding-top: 4px;
    border-top: 1px solid #eef1f4;
}

.payment-list {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 72px;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef1f4;
}

.payment-icon img {
    width: 20px;
    height: 20px;
}

.payment-label {
    color: #6b7280;
    font-size: 12px;
    text-align: center;
}

/* ── Weather Page ── */
.weather-section {
    width: 100%;
    max-width: 1299px;
    margin: 40px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
}

.weather-widget-wrap {
    width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(14, 42, 74, 0.08);
}

.weather-widget-wrap iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
    background: #FFFFFF;
}

@media (max-width: 767px) {
    .weather-section {
        margin: 24px auto 40px;
        padding: 0 12px;
    }

    .weather-widget-wrap {
        max-width: 100%;
    }

    .weather-widget-wrap iframe {
        width: 100%;
        height: 520px;
    }
}

/* ── Online Mapping Page ── */
.mapping-section {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 60px;
    padding: 0 24px;
    box-sizing: border-box;
}

.mapping-card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 14px;
    box-shadow: 0 8px 28px rgba(14, 42, 74, 0.1);
    box-sizing: border-box;
}

/* ── Printable Map Page ── */
.printable-map-section {
    width: 100%;
    max-width: 1348px;
    margin: 40px auto 60px;
    padding: 0;
    box-sizing: border-box;
}

.printable-map-card {
    width: 1348px;
    max-width: 100%;
    margin: 0 auto;
    padding: 18px;
    background: #FFFFFF;
    border-radius: 28px;
    box-shadow: 0 8px 28px rgba(14, 42, 74, 0.1);
    box-sizing: border-box;
}

.printable-map-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.mapping-frame {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: 22px;
    overflow: hidden;
    background: #E8EEF4;
}

#tradeDaysMap {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mapping-frame .leaflet-control-zoom {
    border: none !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
    margin-top: 12px !important;
    margin-right: 12px !important;
}

.mapping-frame .leaflet-control-zoom a {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    background: #FFFFFF !important;
    color: #3C4043 !important;
    border: none !important;
    border-bottom: 1px solid #E0E0E0 !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
}

.mapping-frame .leaflet-control-zoom a:last-child {
    border-bottom: none !important;
}

.mapping-frame .leaflet-control-zoom a:hover {
    background: #F8F8F8 !important;
    color: #202124 !important;
}

.mapping-frame .leaflet-control-zoom-in {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.mapping-frame .leaflet-control-zoom-out {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.mapping-frame .leaflet-bar a.leaflet-disabled {
    color: #BDBDBD !important;
    cursor: default !important;
}

.mapping-frame .leaflet-top.leaflet-right {
    right: 0;
    top: 0;
}

@media (max-width: 992px) {
    .mapping-section {
        margin: 32px auto 48px;
        padding: 0 16px;
    }

    .printable-map-section {
        margin: 32px auto 48px;
        padding: 0 16px;
    }

    .printable-map-card {
        width: 100%;
        padding: 14px;
        border-radius: 24px;
    }

    .printable-map-img {
        border-radius: 16px;
    }

    .mapping-frame {
        height: 480px;
    }
}

@media (max-width: 767px) {
    .mapping-section {
        margin: 20px auto 40px;
        padding: 0 14px;
    }

    .printable-map-section {
        margin: 20px auto 40px;
        padding: 0 14px;
    }

    .mapping-card {
        border-radius: 24px;
        padding: 12px;
        box-shadow: 0 6px 20px rgba(14, 42, 74, 0.1);
    }

    .printable-map-card {
        width: 100%;
        border-radius: 20px;
        padding: 12px;
    }

    .printable-map-img {
        border-radius: 14px;
    }

    .mapping-frame {
        height: 360px;
        border-radius: 18px;
    }

    .mapping-frame .leaflet-control-zoom a {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .mapping-section {
        padding: 0 12px;
    }

    .printable-map-section {
        padding: 0 12px;
    }

    .mapping-card {
        border-radius: 20px;
        padding: 10px;
    }

    .printable-map-card {
        border-radius: 16px;
        padding: 10px;
    }

    .printable-map-img {
        border-radius: 12px;
    }

    .mapping-frame {
        height: 320px;
        border-radius: 16px;
    }
}

/* ── Calendar Page ── */
.calendar-section {
    width: 100%;
    max-width: 1001px;
    margin: 80px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
}

.calendar-inner {
    width: 100%;
}

.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.calendar-filter-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid #1D4A77;
    border-radius: 10px;
    background: #F7F8FA;
    cursor: pointer;
    flex-shrink: 0;
}

.calendar-filter-btn img {
    width: 16px;
    height: 16px;
    display: block;
}

.calendar-filter-btn.is-open {
    background: #FFFFFF;
    border-color: #1D4A77;
}

.calendar-filter-panel {
    display: none;
    margin-bottom: 16px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #E6ECF2;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(14, 42, 74, 0.08);
}

.calendar-filter-panel.is-open {
    display: block;
}

.calendar-filter-panel .search-field {
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid #D5DEE8;
    border-radius: 10px;
    background: #FFFFFF;
}

.calendar-filter-panel .search-field:last-of-type {
    margin-bottom: 14px;
}

.calendar-filter-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B7C8F;
    font-size: 12px;
    margin-bottom: 6px;
}

.calendar-filter-panel .field-icon {
    width: 14px;
    height: 14px;
}

.calendar-filter-panel input,
.calendar-filter-panel select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #0E2A4A;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.calendar-filter-panel .has-chevron {
    position: relative;
}

.calendar-filter-panel .field-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    pointer-events: none;
}

.calendar-filter-panel .search-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: none;
    border-radius: 10px;
    background: #A8151A;
    color: #FFFFFF;
    font-family: "Instrument Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.calendar-filter-panel .search-btn-icon {
    width: 16px;
    height: 16px;
}

.calendar-view-toggle {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.calendar-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid #1B4A7A;
    background: #FFFFFF;
    color: #1B4A7A;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.calendar-toggle-btn:first-child {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.calendar-toggle-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.calendar-toggle-btn.is-active {
    background: #A8151A;
    border-color: #A8151A;
    color: #FFFFFF;
}

.calendar-toggle-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.calendar-toggle-btn.is-active .calendar-toggle-icon-img {
    filter: brightness(0) invert(1);
}

.calendar-section .wrap,
.calendar-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 28px clamp(10px,1.4vw,28px) 24px;
    box-sizing: border-box;
}

.calendar-section .header,
.calendar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    border-bottom: none;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.calendar-section .month-title {
    margin: 0;
    color: #1A1A1A;
    font-family: "Instrument Sans", sans-serif;
    font-size: clamp(16px,2vw,28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.calendar-section .month-title span {
    color: #1A1A1A;
}

.calendar-section .nav,
.calendar-controls {
    display: flex;
    align-items: center;
    gap: clamp(10px,1.4vw,30px);
}

.calendar-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-section button.today {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    height: 40px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: #A8151A;
    color: #FFFFFF;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-section button.today:hover {
    background: #8f1216;
    color: #FFFFFF;
}

.calendar-section button.navbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #205183;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-section button.navbtn:hover {
    background: #173A5D;
    color: #FFFFFF;
}

.calendar-section button.navbtn img {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

.calendar-section .grid,
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
}

.calendar-days {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #E8EDF2;
    border-top: 1px solid #E8EDF2;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    position: relative;
    min-height: 110px;
}

.calendar-weekdays {
    border-bottom: 1px solid #E8EDF2;
    margin-bottom: 0;
}

.calendar-section .dow {
    text-align: left;
    color: #9AA8B8;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 12px 14px;
}

.calendar-section .day {
    min-height: 110px;
    height: 100%;
    padding: 10px 10px 40px;
    background: #FFFFFF;
    border: none;
    border-right: 1px solid #E8EDF2;
    border-bottom: 1px solid #E8EDF2;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
    z-index: 1;
    box-sizing: border-box;
}

.calendar-week > .day:nth-child(7) {
    border-right: none;
}

.calendar-section .day:hover {
    box-shadow: none;
    background: #F8FAFC;
}

.calendar-section .day.weekend {
    background: #F0F4F8;
}

.calendar-section .day.weekend:hover {
    background: #E8EEF4;
}

.calendar-section .day.other {
    opacity: 1;
    background: #F7F9FB;
}

.calendar-section .day.other.weekend {
    background: #EEF2F6;
}

.calendar-section .day.other .daynum {
    color: #B0BAC6;
    font-weight: 400;
}

.calendar-section .day.today {
    border: none;
    border-right: 1px solid #E8EDF2;
    border-bottom: 1px solid #E8EDF2;
    box-shadow: inset 0 0 0 1px #205183;
}

.calendar-week > .day.today:nth-child(7) {
    border-right: none;
}

.calendar-section .daynum {
    align-self: flex-start;
    margin-bottom: 6px;
    color: #2A2A2A;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.calendar-section .events {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    overflow: hidden;
    padding-bottom: 0;
}

.calendar-section .ev {
    background: #1D4E89;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-section .ev.sage {
    background: #173A5D;
    color: #FFFFFF;
}

.calendar-range-event {
    position: absolute;
    left: 0;
    bottom: 14px;
    top: auto;
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #205183;
    border-radius: 4px;
    color: #FFFFFF;
    font-family: "Instrument Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: none;
}

.calendar-section .more {
    font-size: 11px;
    color: #6B7C8F;
    padding-left: 2px;
}

.calendar-section .addhint {
    display: none;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 42, 74, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 16px;
}

.overlay.open {
    display: flex;
}

.modal {
    background: #FFFFFF;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(14, 42, 74, 0.25);
}

.modal h2 {
    margin: 0 0 4px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 1.3rem;
    color: #1A1A1A;
}

.modal .datestr {
    color: #6B7C8F;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7C8F;
    margin-bottom: 5px;
}

.field input {
    width: 100%;
    border: 1px solid #E5EAF0;
    border-radius: 8px;
    padding: 10px 12px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.row {
    display: flex;
    gap: 10px;
}

.row .field {
    flex: 1;
}

.swatches {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.swatch {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}

.swatch.sel {
    border-color: #0E2A4A;
}

.sw-accent {
    background: #0E2A4A;
}

.sw-sage {
    background: #98AFC6;
}

.existing {
    border-top: 1px solid #E5EAF0;
    margin-top: 4px;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 140px;
    overflow-y: auto;
}

.exist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F5F7FA;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.85rem;
}

.exist-row .t {
    font-weight: 600;
    color: #0E2A4A;
    min-width: 52px;
    font-size: 0.75rem;
}

.exist-row .n {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exist-row button {
    border: none;
    background: none;
    color: #A8151A;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 2px 4px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.btn {
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: "Instrument Sans", sans-serif;
}

.btn-primary {
    background: #A8151A;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #8f1216;
}

.btn-ghost {
    background: none;
    color: #6B7C8F;
}

.btn-ghost:hover {
    color: #0E2A4A;
}

@media (max-width: 767px) {
    .calendar-section {
        margin: 24px auto 40px;
        padding: 0 12px;
    }

    .calendar-card {
        padding: 18px 14px 20px;
        border-radius: 10px;
    }


    .calendar-section .day {
        min-height: 64px;
        padding: 6px 4px;
    }

    .calendar-week {
        min-height: 64px;
    }

    .calendar-range-event {
        top: 28px;
        height: 20px;
        font-size: 10px;
        padding: 0 6px;
    }

    .calendar-section .events {
        padding-bottom: 24px;
    }

    .calendar-section .dow {
        font-size: 10px;
        padding-left: 4px;
        padding-right: 4px;
    }

    .calendar-section .daynum {
        font-size: 12px;
    }

    .calendar-section .ev {
        font-size: 10px;
        padding: 4px 5px;
    }

    .calendar-section button.today {
        min-width: 72px;
        height: 36px;
        font-size: 13px;
    }

    .calendar-section button.navbtn {
        width: 36px;
        height: 36px;
    }
}

/* ── Weather / Mapping / Calendar banner (≤999px) ── */
@media (max-width: 999px) {
    .page-weather .banner-section,
    .page-mapping .banner-section,
    .page-printable .banner-section,
    .page-calendar .banner-section {
        height: 320px !important;
        min-height: 320px !important;
        overflow: hidden !important;
    }

    .page-weather .banner-section .banner-inner,
    .page-mapping .banner-section .banner-inner,
    .page-printable .banner-section .banner-inner,
    .page-calendar .banner-section .banner-inner {
        height: 100% !important;
        min-height: 100% !important;
        display: flex;
        flex-direction: column;
        padding-bottom: 0 !important;
    }

    .page-weather .banner-section .hero-content,
    .page-mapping .banner-section .hero-content,
    .page-printable .banner-section .hero-content,
    .page-calendar .banner-section .hero-content {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100%;
        margin: 0 auto;
        padding: 8px 16px 24px !important;
    }

    .page-weather .banner-section .countdown-wrap,
    .page-mapping .banner-section .countdown-wrap,
    .page-printable .banner-section .countdown-wrap,
    .page-calendar .banner-section .countdown-wrap {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 18px;
    }

    .page-weather .banner-section .countdown-label,
    .page-mapping .banner-section .countdown-label,
    .page-printable .banner-section .countdown-label,
    .page-calendar .banner-section .countdown-label {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto 14px;
        color: #FFFFFF;
        font-size: 11px;
        letter-spacing: 1.4px;
        text-align: center;
    }

    .page-weather .banner-section .countdown-label::before,
    .page-weather .banner-section .countdown-label::after,
    .page-mapping .banner-section .countdown-label::before,
    .page-mapping .banner-section .countdown-label::after,
    .page-printable .banner-section .countdown-label::before,
    .page-printable .banner-section .countdown-label::after,
    .page-calendar .banner-section .countdown-label::before,
    .page-calendar .banner-section .countdown-label::after {
        content: '';
        flex: 1;
        max-width: 40px;
        height: 1px;
        background: rgba(255, 255, 255, 0.45);
    }

    .page-weather .banner-section .countdown-timer,
    .page-mapping .banner-section .countdown-timer,
    .page-printable .banner-section .countdown-timer,
    .page-calendar .banner-section .countdown-timer {
        margin: 0 auto;
        justify-content: center;
    }

    .page-weather .banner-section .hero-title,
    .page-mapping .banner-section .hero-title,
    .page-printable .banner-section .hero-title,
    .page-calendar .banner-section .hero-title {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .page-calendar .banner-section .search-bar {
        display: none !important;
    }

    .page-calendar .calendar-toolbar {
        justify-content: space-between;
    }

    .page-calendar .calendar-filter-btn {
        display: inline-flex;
    }
}

/* The logo link is .logo-area itself; the design CSS disables clicks on it. */
.logo-area {
    pointer-events: auto;
    cursor: pointer;
}
