/* Gazette Section - Antiguan Herald */

/* Gazette Hero Banner */
.gazette-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0a1628 100%);
    padding: 3rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.gazette-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.gazette-hero-content {
    position: relative;
    z-index: 1;
}

.gazette-hero-emblem {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
}

.gazette-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.gazette-hero-sub {
    color: #D4AF37;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.gazette-hero-desc {
    color: #8899aa;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gazette Page Layout */
.gazette-page {
    max-width: var(--max-width);
    margin: 0 auto;
}

.gazette-grid-section {
    padding: 0 1.5rem;
}

/* Gazette Grid */
.gazette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gazette-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--color-border-light, #e8e8e8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gazette-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.gazette-card-header {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #0a1628, #1a2744);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.gazette-edition-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gazette-edition-official {
    background: #D4AF37;
    color: #1a1a1a;
}

.gazette-edition-extraordinary {
    background: #E04040;
    color: white;
}

.gazette-edition-supplementary {
    background: #3d85c6;
    color: white;
}

.gazette-number {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 500;
}

.gazette-card-body {
    padding: 1.2rem 1.5rem 1.5rem;
}

.gazette-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.gazette-card-body h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.gazette-card-body h3 a:hover {
    color: #1a2744;
}

.gazette-date {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
}

.gazette-summary {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

.gazette-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.gazette-type-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gazette-type-statutory { background: #fef3cd; color: #856404; }
.gazette-type-legal { background: #d1ecf1; color: #0c5460; }
.gazette-type-company { background: #d4edda; color: #155724; }
.gazette-type-electoral { background: #f8d7da; color: #721c24; }
.gazette-type-government { background: #e2d9f3; color: #3d1f6e; }
.gazette-type-court { background: #fde2e2; color: #8b0000; }
.gazette-type-planning { background: #d6e9f8; color: #0d4f8b; }
.gazette-type-insurance { background: #e8f5e9; color: #2e7d32; }
.gazette-type-appointment { background: #fff3e0; color: #e65100; }
.gazette-type-other { background: #f5f5f5; color: #666; }

.gazette-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border-light, #e8e8e8);
}

.gazette-notice-count {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.gazette-read-link {
    display: inline-block;
    color: #1a2744;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.gazette-read-link:hover {
    text-decoration: underline;
}

/* Gazette Info Bar */
.gazette-info-bar {
    text-align: center;
    padding: 1.5rem;
    margin: 0 1.5rem 3rem;
    background: var(--color-bg-light, #f9f9f9);
    border-radius: 8px;
}

.gazette-info-bar p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.gazette-info-bar a {
    color: #1a2744;
    font-weight: 600;
}

/* ===== GAZETTE DETAIL PAGE ===== */

.gazette-detail-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a2744 50%, #0a1628 100%);
    padding: 2.5rem 1.5rem;
    position: relative;
}

.gazette-detail-hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    color: white;
}

.gazette-breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.gazette-breadcrumb a {
    color: #8899aa;
    text-decoration: none;
}

.gazette-breadcrumb a:hover {
    color: white;
}

.gazette-number-hero {
    display: inline-block;
    margin-left: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.gazette-detail-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0.8rem 0;
    color: white;
}

.gazette-detail-date {
    display: block;
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.gazette-detail-summary {
    color: #aabbcc;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 1.2rem;
}

.gazette-pdf-btn {
    display: inline-block;
    background: #D4AF37;
    color: #1a1a1a;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.gazette-pdf-btn:hover {
    background: #c4a030;
}

/* Detail Page Body */
.gazette-detail-page {
    max-width: var(--max-width);
    margin: 0 auto;
}

.gazette-detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
}

.gazette-detail-main {
    min-width: 0;
}

/* Highlights */
.gazette-highlights {
    background: linear-gradient(135deg, #fef9e7, #fdf2d1);
    border-left: 4px solid #D4AF37;
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.gazette-highlights h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #856404;
    margin-bottom: 0.6rem;
}

.gazette-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gazette-highlights li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: #5a4b00;
    line-height: 1.5;
}

.gazette-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: #D4AF37;
    border-radius: 50%;
}

/* Notice Sections */
.gazette-notice-section {
    margin-bottom: 2rem;
}

.gazette-section-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gazette-section-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.gazette-icon-statutory { background: #D4AF37; }
.gazette-icon-legal { background: #17a2b8; }
.gazette-icon-company { background: #28a745; }
.gazette-icon-electoral { background: #dc3545; }
.gazette-icon-government { background: #6f42c1; }
.gazette-icon-court { background: #e83e8c; }
.gazette-icon-planning { background: #007bff; }
.gazette-icon-insurance { background: #20c997; }
.gazette-icon-appointment { background: #fd7e14; }
.gazette-icon-other { background: #6c757d; }

.gazette-notices-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gazette-notice-item {
    background: white;
    border: 1px solid var(--color-border-light, #e8e8e8);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    transition: box-shadow 0.2s;
}

.gazette-notice-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gazette-notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.gazette-notice-header h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.gazette-ref {
    font-size: 0.7rem;
    color: var(--color-text-light);
    background: var(--color-bg-light, #f5f5f5);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 500;
}

.gazette-notice-summary {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.gazette-notice-entities {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.gazette-entity {
    display: inline-block;
    font-size: 0.7rem;
    color: #1a2744;
    background: #e8edf4;
    padding: 0.1rem 0.5rem;
    border-radius: 3px;
    font-weight: 500;
}

/* Source Note */
.gazette-source-note {
    margin-top: 2rem;
    padding: 1rem 1.2rem;
    background: var(--color-bg-light, #f9f9f9);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.gazette-source-note a {
    color: #1a2744;
    font-weight: 600;
}

/* Sidebar */
.gazette-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gazette-sidebar-stats {
    background: var(--color-bg-light, #f9f9f9);
    padding: 1.2rem;
    border-radius: 8px;
}

.gazette-sidebar-stats h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.gazette-sidebar-stats p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.4rem;
}

.gazette-sidebar-pdf-btn {
    display: block;
    margin-top: 0.8rem;
    background: #1a2744;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}

.gazette-sidebar-pdf-btn:hover {
    background: #0a1628;
}

.gazette-sidebar-recent {
    background: white;
    border: 1px solid var(--color-border-light, #e8e8e8);
    border-radius: 8px;
    padding: 1.2rem;
}

.gazette-sidebar-recent h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.gazette-sidebar-recent ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gazette-sidebar-recent li {
    border-bottom: 1px solid var(--color-border-light, #e8e8e8);
}

.gazette-sidebar-recent li:last-child {
    border-bottom: none;
}

.gazette-sidebar-recent a {
    display: block;
    padding: 0.6rem 0;
    text-decoration: none;
    transition: background 0.15s;
}

.gazette-sidebar-recent a:hover {
    background: var(--color-bg-light, #f5f5f5);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.gazette-sidebar-type {
    display: inline-block;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #D4AF37;
    letter-spacing: 0.3px;
}

.gazette-sidebar-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    margin: 0.1rem 0;
}

.gazette-sidebar-date {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

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

@media (max-width: 1024px) {
    .gazette-detail-body {
        grid-template-columns: 1fr;
    }

    .gazette-detail-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .gazette-hero {
        padding: 2rem 1rem;
    }

    .gazette-hero-content h1 {
        font-size: 2rem;
    }

    .gazette-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .gazette-detail-hero-content h1 {
        font-size: 1.5rem;
    }

    .gazette-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .gazette-notice-header {
        flex-direction: column;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .gazette-hero-content h1 {
        font-size: 1.6rem;
    }

    .gazette-hero-sub {
        font-size: 0.8rem;
    }

    .gazette-card-body {
        padding: 1rem;
    }

    .gazette-card-body h3 {
        font-size: 1rem;
    }

    .gazette-detail-body {
        padding: 1.5rem 1rem;
    }
}
