:root {
    --navy: #031426;
    --navy-2: #071d33;
    --gold: #d7a43c;
    --gold-light: #f0c96a;
    --cream: #f7f4ee;
    --white: #ffffff;
    --text: #18202b;
    --muted: #6c7077;
    --border: #e5e1d9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 15px;
}

a { text-decoration: none; }

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.navbar {
    min-height: 72px;
    padding: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    min-width: 230px;
}

.brand-mark {
    width: 42px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 44px;
    line-height: 1;
}

.brand strong {
    display: block;
    color: var(--gold-light);
    font-size: 24px;
    line-height: 1;
    letter-spacing: 1px;
}

.brand small {
    display: block;
    color: #fff;
    font-size: 9px;
    letter-spacing: .7px;
    margin-top: 3px;
}

.navbar-nav { gap: 4px; }

.nav-link {
    position: relative;
    color: #fff !important;
    padding: 25px 15px !important;
    font-weight: 500;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active { color: var(--gold-light) !important; }

.nav-link.active:after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 3px;
    background: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-search {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
}

.btn-login {
    color: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-home {
    position: relative;
    min-height: 347px;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 45%, rgba(192,139,53,.25), transparent 23%),
        linear-gradient(90deg, #071525 0%, #071525 36%, rgba(7,21,37,.78) 56%, rgba(7,21,37,.15) 100%),
        linear-gradient(135deg, #1a2631, #5a4730 55%, #1d2021);
}

.hero-slide-wrap {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    touch-action: pan-y;
    inset: 0;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity .35s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-slide-image {
    position: absolute;
    pointer-events: none;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,21,37,.92) 0%, rgba(7,21,37,.74) 43%, rgba(7,21,37,.20) 100%),
        radial-gradient(circle at 78% 50%, rgba(210,161,75,.18), transparent 28%);
}

.hero-slide.ready {
    z-index: 1;
}

.hero-slide.active.ready {
    opacity: 1;
}

.hero-home:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(210,161,75,.22), transparent 25%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }
.hero-home.is-dragging,
.hero-slide.is-dragging { cursor: grabbing; }
.hero-home a,
.hero-home button { user-select: auto; }

.hero-kicker {
    color: var(--gold-light);
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-home h1 {
    color: var(--gold-light);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.25;
    font-weight: 700;
    margin: 0;
}

.hero-line {
    width: 245px;
    height: 1px;
    background: rgba(255,255,255,.4);
    margin: 13px 0;
}

.hero-home p {
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 15px;
}

.btn-gold {
    background: linear-gradient(135deg, #e9bb58, #c88e25);
    color: #08172a;
    border: 0;
    font-weight: 700;
    padding: 10px 20px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f4cc71, #d69c32);
    color: #08172a;
}

.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-dots span,
.hero-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    opacity: .9;
    border: 0;
    padding: 0;
}

.hero-dots .active { background: var(--gold); }

.section { padding: 24px 0; }
.section-light { background: #fbfaf8; }
.section-white { background: #fff; }

.section-heading { margin-bottom: 12px; }

.section-heading h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.section-heading h2 i { color: #111; }

.section-heading p {
    color: var(--muted);
    margin: 2px 0 0;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-heading-row > a {
    color: #8e6a28;
    font-weight: 600;
}

.service-card {
    display: flex;
    min-height: 208px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--text);
    box-shadow: 0 2px 7px rgba(0,0,0,.035);
    transition: .2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(215,164,60,.55);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.service-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 34px;
    margin-bottom: 12px;
}

.service-icon.navy { background: var(--navy); }
.service-icon.gold { background: #c99b39; }
.service-icon.facebook { background: #1976d2; }
.service-icon.line { background: #08b83f; }
.service-icon.youtube { background: #d92727; }
.service-icon.purple { background: #5b43ae; }

.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
}

.service-card p {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}

.service-arrow {
    margin-top: auto;
    font-size: 21px;
    color: #111;
}

.news-panel, .event-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.news-item {
    display: flex;
    gap: 14px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child { border-bottom: 0; }

.news-thumb {
    width: 195px;
    min-width: 195px;
    height: 114px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 19px;
}

.placeholder-thumb {
    background: radial-gradient(circle at 50% 35%, #756044, #1c1712 58%, #050505);
}

.thumb-live {
    background: radial-gradient(circle at 50% 40%, #986b42, #22170f 60%, #050505);
}

.news-body { min-width: 0; }

.tag {
    display: inline-block;
    padding: 2px 7px;
    background: #f4ead2;
    color: #987229;
    border-radius: 3px;
    font-size: 10px;
}

.tag-red { background: #fae4e4; color: #c43737; }

.news-body h3 {
    font-size: 16px;
    margin: 5px 0;
    font-weight: 700;
}

.news-body p {
    font-size: 12px;
    color: #666;
    margin: 0 0 5px;
}

.news-body small { font-size: 11px; color: #555; }

.event-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px;
    border-bottom: 1px solid #eee;
}

.event-item:last-child { border-bottom: 0; }

.event-date {
    width: 62px;
    min-width: 62px;
    padding: 5px;
    text-align: center;
    background: #f3f0ea;
    border-radius: 8px;
}

.event-date strong { display: block; font-size: 24px; line-height: 1; }
.event-date span, .event-date small { display: block; font-size: 10px; }

.event-info h3 {
    font-size: 15px;
    margin: 0 0 7px;
    font-weight: 700;
}

.event-info div {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 11px;
}

.stats-section {
    background: var(--navy);
    color: #fff;
    padding: 10px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 22px;
    border-right: 1px solid rgba(255,255,255,.13);
}

.stat-item:last-child { border-right: 0; }

.stat-item > i {
    color: var(--gold);
    font-size: 38px;
}

.stat-item strong {
    display: block;
    font-size: 27px;
    line-height: 1.1;
}

.stat-item span, .stat-item small {
    display: block;
    font-size: 11px;
}

.stat-item small { color: #ddd; }

.about-section { background: #f6f3ed; }

.about-card {
    min-height: 155px;
    display: grid;
    grid-template-columns: 260px 1fr 145px;
    align-items: center;
    gap: 25px;
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
}

.about-image {
    height: 155px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #dcb15c;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #263f52, #0b1827);
}

.about-content { padding: 15px 0; }

.about-content h2 {
    font-size: 21px;
    font-weight: 700;
}

.about-content p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.about-amulet {
    height: 155px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, #d6a449, #544022 45%, transparent 46%);
    color: #fff;
    font-weight: 700;
}

.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 28px 0 0;
}

.footer-main { padding-bottom: 22px; }

.footer-brand {
    color: var(--gold-light);
    font-size: 23px;
    font-weight: 700;
}

.footer-brand small {
    display: block;
    color: #fff;
    font-size: 8px;
    letter-spacing: .8px;
}

.site-footer p {
    color: #ddd;
    font-size: 11px;
    line-height: 1.8;
}

.footer-col {
    border-left: 1px solid rgba(255,255,255,.14);
    padding-left: 25px;
}

.footer-col h3 {
    color: var(--gold-light);
    font-size: 15px;
    margin-bottom: 9px;
}

.footer-col a {
    display: block;
    color: #eee;
    font-size: 11px;
    line-height: 1.9;
}

.footer-col p { margin-bottom: 5px; }

.footer-col p i {
    width: 20px;
    color: var(--gold);
}

.socials { display: flex; gap: 9px; margin-top: 10px; }

.socials a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ccc;
    font-size: 10px;
}

.footer-bottom a { color: #ddd; }
.footer-bottom b { margin: 0 10px; color: #777; }

@media (max-width: 991.98px) {
    .navbar { padding: 8px 0; }
    .navbar-nav { margin-top: 10px !important; }
    .nav-link { padding: 10px 8px !important; }
    .nav-link.active:after { display: none; }
    .nav-actions { margin-top: 10px; padding-bottom: 8px; }
    .hero-home { min-height: 420px; }
    .about-card { grid-template-columns: 220px 1fr; }
    .about-amulet { display: none; }
    .footer-col { border-left: 0; padding-left: 12px; }
}

@media (max-width: 767.98px) {
    body { font-size: 14px; }
    .brand { min-width: 0; }
    .brand strong { font-size: 20px; }
    .brand-mark { width: 32px; font-size: 34px; }
    .hero-home { min-height: 430px; }
    .hero-home h1 { font-size: 34px; }
    .hero-kicker { font-size: 17px; }
    .hero-home p { font-size: 13px; }
    .section { padding: 20px 0; }
    .service-card { min-height: 190px; }
    .service-icon { width: 58px; height: 58px; font-size: 29px; }
    .news-thumb { width: 110px; min-width: 110px; height: 90px; font-size: 13px; }
    .news-body h3 { font-size: 13px; }
    .news-body p { display: none; }
    .event-info div { flex-direction: column; gap: 2px; }
    .stat-item { padding: 10px; border-right: 0; }
    .stat-item > i { font-size: 30px; }
    .stat-item strong { font-size: 22px; }
    .about-card { display: block; }
    .about-image { height: 130px; }
    .about-content { padding: 15px; }
    .footer-bottom { flex-direction: column; justify-content: center; gap: 4px; padding: 10px 0; }
}

@media (max-width: 420px) {
    .service-card { min-height: 180px; padding: 12px 7px; }
    .service-card h3 { font-size: 13px; }
    .service-card p { font-size: 10px; }
    .section-heading h2 { font-size: 19px; }
}


/* STEP 2 — Platform page */
.page-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, #06172a 0%, #06172a 45%, rgba(6,23,42,.80) 68%, rgba(6,23,42,.28) 100%),
        radial-gradient(circle at 82% 45%, rgba(196,148,60,.34), transparent 25%),
        linear-gradient(135deg, #0b1d31, #614b31);
    border-bottom: 3px solid var(--gold);
}

.platform-hero {
    min-height: 195px;
    display: flex;
    align-items: center;
}

.platform-hero h1 {
    color: var(--gold-light);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 4px;
}

.platform-hero .lead {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}

.platform-hero p:last-child {
    margin: 3px 0 0;
    color: #f1f1f1;
}

.platform-total {
    margin-left: auto;
    width: 150px;
    min-height: 112px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.platform-total i { font-size: 21px; }
.platform-total span { font-size: 11px; margin-top: 2px; }
.platform-total strong { color: var(--gold-light); font-size: 26px; line-height: 1.1; }
.platform-total small { font-size: 10px; }

.platform-section {
    background: #faf9f7;
    padding: 24px 0 14px;
    min-height: 520px;
}

.platform-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 14px;
}

.platform-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-title i { font-size: 25px; }
.platform-title h2 {
    font-size: 21px;
    margin: 0;
    font-weight: 700;
}

.platform-filters {
    display: flex;
    gap: 10px;
}

.platform-search {
    width: 270px;
    position: relative;
}

.platform-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
}

.platform-search input {
    height: 39px;
    padding-left: 37px;
    border-color: #dedbd4;
    border-radius: 7px;
    font-size: 12px;
}

.platform-filters select {
    width: 160px;
    height: 39px;
    border-color: #dedbd4;
    border-radius: 7px;
    font-size: 12px;
}

.platform-card {
    height: 100%;
    min-height: 190px;
    background: #fff;
    border: 1px solid #e3e0db;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    transform: translateY(-3px);
    border-color: rgba(215,164,60,.65);
    box-shadow: 0 9px 25px rgba(0,0,0,.08);
}

.platform-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
}

.platform-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 32px;
}

.platform-icon.navy { background: var(--navy); }
.platform-icon.gold { background: #c89b3d; }
.platform-icon.facebook { background: #1976d2; }
.platform-icon.line { background: #08b83f; }
.platform-icon.youtube { background: #d92d2d; }
.platform-icon.tiktok { background: #090909; }

.platform-tag {
    align-self: flex-start;
    background: #f5eee0;
    color: #98732c;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 3px;
}

.platform-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 5px;
}

.platform-card p {
    color: #555;
    font-size: 12px;
    line-height: 1.65;
    margin: 0 0 12px;
}

.platform-btn {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--navy);
    color: var(--gold-light);
    border-radius: 5px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 600;
}

.platform-btn:hover {
    color: #fff;
    background: #0b2847;
}

.platform-empty {
    text-align: center;
    padding: 45px 20px;
    color: #777;
}

.platform-empty i { font-size: 35px; color: var(--gold); }
.platform-empty h3 { font-size: 18px; margin: 8px 0 2px; }
.platform-empty p { margin: 0; font-size: 13px; }

.security-notice {
    margin-top: 15px;
    border: 1px solid #e2d4b6;
    background: #fcfaf5;
    border-radius: 7px;
    padding: 11px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-icon {
    color: #c69939;
    font-size: 29px;
}

.security-text { flex: 1; }
.security-text h3 {
    font-size: 14px;
    margin: 0 0 1px;
    font-weight: 700;
}
.security-text p {
    font-size: 11px;
    margin: 0;
    color: #555;
}

.security-btn {
    background: #d6a43e;
    color: #1b2430;
    border-radius: 5px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .platform-toolbar { align-items: flex-start; flex-direction: column; }
    .platform-filters { width: 100%; }
    .platform-search { flex: 1; width: auto; }
    .platform-filters select { width: 180px; }
    .platform-total { margin: 15px 0 0; }
    .platform-hero { padding: 28px 0; }
}

@media (max-width: 575.98px) {
    .platform-hero h1 { font-size: 30px; }
    .platform-hero .lead { font-size: 17px; }
    .platform-filters { flex-direction: column; }
    .platform-search, .platform-filters select { width: 100%; }
    .security-notice { align-items: flex-start; flex-wrap: wrap; }
    .security-btn { width: 100%; text-align: center; }
}


/* STEP 3 — News page */
.news-hero {
    min-height: 170px;
    display: flex;
    align-items: center;
}

.news-hero h1 {
    color: var(--gold-light);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 6px;
}

.news-hero p {
    margin: 0;
    color: #f2f2f2;
    line-height: 1.8;
    font-size: 15px;
}

.news-page-section {
    background: #f8f8f7;
    padding: 18px 0 28px;
}

.news-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 12px;
    color: #777;
    margin-bottom: 17px;
}

.news-breadcrumb a { color: #777; }
.news-breadcrumb i { font-size: 10px; color: #aaa; }

.news-page-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 26px;
    align-items: start;
}

.news-sidebar-card {
    background: #fff;
    border: 1px solid #e4e1db;
    border-radius: 9px;
    padding: 12px;
    margin-bottom: 14px;
}

.news-sidebar-card h2 {
    font-size: 17px;
    font-weight: 800;
    margin: 3px 7px 9px;
}

.news-category {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    border-bottom: 1px solid #eee;
    background: transparent;
    padding: 10px 8px;
    color: #20242b;
    font-family: inherit;
    text-align: left;
    font-size: 12px;
}

.news-category:last-child { border-bottom: 0; }

.news-category span {
    display: flex;
    gap: 9px;
    align-items: center;
}

.news-category span i {
    width: 18px;
    color: #4d5258;
    text-align: center;
}

.news-category b {
    min-width: 27px;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
}

.news-category.active {
    color: #fff;
    background: #c69738;
    border-radius: 5px;
    border-bottom-color: transparent;
}

.news-category.active span i { color: #fff; }
.news-category.active b {
    color: #987029;
    background: #fff;
    border-color: #fff;
}

.popular-news { padding-bottom: 8px; }

.popular-news-item {
    display: grid;
    grid-template-columns: 22px 57px 1fr;
    gap: 7px;
    align-items: center;
    padding: 8px 3px;
    border-bottom: 1px solid #eee;
    color: #252932;
}

.rank {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #ddd;
    color: #333;
    font-size: 10px;
    font-weight: 800;
}

.rank-1 { background: #d6a442; color: #fff; }

.popular-thumb {
    width: 57px;
    height: 55px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #e8bf62;
    font-size: 8px;
    font-weight: 700;
}

.popular-info strong {
    display: block;
    font-size: 10px;
    line-height: 1.45;
}

.popular-info small {
    display: block;
    color: #888;
    font-size: 9px;
    margin-top: 2px;
}

.popular-all {
    display: block;
    text-align: center;
    color: #a27a2c;
    border: 1px solid #ddd6c9;
    border-radius: 5px;
    padding: 7px;
    margin-top: 9px;
    font-size: 11px;
    font-weight: 600;
}

.news-main-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.news-main-toolbar h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.news-main-toolbar > div:first-child span {
    font-size: 11px;
    color: #777;
}

.news-tools {
    display: flex;
    gap: 10px;
}

.news-search {
    width: 270px;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
}

.news-search > i {
    position: absolute;
    left: 12px;
    color: #999;
    z-index: 2;
}

.news-search input {
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 0 42px 0 35px;
    outline: none;
    font-family: inherit;
    font-size: 11px;
}

.news-search input:focus { border-color: #c79a3b; }

.news-search button {
    position: absolute;
    right: 0;
    height: 100%;
    width: 39px;
    border: 0;
    background: var(--navy);
    color: #fff;
    border-radius: 0 7px 7px 0;
}

.news-tools select {
    width: 145px;
    height: 38px;
    font-size: 11px;
    border-color: #ddd;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.news-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 42% 58%;
    background: #fff;
    border: 1px solid #e5e2dd;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.025);
    transition: .2s ease;
}

.news-card:hover {
    border-color: rgba(198,151,56,.5);
    box-shadow: 0 7px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}

.news-card-image {
    min-height: 210px;
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    color: #e7bd62;
    font-size: 19px;
    font-weight: 700;
    overflow: hidden;
}

.thumb-amulet {
    background:
        radial-gradient(ellipse at center, #9a7440 0%, #352617 35%, #0d0d0c 72%);
}

.thumb-live {
    background:
        radial-gradient(circle at 55% 35%, #bd8350 0%, #362013 34%, #080808 72%);
}

.thumb-member {
    background:
        radial-gradient(circle at center, #8c6734, #241a13 45%, #090909 75%);
}

.thumb-building {
    background:
        linear-gradient(140deg, #6b8491, #253a4b 45%, #17202a);
}

.thumb-gallery {
    background:
        radial-gradient(circle at 40% 30%, #9a7747, #352618 40%, #0c0a08 78%);
}

.thumb-calendar {
    background:
        linear-gradient(135deg, #e5e5e1, #b7b5ae);
    color: #333;
}

.news-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 3px 7px;
    background: #f3ead6;
    color: #98712a;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
}

.news-badge.red { background: #fae2e2; color: #c52d2d; }
.news-badge.purple { background: #ece7fa; color: #6652a4; }
.news-badge.blue { background: #e3effb; color: #3c75aa; }

.live-mark {
    position: absolute;
    top: 9px;
    left: 9px;
    background: #e52222;
    color: #fff;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 10px;
}

.news-card-body {
    padding: 12px 13px 10px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.news-label {
    align-self: flex-start;
    color: #9a742c;
    background: #f5eddb;
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 9px;
}

.news-label.red { color: #c62f2f; background: #fae6e6; }
.news-label.purple { color: #6653a3; background: #eeeafb; }
.news-label.blue { color: #3c75aa; background: #e7f1fa; }

.news-card-body h3 {
    font-size: 15px;
    line-height: 1.45;
    margin: 7px 0 5px;
    font-weight: 800;
}

.news-card-body p {
    color: #666;
    font-size: 10px;
    line-height: 1.65;
    margin: 0 0 7px;
}

.news-meta {
    display: flex;
    gap: 13px;
    color: #777;
    font-size: 9px;
    margin-top: auto;
}

.news-meta i { margin-right: 2px; }

.read-more {
    align-self: flex-start;
    color: #a37a2d;
    font-size: 10px;
    font-weight: 700;
    margin-top: 7px;
}

.news-empty {
    background: #fff;
    border: 1px solid #e4e1db;
    border-radius: 9px;
    text-align: center;
    padding: 45px 20px;
}

.news-empty i { font-size: 35px; color: var(--gold); }
.news-empty h3 { font-size: 18px; margin: 8px 0 2px; }
.news-empty p { margin: 0; color: #777; font-size: 12px; }

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 17px;
}

.page-btn {
    min-width: 32px;
    height: 31px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    border-radius: 5px;
    font-family: inherit;
    font-size: 10px;
}

.page-btn.active,
.page-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.newsletter-bar {
    margin-top: 24px;
    min-height: 68px;
    padding: 11px 20px;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-icon {
    color: var(--gold);
    font-size: 33px;
}

.newsletter-copy { flex: 1; }
.newsletter-copy h2 {
    font-size: 17px;
    margin: 0;
    font-weight: 800;
}
.newsletter-copy p {
    font-size: 10px;
    margin: 0;
    color: #ddd;
}

.newsletter-form {
    width: 400px;
    display: flex;
    gap: 0;
}

.newsletter-form input {
    min-width: 0;
    flex: 1;
    height: 37px;
    border: 0;
    border-radius: 5px 0 0 5px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 11px;
}

.newsletter-form button {
    width: 150px;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: #d7a43c;
    color: #18202b;
    font-family: inherit;
    font-weight: 700;
    font-size: 11px;
}

@media (max-width: 1199.98px) {
    .news-page-layout { grid-template-columns: 220px 1fr; }
    .news-card { grid-template-columns: 40% 60%; }
    .news-card-image { min-height: 190px; }
}

@media (max-width: 991.98px) {
    .news-page-layout { grid-template-columns: 1fr; }
    .news-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .news-sidebar-card { margin: 0; }
    .news-main-toolbar { align-items: flex-start; flex-direction: column; }
    .news-tools { width: 100%; }
    .news-search { flex: 1; width: auto; }
    .newsletter-bar { flex-wrap: wrap; }
    .newsletter-form { width: 100%; }
}

@media (max-width: 767.98px) {
    .news-hero { min-height: 150px; }
    .news-hero h1 { font-size: 30px; }
    .news-hero p { font-size: 12px; }
    .news-sidebar { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .news-tools { flex-direction: column; }
    .news-search, .news-tools select { width: 100%; }
    .news-card { grid-template-columns: 40% 60%; }
    .news-card-image { min-height: 185px; font-size: 14px; }
    .news-card-body h3 { font-size: 13px; }
    .news-card-body p { display: none; }
    .newsletter-form { flex-direction: column; gap: 7px; }
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        height: 37px;
        border-radius: 5px;
    }
}


/* STEP 4 — Events & Calendar */
.events-hero {
    min-height: 185px;
    display: flex;
    align-items: center;
}
.events-hero h1 {
    color: var(--gold-light);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 4px;
}
.events-hero p {
    margin: 0 0 2px;
    font-size: 18px;
}
.events-hero span { color: #ddd; font-size: 12px; }

.event-hero-calendar {
    margin-left: auto;
    width: 160px;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.07);
    border-radius: 8px;
}
.event-hero-calendar i { color: var(--gold); font-size: 28px; }
.event-hero-calendar strong { font-size: 15px; }
.event-hero-calendar small { color: #ccc; font-size: 9px; }

.events-page-section {
    background: #f8f8f7;
    padding: 18px 0 30px;
}
.events-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #777;
    font-size: 12px;
    margin-bottom: 16px;
}
.events-breadcrumb a { color: #777; }
.events-breadcrumb i { font-size: 10px; color: #aaa; }

.events-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.events-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.events-title > i { font-size: 27px; }
.events-title h2 { font-size: 22px; font-weight: 800; margin: 0; }
.events-title p { font-size: 10px; color: #777; margin: 1px 0 0; }

.events-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.month-btn, .today-btn {
    height: 34px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    font-family: inherit;
    font-size: 11px;
}
.month-btn { width: 34px; }
.month-btn:hover, .today-btn:hover { background: var(--navy); color: #fff; }
.month-current {
    min-width: 125px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}
.today-btn { padding: 0 12px; }

.events-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
    gap: 15px;
    align-items: start;
}

.calendar-panel, .event-list-panel {
    background: #fff;
    border: 1px solid #e4e1dc;
    border-radius: 9px;
    overflow: hidden;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--navy);
    color: #fff;
}
.calendar-weekdays span {
    text-align: center;
    padding: 9px 3px;
    font-size: 10px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.calendar-day {
    position: relative;
    min-height: 88px;
    padding: 7px;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background .15s;
}
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:hover { background: #fcf8ef; }
.calendar-day.muted { color: #bbb; background: #fafafa; cursor: default; }
.calendar-day.today .day-number {
    background: var(--navy);
    color: #fff;
}
.calendar-day.selected {
    box-shadow: inset 0 0 0 2px var(--gold);
    background: #fffaf0;
}
.day-number {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 10px;
    margin-bottom: 4px;
}
.calendar-event-dot {
    display: block;
    margin: 2px 0;
    padding: 2px 4px;
    border-radius: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8px;
    font-weight: 600;
}
.calendar-event-dot.auction { color: #916c26; background: #f4ead2; }
.calendar-event-dot.live { color: #c42d2d; background: #f9e3e3; }
.calendar-event-dot.event { color: #6652a4; background: #ece8fa; }
.calendar-event-dot.company { color: #3974a7; background: #e6f0f8; }

.calendar-legend {
    display: flex;
    gap: 18px;
    padding: 10px 13px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 9px;
}
.legend-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 4px;
}
.legend-dot.auction { background: #c99a3c; }
.legend-dot.live { background: #d62d2d; }
.legend-dot.event { background: #7258ad; }
.legend-dot.company { background: #4282b7; }

.event-list-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    background: #faf9f6;
    border-bottom: 1px solid #eee;
}
.event-list-head h2 { font-size: 15px; font-weight: 800; margin: 0; }
.event-list-head span:not(.event-count) { color: #888; font-size: 9px; }
.event-count {
    height: fit-content;
    color: #99742e;
    background: #f5ecd9;
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 9px;
    white-space: nowrap;
}
.event-detail-card {
    display: grid;
    grid-template-columns: 53px 1fr;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #eee;
}
.event-detail-card:last-child { border-bottom: 0; }
.event-detail-date {
    height: 54px;
    background: #f3f0ea;
    border-radius: 7px;
    display: grid;
    place-items: center;
    align-content: center;
}
.event-detail-date strong { font-size: 22px; line-height: 1; }
.event-detail-date span { font-size: 9px; }
.event-detail-body h3 { font-size: 13px; margin: 5px 0 3px; font-weight: 800; }
.event-detail-body p { color: #666; font-size: 9px; line-height: 1.5; margin: 0 0 5px; }
.event-type {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 600;
}
.event-type.auction { color: #96702a; background: #f4ead4; }
.event-type.live { color: #c52e2e; background: #f8e3e3; }
.event-type.event { color: #6652a3; background: #ece8fa; }
.event-type.company { color: #3d78a9; background: #e5f0f8; }
.event-detail-meta {
    display: flex;
    gap: 10px;
    color: #777;
    font-size: 8px;
}
.event-detail-link {
    display: inline-block;
    margin-top: 5px;
    color: #a0782d;
    font-size: 9px;
    font-weight: 700;
}
.event-list-empty {
    text-align: center;
    padding: 45px 20px;
}
.event-list-empty i { color: var(--gold); font-size: 32px; }
.event-list-empty h3 { font-size: 15px; margin: 7px 0 2px; }
.event-list-empty p { color: #777; font-size: 10px; margin: 0; }

.upcoming-section { margin-top: 22px; }
.upcoming-card {
    min-height: 100px;
    background: #fff;
    border: 1px solid #e4e1dc;
    border-radius: 9px;
    padding: 12px;
    display: flex;
    gap: 12px;
    transition: .2s;
}
.upcoming-card:hover {
    transform: translateY(-2px);
    border-color: rgba(215,164,60,.55);
    box-shadow: 0 7px 20px rgba(0,0,0,.06);
}
.upcoming-date {
    width: 57px;
    min-width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    align-content: center;
    background: var(--navy);
    color: #fff;
    border-radius: 7px;
}
.upcoming-date strong { color: var(--gold-light); font-size: 23px; line-height: 1; }
.upcoming-date span { font-size: 9px; }
.upcoming-card h3 { font-size: 13px; font-weight: 800; margin: 5px 0 5px; }
.upcoming-card p { margin: 0; color: #777; font-size: 9px; }

@media (max-width: 991.98px) {
    .events-layout { grid-template-columns: 1fr; }
    .event-list-panel { order: -1; }
    .event-hero-calendar { margin: 15px 0 0 auto; }
}
@media (max-width: 767.98px) {
    .events-hero { padding: 25px 0; }
    .events-hero h1 { font-size: 30px; }
    .events-hero p { font-size: 15px; }
    .events-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
    .events-controls { width: 100%; }
    .month-current { flex: 1; }
    .calendar-day { min-height: 70px; padding: 4px; }
    .calendar-event-dot { font-size: 7px; }
    .calendar-weekdays span { font-size: 8px; }
    .calendar-legend { flex-wrap: wrap; gap: 8px 14px; }
}
@media (max-width: 480px) {
    .calendar-day { min-height: 55px; }
    .calendar-event-dot { display: none; }
    .day-number { width: 22px; height: 22px; }
    .event-hero-calendar { width: 130px; }
}


/* STEP 5 — FAQ */
.faq-hero {
    min-height: 175px;
    display: flex;
    align-items: center;
}
.faq-hero h1 {
    color: var(--gold-light);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 5px;
}
.faq-hero p {
    color: #eee;
    font-size: 14px;
    margin: 0;
}
.faq-page-section {
    background: #f8f8f7;
    padding: 18px 0 30px;
}
.faq-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}
.faq-breadcrumb a { color: #777; }
.faq-breadcrumb i { font-size: 10px; color: #aaa; }

.faq-intro {
    background: #fff;
    border: 1px solid #e3e0db;
    border-radius: 9px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 16px;
}
.faq-kicker {
    color: #a17a2c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}
.faq-intro h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 4px 0 3px;
}
.faq-intro p {
    color: #777;
    font-size: 11px;
    margin: 0;
}
.faq-search-box {
    width: 430px;
    height: 43px;
    position: relative;
    display: flex;
}
.faq-search-box > i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 2;
}
.faq-search-box input {
    min-width: 0;
    flex: 1;
    border: 1px solid #ddd;
    border-right: 0;
    border-radius: 7px 0 0 7px;
    padding: 0 10px 0 36px;
    font-family: inherit;
    font-size: 11px;
    outline: 0;
}
.faq-search-box input:focus { border-color: #c69a3d; }
.faq-search-box button {
    width: 75px;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: var(--navy);
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
}

.faq-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: start;
}
.faq-sidebar-card, .faq-contact-card {
    background: #fff;
    border: 1px solid #e3e0db;
    border-radius: 9px;
    padding: 12px;
    margin-bottom: 14px;
}
.faq-sidebar-card h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 3px 7px 8px;
}
.faq-category {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eee;
    background: transparent;
    display: flex;
    justify-content: space-between;
    padding: 10px 7px;
    font-family: inherit;
    font-size: 11px;
    color: #252a31;
    text-align: left;
}
.faq-category:last-child { border-bottom: 0; }
.faq-category span { display: flex; gap: 8px; align-items: center; }
.faq-category i { width: 18px; text-align: center; }
.faq-category b {
    min-width: 25px;
    padding: 2px 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 9px;
    text-align: center;
    font-weight: 600;
}
.faq-category.active {
    color: #fff;
    background: #c69738;
    border-radius: 5px;
    border-bottom-color: transparent;
}
.faq-category.active b {
    color: #98702a;
    background: #fff;
    border-color: #fff;
}

.faq-contact-card {
    text-align: center;
    background: var(--navy);
    color: #fff;
    padding: 17px 13px;
}
.faq-contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(215,164,60,.14);
    color: var(--gold);
    font-size: 23px;
}
.faq-contact-card h3 { font-size: 14px; margin: 0 0 3px; }
.faq-contact-card p { color: #ccc; font-size: 9px; margin: 0 0 9px; }
.faq-contact-card a {
    display: block;
    color: #162333;
    background: var(--gold);
    padding: 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
}

.faq-main {
    min-width: 0;
}
.faq-main-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 9px;
}
.faq-main-head h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 0;
}
.faq-main-head p {
    color: #777;
    font-size: 10px;
    margin: 2px 0 0;
}
.faq-hint {
    color: #888;
    font-size: 9px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.faq-item {
    background: #fff;
    border: 1px solid #e3e0db !important;
    border-radius: 7px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    background: #fff;
    color: #20252b;
    padding: 8px 13px;
    text-align: left;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
}
.faq-question:hover { background: #fcfaf5; }
.faq-question > span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-question b {
    width: 27px;
    height: 27px;
    min-width: 27px;
    display: grid;
    place-items: center;
    background: #f2eee6;
    color: #9c762d;
    border-radius: 5px;
    font-size: 9px;
}
.faq-question > i {
    color: #a37b2c;
    font-size: 14px;
    transition: transform .2s;
}
.faq-question[aria-expanded="true"] > i {
    transform: rotate(45deg);
}
.faq-answer {
    border-top: 1px solid #eee;
    padding: 11px 48px 14px;
    color: #666;
    font-size: 11px;
    line-height: 1.8;
    background: #fffdf9;
}
.faq-empty {
    background: #fff;
    border: 1px solid #e3e0db;
    border-radius: 8px;
    text-align: center;
    padding: 50px 20px;
}
.faq-empty i { color: var(--gold); font-size: 35px; }
.faq-empty h3 { font-size: 17px; margin: 7px 0 2px; }
.faq-empty p { color: #777; font-size: 11px; margin: 0; }

.faq-bottom {
    margin-top: 18px;
    padding: 13px 18px;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.faq-bottom > div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-bottom > div > i { color: var(--gold); font-size: 30px; }
.faq-bottom h3 { font-size: 14px; margin: 0 0 2px; }
.faq-bottom p { color: #ccc; font-size: 9px; margin: 0; }
.faq-bottom .btn { font-size: 10px; padding: 8px 14px; }

@media (max-width: 991.98px) {
    .faq-intro { align-items: stretch; flex-direction: column; }
    .faq-search-box { width: 100%; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .faq-sidebar-card, .faq-contact-card { margin: 0; }
}
@media (max-width: 767.98px) {
    .faq-hero { min-height: 150px; }
    .faq-hero h1 { font-size: 30px; }
    .faq-sidebar { grid-template-columns: 1fr; }
    .faq-main-head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .faq-answer { padding-left: 50px; }
    .faq-bottom { align-items: flex-start; flex-direction: column; }
    .faq-bottom .btn { width: 100%; }
}
@media (max-width: 480px) {
    .faq-intro { padding: 14px; }
    .faq-intro h2 { font-size: 19px; }
    .faq-question { font-size: 11px; }
    .faq-question b { width: 24px; min-width: 24px; height: 24px; }
    .faq-answer { padding: 10px 13px 13px 47px; }
}


/* STEP 6 — Contact */
.contact-hero {
    min-height: 175px;
    display: flex;
    align-items: center;
}
.contact-hero h1 {
    color: var(--gold-light);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 5px;
}
.contact-hero p {
    color: #eee;
    font-size: 15px;
    margin: 0;
}
.contact-page-section {
    background: #f8f8f7;
    padding: 18px 0 30px;
}
.contact-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #777;
    font-size: 12px;
    margin-bottom: 15px;
}
.contact-breadcrumb a { color: #777; }
.contact-breadcrumb i { font-size: 10px; color: #aaa; }

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.contact-info-card {
    min-height: 80px;
    background: #fff;
    border: 1px solid #e3e0db;
    border-radius: 8px;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-info-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
}
.contact-info-icon.phone { background: var(--navy); }
.contact-info-icon.line { background: #08b83f; }
.contact-info-icon.email { background: #c69637; }
.contact-info-icon.clock { background: #6652a2; }
.contact-info-card span {
    display: block;
    color: #777;
    font-size: 9px;
}
.contact-info-card strong {
    display: block;
    color: #252a30;
    font-size: 12px;
    line-height: 1.4;
}
.contact-info-card small {
    display: block;
    color: #999;
    font-size: 8px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 16px;
    align-items: start;
}
.contact-form-panel, .contact-address-card, .social-contact-card {
    background: #fff;
    border: 1px solid #e3e0db;
    border-radius: 9px;
}
.contact-form-panel { padding: 19px; }
.contact-panel-heading { margin-bottom: 13px; }
.contact-kicker {
    color: #a17a2c;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 800;
}
.contact-panel-heading h2 {
    font-size: 21px;
    font-weight: 800;
    margin: 3px 0;
}
.contact-panel-heading p {
    color: #777;
    font-size: 10px;
    margin: 0;
}
.contact-form-panel label {
    display: block;
    margin-bottom: 5px;
    color: #30353b;
    font-size: 11px;
    font-weight: 600;
}
.contact-form-panel label b { color: #c33; }
.contact-form-panel .form-control,
.contact-form-panel .form-select {
    height: 39px;
    border-color: #ddd9d2;
    border-radius: 5px;
    font-family: inherit;
    font-size: 11px;
}
.contact-form-panel textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}
.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
    border-color: #c69a3d;
    box-shadow: 0 0 0 .15rem rgba(198,154,61,.12);
}
.contact-error {
    display: none;
    color: #c43333;
    font-size: 9px;
    margin-top: 3px;
}
.contact-field-error { border-color: #d9534f !important; }
.contact-consent {
    display: flex;
    gap: 7px;
    align-items: flex-start;
}
.contact-consent input {
    margin-top: 2px;
    accent-color: #c69738;
}
.contact-consent label {
    margin: 0;
    font-weight: 400;
    color: #666;
    font-size: 9px;
    line-height: 1.6;
}
.contact-consent label b { color: #c33; }
.contact-submit {
    min-width: 140px;
    background: var(--navy);
    color: var(--gold-light);
    border: 0;
    padding: 9px 17px;
    font-size: 11px;
    font-weight: 700;
}
.contact-submit:hover {
    background: #0b2847;
    color: #fff;
}
.contact-success {
    text-align: center;
    padding: 38px 15px;
}
.contact-success > i {
    color: #2e9b58;
    font-size: 48px;
}
.contact-success h3 { font-size: 18px; margin: 9px 0 3px; }
.contact-success p { color: #777; font-size: 11px; }
.contact-success button {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 5px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 10px;
}

.contact-side { display: flex; flex-direction: column; gap: 12px; }
.contact-address-card { padding: 16px; }
.address-row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #eee;
}
.address-row i {
    width: 18px;
    color: #b1832f;
    text-align: center;
}
.address-row p {
    color: #555;
    font-size: 10px;
    line-height: 1.7;
    margin: 0;
}
.map-direction-btn {
    display: block;
    text-align: center;
    background: var(--navy);
    color: var(--gold-light);
    padding: 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
}
.map-placeholder {
    height: 185px;
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd9d1;
    border-radius: 8px;
    background: #e7e3d9;
}
.map-grid {
    position: absolute;
    inset: 0;
    opacity: .7;
    background-image:
        linear-gradient(30deg, transparent 45%, rgba(255,255,255,.8) 46%, rgba(255,255,255,.8) 49%, transparent 50%),
        linear-gradient(120deg, transparent 45%, rgba(255,255,255,.8) 46%, rgba(255,255,255,.8) 49%, transparent 50%),
        linear-gradient(#d6d1c6 1px, transparent 1px),
        linear-gradient(90deg, #d6d1c6 1px, transparent 1px);
    background-size: 130px 130px, 160px 160px, 35px 35px, 35px 35px;
}
.map-road {
    position: absolute;
    background: #fff;
    box-shadow: 0 0 0 1px #d2cec4;
    transform: rotate(-20deg);
}
.road-a { width: 130%; height: 17px; top: 70px; left: -15%; }
.road-b { width: 120%; height: 12px; top: 128px; left: -5%; transform: rotate(24deg); }
.map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-60%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navy);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    rotate: -45deg;
    box-shadow: 0 3px 9px rgba(0,0,0,.25);
}
.map-pin i { rotate: 45deg; color: var(--gold); }
.map-label {
    position: absolute;
    left: 50%;
    top: 71%;
    transform: translateX(-50%);
    padding: 4px 7px;
    background: #fff;
    border-radius: 3px;
    color: #333;
    font-size: 8px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,.12);
}
.map-note {
    position: absolute;
    right: 6px;
    bottom: 5px;
    color: #888;
    font-size: 7px;
}
.social-contact-card { padding: 13px 16px; }
.social-contact-card h3 { font-size: 14px; margin: 0 0 1px; }
.social-contact-card p { color: #777; font-size: 9px; margin: 0 0 8px; }
.contact-socials { display: flex; gap: 7px; }
.contact-socials a {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #26313d;
}
.contact-socials a:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }

.contact-bottom-help {
    margin-top: 16px;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 11px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-bottom-help > div { display: flex; align-items: center; gap: 11px; }
.contact-bottom-help > div > i { color: var(--gold); font-size: 29px; }
.contact-bottom-help h3 { font-size: 13px; margin: 0 0 1px; }
.contact-bottom-help p { color: #ccc; font-size: 9px; margin: 0; }
.contact-bottom-help > a {
    color: #162333;
    background: var(--gold);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .social-contact-card { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .contact-hero { min-height: 150px; }
    .contact-hero h1 { font-size: 30px; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-side { grid-template-columns: 1fr; }
    .social-contact-card { grid-column: auto; }
    .contact-bottom-help { align-items: flex-start; flex-direction: column; gap: 10px; }
    .contact-bottom-help > a { width: 100%; text-align: center; }
}


/* STEP 8 — Dynamic Platform */
.platform-hero {
    min-height: 175px;
    display: flex;
    align-items: center;
}
.platform-hero h1 {
    color: var(--gold-light);
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 5px;
}
.platform-hero p { color:#eee; font-size:15px; margin:0; }
.platform-page-section { background:#f8f8f7; padding:18px 0 30px; }
.platform-breadcrumb {
    display:flex; gap:9px; align-items:center;
    color:#777; font-size:12px; margin-bottom:15px;
}
.platform-breadcrumb a { color:#777; }
.platform-breadcrumb i { font-size:10px; color:#aaa; }

.platform-intro {
    background:#fff; border:1px solid #e3e0db; border-radius:9px;
    padding:17px 20px; display:flex; justify-content:space-between;
    align-items:center; gap:15px; margin-bottom:12px;
}
.platform-kicker { color:#a17a2c; font-size:9px; font-weight:800; letter-spacing:1px; }
.platform-intro h2 { font-size:22px; font-weight:800; margin:3px 0; }
.platform-intro p { color:#777; font-size:10px; margin:0; }
.platform-db-status {
    display:flex; align-items:center; gap:7px;
    padding:7px 10px; border-radius:5px;
    background:#e9f7ef; color:#25804a; font-size:9px; font-weight:700;
}
.platform-db-status i { font-size:15px; }

.platform-filter {
    display:flex; gap:6px; flex-wrap:wrap; margin-bottom:12px;
}
.platform-filter-btn {
    border:1px solid #ddd7ce; background:#fff; color:#555;
    border-radius:5px; padding:7px 12px; font-family:inherit;
    font-size:10px; cursor:pointer;
}
.platform-filter-btn:hover,
.platform-filter-btn.active {
    background:var(--navy); border-color:var(--navy); color:var(--gold-light);
}

.platform-card {
    height:100%; min-height:205px; background:#fff;
    border:1px solid #e3e0db; border-radius:9px; padding:17px;
    transition:.2s; position:relative; overflow:hidden;
}
.platform-card:hover {
    transform:translateY(-2px);
    border-color:rgba(215,164,60,.55);
    box-shadow:0 7px 20px rgba(0,0,0,.06);
}
.platform-card-icon {
    width:48px; height:48px; display:grid; place-items:center;
    border-radius:8px; background:#f4ecdc; color:#a67c2d; font-size:23px;
    margin-bottom:9px;
}
.platform-card-category {
    display:inline-block; color:#9a752e; background:#f7eedc;
    padding:3px 6px; border-radius:3px; font-size:8px;
}
.platform-card h3 { font-size:15px; font-weight:800; margin:8px 0 5px; }
.platform-card p { color:#6f6f6f; font-size:10px; line-height:1.65; min-height:35px; margin:0 0 12px; }
.platform-card-link {
    color:#9a752e; font-size:10px; font-weight:800;
}
.platform-card-link i { margin-left:4px; }
.platform-empty {
    text-align:center; background:#fff; border:1px solid #e3e0db;
    border-radius:8px; padding:50px 20px;
}
.platform-empty i { color:#c69a3d; font-size:35px; }
.platform-empty h3 { font-size:17px; margin:7px 0 2px; }
.platform-empty p { color:#777; font-size:10px; margin:0; }

.platform-learning-note {
    margin-top:15px; background:#fffdf5; border:1px solid #eadfbe;
    border-radius:8px; padding:11px 14px;
}
.platform-learning-note > div { display:flex; align-items:center; gap:10px; }
.platform-learning-note i { color:#c69a3d; font-size:22px; }
.platform-learning-note strong { display:block; color:#7e6028; font-size:10px; }
.platform-learning-note span { display:block; color:#777; font-size:9px; }

@media (max-width:767.98px) {
    .platform-hero h1 { font-size:30px; }
    .platform-intro { align-items:flex-start; flex-direction:column; }
    .platform-db-status { width:100%; }
}


/* STEP 9 — Dynamic News */
.news-hero {
    min-height:175px; display:flex; align-items:center;
}
.news-hero h1 {
    color:var(--gold-light); font-size:38px; font-weight:800; margin:0 0 5px;
}
.news-hero p { color:#eee; font-size:15px; margin:0; }
.news-page-section,.news-detail-section { background:#f8f8f7; padding:18px 0 30px; }
.news-breadcrumb {
    display:flex; gap:9px; align-items:center; color:#777;
    font-size:12px; margin-bottom:15px;
}
.news-breadcrumb a { color:#777; }
.news-breadcrumb i { font-size:10px; color:#aaa; }

.news-toolbar {
    background:#fff; border:1px solid #e3e0db; border-radius:9px;
    padding:17px 20px; display:flex; align-items:center;
    justify-content:space-between; gap:20px; margin-bottom:10px;
}
.news-kicker { color:#a17a2c; font-size:9px; font-weight:800; letter-spacing:1px; }
.news-toolbar h2 { font-size:22px; font-weight:800; margin:3px 0; }
.news-toolbar p { color:#777; font-size:10px; margin:0; }
.news-search {
    width:380px; height:40px; display:flex; position:relative;
}
.news-search > i {
    position:absolute; left:12px; top:50%; transform:translateY(-50%);
    color:#999; z-index:2;
}
.news-search input {
    flex:1; min-width:0; border:1px solid #ddd; border-right:0;
    border-radius:6px 0 0 6px; padding:0 9px 0 34px;
    font-family:inherit; font-size:10px; outline:0;
}
.news-search input:focus { border-color:#c69a3d; }
.news-search button {
    width:68px; border:0; border-radius:0 6px 6px 0;
    background:var(--navy); color:#fff; font-family:inherit;
    font-size:10px; font-weight:700;
}
.news-category-bar {
    display:flex; gap:5px; flex-wrap:wrap; margin-bottom:12px;
}
.news-category-bar a {
    padding:7px 11px; border:1px solid #ddd7ce; border-radius:5px;
    background:#fff; color:#555; font-size:10px;
}
.news-category-bar a.active,
.news-category-bar a:hover {
    background:var(--navy); border-color:var(--navy); color:var(--gold-light);
}
.news-result-head {
    display:flex; justify-content:space-between; align-items:center;
    margin-bottom:8px; color:#555; font-size:11px;
}
.news-result-head strong { color:#9a752e; }
.news-result-head small { color:#888; font-size:9px; }

.news-card {
    height:100%; background:#fff; border:1px solid #e3e0db;
    border-radius:8px; overflow:hidden; transition:.2s;
}
.news-card:hover {
    transform:translateY(-2px);
    box-shadow:0 7px 20px rgba(0,0,0,.06);
    border-color:rgba(215,164,60,.5);
}
.news-card-image {
    height:150px; background:#ece9e1; position:relative; overflow:hidden;
}
.news-card-image img { width:100%; height:100%; object-fit:cover; }
.news-card-image > span {
    position:absolute; top:9px; left:9px; background:var(--navy);
    color:var(--gold-light); padding:4px 7px; border-radius:3px;
    font-size:8px; font-weight:700;
}
.news-image-placeholder {
    width:100%; height:100%; display:grid; place-items:center;
    color:#b99b63; font-size:40px;
}
.news-card-body { padding:12px 13px 14px; }
.news-card-meta {
    display:flex; justify-content:space-between; color:#999;
    font-size:8px; margin-bottom:6px;
}
.news-card-meta span { display:flex; align-items:center; gap:4px; }
.news-card h3 {
    font-size:14px; line-height:1.45; font-weight:800;
    margin:0 0 5px; min-height:40px;
}
.news-card p {
    color:#777; font-size:10px; line-height:1.65;
    margin:0 0 9px; min-height:33px;
}
.news-card a { color:#9a752e; font-size:10px; font-weight:800; }
.news-card a i { margin-left:3px; }

.news-pagination {
    display:flex; justify-content:center; gap:4px; margin-top:18px;
}
.news-pagination a {
    min-width:29px; height:29px; padding:0 8px;
    display:grid; place-items:center; border:1px solid #ddd7ce;
    border-radius:4px; background:#fff; color:#555; font-size:9px;
}
.news-pagination a.active,
.news-pagination a:hover {
    background:var(--navy); border-color:var(--navy); color:var(--gold-light);
}
.news-empty {
    background:#fff; border:1px solid #e3e0db; border-radius:8px;
    text-align:center; padding:55px 20px;
}
.news-empty i { color:#c69a3d; font-size:38px; }
.news-empty h3 { font-size:18px; margin:8px 0 3px; }
.news-empty p { color:#777; font-size:10px; margin:0 0 10px; }
.news-empty a {
    display:inline-block; background:var(--navy); color:var(--gold-light);
    padding:8px 13px; border-radius:5px; font-size:10px; font-weight:700;
}

.news-learning-note {
    margin-top:15px; display:flex; align-items:center; gap:10px;
    background:#fffdf5; border:1px solid #eadfbe; border-radius:8px;
    padding:11px 14px;
}
.news-learning-note > i { color:#c69a3d; font-size:22px; }
.news-learning-note strong { display:block; color:#7e6028; font-size:10px; }
.news-learning-note span { display:block; color:#777; font-size:9px; }

.news-detail {
    max-width:900px; margin:0 auto; background:#fff;
    border:1px solid #e3e0db; border-radius:9px; overflow:hidden;
}
.news-detail-top { padding:22px 25px 15px; }
.news-detail-top > span {
    display:inline-block; background:#f5ead3; color:#96712d;
    padding:4px 7px; border-radius:3px; font-size:9px; font-weight:700;
}
.news-detail h1 {
    font-size:28px; line-height:1.4; font-weight:800; margin:9px 0;
}
.news-detail-meta {
    display:flex; gap:15px; color:#888; font-size:9px;
}
.news-detail-meta span { display:flex; align-items:center; gap:5px; }
.news-detail-image { width:100%; max-height:450px; overflow:hidden; background:#eee; }
.news-detail-image img { width:100%; display:block; object-fit:cover; }
.news-detail-content { padding:22px 25px; color:#555; font-size:12px; line-height:1.9; }
.news-detail-lead {
    margin-bottom:13px; padding:12px 14px;
    border-left:3px solid var(--gold); background:#fffaf0;
    color:#765d2b; font-weight:600;
}
.news-detail-content p { margin:0; }
.news-detail-footer {
    border-top:1px solid #eee; padding:12px 25px;
}
.news-back { color:#9a752e; font-size:10px; font-weight:800; }

@media (max-width:767.98px) {
    .news-hero h1 { font-size:30px; }
    .news-toolbar { align-items:stretch; flex-direction:column; }
    .news-search { width:100%; }
    .news-card-image { height:170px; }
    .news-detail-top { padding:17px; }
    .news-detail h1 { font-size:22px; }
    .news-detail-content { padding:17px; }
}


/* STEP 10 — Dynamic Events / FullCalendar */
.events-hero {
    min-height:175px; display:flex; align-items:center;
}
.events-hero h1 {
    color:var(--gold-light); font-size:38px; font-weight:800; margin:0 0 5px;
}
.events-hero p { color:#eee; font-size:15px; margin:0; }
.events-page-section,.event-detail-section {
    background:#f8f8f7; padding:18px 0 30px;
}
.events-breadcrumb,.event-breadcrumb {
    display:flex; gap:9px; align-items:center; color:#777;
    font-size:12px; margin-bottom:15px;
}
.events-breadcrumb a,.event-breadcrumb a { color:#777; }
.events-breadcrumb i,.event-breadcrumb i { font-size:10px; color:#aaa; }

.events-toolbar {
    background:#fff; border:1px solid #e3e0db; border-radius:9px;
    padding:17px 20px; display:flex; justify-content:space-between;
    align-items:center; gap:15px; margin-bottom:10px;
}
.events-kicker {
    color:#a17a2c; font-size:9px; font-weight:800; letter-spacing:1px;
}
.events-toolbar h2 { font-size:22px; font-weight:800; margin:3px 0; }
.events-toolbar p { color:#777; font-size:10px; margin:0; }
.events-db-status {
    display:flex; align-items:center; gap:7px;
    padding:7px 10px; border-radius:5px;
    background:#e9f7ef; color:#25804a; font-size:9px; font-weight:700;
}
.events-db-status i { font-size:15px; }

.events-category-filter {
    display:flex; gap:5px; flex-wrap:wrap; margin-bottom:12px;
}
.event-filter-btn {
    border:1px solid #ddd7ce; background:#fff; color:#555;
    border-radius:5px; padding:7px 12px; font-family:inherit;
    font-size:10px; cursor:pointer;
}
.event-filter-btn.active,.event-filter-btn:hover {
    background:var(--navy); border-color:var(--navy); color:var(--gold-light);
}

.calendar-wrap {
    background:#fff; border:1px solid #e3e0db; border-radius:9px;
    padding:15px; overflow:hidden;
}
#eventCalendar { font-size:11px; }
#eventCalendar .fc-toolbar-title {
    font-size:18px; font-weight:800;
}
#eventCalendar .fc-button {
    background:var(--navy); border-color:var(--navy);
    font-size:10px; box-shadow:none;
}
#eventCalendar .fc-button:hover,
#eventCalendar .fc-button-active {
    background:#8f6d2b; border-color:#8f6d2b;
}
#eventCalendar .fc-daygrid-event {
    border:0; padding:2px 4px; font-size:9px;
}
#eventCalendar .fc-event-title { font-weight:700; }
#eventCalendar .fc-daygrid-day-number { color:#555; }
#eventCalendar .fc-day-today { background:#fffaf0 !important; }

.event-list-section { margin-top:18px; }
.event-list-heading {
    display:flex; justify-content:space-between; align-items:end;
    margin-bottom:9px;
}
.event-list-heading > div > span {
    color:#a17a2c; font-size:8px; font-weight:800; letter-spacing:1px;
}
.event-list-heading h3 { font-size:17px; margin:3px 0 0; font-weight:800; }
.event-reload-btn {
    border:1px solid #ddd7ce; background:#fff; color:#666;
    border-radius:5px; padding:7px 10px; font-family:inherit; font-size:9px;
}
.event-list-loading {
    background:#fff; border:1px solid #e3e0db; border-radius:8px;
    text-align:center; padding:30px; color:#777; font-size:10px;
}
.event-list-card {
    height:100%; background:#fff; border:1px solid #e3e0db;
    border-radius:8px; padding:14px; transition:.2s;
}
.event-list-card:hover {
    transform:translateY(-2px); border-color:rgba(215,164,60,.5);
    box-shadow:0 7px 20px rgba(0,0,0,.06);
}
.event-list-category {
    display:inline-block; background:#f5ead3; color:#96712d;
    padding:4px 7px; border-radius:3px; font-size:8px; font-weight:700;
}
.event-list-card h4 {
    font-size:14px; font-weight:800; line-height:1.5;
    margin:8px 0 7px;
}
.event-list-meta {
    display:flex; flex-direction:column; gap:4px; color:#777;
    font-size:9px; margin-bottom:10px;
}
.event-list-meta span { display:flex; gap:5px; align-items:center; }
.event-list-card > a {
    color:#9a752e; font-size:9px; font-weight:800;
}

.events-learning-note {
    margin-top:15px; display:flex; align-items:center; gap:10px;
    background:#fffdf5; border:1px solid #eadfbe; border-radius:8px;
    padding:11px 14px;
}
.events-learning-note > i { color:#c69a3d; font-size:22px; }
.events-learning-note strong { display:block; color:#7e6028; font-size:10px; }
.events-learning-note span { display:block; color:#777; font-size:9px; }

.event-detail-card {
    max-width:900px; margin:0 auto; background:#fff;
    border:1px solid #e3e0db; border-radius:9px; overflow:hidden;
}
.event-detail-header { padding:22px 25px 15px; }
.event-detail-category {
    display:inline-block; background:#f5ead3; color:#96712d;
    padding:4px 7px; border-radius:3px; font-size:9px; font-weight:700;
}
.event-detail-header h1 {
    font-size:28px; line-height:1.4; font-weight:800; margin:9px 0;
}
.event-detail-meta {
    display:flex; flex-wrap:wrap; gap:14px; color:#888; font-size:9px;
}
.event-detail-meta span { display:flex; align-items:center; gap:5px; }
.event-detail-body {
    padding:22px 25px; border-top:1px solid #eee;
    color:#555; font-size:12px; line-height:1.9; min-height:120px;
}
.event-detail-footer {
    border-top:1px solid #eee; padding:12px 25px;
    display:flex; justify-content:space-between; align-items:center;
}
.event-back { color:#9a752e; font-size:10px; font-weight:800; }
.event-action {
    background:var(--navy); color:var(--gold-light);
    padding:8px 12px; border-radius:5px; font-size:9px; font-weight:700;
}
.event-empty {
    background:#fff; border:1px solid #e3e0db; border-radius:8px;
    text-align:center; padding:45px 20px;
}
.event-empty i { color:#c69a3d; font-size:36px; }
.event-empty h3 { font-size:17px; margin:8px 0 3px; }
.event-empty p { color:#777; font-size:10px; margin:0; }
@media (max-width:767.98px) {
    .events-hero h1 { font-size:30px; }
    .events-toolbar { align-items:flex-start; flex-direction:column; }
    .events-db-status { width:100%; }
    .calendar-wrap { padding:7px; }
    #eventCalendar .fc-toolbar { flex-wrap:wrap; gap:5px; }
    #eventCalendar .fc-toolbar-title { font-size:15px; }
    .event-detail-header { padding:17px; }
    .event-detail-header h1 { font-size:22px; }
    .event-detail-body { padding:17px; }
    .event-detail-footer { padding:12px 17px; }
}

/* STEP 10.1 — Events visual refinement
   Keep the Step 9 visual language: clean white cards, compact toolbar,
   gold/navy accents and generous spacing. */
.events-page-section { padding-top:18px; }
.events-toolbar {
    background:#fff;
    border:1px solid #e3e0db;
    border-radius:9px;
    padding:17px 20px;
    margin-bottom:10px;
}
.events-toolbar > div:first-child { min-width:0; }
.events-kicker { letter-spacing:1px; }
.events-toolbar h2 { margin-top:3px; }
.events-category-filter { margin-bottom:12px; }

.calendar-wrap {
    padding:15px;
    border:1px solid #e3e0db;
    box-shadow:0 2px 8px rgba(0,0,0,.025);
}
#eventCalendar { color:#4b4b4b; }
#eventCalendar .fc-toolbar {
    margin-bottom:14px;
    gap:8px;
    flex-wrap:wrap;
}
#eventCalendar .fc-toolbar-title {
    color:#222;
    font-size:19px;
    font-weight:800;
}
#eventCalendar .fc-button-group { gap:4px; }
#eventCalendar .fc-button {
    min-height:32px;
    padding:5px 9px;
    border-radius:5px !important;
    background:var(--navy);
    border:1px solid var(--navy);
    color:#fff;
    font-family:inherit;
    font-size:10px;
    font-weight:700;
    box-shadow:none !important;
    text-transform:none;
}
#eventCalendar .fc-button:hover,
#eventCalendar .fc-button:focus,
#eventCalendar .fc-button-active {
    background:#8f6d2b !important;
    border-color:#8f6d2b !important;
}
#eventCalendar .fc-button:disabled { opacity:.45; }
#eventCalendar .fc-col-header-cell {
    background:var(--navy);
    border-color:var(--navy);
}
#eventCalendar .fc-col-header-cell-cushion {
    color:#fff;
    padding:8px 3px;
    font-size:10px;
    font-weight:700;
}
#eventCalendar .fc-daygrid-day {
    background:#fff;
    border-color:#eee;
}
#eventCalendar .fc-daygrid-day:hover { background:#fcf8ef; }
#eventCalendar .fc-daygrid-day-number {
    margin:5px;
    color:#555;
    font-size:10px;
}
#eventCalendar .fc-day-today {
    background:#fffaf0 !important;
}
#eventCalendar .fc-day-today .fc-daygrid-day-number {
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    margin:4px;
    border-radius:50%;
    background:var(--navy);
    color:#fff;
    font-weight:800;
}
#eventCalendar .fc-daygrid-event {
    margin:2px 4px;
    padding:3px 5px;
    border:0;
    border-radius:4px;
    background:#f4ead2;
    color:#765a24;
    font-size:9px;
    line-height:1.3;
}
#eventCalendar .fc-daygrid-event:hover {
    background:#ead9b3;
}
#eventCalendar .fc-event-title { font-weight:700; }
#eventCalendar .fc-daygrid-more-link {
    color:#9a752e;
    font-size:9px;
    font-weight:700;
}
#eventCalendar .fc-scrollgrid,
#eventCalendar td,
#eventCalendar th { border-color:#eee; }

.event-list-section {
    background:transparent;
    margin-top:18px;
}
.event-list-heading {
    background:#fff;
    border:1px solid #e3e0db;
    border-radius:9px 9px 0 0;
    padding:13px 16px;
    margin-bottom:10px;
}
.event-list-card { min-height:150px; }

@media (max-width:767.98px) {
    .events-toolbar { padding:15px; }
    .calendar-wrap { padding:8px; }
    #eventCalendar .fc-toolbar-title { font-size:15px; }
    #eventCalendar .fc-button { padding:4px 7px; font-size:9px; }
    #eventCalendar .fc-col-header-cell-cushion { font-size:9px; }
    #eventCalendar .fc-daygrid-event { font-size:8px; }
}


/* STEP 10 FINAL — Match Step 9 visual language and fix event-detail class collision */
.event-service-row {
    display:grid; grid-template-columns:repeat(4,1fr); gap:8px;
    background:#fff; border:1px solid #e3e0db; border-radius:9px;
    padding:9px; margin-bottom:14px;
}
.event-service-item {
    display:flex; align-items:center; gap:10px; text-align:left;
    border:0; background:transparent; padding:8px 10px; border-radius:7px;
    color:#222; font-family:inherit; cursor:pointer;
}
.event-service-item:hover,.event-service-item.active { background:#faf6ed; }
.event-service-icon {
    width:42px; height:42px; min-width:42px; border-radius:50%;
    display:grid; place-items:center; color:#fff; font-size:18px;
}
.event-service-icon.auction { background:#c99a3c; }
.event-service-icon.live { background:#d53a36; }
.event-service-icon.event { background:#7258ad; }
.event-service-icon.company { background:#4282b7; }
.event-service-item strong { display:block; font-size:10px; font-weight:800; }
.event-service-item small { display:block; color:#777; font-size:8px; line-height:1.4; margin-top:2px; }
.events-main-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:14px; align-items:start; }
.events-upcoming-panel,.events-calendar-panel {
    background:#fff; border:1px solid #e3e0db; border-radius:9px; overflow:hidden;
}
.events-panel-heading {
    display:flex; justify-content:space-between; align-items:center; gap:10px;
    padding:14px 16px; border-bottom:1px solid #eee;
}
.events-panel-heading > div > span { color:#a17a2c; font-size:8px; font-weight:800; letter-spacing:1px; }
.events-panel-heading h2 { margin:3px 0 0; font-size:17px; font-weight:800; }
.calendar-heading { background:#fff; }
.event-upcoming-card {
    display:grid; grid-template-columns:64px 1fr auto; gap:11px; align-items:center;
    padding:12px; border-bottom:1px solid #eee; min-height:116px;
}
.event-upcoming-card:last-child { border-bottom:0; }
.event-date-box {
    width:58px; height:70px; border-radius:8px; background:#f5f1e9;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    color:#222; border:1px solid #ebe4d7;
}
.event-date-box strong { font-size:25px; line-height:1; font-weight:800; }
.event-date-box span { font-size:9px; color:#9a752e; font-weight:800; text-transform:uppercase; margin-top:2px; }
.event-date-box small { font-size:8px; color:#777; }
.event-upcoming-content { min-width:0; }
.event-upcoming-content .event-type { margin-bottom:4px; }
.event-upcoming-content h3 { font-size:13px; font-weight:800; margin:2px 0 3px; line-height:1.45; }
.event-upcoming-content p { font-size:9px; color:#777; margin:0 0 5px; line-height:1.45; }
.event-upcoming-meta { display:flex; flex-wrap:wrap; gap:8px; color:#777; font-size:8px; }
.event-upcoming-meta span { display:flex; align-items:center; gap:3px; }
.event-detail-btn {
    display:inline-flex; align-items:center; justify-content:center;
    background:var(--navy); color:var(--gold-light); border-radius:5px;
    padding:7px 10px; font-size:8px; font-weight:700; white-space:nowrap;
}
.event-detail-btn:hover { color:#fff; background:#102d49; }
.event-calendar-box { border:0; border-radius:0; padding:12px; box-shadow:none; }
.calendar-legend-new {
    display:flex; flex-wrap:wrap; gap:12px; padding:10px 13px;
    border-top:1px solid #eee; color:#666; font-size:8px;
}
.legend-dot-new { width:7px; height:7px; border-radius:50%; display:inline-block; margin-right:4px; }
.legend-dot-new.auction { background:#c99a3c; }
.legend-dot-new.live { background:#d53a36; }
.legend-dot-new.event { background:#7258ad; }
.legend-dot-new.company { background:#4282b7; }
.events-feature-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:14px; }
.events-feature-card {
    display:flex; align-items:center; gap:10px; background:#fff;
    border:1px solid #e3e0db; border-radius:8px; padding:11px 14px;
}
.events-feature-card > i { color:#c69a3d; font-size:22px; }
.events-feature-card strong { display:block; font-size:10px; font-weight:800; }
.events-feature-card span:not(.feature-status) { display:block; color:#777; font-size:8px; margin-top:2px; }
.events-feature-card a { margin-left:auto; color:#9a752e; font-size:8px; font-weight:800; white-space:nowrap; }
.events-feature-card.safe > i { color:#4f956a; }
.feature-status { margin-left:auto; color:#398057; background:#eaf5ee; padding:4px 6px; border-radius:4px; font-size:7px; font-weight:800; }

/* Full detail page — intentionally does NOT use the old .event-detail-card list style. */
.event-detail-view {
    width:100%; max-width:980px; margin:0 auto; background:#fff;
    border:1px solid #e3e0db; border-radius:10px; overflow:hidden;
    box-shadow:0 3px 14px rgba(0,0,0,.035);
}
.event-detail-view .event-detail-header {
    padding:24px 30px 20px; border-bottom:1px solid #eee;
    background:linear-gradient(180deg,#fff 0%,#fffdfa 100%);
}
.event-detail-view .event-detail-category {
    display:inline-block; padding:5px 9px; border-radius:4px;
    background:#f5ead3; color:#96712d; font-size:9px; font-weight:800;
}
.event-detail-view .event-detail-header h1 {
    color:#18202b; font-size:30px; line-height:1.35; font-weight:800;
    margin:10px 0 10px; max-width:none; word-break:normal; overflow-wrap:break-word;
}
.event-detail-view .event-detail-meta {
    display:flex; flex-wrap:wrap; gap:15px; color:#777; font-size:10px;
}
.event-detail-view .event-detail-meta span { display:flex; align-items:center; gap:5px; }
.event-detail-view .event-detail-meta i { color:#b08431; }
.event-detail-view .event-detail-body {
    padding:25px 30px; border-top:0; color:#555; font-size:12px;
    line-height:1.9; min-height:170px; white-space:normal;
}
.event-detail-view .event-detail-body::before {
    content:'รายละเอียดกิจกรรม'; display:block; color:#18202b;
    font-size:16px; font-weight:800; margin-bottom:8px;
}
.event-detail-view .event-detail-footer {
    border-top:1px solid #eee; padding:14px 30px;
    display:flex; justify-content:space-between; align-items:center; gap:10px;
}
.event-detail-view .event-back { color:#9a752e; font-size:10px; font-weight:800; }
.event-detail-view .event-action {
    background:var(--navy); color:var(--gold-light); padding:9px 14px;
    border-radius:5px; font-size:9px; font-weight:800;
}

@media (max-width:991.98px) {
    .event-service-row { grid-template-columns:1fr 1fr; }
    .events-main-grid { grid-template-columns:1fr; }
}
@media (max-width:767.98px) {
    .event-service-row { grid-template-columns:1fr; }
    .event-service-item { padding:8px; }
    .events-feature-row { grid-template-columns:1fr; }
    .event-upcoming-card { grid-template-columns:58px 1fr; }
    .event-detail-btn { grid-column:2; justify-self:start; }
    .event-detail-view .event-detail-header { padding:18px; }
    .event-detail-view .event-detail-header h1 { font-size:23px; }
    .event-detail-view .event-detail-body { padding:18px; }
    .event-detail-view .event-detail-footer { padding:12px 18px; }
}


/* STEP 10 FINAL v2 — Calendar left / Upcoming Events right */
@media (min-width:992px) {
    .events-main-grid {
        grid-template-columns:1.15fr .85fr;
    }
    .events-calendar-panel {
        grid-column:1;
        grid-row:1;
    }
    .events-upcoming-panel {
        grid-column:2;
        grid-row:1;
    }
}

@media (max-width:991.98px) {
    .events-calendar-panel { order:1; }
    .events-upcoming-panel { order:2; }
}


/* STEP 11 — Dynamic FAQ additions */
.faq-category {
    text-decoration: none;
    cursor: pointer;
}
.faq-category:hover {
    color: #252a31;
    background: #fcfaf5;
}
.faq-category.active:hover {
    color: #fff;
    background: #c69738;
}
.faq-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 16px;
}
.faq-pagination a {
    min-width: 29px;
    height: 29px;
    padding: 0 8px;
    display: grid;
    place-items: center;
    border: 1px solid #ddd7ce;
    border-radius: 4px;
    background: #fff;
    color: #555;
    font-size: 9px;
    text-decoration: none;
}
.faq-pagination a.active,
.faq-pagination a:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--gold-light);
}


/* ============================================================
   STEP 12 — Readability / Larger Typography
   Target users: adults 40+ and users who prefer comfortable text.
   ============================================================ */
html {
    font-size: 16px;
}

body {
    font-size: 16px;
    line-height: 1.75;
}

.site-header .nav-link {
    font-size: 15px;
}

.brand strong {
    font-size: 22px;
}

.brand small {
    font-size: 9px;
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
}

.page-hero p {
    font-size: 17px;
    line-height: 1.75;
}

.breadcrumb,
.faq-breadcrumb,
.contact-breadcrumb {
    font-size: 14px;
}

.faq-category,
.faq-question,
.faq-answer,
.contact-info-card,
.contact-form-panel,
.contact-side,
.contact-bottom-help {
    font-size: 15px;
}

.faq-category b {
    font-size: 14px;
}

.faq-question {
    line-height: 1.6;
}

.faq-answer {
    line-height: 1.9;
}

.faq-hint,
.faq-main-head p {
    font-size: 14px;
}

.contact-info-card span,
.contact-info-card small {
    font-size: 14px;
}

.contact-info-card strong {
    font-size: 18px;
}

.contact-form-panel label,
.contact-consent label {
    font-size: 15px;
    line-height: 1.65;
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
    font-size: 16px;
    min-height: 48px;
}

.contact-form-panel textarea.form-control {
    min-height: 135px;
}

.contact-error,
.contact-server-message {
    font-size: 14px;
}

.contact-submit {
    font-size: 16px;
    min-height: 50px;
}

.contact-panel-heading h2 {
    font-size: 28px;
}

.contact-panel-heading p {
    font-size: 15px;
    line-height: 1.75;
}

.footer-main {
    font-size: 15px;
}

.footer-col a,
.footer-col p,
.footer-brand + p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    font-size: 13px;
}

@media (max-width: 767.98px) {
    body {
        font-size: 16px;
    }

    .site-header .nav-link {
        font-size: 16px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .faq-question,
    .faq-answer,
    .contact-form-panel label,
    .contact-consent label {
        font-size: 16px;
    }
}
