:root {
    --primary-color: #d32f2f;
    --text-color: #1a1a1a;
    --bg-color: #ffffff;
    --newspaper-bg: #fdfaf5;
    --font-serif: "Playfair Display", serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--newspaper-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary-color);
}

.top-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    text-transform: uppercase;
}

.top-banner span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

nav {
    padding: 0.8rem 0;
    margin: 0;
    background: var(--newspaper-bg);
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top svg {
    display: block;
    width: 24px;
    height: 24px;
}

#back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: #b71c1c;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.main-logo img {
    height: 60px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-logo img:hover {
    transform: scale(1.05);
}

/* --- DEFINITIVE NAV --- */
.main-nav {
    background: var(--newspaper-bg);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none !important;
    color: var(--text-color) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color) !important;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropbtn {
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1001;
    top: 100%;
    left: 0;
    border: 1px solid #eee;
    padding: 10px 0;
}

.dropdown-content a {
    padding: 12px 20px !important;
    display: block !important;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.85rem !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

.hamburger.is-active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: 0.4s;
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .main-logo {
        flex: 0 0 50%;
    }

    .main-logo img {
        width: 100% !important;
        max-width: none !important;
        height: auto;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: 0.3s ease;
        z-index: 1000;
        display: flex !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        border: none;
        text-align: center;
    }
}

/* Hero / Editorial */
.hero {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5%;
    text-align: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 3rem;
}

.hero .badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

/* Filters */
.filters {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-family: inherit;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: #ffffff !important;
}

/* Clints Grid - Newspaper Layout */
.clints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    padding: 2rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.clint-card {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2rem;
    transition: var(--transition);
}

.clint-card:hover {
    opacity: 0.8;
}

.clint-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.clint-info {
    padding: 0 5px;
}

.clint-role {
    display: block;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.clint-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.2;
}

.clint-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
    column-count: 1;
}

.verdict-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #ddd;
    text-align: center;
    display: block; /* Centered block */
}

.source-link {
    display: inline-block;
    background: #e62222 !important; /* Definitive high-impact red */
    color: #ffffff !important;
    padding: 14px 30px;
    text-decoration: none !important;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 0 !important; /* Definitively square */
    transition: all 0.2s ease;
    border: none;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 0 #991111; /* Subtle depth */
}

.source-link:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000;
}

.status-badge {
    font-weight: 900;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.2rem 0.5rem;
}

/* Premium Footer Section */
footer {
    background: #f9f7f2;
    border-top: 5px solid var(--primary-color);
    padding: 5rem 5% 3rem;
    margin-top: 6rem;
    color: var(--text-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

.footer-legal h4, .footer-links h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-links ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.footer-legal h4 {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-legal p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .clints-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .clints-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .top-banner {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

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

@media (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
}

/* Refined UI Styles */
.signal-box {
    margin: 4rem 0;
    padding: 3.5rem;
    text-align: center;
    border: 4px double var(--primary-color);
    background: white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.signal-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 900;
}

.signal-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1.2rem 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2rem;
    border-radius: 0;
    transition: background 0.2s;
}

.signal-btn:hover {
    background: #b71c1c;
}

.legal-header {
    text-align: center;
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 3rem;
    margin-top: 2rem;
}

.legal-header h2 {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
}

.legal-header h2 span {
    color: var(--primary-color);
}

.legal-section {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid #000;
    padding-bottom: 0.8rem;
    font-weight: 900;
    line-height: 1.2;
}

.legal-section p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1.2rem 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* Profile Specific Layouts */
.profile-page {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 4px double var(--text-color);
    padding-bottom: 2rem;
}

.profile-header .category {
    display: block;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.profile-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-sidebar img {
    width: 100%;
    filter: grayscale(100%);
    border: 1px solid var(--text-color);
    margin-bottom: 2rem;
}

.info-box {
    background: #f9f9f9;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

.info-box h3 {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.info-box p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.profile-body section {
    margin-bottom: 4rem;
}

.profile-body h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 0.5rem;
}

.receipt-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.receipt-link:hover {
    border-color: var(--primary-color);
    background: #fffafa;
}

.public-listing {
    font-style: italic;
    font-size: 1.1rem;
    color: #444;
    padding-left: 1.5rem;
    border-left: 2px solid #ddd;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}
