/* =================================================================== */
/* 1. DEFINE YOUR COLOR & DESIGN TOKENS                                */
/* =================================================================== */

:root {
    --KOC-gold: #febc11;
    --KOC-blue: #0b3677;
    --KOC-red: #ee2d2f;
    --KOC-white: #f7f7f5;
    --KOC-text-dark: #333;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;

    /* Font sizes */
    --fs-base: 1rem;
    --fs-nav: 1.2rem;
}

/* ======= */
/* 2. GLOBAL RESET / BASE                                              */
/* ==== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

.outer-container {
    background-color: transparent;
    padding: 0rem;
    /* Sticky footer scaffold */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    font-family: "Tinos", "Times New Roman", Times, serif;
    font-size: var(--fs-base);
    background-color: var(--KOC-gold);
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.15) 100%),
        url("../images/textures/squared-metal.png");
    background-attachment: fixed, fixed;
    background-repeat: no-repeat, repeat;
    background-position: top center, center center;
    transition: background-color 0.3s ease;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ===================== */
/* 3. LAYOUT CONTAINERS  */
/* ===================== */

.white-frame {
    background-color: var(--KOC-white);
    max-width: 1200px;
    margin: 0 auto;
    /* Sticky footer scaffold */
    flex: 1;
    display: flex;
    flex-direction: column;

    padding: 0 var(--space-lg);
    transition: all 0.3s ease;
    position: relative;
    background-image: url("../images/textures/subtle-dark-vertical.png");
    background-repeat: repeat;
    background-attachment: scroll;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.main-body {
    width: 100%;
    /* Sticky footer scaffold */
    flex: 1;
    display: flex;
    flex-direction: column;

    background-color: var(--KOC-blue);
    background-image: url("../images/textures/simple-dashed.png");
    background-repeat: repeat;
    background-attachment: scroll;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ===================== */
/* 4. PAGE SECTIONS      */
/* ===================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-xl);
    min-height: 4.5rem;
    background-color: var(--KOC-red);
    color: var(--KOC-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-repeat: repeat;
    background-attachment: scroll;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--KOC-gold);
    border-bottom: 2px solid var(--KOC-gold);
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0.12) 100%),
        url("../images/textures/subtle-dark-vertical.png");
}

.hero {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    min-height: 400px;
}

/* Placeholder styles for wireframe sections */
.hero-image,
.hero-text,
.welcome-message,
.card,
.contact-form {
    min-height: 150px;
}

.hero-image {
    flex: 2;
    min-width: 300px;
    min-height: 200px;
    background-color: #007bff;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--KOC-white);
}

.hero-text {
    flex: 1;
    min-width: 200px;
    min-height: 200px;
    background-color: #5bc0de;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    color: var(--KOC-white);
}

/* ===================== */
/* HERO SECTION (Updated)*/
/* ===================== */

.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    min-height: 500px;
}

/* --- LEFT COLUMN: IMAGE --- */
.hero-image {
    flex: 2;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    padding: 0;
    order: 1;
}

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

/* --- RIGHT COLUMN: TEXT --- */
.hero-text {
    flex: 1;
    min-width: 300px;
    background-color: #1a2c5b;
    color: var(--KOC-gold);
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

/* Logo Styling */
.hero-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

/* Typography */
.hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    font-weight: normal;
    letter-spacing: 0.05em;
    text-wrap: balance;
}

.hero-location {
    font-size: 1.5rem;
    margin: 0;
    color: var(--KOC-white);
    margin-top: 0.5rem;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .responsive-break {
        display: none;
    }

    .hero {
        min-height: auto;
        flex-direction: column;
    }

    .hero-image {
        /* --- KEY FIX: Changed min-height to height to force sizing --- */
        height: 300px;
        width: 100%;
        flex: none;
    }

    .hero-text {
        width: 100%;
        flex: none;
        padding: 3rem 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.5;
        max-width: 600px;
        margin: 0 auto;
        text-wrap: balance;
    }
}

/* ===================== */
/* WELCOME MESSAGE SECTION*/
/* ===================== */

.welcome-message {
    padding: var(--space-xl) 2rem;
    color: var(--KOC-white);
}

/* --- HEADER WITH HAIRLINES --- */
.welcome-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    grid-column: 1 / -1;
    flex-wrap: nowrap;
}

