/* --- Global & Variables --- */
:root {
    --primary-color: #d15b28;
    --brand-green: #F9AB00;
    /* Keeping var name generic but using brand color */
    --text-color: #333;
    --bg-color: #f8f9fa;
    /* Page bg soft gray */
    --border-color: #ebecf0;
    --header-font: 'Inter', system-ui, -apple-system, sans-serif;
    --body-font: 'Inter', system-ui, -apple-system, sans-serif;
    --card-radius: 24px;
    --pill-radius: 50px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
    scrollbar-gutter: stable;
}

a {
    color: #F9AB00;
    text-decoration: unset !important;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #F9AB00;
    text-decoration: underline !important;
}


.legacy-calendar-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    font-family: var(--body-font);
    color: var(--text-color);
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 600px;
    /* Prevent footer jump */
    /* Card Style */
    /* background: #fff; */
    /* border-radius: var(--card-radius); */
    /* box-shadow: var(--shadow-soft); */
    /* padding: 30px; */
}

/* --- Skeleton Loader --- */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.legacy-skeleton-wrapper {
    display: grid;
    grid-template-columns: 45% 1fr;
    /* Matching details page */
    gap: 40px;
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .legacy-skeleton-wrapper {
        grid-template-columns: 1fr;
    }
}

.skeleton-box {
    background: #f0f0f0;
    background-image: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 12px;
}

