/* ============================================================
   USEFUL LINKS PAGE STYLES
============================================================ */

.links-page {
    background-color: #fdfaf5;
}

/* Ensure header is visible on the light background */
.links-page .top-bar {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

.links-page .site-header {
    background: rgba(253, 250, 245, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(177, 125, 45, 0.1);
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* Redundant local container removed - using global container from style.css */

/* --- LINKS HERO --- */
.links-hero {
    position: relative;
    padding: clamp(140px, 15vw, 200px) 0 clamp(80px, 10vw, 120px);
    background-image: linear-gradient(rgba(26, 18, 9, 0.75), rgba(26, 18, 9, 0.75)), url('useful_links_hero_bg_1777541719185.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
}

.links-hero__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b17d2d;
    margin-bottom: 20px;
}

.links-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.links-hero__title .hero-gold {
    color: #b17d2d;
    font-style: italic;
    font-weight: 400;
}

.links-hero__text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.8vw, 18px);
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.links-grid {
    padding: 26px 0 90px;
}

.links-grid__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.links-card {
    background: #ffffff;
    border: 1px solid rgba(26, 18, 9, 0.08);
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 14px 30px rgba(13, 20, 34, 0.08);
}

.links-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: #1a1209;
}

.links-card__title i {
    color: #b17d2d;
    font-size: 22px;
}

.links-card__text {
    margin: 0 0 14px;
    font-family: "Inter", sans-serif;
    color: #5c5952;
    line-height: 1.7;
}

.links-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.links-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(177, 125, 45, 0.18);
    background: linear-gradient(180deg, rgba(253, 250, 245, 0.9), rgba(253, 250, 245, 0.6));
    text-decoration: none;
    color: #1a1209;
    font-family: "Inter", sans-serif;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.links-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(13, 20, 34, 0.12);
    border-color: rgba(177, 125, 45, 0.32);
}

.links-item__label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.links-item__label i {
    color: #b17d2d;
    font-size: 18px;
}

.links-item__meta {
    color: #5c5952;
    font-size: 13px;
}

/* Standard Breakpoints */
@media screen and (max-width: 1024px) {
    .links-grid__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .links-hero {
        padding: 120px 24px 60px;
    }
    .links-grid__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 520px) {
    .links-grid__inner {
        grid-template-columns: 1fr;
    }
    .links-hero {
        padding: 100px 24px 40px;
    }
    .links-card {
        padding: 24px 20px;
    }
}