.welcome-header h2 {
    color: var(--KOC-gold);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

/* The Red Hairlines */
.welcome-header .line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--KOC-red);
    min-width: fit-content;
}

/* --- CONTENT GRID (1/3 - 2/3) --- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

/* --- LEFT COLUMN: PHOTO --- */
.gk-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gk-photo {
    width: 100%;
    background-color: gray;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gk-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gk-caption {
    margin-top: 1rem;
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
    color: #ccc;
    line-height: 1.4;
}

/* --- RIGHT COLUMN: TEXT --- */
.gk-message {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--KOC-white);
}

.gk-message p:first-child {
    margin-top: 0;
}

.gk-message p {
    margin-bottom: 1.5rem;
}

/* Signature Box */
.gk-signature {
    margin-top: 1rem;
    max-width: 250px;
}

.gk-signature img {
    width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 768px) {
    .welcome-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .welcome-header .line {
        width: 100px;
        flex-grow: 0;
    }

    .welcome-header h2 {
        font-size: 1.4rem;
        white-space: normal;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gk-photo-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ================== */
/* NEWS CARDS SECTION */
/* ================== */

.news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

/* THE CARD CONTAINER */
.news-card {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    height: 100%;
    background-color: var(--KOC-blue);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Add a stronger shadow on hover for a nice effect */
.news-card:hover {
    border-color: var(--KOC-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* CARD IMAGE */
.card-image-wrapper {
    width: 100%;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* CARD CONTENT */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: var(--KOC-white);
}

.card-content h3 {
    color: var(--KOC-gold);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.card-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

/* BUTTON (CTA) */
.btn-more {
    margin-top: auto;
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: background-color 0.2s ease;
}

.btn-more:hover {
    background-color: white;
}

/* ================== */
/* CONTACT FORM STYLES*/
/* ================== */

.contact-form-section {
    padding: var(--space-xl) 2rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.koc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: var(--KOC-gold);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group .required {
    color: var(--KOC-red);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 1rem;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--KOC-gold);
    border-color: transparent;
}

/* Submit Button */
.btn-submit {
    align-self: flex-start;
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: white;
    transform: translateY(-2px);
}

/* RESPONSIVE FORM */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .btn-submit {
        width: 100%;
    }
}

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

/* Tablet: 2 Columns */
@media (max-width: 1024px) {
    .news-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile: 1 Column */
@media (max-width: 600px) {
    .news-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contact-form {
    background-color: #5bc0de;
}

.footer {
    background-color: var(--KOC-red);
    color: var(--KOC-white);
    margin-top: auto;
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.3) 100%),
        url("../images/textures/subtle-dark-vertical.png");
    background-repeat: repeat;
    background-attachment: scroll;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--KOC-gold);
    padding: 3.5rem 0 2.5rem;
    position: relative;
}

/* ========================= */
/* 5. NAVIGATION - DESKTOP   */
/* ========================= */

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.navbar .nav-links li {
    position: relative;
}

/* Vertical separator between items (except last) */
.navbar .nav-links li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.25rem;
    height: 1.6rem;
    width: 1px;
    background-color: var(--KOC-white);
}

.navbar .nav-links a {
    color: var(--KOC-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.5rem 0.5rem 1rem;
    position: relative;
    font-size: var(--fs-nav);
    text-align: center;
}

/* Animated underline centered under the text area */
.navbar .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0.4rem;
    left: 1rem;
    right: 2.5rem;
    height: 2px;
    background-color: var(--KOC-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

/* Hover, focus, and active/current-page state */
.navbar .nav-links a:hover::after,
.navbar .nav-links a:focus-visible::after,
.navbar .nav-links a.active::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
}

/* ========================= */
/* FOOTER – NEW LAYOUT       */
/* ========================= */

.site-footer {
    background-color: var(--KOC-red);
    color: var(--KOC-white);
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.3) 100%),
        url("../images/textures/subtle-dark-vertical.png");
    padding: 1rem 0 1.5rem;
    border-top: 2px solid var(--KOC-gold);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    /* Sticky footer: push to bottom when content is short */
    margin-top: auto;
}

.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: start;
    gap: 2rem;
}

/* LEFT - Contact Info */
.footer-contact {
    text-align: left;
    padding-top: 0.5rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--KOC-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--KOC-gold);
}