.skeleton-image {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    /* Match card radius */
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.skeleton-title {
    width: 80%;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.skeleton-meta {
    width: 50%;
    height: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.skeleton-text {
    width: 100%;
    height: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.skeleton-text:last-child {
    width: 70%;
}

/* Details Page css */

.legacy-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}



/* .legacy-details-actions a:hover {
    color: #fff !important;
} */

/* Ensure inner content fills wrapper */
#legacy-calendar-main-content {
    width: 100%;
    min-height: 600px;

    /* Prevent vertical collapse during AJAX */
    #legacy-calendar-main-content {
        width: 100%;
        min-height: 600px;
        /* Prevent vertical collapse during AJAX */
        transition: opacity 0.2s ease-in-out;
    }

    .legacy-fade-out {
        opacity: 0.5;
        pointer-events: none;
    }

    .legacy-calendar-wrapper * {
        box-sizing: border-box;
    }

    h3,
    h4 {
        font-family: var(--header-font);
        font-weight: normal;
        margin: 0;
    }

    /* --- Header Controls --- */
    .legacy-controls-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        padding: 0;
        border: none;
        margin-bottom: 30px;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* --- Search Wrapper --- */
    .legacy-search-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        margin-right: auto;
        /* Push others to right if needed, or just normal flow */
    }

    .search-icon {
        position: absolute;
        right: 15px;
        /* Icon on the right */
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        width: 18px;
        height: 18px;
        opacity: 1;
        transition: opacity 0.2s;
    }

    .legacy-search-wrapper.has-text .search-icon {
        opacity: 0;
    }

    .legacy-search-input {
        padding: 12px 40px 12px 20px;
        border: 1px solid #dde3ea;
        border-radius: var(--pill-radius);
        font-size: 14px;
        width: 300px;
        outline: none;
        transition: all 0.2s;
        /* background: #f9f9f9; */
        color: #333;
    }

    .legacy-nav-group {
        display: flex;
        align-items: center;
        gap: 0px !important;
    }

    .legacy-search-input:focus {
        border-color: #F9AB00;
        box-shadow: 0 0 0 2px rgba(249, 171, 0, 0.2);
    }

    .legacy-clear-btn {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 18px;
        color: #999;
        cursor: pointer;
        line-height: 1;
        padding: 0 5px;
    }

    .legacy-clear-btn:hover {
        color: #666;
    }

    /* States */
    .legacy-dim {
        opacity: 0.3;
        transition: opacity 0.3s;
    }

    .legacy-highlight {
        border: 2px solid #F9AB00 !important;
        box-shadow: 0 0 10px rgba(249, 171, 0, 0.3);
        transition: all 0.3s;
    }

    /* Date Paginator */
    /* Date Paginator */
    .legacy-date-paginator {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Centered layout */
        gap: 20px;
        /* Generous spacing */
        margin-bottom: 20px;
    }

    .legacy-nav-arrow {
        background: transparent;
        /* Reset default */
        border: 1px solid #ccc;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        font-size: 18px;
        /* Larger icon */
        color: #555;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        /* Reset padding for flex centering */
        transition: all 0.2s ease;
        box-shadow: none;
    }

    .legacy-nav-arrow:hover {
        transform: scale(1.1);
        border-color: #F9AB00;
    }

    .legacy-nav-arrow:hover svg path {
        fill: #F9AB00 !important;
    }

    .legacy-current-date-display {
        background: transparent;
        border: none;
        padding: 0;
        font-size: 24px;
        font-weight: 800;
        /* Bold */
        color: #222;
        min-width: auto;
        text-align: center;
        letter-spacing: -0.5px;
    }

    /* Right Actions (Header + Tabs) */
    .legacy-right-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: transparent;
        padding: 0;
        border: none;
        margin-bottom: 25px;
        width: 100%;
    }

    .legacy-view-heading {
        margin: 0;
        margin-bottom: 5px;
        /* Slight adjustment if needed, or keep margin: 0 */
    }

    .legacy-view-switcher {
        display: flex;
        gap: 5px;
    }

    .legacy-view-switcher button {
        background: transparent;
        border: 1px solid #dde3ea;
        padding: 8px 20px;
        margin-left: 0;
        cursor: pointer;
        font-size: 14px;
        color: #666;
        border-radius: var(--pill-radius);
        transition: all 0.2s;
        font-weight: 500;
    }

    .legacy-view-switcher button:first-child {
        border-top-left-radius: var(--pill-radius);
        border-bottom-left-radius: var(--pill-radius);
        margin-left: 0;
    }

    .legacy-view-switcher button:last-child {
        border-top-right-radius: var(--pill-radius);
        border-bottom-right-radius: var(--pill-radius);
    }

    .legacy-view-switcher button.active {
        background: #F9AB00;
        color: #fff;
        font-weight: 600;
        border-color: #F9AB00;
        box-shadow: 0 4px 10px rgba(249, 171, 0, 0.3);
    }

    .legacy-view-switcher button.active:hover {
        color: #fff;
    }

    .legacy-view-switcher button:hover {
        color: #F9AB00;
        border-color: #F9AB00;
        box-shadow: 0 4px 10px rgba(249, 171, 0, 0.3);
    }

    /* View Section Visibility */
    .legacy-view-section {
        display: none;
        animation: fadeIn 0.3s;
    }

    .legacy-view-section.active {
        display: block;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }




    /* --- Month Grid --- */
    .legacy-month-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        border: none;
        width: 100%;
        gap: 10px;
        /* Floating elements */
        padding-top: 20px;
    }

    .legacy-day-header {
        padding: 5px 10px;
        text-align: center;
        font-weight: 600;
        color: #1f1f1f;
        border: none;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .legacy-day-cell {
        min-height: 140px;
        background: #fff;
        border: 1px solid #dde3ea;
        /* Very subtle border */
        border-radius: 12px;
        padding: 10px;
        transition: all 0.2s;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    }

    /* .legacy-day-cell:hover {
        background: #fbfbfb;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        z-index: 2;
    } */

    .legacy-day-cell.empty {
        background: #fafafa;
        border: none;
        box-shadow: none;
    }

    .legacy-day-number {
        display: block;
        text-align: right;
        font-size: 14px;
        color: #1f1f1f;
        margin-bottom: 8px;
        padding-right: 7px;
        padding-top: 2px;
        font-weight: 500;
    }

    /* Event Pill */
    /* Event Pill */
    .legacy-event-item {
        background: rgba(249, 171, 0, 0.1);
        /* Brand tint */
        color: #d48b00;
        /* Darker brand color for text */
        padding: 6px 10px;
        margin-bottom: 6px;
        font-size: 12px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.3;
        border: 1px solid rgba(249, 171, 0, 0.05);
    }

    .legacy-event-item:hover {
        background: rgba(249, 171, 0, 0.2);
        transform: scale(1.02);
    }

    .ev-time {
        color: #000;
        font-size: 12px;
        margin-bottom: 2px;
    }

    .ev-title {
        font-weight: 600;
        word-break: break-word;
    }


    /* --- Pinboard View (Masonry) --- */
    .legacy-pinboard-container {
        display: block;
        column-count: 4;
        column-gap: 20px;
        width: 100%;
    }

    @media (max-width: 900px) {
        .legacy-pinboard-container {
            column-count: 3;
        }
    }

    @media (max-width: 600px) {
        .legacy-pinboard-container {
            column-count: 2;
        }

        .legacy-controls-bar {
            justify-content: center;
        }

        .legacy-search-wrapper {
            margin: auto;
        }
    }

    @media (max-width: 480px) {
        .legacy-right-actions {
            flex-wrap: wrap;
            justify-content: center;
            row-gap: 15px;
        }
    }

    .legacy-pin-card {
        background: #fff;
        border-radius: var(--card-radius);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.02);
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .legacy-pin-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }

    .legacy-pin-image {
        width: 100%;
        background: #f0f0f0;
        position: relative;
        overflow: hidden;
        border-radius: var(--card-radius) var(--card-radius) 0 0;
        /* Natural height, no fixed aspect ratio */
    }

    .legacy-pin-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: var(--card-radius) var(--card-radius) 0 0;
        transition: transform 0.4s ease;
    }

    .legacy-pin-card:hover .legacy-pin-img {
        transform: scale(1.05);
    }

    .legacy-no-image {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150px;
        /* Min height for no-image */
        color: #bbb;
        font-size: 14px;
        background: #f9f9f9;
        border-radius: var(--card-radius) var(--card-radius) 0 0;
    }

    .legacy-pin-content {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .legacy-pin-meta {
        font-family: inherit;
        font-size: 0.7rem;
        color: #777;
        font-weight: 600;
        margin-bottom: 8px;
        order: -1;
        /* Move above title */
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .legacy-pin-title {
        font-size: 18px;
        font-weight: 700;
        color: #222;
        margin-bottom: 8px;
        line-height: 1.3;
        transition: color 0.2s;
    }

    .legacy-pin-card:hover .legacy-pin-title {
        color: #F9AB00;
    }

    .legacy-pin-excerpt {
        font-size: 0.95rem;
        color: #444;
        line-height: 1.6;
        margin-top: 5px;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        word-break: break-word !important;
    }


    /* --- Agenda View (List) --- */
    .legacy-agenda-list {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .legacy-agenda-group {
        margin-bottom: 40px;
    }

    .legacy-agenda-date-header {
        font-size: 16px;
        font-weight: 700;
        color: #444;
        border: none;
        padding-bottom: 0;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 40px;
        padding-left: 10px;
        border-left: 4px solid #F9AB00;
        line-height: 1;
    }

    .legacy-agenda-item {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 20px;
        /* Slightly less than 24px for list items */
        padding: 25px;
        margin-bottom: 25px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        cursor: pointer;
        gap: 30px;
        width: 100%;
        /* Force full width explicitly */
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.01);
        transition: all 0.2s;
    }

    .legacy-agenda-item:hover {
        background: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .legacy-no-results {
        text-align: center;
        padding: 60px 20px;
        font-size: 18px;
        color: #888;
        background: #f9f9f9;
        border-radius: 8px;
        border: 1px dashed #ddd;
        width: 100%;
        margin-top: 20px;
    }

    .legacy-agenda-image-wrapper {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }

    .legacy-agenda-img {
        width: 100%;
        height: 100%;
        border-radius: 16px;
        /* Rounded square */
        background-size: cover;
        background-position: center;
    }

    .legacy-agenda-no-img {
        width: 100%;
        height: 100%;
        border-radius: 16px;
        background: #f0f0f0;
    }

    .legacy-agenda-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .legacy-agenda-title {
        font-size: 18px;
        font-weight: 700;
        color: #222;
        margin-bottom: 5px;
        cursor: pointer;
    }

    .legacy-agenda-title:hover {
        color: var(--primary-color);
    }

    .legacy-agenda-time {
        font-size: 14px;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 8px;
    }

    .legacy-agenda-desc {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        /* Limit to 2 lines */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Date Picker Wrapper */
    .legacy-date-picker-wrapper {
        display: inline-flex;
        align-items: center;
        position: relative;
        margin: 0 12px;
    }

    .legacy-current-date-display {
        display: none;
        /* Hidden, we show input directly for consolidated look */
    }

    /* Styled Input */
    .legacy-date-input {
        border: 1px solid #ccc;
        padding: 5px 14px;
        text-align: center;
        border-radius: var(--card-radius);
        font-size: 1rem;
        color: #333;
        outline: none;
        cursor: pointer;
        transition: border-color 0.3s;
        background-color: #fff;
    }

    .legacy-date-input:focus,
    .legacy-date-input:active {
        border-color: #F9AB00;
        box-shadow: 0 0 0 2px rgba(249, 171, 0, 0.2);
    }

    /* --- Modal (Legacy / Hidden) --- */
    .legacy-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
        align-items: center;
        justify-content: center;
    }

    .legacy-modal-content {
        background-color: #fefefe;
        padding: 30px;
        border-radius: 8px;
        width: 90%;
        max-width: 600px;
        position: relative;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    .legacy-close-modal {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        color: #aaa;
        cursor: pointer;
    }

    .legacy-close-modal:hover {
        color: #000;
    }

    .legacy-modal-header {
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}


/* =========================================
   7. Details View (AJAX Full Page)
   ========================================= */
#legacy-event-details-view {
    padding: 0;
    animation: fadeIn 0.3s ease-out;
    margin-top: 20px;
    position: relative;
    /* overflow: hidden; */
}

.legacy-back-btn {
    position: relative;
    top: 0px;
    left: 0px;
    background: #F9AB00 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    border: none !important;
    padding: 12px 20px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    z-index: 10;
    transition: all 0.2s;
}

.legacy-back-btn:hover {
    background: #e59d00 !important;
    color: #fff !important;
    transform: translateY(-1px);

}

.legacy-details-split-wrapper {
    display: flex;
    position: relative;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    padding: 40px 0;
    /* overflow-y: auto; */
    scrollbar-width: none;
    justify-content: space-between;
}



/* Sticky Image Wrapper */
.legacy-details-hero {
    width: 32vw;
    position: sticky;
    top: 0;
    border-radius: 30px;
    overflow: hidden;
    height: auto;
}

/* The Image itself */
.legacy-details-hero img {
    width: 100%;
    border-radius: 30px;
    margin-top: 1vw;
    object-fit: cover;
    display: block;
}

.legacy-details-content {
    margin-top: 2vw;
    width: 52vw;
}

@media (max-width: 1024px) {
    .legacy-details-split-wrapper {
        width: 100%;
        padding: 20px 0;
        max-height: none;
        overflow-y: visible;
    }

    .legacy-details-hero {
        width: 45vw;
        margin-bottom: 20px;
    }

    .legacy-details-content {
        margin-top: 2vw;
        width: 50vw;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legacy-details-split-wrapper {
        width: 100%;
        padding: 20px 0;
        max-height: none;
        overflow-y: visible;
    }

    .legacy-details-hero {
        width: 45vw;
        margin-bottom: 20px;
    }

    .legacy-details-content {
        margin-top: 2vw;
        width: 50vw;
    }
}

@media (max-width: 600px) {
    .legacy-details-split-wrapper {
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
        max-height: none;
        overflow-y: visible;
    }

    .legacy-details-hero {
        width: 90vw;
        position: relative;
        margin-bottom: 10px;
    }

    .legacy-details-content {
        margin-top: 2vw;
        width: 90vw;
    }
}


/* Mobile Horizontal Scroll for Monthly Grid */
@media (max-width: 600px) {
    .legacy-calendar-scroll-wrapper {
        overflow-x: auto !important;
        /* Firefox */
        scrollbar-color: #F9AB00 transparent;
        scrollbar-width: thin;
    }

    .legacy-month-grid {
        min-width: 900px !important;
    }

    /* Chrome/Safari/Edge */
    .legacy-calendar-scroll-wrapper::-webkit-scrollbar {
        height: 6px;
        /* Slim height for horizontal scroll */
    }

    .legacy-calendar-scroll-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        /* Light gray track */
        border-radius: 4px;
    }

    .legacy-calendar-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #F9AB00;
        /* BRAND COLOR */
        border-radius: 4px;
    }

    .legacy-calendar-scroll-wrapper::-webkit-scrollbar-thumb:hover {
        background: #d48e00;
        /* Darker orange on hover */
    }
}


/* --- Heading Reset for Event Descriptions (Controlled Scale) --- */
/* Target: .legacy-event-content, .legacy-agenda-desc, .legacy-details-body */

.legacy-event-content h1,
.legacy-event-content h2,
.legacy-event-content h3,
.legacy-event-content h4,
.legacy-event-content h5,
.legacy-event-content h6,
.legacy-agenda-desc h1,
.legacy-agenda-desc h2,
.legacy-agenda-desc h3,
.legacy-agenda-desc h4,
.legacy-agenda-desc h5,
.legacy-agenda-desc h6,
.legacy-details-content .legacy-details-body h1,
.legacy-details-content .legacy-details-body h2,
.legacy-details-content .legacy-details-body h3,
.legacy-details-content .legacy-details-body h4,
.legacy-details-content .legacy-details-body h5,
.legacy-details-content .legacy-details-body h6 {
    line-height: 1.3;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    font-weight: 700;
    color: inherit;
    word-wrap: break-word;
}

/* Specific Sizes */
.legacy-event-content h1,
.legacy-event-content h2,
.legacy-agenda-desc h1,
.legacy-agenda-desc h2,
.legacy-details-content .legacy-details-body h1,
.legacy-details-content .legacy-details-body h2 {
    font-size: 1.4rem;
}

.legacy-event-content h3,
.legacy-agenda-desc h3,
.legacy-details-content .legacy-details-body h3 {
    font-size: 1.25rem;
}

.legacy-event-content h4,
.legacy-agenda-desc h4,
.legacy-details-content .legacy-details-body h4 {
    font-size: 1.1rem;
}

.legacy-event-content h5,
.legacy-event-content h6,
.legacy-agenda-desc h5,
.legacy-agenda-desc h6,
.legacy-details-content .legacy-details-body h5,
.legacy-details-content .legacy-details-body h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Agenda Card Override: Force smaller H1/H2 due to narrow width */
.legacy-agenda-desc h1,
.legacy-agenda-desc h2 {
    font-size: 1.25rem !important;
}

/* --- CTA Button & Link Styling --- */

/* 1. Main CTA Button */
.legacy-cta-button {
    display: inline-block;
    background-color: #F9AB00;
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 100px;
    text-decoration: none !important;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.legacy-cta-button:hover {
    background-color: #e59d00;
    transform: translateY(-2px);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 2. Regular Content Links (Exclude Button) */
.legacy-details-content .legacy-details-body a:not(.legacy-cta-button),
.legacy-details-content a:not(.legacy-cta-button) {
    background: transparent;
    padding: 0;
    color: #F9AB00 !important;
    text-decoration: underline !important;
    font-weight: 600;
    display: inline;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.legacy-details-content .legacy-details-body a:not(.legacy-cta-button):hover,
.legacy-details-content a:not(.legacy-cta-button):hover {
    color: #d48b00 !important;
    text-decoration: none !important;
}