/* CENTER - Logo and Council Name */
.footer-center {
    text-align: center;
    padding: 0 1rem;
}

.footer-center img {
    width: 100%;
    display: block;
    margin: 0 auto 0.5rem;
}

.footer-center h3 {
    margin: 0.5rem 0 0;
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1.3;
}

/* RIGHT - Navigation Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    padding-top: 0.5rem;
}

.footer-links li {
    margin: 0.5rem 0;
}

.footer-links a {
    color: var(--KOC-white);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background-color: var(--KOC-gold);
    transition: width 0.25s ease;
}

.footer-links a:hover {
    color: var(--KOC-gold);
}

.footer-links a:hover::after {
    width: 100%;
}

/* BOTTOM - Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 1rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.9rem;
    opacity: 0.85;
    text-align: center;
}

/* ========================= */
/* 6. RESPONSIVE - MOBILE    */
/* ========================= */

@media (max-width: 768px) {
    body {
        background-color: var(--KOC-blue);
        background-image: none;
    }

    .outer-container {
        padding: 0;
        background-color: var(--KOC-blue);
    }

    .white-frame {
        background-color: transparent;
        background-image: none;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--KOC-gold);
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 180px;
        max-width: 90%;
        padding: var(--space-xs) 0;
        z-index: 10;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-links.active {
        display: block;
    }

    .navbar .nav-links li {
        width: 100%;
    }

    /* No vertical separator on mobile */
    .navbar .nav-links li::before {
        display: none;
    }

    .navbar .nav-links li + li {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-links a {
        color: var(--KOC-text-dark);
        font-size: 1.2rem;
        text-align: left;
        justify-content: flex-start;
        padding: 0.6rem 1.2rem;
    }

    .navbar .nav-links a::after {
        background-color: var(--KOC-text-dark);
        bottom: 0.25rem;
        left: 1.2rem;
        right: 1.2rem;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--KOC-white);
        cursor: pointer;
    }

    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    /* Reorder for mobile: logo first */
    .footer-center {
        order: 1;
        padding: 0 0 1rem 0;
    }

    .footer-contact {
        order: 2;
        text-align: center;
        padding-top: 0;
    }

    .footer-links {
        order: 3;
        text-align: center;
        padding-top: 0;
        display: none;
    }

    .footer-center h3 {
        font-size: 1.3rem;
    }

    .footer-links li {
        margin: 0.6rem 0;
    }

    .footer-bottom {
        padding: 1rem 1.5rem 0;
        font-size: 0.85rem;
    }
}

/* ========================= */
/* TABLET ADJUSTMENTS        */
/* ========================= */

@media (max-width: 1024px) and (min-width: 769px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 1.5rem;
    }

    .footer-center h3 {
        font-size: 1.4rem;
    }
}

/* =================================================================== */
/* CALENDAR OVERRIDES (FullCalendar v6)                                */
/* =================================================================== */

#calendar-wrapper {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #333;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 1. Header Toolbar */
.fc-toolbar-title {
    font-family: "Tinos", serif !important;
    font-weight: bold;
    color: var(--KOC-blue);
    text-transform: uppercase;
    font-size: 1.5rem !important;
}

/* 2. Buttons (Prev, Next, Today) */
.fc .fc-button-primary {
    background-color: var(--KOC-blue);
    border-color: var(--KOC-blue);
    border-radius: 4px;
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.fc .fc-button-primary:hover {
    background-color: var(--KOC-red);
    border-color: var(--KOC-red);
}

.fc .fc-button-primary:disabled {
    background-color: #ccc;
    border-color: #ccc;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: var(--KOC-gold);
    border-color: var(--KOC-gold);
    color: var(--KOC-blue);
}

/* 3. The Grid */
.fc-theme-standard th {
    background-color: var(--KOC-blue);
    color: var(--KOC-gold);
    padding: 10px 0;
    border-color: var(--KOC-blue);
    font-weight: normal;
    letter-spacing: 1px;
}

.fc-daygrid-day-number {
    color: var(--KOC-blue);
    font-weight: bold;
    text-decoration: none;
    font-family: sans-serif;
}

.fc-day-today {
    background-color: rgba(254, 188, 17, 0.15) !important;
    /* Light Gold background */
}

/* 4. The Events (The "Chips") */
.fc-event {
    cursor: pointer;
    border: none !important;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

.fc-event:hover {
    transform: scale(1.02);
    z-index: 5;
}

/* Force standard events to be Blue */
.fc-daygrid-event {
    background-color: var(--KOC-blue) !important;
    color: var(--KOC-white) !important;
    font-size: 0.85rem;
    padding: 2px 4px;
}

/* Dot events (sometimes used in list view) */
.fc-daygrid-event-dot {
    border-color: var(--KOC-gold) !important;
}

/* 5. List View (Mobile preferred) */
.fc-list-event-title a {
    color: var(--KOC-blue) !important;
    font-weight: bold;
    text-decoration: none;
}

.fc-list-day-cushion {
    background-color: var(--KOC-gold) !important;
    color: var(--KOC-blue);
}

/* Remove default blue hyperlinks on dates */
.fc a {
    text-decoration: none;
}

/* =================================================================== */
/* SUB-PAGE HERO (Banner Style & Blue Overlay Box)                     */
/* =================================================================== */

.hero.sub-page-hero {
    display: block;
    position: relative;
    width: 100%;
    /* Important: Reset min-height so the fixed height works */
    min-height: 0 !important;
    height: 380px;
    /* Increased slightly to give the box breathing room */
    overflow: hidden;
    border-bottom: 4px solid var(--KOC-gold);
}

/* Background Image */
.hero.sub-page-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    flex: none;
    z-index: 1;
}

.hero.sub-page-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- THE BLUE OVERLAY BOX --- */
.hero.sub-page-hero .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: absolute;
    z-index: 2;

    /* Centering Logic */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* FIXED: Auto height matches the text content */
    height: auto !important;
    min-height: 0 !important;

    /* FIXED: Padding controls the space above/below the text */
    /* Top/Bottom: 3rem, Left/Right: 2rem */
    padding: 3rem 2rem;

    /* Box Styling */
    background-color: rgba(11, 54, 119, 0.9);
    border: 1px solid var(--KOC-gold);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Sizing */
    width: 90%;
    max-width: 600px;
}

/* "HALL AVAILABILITY" Text */
.hero.sub-page-hero .hero-text h1 {
    color: var(--KOC-gold);
    font-family: "Tinos", serif;
    font-size: 2.2rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    /* Added a little more space below the main header */
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* "FIND THE PERFECT DATE..." Text */
.hero.sub-page-hero .hero-text .hero-subtitle {
    color: white;
    font-family: "Tinos", serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
    opacity: 0.9;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero.sub-page-hero {
        height: 300px;
        min-height: 0 !important;
    }

    .hero.sub-page-hero .hero-text {
        padding: 1.5rem 1rem;
        width: 85%;
    }

    .hero.sub-page-hero .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero.sub-page-hero .hero-text .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
}

/* =================================================================== */
/* PUBLIC CALENDAR OVERRIDES (Force Red for Availability)              */
/* =================================================================== */

#calendar[data-mode="public"] .fc-event {
    background-color: var(--KOC-red) !important;
    border-color: var(--KOC-red) !important;
    color: white !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

#calendar[data-mode="public"] .fc-event-main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#calendar[data-mode="public"] .fc-event {
    cursor: default;
}

/* =================================================================== */
/* PAGE SPECIFIC MODIFIERS                                             */
/* =================================================================== */

.narrow-header {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.extra-top-padding {
    padding-top: 4rem !important;
}

/* =================================================================== */
/* CALENDAR TOOLBAR ALIGNMENT FIX                                      */
/* =================================================================== */

.fc-header-toolbar {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    /* Left, Center, Right */
    align-items: center;
}

.fc-toolbar-chunk:first-child {
    justify-self: start;
}

.fc-toolbar-chunk:nth-child(2) {
    justify-self: center;
}

.fc-toolbar-chunk:last-child {
    justify-self: end;
}

/* =================================================================== */
/* SUB-NAVIGATION (Jump Buttons)                                       */
/* =================================================================== */

.sub-nav {
    background-color: rgba(11, 54, 119, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: sticky;
    top: 80px;
    z-index: 990;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sub-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sub-nav a {
    color: var(--KOC-gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--KOC-gold);
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sub-nav a:hover {
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    box-shadow: 0 4px 8px rgba(254, 188, 17, 0.3);
}

/* Adjust scroll offset */
html {
    scroll-padding-top: 160px;
}

@media (max-width: 768px) {
    .sub-nav {
        top: 4.5rem;
        padding: 0.75rem 0;
    }

    .sub-nav-inner {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .sub-nav a {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        flex: 1 1 auto;
        text-align: center;
        border-right: 1px solid var(--KOC-gold);
    }
}

/* =================================================================== */
/* FORM BUTTONS                                                        */
/* =================================================================== */

.form-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-submit {
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    flex: 0 0 auto;
}

.btn-submit:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--KOC-white);
    border: 1px solid var(--KOC-white);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-download:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--KOC-gold);
    color: var(--KOC-gold);
}

@media (max-width: 600px) {
    .form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .btn-submit,
    .btn-download {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* =================================================================== */
/* AMENITIES ICON GRID                                                 */
/* =================================================================== */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--KOC-blue);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.amenity-card:hover {
    transform: translateY(-5px);
    border-color: var(--KOC-gold);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.amenity-card h4 {
    color: var(--KOC-white);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.amenity-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .amenity-card {
        padding: 1.5rem 0.5rem;
    }
}

/* ===================== */
/* THANK YOU PAGE CONTENT*/
/* ===================== */

.thankyou-content {
    max-width: 900px;
    margin: 3rem auto;
    text-align: left;
    color: var(--KOC-white);
    font-size: 1.2rem;
    line-height: 1.6;
}

.thankyou-content h2 {
    color: var(--KOC-gold);
    margin-bottom: 1rem;
}

.pill-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pill-button:hover {
    background-color: #ffc933;
}

/* =================================================================== */
/* ABOUT PAGE STYLES                                                   */
/* =================================================================== */

/* --- GRAND KNIGHT SECTION --- */
/* (In case you deleted this from the original file) */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.gk-photo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gk-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    /* Forces a perfect square */
    background-color: #0b3677;
    border: 4px solid var(--KOC-gold);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.gk-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gk-caption {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--KOC-gold);
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.gk-message {
    font-size: 1.1rem;
    line-height: 1.8;
    /* Nice readable spacing */
    color: var(--KOC-white);
    text-align: left;
}

.gk-message p {
    margin-bottom: 1.5rem;
}

/* --- OFFICER GRID --- */
.officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.officer-card {
    background-color: rgba(0, 0, 0, 0.2);
    /* Darken slightly */
    border: 1px solid rgba(254, 188, 17, 0.3);
    /* Subtle gold border */
    padding: 1.5rem;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.officer-card:hover {
    transform: translateY(-5px);
    border-color: var(--KOC-gold);
    background-color: rgba(0, 0, 0, 0.4);
}

.officer-card h3 {
    color: var(--KOC-gold);
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
}

.officer-card p {
    color: var(--KOC-white);
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

/* RESPONSIVE GK SECTION */
@media (max-width: 768px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gk-photo-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }

    .gk-message {
        text-align: center;
        /* Center text on mobile for better balance */
    }
}

/* =================================================================== */
/* 1. OFFICERS (The "Amenities" Card Look)                             */
/* =================================================================== */

.officer-grid {
    display: grid;
    /* Responsive Grid: Cards will never get smaller than 200px */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.officer-card {
    background-color: rgba(11, 54, 119, 0.6);
    /* Semi-transparent Blue */
    border: 1px solid rgba(254, 188, 17, 0.2);
    /* Subtle Gold Border */
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.officer-card:hover {
    transform: translateY(-5px);
    /* Pop up effect */
    border-color: var(--KOC-gold);
    background-color: rgba(11, 54, 119, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* The Gold Circle Icon */
.officer-icon {
    width: 60px;
    height: 60px;
    background-color: var(--KOC-gold);
    color: var(--KOC-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.officer-card h3 {
    color: var(--KOC-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.officer-card p {
    color: var(--KOC-gold);
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

/* =================================================================== */
/* 2. CHARTER MEMBERS (The "Plaque" Look)                              */
/* =================================================================== */

.charter-plaque {
    max-width: 900px;
    margin: 0 auto;
    border: 4px double var(--KOC-gold);
    /* Double border like a frame */
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.plaque-intro p {
    font-family: "Tinos", serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.charter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /* Split into columns */
    column-count: 3;
    column-gap: 2rem;
    column-rule: 1px solid rgba(255, 255, 255, 0.1);
    /* Line between columns */
    text-align: left;
    /* Keep names left aligned within columns */
}

.charter-list li {
    color: var(--KOC-white);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    break-inside: avoid;
}

@media (max-width: 768px) {
    .charter-list {
        column-count: 1;
        /* Single column on mobile */
        text-align: center;
    }
}

/* =================================================================== */
/* 3. PAST GRAND KNIGHTS (Responsive Grid)                             */
/* =================================================================== */

.pgk-container {
    display: grid;
    /* MAGIC LINE: Creates as many 300px columns as will fit on screen */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.5rem;
    /* Space between the boxes */

    max-width: 1100px;
    margin: 0 auto 30px auto !important;
    /* Spacing fix included */
    padding-top: 1rem;
}

.pgk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    /* Subtle background */
    border-radius: 4px;
    border-left: 3px solid transparent;
    /* Invisible border for hover effect */
    transition: all 0.2s ease;
}

.pgk-row:hover {
    background-color: rgba(254, 188, 17, 0.15);
    /* Gold tint on hover */
    border-left: 3px solid var(--KOC-gold);
    /* Gold indicator on hover */
    transform: translateX(2px);
}

.pgk-year {
    color: var(--KOC-gold);
    font-weight: bold;
    font-family: monospace;
    font-size: 1rem;
    flex-shrink: 0;
    /* Ensures year doesn't get squished */
}

.pgk-name {
    color: var(--KOC-white);
    text-align: right;
    font-weight: 500;
    font-size: 0.95rem;
    padding-left: 10px;
    /* Space between year and name */
}

/* =================================================================== */
/* OFFICER MICRO-PAGE STYLES                                           */
/* =================================================================== */

.officer-detail-section {
    padding: 3rem 2rem;
    color: var(--KOC-white);
}

.officer-split-layout {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
    /* Aligns top of image with top of text */
}

/* --- Left Column: Emblem --- */
.officer-emblem-col {
    flex: 1;
    /* Takes up 1 part of space */
    max-width: 350px;
    display: flex;
    justify-content: center;
}

.officer-emblem-col img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    /* Optional: subtle shadow or border for the emblem */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

/* --- Right Column: Info --- */
.officer-info-col {
    flex: 2;
    /* Takes up 2 parts of space (wider) */
}

.officer-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(254, 188, 17, 0.3);
    padding-bottom: 1rem;
}

.officer-header h1 {
    color: var(--KOC-white);
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: normal;
}

.officer-name {
    color: var(--KOC-gold);
    font-size: 1.5rem;
    margin: 0.5rem 0 0 0;
}

.officer-body h3 {
    color: var(--KOC-gold);
    font-style: italic;
    /* Matches your screenshot style */
    font-family: "Tinos", serif;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: none;
    /* Override default if needed */
}

.officer-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .officer-split-layout {
        flex-direction: column;
        /* Stack them */
        align-items: center;
    }

    .officer-emblem-col {
        max-width: 200px;
        /* Smaller image on mobile */
        margin-bottom: 2rem;
    }

    .officer-header h1 {
        font-size: 1.5rem;
    }

    .officer-info-col {
        text-align: left;
    }
}

/* =================================================================== */
/* CLICKABLE OFFICER CARD STYLES                                       */
/* =================================================================== */

/* 1. Reset standard link styles on the card */
a.officer-card {
    text-decoration: none;
    /* Removes underline */
    cursor: pointer;
    display: flex;
    /* Ensures it keeps the flex layout */
}

/* 2. Ensure text colors remain correct inside the link */
a.officer-card h3 {
    color: var(--KOC-white);
    /* Keep Title White */
    transition: color 0.2s ease;
}

a.officer-card p {
    color: var(--KOC-gold);
    /* Keep Name Gold */
}

/* 3. Hover Effects (The whole card reacts) */
a.officer-card:hover {
    transform: translateY(-5px);
    border-color: var(--KOC-gold);
    background-color: rgba(11, 54, 119, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Optional: Make the title turn Gold on hover to show interaction */
a.officer-card:hover h3 {
    color: var(--KOC-gold);
    text-decoration: underline;
}

/* =================================================================== */
/* MEMBERS PORTAL STYLES                                               */
/* =================================================================== */

/* --- 1. PASSWORD GATE OVERLAY --- */
#login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 54, 119, 0.95); /* Deep Blue */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    z-index: 9999; /* Sit on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.login-box {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 4px solid var(--KOC-gold);
}

.login-logo {
    width: 80px;
    margin: 0 auto 1.5rem;
    display: block;
}

.login-box h2 {
    color: var(--KOC-blue);
    margin-bottom: 0.5rem;
}

.login-box input {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1rem;
    text-align: center;
}

/* --- 2. DASHBOARD LAYOUT --- */
.admin-dashboard {
    display: flex;
    flex-direction: column; 
    gap: 3rem;
    margin-top: 1rem;
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto;
}

.dashboard-col {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    width: 100%; 
}
/* Titles for the columns */
.dashboard-title {
    background-color: var(--KOC-red);
    color: white;
    margin: 0;
    padding: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 4px solid var(--KOC-gold);
}

.dashboard-title i {
    margin-right: 0.5rem;
}

/* --- 3. ADMIN FORM STYLING --- */
.admin-form-box {
    padding: 1.5rem;
    background-color: #f4f4f4; 
    height: 100%;
}

.admin-form-box label {
    color: var(--KOC-text-dark); 
    font-size: 0.95rem;
}

.admin-form-box input, 
.admin-form-box textarea {
    background-color: white;
    border: 1px solid #ccc;
}

.admin-form-box input:focus, 
.admin-form-box textarea:focus {
    border-color: var(--KOC-blue);
    outline: none;
}

/* --- RESPONSIVE DASHBOARD --- */
@media (max-width: 1024px) {
    .admin-dashboard {
        grid-template-columns: 1fr; /* Stack them on tablets/mobile */
    }
    
}

/* Grey Button Style for Reset/Clear actions */
.btn-secondary {
    background-color: #6c757d !important;
    border: 1px solid #6c757d !important;
    color: white !important;
}
.btn-secondary:hover {
    background-color: #5a6268 !important;
    transform: translateY(-2px);
}

/* =================================================================== */
/* GALLERY PAGE STYLES                                                 */
/* =================================================================== */

.gallery-grid {
    display: grid;
    /* Responsive Grid: Auto-fill columns, minimum 250px wide */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0 2rem 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3; /* Forces standard photo shape */
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Hover Effect: Zoom Image */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Hover Overlay: Darken + Icon */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 54, 119, 0.6); /* Blue Tint */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; /* Show on hover */
}

.gallery-overlay i {
    color: var(--KOC-gold);
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* =================================================================== */
/* CLICKABLE NEWS CARD FIX                                             */
/* =================================================================== */

a.news-card {
    text-decoration: none; /* Remove underline */
    cursor: pointer;
    display: flex;         /* Maintain layout */
    flex-direction: column;
}

/* Ensure the title stays Gold/White and doesn't turn blue link color */
a.news-card .card-content h3 {
    transition: color 0.2s ease;
}

/* Hover Effect: Turn title white when hovering the card */
a.news-card:hover .card-content h3 {
    color: var(--KOC-white);
    text-decoration: underline;
    text-decoration-color: var(--KOC-gold);
}