/* ==========================================================================
   PORTAL OFICIAL DO COFRE GERAL DOS TRIBUNAIS DE JURISDIÇÃO COMUM
   E DA PROCURADORIA GERAL DA REPÚBLICA DE ANGOLA (CGTPGR)
   Design System & Styling — Baseado no UI Oficial do CSMJ
   ========================================================================== */


:root {
    --cgt-gold: #D4AF37;
    --cgt-gold-light: #F4E299;
    --cgt-gold-dark: #A58215;
    --cgt-gold-glow: rgba(212, 175, 55, 0.35);

    --cgt-burgundy: #8B1B1B;
    --cgt-burgundy-dark: #6C1010;
    --cgt-burgundy-deep: #4E0A0A;
    --cgt-burgundy-light: #A32626;
    --cgt-burgundy-glow: rgba(139, 27, 27, 0.35);

    --cgt-text-primary: #1F2421;
    --cgt-text-secondary: #4A5568;
    --cgt-text-muted: #718096;
    --cgt-text-light: #F8F9FA;

    --cgt-bg-page: #FFFFFF;
    --cgt-bg-soft: #F9F9FB;
    --cgt-bg-card: #FFFFFF;
    --cgt-border-color: #E2E8F0;
    --cgt-border-light: #EDF2F7;

    --cgt-font-serif: 'Playfair Display', Georgia, serif;
    --cgt-font-display: 'Cinzel', 'Playfair Display', serif;
    --cgt-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --cgt-shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --cgt-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --cgt-shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --cgt-shadow-xl: 0 20px 40px rgba(0,0,0,0.18);

    --cgt-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --cgt-max-width: 1260px;
}

/* Reset e Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--cgt-font-sans);
    background-color: var(--cgt-bg-page);
    color: var(--cgt-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--cgt-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

.cgt-container {
    width: 100%;
    max-width: var(--cgt-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   HEADER & BARRA DE NAVEGAÇÃO SUPERIOR
   ========================================================================== */
.cgt-header {
    background: linear-gradient(180deg, #D4AF37 0%, #C4A030 50%, #A58215 100%);
    color: #1A0D0D;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.28);
    border-bottom: 2px solid var(--cgt-burgundy);
}

.cgt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

/* Identidade Visual / Logótipo */
.cgt-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #1A0D0D;
}

.cgt-brand-emblem {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cgt-burgundy);
    box-shadow: 0 0 10px rgba(139, 27, 27, 0.45);
    background: #FFFFFF;
    transition: var(--cgt-transition);
}

.cgt-brand-link:hover .cgt-brand-emblem {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(139, 27, 27, 0.7);
}

.cgt-brand-text {
    display: flex;
    flex-direction: column;
}

.cgt-brand-title {
    font-family: var(--cgt-font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.25;
    color: #1A0D0D;
}

.cgt-brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: var(--cgt-burgundy-dark);
    text-transform: uppercase;
    margin-top: 1px;
}

.cgt-brand-republic {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cgt-burgundy);
    text-transform: uppercase;
}

/* Menu de Navegação */
.cgt-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cgt-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.cgt-nav-item {
    position: relative;
}

.cgt-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A0D0D;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    border-radius: 3px;
    transition: var(--cgt-transition);
}

.cgt-nav-link:hover,
.cgt-nav-item:hover > .cgt-nav-link {
    background: rgba(26, 13, 13, 0.12);
    color: var(--cgt-burgundy-dark);
}

.cgt-nav-link.active {
    background: rgba(26, 13, 13, 0.22);
    color: var(--cgt-burgundy-dark);
    border-bottom: 2px solid var(--cgt-burgundy);
}

.cgt-dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    opacity: 0.8;
}

.cgt-nav-item:hover .cgt-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.cgt-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #FFFFFF;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--cgt-gold);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s ease-in-out;
    z-index: 1001;
}

.cgt-nav-item:hover .cgt-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cgt-dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #2D3748;
    border-left: 3px solid transparent;
    transition: var(--cgt-transition);
}

.cgt-dropdown-link:hover {
    background: #FFF8DC;
    color: var(--cgt-gold-dark);
    border-left-color: var(--cgt-gold);
    padding-left: 24px;
}

/* Ações do Header (Idiomas e Pesquisa) */
.cgt-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(26, 13, 13, 0.22);
}

.cgt-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cgt-flag-btn {
    background: transparent;
    cursor: pointer;
    border-radius: 3px;
    padding: 2px 4px;
    transition: var(--cgt-transition);
    display: flex;
    align-items: center;
    font-size: 1.15rem;
}

.cgt-flag-btn:hover {
    transform: scale(1.15);
}

.cgt-search-trigger {
    background: rgba(26, 13, 13, 0.14);
    color: #1A0D0D;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--cgt-transition);
}

.cgt-search-trigger:hover {
    background: var(--cgt-burgundy);
    color: #FFFFFF;
}

.cgt-mobile-toggle {
    display: none;
    background: transparent;
    color: #1A0D0D;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   BANNER SOLENE SUPERIOR (ASSEMBLEIA & LEMA INSTITUCIONAL)
   ========================================================================== */
.cgt-assembly-banner {
    position: relative;
    width: 100%;
    height: 340px;
    background: url('/images/banner-magistrados.jpg') center top / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid var(--cgt-burgundy);
}

.cgt-assembly-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(108, 16, 16, 0.6) 0%,
        rgba(78, 10, 10, 0.72) 50%,
        rgba(30, 5, 5, 0.88) 100%
    );
}

.cgt-assembly-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 1050px;
}

.cgt-assembly-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.92);
    color: #2A0404;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cgt-assembly-title {
    font-family: var(--cgt-font-display);
    font-size: clamp(1.6rem, 3.8vw, 2.85rem);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.25;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.cgt-assembly-subtitle {
    margin-top: 10px;
    font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    color: var(--cgt-gold-light);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* ==========================================================================
   MOSAICO DE DESTAQUES (HERO SLIDER GRID - PADRÃO CSMJ)
   ========================================================================== */
.cgt-mosaic-section {
    padding: 30px 0 25px;
    background-color: #FFFFFF;
    position: relative;
}

.cgt-mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    min-height: 480px;
}

/* Cartão Principal do Mosaico (Esquerda) */
.cgt-mosaic-featured {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    box-shadow: var(--cgt-shadow-md);
    background: #111;
    text-decoration: none;
    color: inherit;
}

.cgt-mosaic-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.cgt-mosaic-featured:hover img {
    transform: scale(1.05);
}

.cgt-mosaic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(15, 5, 5, 0.92) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 28px;
    transition: var(--cgt-transition);
}

.cgt-mosaic-featured:hover .cgt-mosaic-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(108, 16, 16, 0.4) 45%,
        rgba(30, 4, 4, 0.95) 100%
    );
}

.cgt-mosaic-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--cgt-gold);
    color: #1A0D0D;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.cgt-mosaic-featured-title {
    font-family: var(--cgt-font-serif);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.cgt-mosaic-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    font-weight: 500;
}

/* Sub-grade de 4 Cartões do Mosaico (Direita 2x2) */
.cgt-mosaic-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 480px;
}

.cgt-mosaic-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 234px;
    cursor: pointer;
    box-shadow: var(--cgt-shadow-sm);
    background: #1A1A1A;
    text-decoration: none;
    color: inherit;
}

.cgt-mosaic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cgt-mosaic-card:hover img {
    transform: scale(1.06);
}

.cgt-mosaic-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 10%,
        rgba(0, 0, 0, 0.5) 45%,
        rgba(10, 5, 5, 0.94) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    transition: var(--cgt-transition);
}

.cgt-mosaic-card:hover .cgt-mosaic-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 10%,
        rgba(108, 16, 16, 0.45) 50%,
        rgba(40, 5, 5, 0.96) 100%
    );
}

.cgt-mosaic-card-title {
    font-family: var(--cgt-font-serif);
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Botão Flutuante de Voltar ao Topo */
.cgt-floating-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cgt-gold);
    color: #1A0D0D;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
    cursor: pointer;
    border: 2px solid var(--cgt-burgundy);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.cgt-floating-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cgt-floating-scroll-top:hover {
    background: var(--cgt-gold-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   FAIXA DE COMUNICADO / NOTÍCIA URGENTE (TICKER)
   ========================================================================== */
.cgt-ticker-bar {
    background: linear-gradient(90deg, #C4A030 0%, #D4AF37 50%, #C4A030 100%);
    color: #1A0D0D;
    padding: 12px 0;
    border-top: 1px solid rgba(139, 27, 27, 0.4);
    border-bottom: 1px solid rgba(139, 27, 27, 0.4);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25);
}

.cgt-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    gap: 20px;
}

.cgt-ticker-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cgt-ticker-badge {
    background: var(--cgt-burgundy);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.cgt-ticker-content {
    font-weight: 500;
    color: #FFFFFF;
}

.cgt-ticker-link {
    color: var(--cgt-burgundy-dark);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
    cursor: pointer;
}

.cgt-ticker-link:hover {
    color: var(--cgt-burgundy);
}

.cgt-ticker-date {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cgt-burgundy-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   MENSAGEM DO PRESIDENTE DO CONSELHO DE ADMINISTRAÇÃO
   ========================================================================== */
.cgt-president-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.cgt-president-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 45px;
    align-items: center;
}

.cgt-president-photo-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--cgt-shadow-lg);
    border: 3px solid #FFFFFF;
    outline: 2px solid var(--cgt-burgundy);
}

.cgt-president-photo-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cgt-president-photo-wrap:hover img {
    transform: scale(1.03);
}

.cgt-president-content {
    display: flex;
    flex-direction: column;
}

.cgt-section-title-burgundy {
    font-family: var(--cgt-font-serif);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    font-weight: 700;
    color: var(--cgt-gold-dark);
    line-height: 1.25;
    margin-bottom: 6px;
}

.cgt-president-greeting {
    font-family: var(--cgt-font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 16px;
}

.cgt-president-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--cgt-text-secondary);
    text-align: justify;
    margin-bottom: 24px;
}

.cgt-president-text p {
    margin-bottom: 12px;
}

.cgt-btn-burgundy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    background: var(--cgt-gold);
    color: #1A0D0D;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    transition: var(--cgt-transition);
}

.cgt-btn-burgundy:hover {
    background: var(--cgt-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
    color: #1A0D0D;
}

/* ==========================================================================
   GRADE DE NOTÍCIAS (PADRÃO EXACTO CSMJ COM BADGE DE DATA VERMELHO)
   ========================================================================== */
.cgt-news-section {
    padding: 50px 0 60px;
    background-color: var(--cgt-bg-soft);
    border-top: 1px solid var(--cgt-border-light);
}

.cgt-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.cgt-main-heading {
    font-family: var(--cgt-font-serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--cgt-gold-dark);
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.cgt-main-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--cgt-burgundy);
}

.cgt-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cgt-news-card {
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--cgt-shadow-sm);
    border: 1px solid var(--cgt-border-color);
    transition: var(--cgt-transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.cgt-news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cgt-shadow-lg);
    border-color: rgba(139, 27, 27, 0.3);
}

.cgt-news-thumb-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #111;
}

.cgt-news-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cgt-news-card:hover .cgt-news-thumb-wrap img {
    transform: scale(1.08);
}

/* Badge de Data com Estilo Oficial do CSMJ */
.cgt-news-date-badge {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 58px;
    height: 58px;
    background: var(--cgt-gold);
    color: #1A0D0D;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    border-top: 2px solid var(--cgt-burgundy);
    z-index: 2;
}

.cgt-badge-day {
    font-family: var(--cgt-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.cgt-badge-month {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    color: var(--cgt-burgundy-dark);
}

.cgt-news-body {
    padding: 24px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cgt-news-card-title {
    font-family: var(--cgt-font-serif);
    font-size: 0.95rem;
    font-weight: 800;
    color: #1A202C;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    transition: var(--cgt-transition);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.cgt-news-card:hover .cgt-news-card-title {
    color: var(--cgt-gold-dark);
}

.cgt-news-card-excerpt {
    font-size: 0.88rem;
    color: var(--cgt-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cgt-news-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--cgt-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cgt-news-readmore {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cgt-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cgt-news-card:hover .cgt-news-readmore {
    color: var(--cgt-burgundy);
    gap: 8px;
}

/* ==========================================================================
   BANNER PARALLAX DE DOCUMENTOS & SERVIÇOS DIGITAIS
   ========================================================================== */
.cgt-docs-banner {
    position: relative;
    height: 310px;
    background: url('/images/banner-documentos.jpg') center center / cover fixed no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 3px solid var(--cgt-burgundy);
    border-bottom: 3px solid var(--cgt-burgundy);
}

.cgt-docs-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(50, 10, 10, 0.75) 0%,
        rgba(25, 5, 5, 0.85) 100%
    );
}

.cgt-docs-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.cgt-docs-banner-heading {
    font-family: var(--cgt-font-display);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8);
}

.cgt-docs-banner-desc {
    color: var(--cgt-gold-light);
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 24px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.cgt-btn-docs-translucent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #1A0D0D;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 38px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    transition: var(--cgt-transition);
}

.cgt-btn-docs-translucent:hover {
    background: var(--cgt-gold-dark);
    border-color: var(--cgt-burgundy);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   SERVIÇOS DE ARRECADAÇÃO & VALOR INSTITUCIONAL (RUPE & CUSTAS)
   ========================================================================== */
.cgt-services-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.cgt-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cgt-service-card {
    background: var(--cgt-bg-soft);
    border: 1px solid var(--cgt-border-color);
    border-radius: 4px;
    padding: 28px 22px;
    text-align: center;
    transition: var(--cgt-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.cgt-service-card:hover {
    background: #FFFFFF;
    border-color: var(--cgt-burgundy);
    transform: translateY(-5px);
    box-shadow: var(--cgt-shadow-md);
}

.cgt-service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cgt-gold) 0%, var(--cgt-gold-dark) 100%);
    color: #1A0D0D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    transition: var(--cgt-transition);
}

.cgt-service-card:hover .cgt-service-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: var(--cgt-gold-dark);
    color: #FFFFFF;
}

.cgt-service-title {
    font-family: var(--cgt-font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cgt-service-desc {
    font-size: 0.84rem;
    color: var(--cgt-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cgt-service-action {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cgt-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   GALERIA DE VÍDEOS & MULTIMÉDIA (PADRÃO CSMJ)
   ========================================================================== */
.cgt-videos-section {
    padding: 55px 0 70px;
    background: var(--cgt-bg-soft);
    border-top: 1px solid var(--cgt-border-light);
}

.cgt-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cgt-video-card {
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--cgt-shadow-sm);
    border: 1px solid var(--cgt-border-color);
    cursor: pointer;
    transition: var(--cgt-transition);
}

.cgt-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--cgt-shadow-lg);
    border-color: rgba(139, 27, 27, 0.4);
}

.cgt-video-thumb {
    position: relative;
    height: 200px;
    background: #111;
    overflow: hidden;
}

.cgt-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 0.5s ease;
}

.cgt-video-card:hover .cgt-video-thumb img {
    transform: scale(1.06);
    opacity: 0.95;
}

.cgt-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(212, 175, 55, 0.88);
    border: 2px solid var(--cgt-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A0D0D;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--cgt-transition);
}

.cgt-video-card:hover .cgt-video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--cgt-gold-dark);
    color: #FFFFFF;
}

.cgt-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 2px;
}

.cgt-video-body {
    padding: 18px;
}

.cgt-video-title {
    font-family: var(--cgt-font-serif);
    font-size: 0.86rem;
    font-weight: 700;
    color: #1A202C;
    line-height: 1.4;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cgt-video-card:hover .cgt-video-title {
    color: var(--cgt-gold-dark);
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL (FOOTER - PADRÃO OFICIAL CSMJ)
   ========================================================================== */
.cgt-footer {
    background: linear-gradient(180deg, #8B1B1B 0%, #6C1010 60%, #4E0A0A 100%);
    color: #FFFFFF;
    border-top: 4px solid var(--cgt-gold);
    padding-top: 55px;
}

.cgt-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cgt-footer-brand-col {
    display: flex;
    flex-direction: column;
}

.cgt-footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.cgt-footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cgt-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.cgt-footer-logo-text {
    font-family: var(--cgt-font-display);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    line-height: 1.25;
    text-transform: uppercase;
    color: #FFFFFF;
}

.cgt-footer-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: justify;
}

.cgt-footer-col h4 {
    font-family: var(--cgt-font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cgt-gold-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.cgt-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--cgt-gold);
}

.cgt-footer-links li {
    margin-bottom: 10px;
}

.cgt-footer-links a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--cgt-transition);
}

.cgt-footer-links a:hover {
    color: var(--cgt-gold-light);
    transform: translateX(4px);
}

/* Barra de Contactos e Privacidade */
.cgt-footer-middle {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.cgt-footer-middle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cgt-footer-contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cgt-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cgt-footer-lang-flags {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Barra de Copyright Inferior */
.cgt-footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cgt-footer-bottom strong {
    color: var(--cgt-gold-light);
}

/* ==========================================================================
   MODAIS INTERACTIVOS (NOTÍCIA, DOCUMENTOS, SIMULADOR RUPE, BUSCA)
   ========================================================================== */
.cgt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cgt-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cgt-modal-container {
    background: #FFFFFF;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    border-radius: 6px;
    box-shadow: var(--cgt-shadow-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 4px solid var(--cgt-gold);
}

.cgt-modal-backdrop.active .cgt-modal-container {
    transform: scale(1) translateY(0);
}

.cgt-modal-header {
    background: #FFF5F5;
    padding: 16px 24px;
    border-bottom: 1px solid var(--cgt-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cgt-modal-header-title {
    font-family: var(--cgt-font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cgt-gold-dark);
}

.cgt-modal-close-btn {
    background: transparent;
    color: #718096;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--cgt-transition);
}

.cgt-modal-close-btn:hover {
    background: #E2E8F0;
    color: #1A202C;
}

.cgt-modal-body {
    padding: 24px;
    overflow-y: auto;
}

/* Modal de Notícia */
.cgt-modal-news-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.cgt-modal-news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: var(--cgt-text-muted);
}

.cgt-modal-news-title {
    font-family: var(--cgt-font-serif);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1A202C;
    line-height: 1.35;
    margin-bottom: 18px;
}

.cgt-modal-news-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #2D3748;
    text-align: justify;
}

.cgt-modal-news-content p {
    margin-bottom: 14px;
}

/* Tabela de Documentos */
.cgt-docs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.cgt-docs-table th {
    background: #F7FAFC;
    color: #4A5568;
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
    border-bottom: 2px solid var(--cgt-border-color);
}

.cgt-docs-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--cgt-border-light);
    color: #2D3748;
}

.cgt-docs-table tr:hover td {
    background: #FFFBFB;
}

.cgt-doc-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cgt-gold);
    color: #1A0D0D;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--cgt-transition);
}

.cgt-doc-download-btn:hover {
    background: var(--cgt-gold-dark);
}

/* Formulário do Simulador RUPE */
.cgt-form-group {
    margin-bottom: 18px;
}

.cgt-form-label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 6px;
}

.cgt-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--cgt-border-color);
    border-radius: 4px;
    font-size: 0.9rem;
    background: #FFFFFF;
    transition: var(--cgt-transition);
}

.cgt-form-control:focus {
    border-color: var(--cgt-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.cgt-calc-result-box {
    background: #FFF5F5;
    border: 1px solid rgba(139, 27, 27, 0.2);
    border-radius: 4px;
    padding: 18px;
    margin-top: 20px;
}

/* Drawer Mobile */
.cgt-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.35);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.cgt-mobile-drawer.active {
    right: 0;
}

.cgt-drawer-header {
    background: var(--cgt-gold);
    color: #1A0D0D;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cgt-drawer-close {
    background: transparent;
    color: #1A0D0D;
    font-size: 1.5rem;
    cursor: pointer;
}

.cgt-drawer-nav {
    padding: 15px 0;
}

.cgt-drawer-link {
    display: block;
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #2D3748;
    border-bottom: 1px solid var(--cgt-border-light);
}

.cgt-drawer-link:hover {
    background: #FFF8DC;
    color: var(--cgt-gold-dark);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1080px) {
    .cgt-nav {
        display: none;
    }
    .cgt-mobile-toggle {
        display: block;
    }
    .cgt-footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .cgt-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .cgt-mosaic-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .cgt-mosaic-featured {
        height: 380px;
    }
    .cgt-mosaic-subgrid {
        height: auto;
        grid-template-columns: 1fr 1fr;
    }
    .cgt-president-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cgt-president-photo-wrap {
        max-width: 320px;
        margin: 0 auto;
    }
    .cgt-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cgt-videos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cgt-mosaic-subgrid {
        grid-template-columns: 1fr;
    }
    .cgt-news-grid {
        grid-template-columns: 1fr;
    }
    .cgt-services-grid {
        grid-template-columns: 1fr;
    }
    .cgt-footer-top {
        grid-template-columns: 1fr;
    }
    .cgt-assembly-banner {
        height: 250px;
    }
    .cgt-ticker-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .cgt-header-inner {
        height: 68px;
    }
    .cgt-brand-title {
        font-size: 0.72rem;
    }
    .cgt-brand-sub {
        font-size: 0.58rem;
    }
}
/* Portal refresh: institutional identity, readable content and accessible controls. */
:root { --cgt-gold: #bc9551; --cgt-gold-dark: #82612c; --cgt-burgundy: #741e2b; --cgt-burgundy-dark: #501520; --cgt-bg-soft: #f7f5f1; --cgt-font-display: 'Playfair Display', Georgia, serif; --cgt-text-primary: #25262a; --cgt-text-muted: #626771; --cgt-max-width: 1280px; }
body { background: #fff; }
::selection { background: #eadbc1; color: #501520; }
:focus-visible { outline: 3px solid #aa792c; outline-offset: 5px; }
section[id] { scroll-margin-top: 140px; }
.cgt-header { background: #fff; color: #25262a; border-bottom: 1px solid #e6e2db; box-shadow: 0 2px 15px #22222205; }
.portal-utility { background: #511b27; color: #f3e9df; font-size: 10px; letter-spacing: 1.2px; }
.portal-utility .cgt-container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.portal-utility a { letter-spacing: .3px; font-size: 11px; }
.utility-divider { margin: 0 12px; opacity: .5; }
.cgt-header-inner { height: 104px; gap: 30px; }
.cgt-brand-emblem { width: 64px; height: 64px; border: 0; border-radius: 0; object-fit: contain; box-shadow: none; }
.cgt-brand-link:hover .cgt-brand-emblem { transform: none; box-shadow: none; }
.portal-brand { display: flex; flex-direction: column; gap: 2px; }
.portal-brand strong { color: #651f2c; letter-spacing: 3px; font-size: 23px; line-height: 1.2; }
.portal-brand > span { font-size: 10px; color: #65616a; line-height: 1.5; }
.cgt-nav { gap: 24px; }
.portal-nav-link { font-size: 12px; font-weight: 600; padding: 12px 0; position: relative; white-space: nowrap; }
.portal-nav-link:hover, .portal-nav-link.is-current { color: #741e2b; }
.portal-nav-link.is-current:after { content: ''; position: absolute; height: 2px; background: #bc9551; bottom: 3px; left: 0; right: 0; }
.portal-institution-dropdown{position:relative;font-size:12px;font-weight:600}.portal-institution-dropdown summary{list-style:none;cursor:pointer;padding:12px 0;white-space:nowrap}.portal-institution-dropdown summary::-webkit-details-marker{display:none}.portal-institution-dropdown summary i{font-size:9px;margin-left:5px}.portal-institution-dropdown.is-current summary,.portal-institution-dropdown summary:hover{color:#741e2b}.portal-institution-links{position:absolute;z-index:1100;top:100%;left:-12px;min-width:245px;padding:7px 0;background:#fff;border-top:3px solid #bc9551;box-shadow:0 12px 30px #0002}.portal-institution-links a{display:block;padding:11px 15px;color:#493d43;text-decoration:none}.portal-institution-links a:hover,.portal-institution-links a[aria-current=page]{background:#f7f2e9;color:#741e2b}
.portal-contact { border: 1px solid #dbd3c8; padding: 12px 17px; font-size: 12px; font-weight: 600; display: flex; gap: 20px; }
.portal-contact:hover { background: #741e2b; color: white; border-color: #741e2b; }
.cgt-mobile-toggle { color: #741e2b; padding: 12px; background: transparent; }
.portal-hero { background: #f5f2ed; overflow: hidden; }
.portal-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; min-height: 535px; }
.portal-hero-copy { padding: 72px 40px 50px 0; }
.portal-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.9px; color: #79562e; display: flex; align-items: center; gap: 10px; }
.portal-eyebrow > span { width: 22px; height: 1px; background: #a27c42; }
.portal-hero h1 { font-family: var(--cgt-font-serif); font-size: clamp(34px, 4.3vw, 60px); font-weight: 500; letter-spacing: -1.7px; line-height: 1.14; margin: 26px 0 23px; color: #30292b; }
.portal-hero h1 em { color: #741e2b; font-weight: 500; }
.portal-hero-copy > p { color: #66636a; font-size: 14px; line-height: 1.9; max-width: 440px; }
.portal-hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.portal-primary { display: inline-flex; align-items: center; gap: 30px; padding: 15px 22px; background: #741e2b; color: white; font-size: 12px; font-weight: 600; }
.portal-primary:hover { background: #501520; transform: translateY(-2px); }
.portal-text-link { font-size: 12px; font-weight: 600; color: #741e2b; display: inline-flex; align-items: center; gap: 17px; }
.portal-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.portal-hero-note { margin-top: 40px; font-size: 10px; color: #6d6870; letter-spacing: .6px; }
.portal-hero-note span { color: #9b723a; margin-right: 10px; }
.portal-hero-image { position: relative; min-height: 100%; }
.portal-hero-image > img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.portal-hero-image:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, #251820d9); }
.portal-image-caption { position: absolute; z-index: 1; bottom: 35px; left: 35px; color: white; border-left: 2px solid #c5a263; padding-left: 20px; }
.portal-image-caption > span { font-size: 9px; letter-spacing: 1.7px; color: #e6cda2; }
.portal-image-caption strong { display: block; font-family: var(--cgt-font-serif); font-weight: 500; line-height: 1.35; font-size: 27px; margin-top: 10px; }
.portal-shortcuts { display: grid; grid-template-columns: repeat(3,1fr); padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid #e7e2d9; }
.portal-shortcuts > a { display: flex; align-items: center; gap: 18px; padding: 12px 28px; border-right: 1px solid #e7e2d9; }
.portal-shortcuts > a:first-child { padding-left: 0; }
.portal-shortcuts > a:last-child { border: 0; }
.portal-shortcuts > a > span:last-child { margin-left: auto; color: #8f6e3d; }
.shortcut-number { color: #a5844e; font-family: var(--cgt-font-serif); font-size: 25px; }
.portal-shortcuts strong { font-size: 13px; font-weight: 600; display: block; }
.portal-shortcuts small { font-size: 11px; color: #777079; display: block; margin-top: 3px; }
.portal-shortcuts a:hover strong { color: #741e2b; }
.cgt-mosaic-section { padding: 54px 0 35px; background: white; }
.cgt-mosaic-grid { gap: 14px; }
.cgt-mosaic-featured, .cgt-mosaic-card { border-radius: 3px; overflow: hidden; }
.cgt-mosaic-featured-title { font-family: var(--cgt-font-serif); text-transform: none; font-size: clamp(23px, 2.8vw, 36px); line-height: 1.24; }
.cgt-mosaic-card-title { font-family: var(--cgt-font-sans); font-size: 14px; line-height: 1.5; font-weight: 600; text-transform: none; }
.cgt-mosaic-tag { background: #741e2b; letter-spacing: 1px; font-size: 9px; padding: 6px 10px; }
.cgt-ticker-bar { box-shadow: none; }
.cgt-president-section { background: #f7f5f1; padding: 72px 0; }
.cgt-president-grid { gap: 70px; align-items: center; }
.cgt-president-photo-wrap { border-radius: 2px; box-shadow: none; }
.cgt-section-title-burgundy { text-transform: none; font-size: 12px; letter-spacing: .5px; font-family: var(--cgt-font-sans); }
.cgt-president-greeting { font-family: var(--cgt-font-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.3; }
.cgt-president-text { font-size: 14px; line-height: 1.9; }

.cgt-btn-burgundy { box-shadow: none; border-radius: 2px; text-transform: none; padding: 13px 22px; }
.cgt-news-section, .cgt-services-section, .cgt-video-section { padding: 72px 0; }
.cgt-section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e7e2d9; padding-bottom: 24px; margin-bottom: 30px; }
.portal-section-label { font-size: 10px; letter-spacing: 2px; color: #94713c; font-weight: 700; }
.cgt-main-heading { font-family: var(--cgt-font-serif); text-transform: none; font-weight: 500; font-size: clamp(26px, 3vw, 36px); padding: 0; border: 0; margin: 4px 0 0; }
.cgt-main-heading:after, .cgt-main-heading:before { display: none; }
.cgt-news-grid { gap: 26px; }
.cgt-news-card { border: 1px solid #e9e4dc; border-radius: 3px; box-shadow: none; overflow: hidden; display: flex; flex-direction: column; }
.cgt-news-card:hover { box-shadow: 0 12px 30px #30262a0c; transform: translateY(-4px); }
.cgt-news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cgt-news-card-title { text-transform: none; font-family: var(--cgt-font-serif); font-size: 21px; font-weight: 600; line-height: 1.45; }
.cgt-news-card-excerpt { font-size: 13px; line-height: 1.8; margin-top: 12px; }
.cgt-news-card-footer { margin-top: auto; padding-top: 20px; }
.cgt-news-date-badge { background: #741e2b; box-shadow: none; border-radius: 1px; }
.cgt-services-section { background: #f7f5f1; }
.cgt-service-card { text-align: left; color: inherit; border: 1px solid #e5dfd5; border-radius: 3px; box-shadow: none; padding: 30px 24px; cursor: pointer; background: white; }
.cgt-service-card:hover { border-color: #bc9551; box-shadow: 0 10px 30px #35272c08; }
.cgt-service-icon-box { background: #f7f1e7; color: #86632e; border-radius: 2px; margin-left: 0; }
.cgt-service-title { font-family: var(--cgt-font-serif); font-size: 21px; text-transform: none; }
.cgt-service-desc { font-size: 13px; line-height: 1.8; }
.cgt-service-action { font-size: 12px; }
.cgt-docs-banner { background-attachment: scroll; min-height: 300px; }
.cgt-docs-banner-heading { text-transform: none; font-size: clamp(26px, 3vw, 40px); font-weight: 500; }
.cgt-footer { background: #281b23; border-top: 3px solid #bc9551; }
.cgt-footer-top { gap: 40px; padding-top: 56px; }
.cgt-footer-logo-img { object-fit: contain; background: white; border-radius: 2px; }
.cgt-footer-desc { font-size: 12px; line-height: 1.9; color: #d2c9cd; }
.cgt-footer-links a { font-size: 12px; color: #d2c9cd; }
.cgt-footer-col h4 { font-family: var(--cgt-font-sans); font-size: 12px; letter-spacing: .5px; }
.portal-empty { padding: 40px; background: #f7f5f1; color: #626771; text-align: center; }
.cgt-page-hero { background: #f5f2ed; }
.cgt-form-control { min-height: 46px; }
.cgt-search-box { max-width: 100%; }
.cgt-search-box input { max-width: 100%; }
@media (max-width: 1150px) { .cgt-nav { gap: 16px; } .portal-brand > span { max-width: 175px; } }
@media (max-width: 1080px) { .cgt-nav { display: none; } .portal-hero-copy { padding: 52px 25px 40px 0; } .portal-hero-grid { min-height: 500px; } .portal-shortcuts > a { padding: 8px 15px; gap: 10px; } }
@media (max-width: 700px) {
  .portal-utility .cgt-container { min-height: 32px; font-size: 8px; letter-spacing: .6px; } .portal-utility a { font-size: 9px; } .utility-divider { margin: 0 5px; }
  .cgt-header-inner { height: 85px; } .cgt-brand-emblem { width: 48px; height: 48px; } .portal-brand strong { font-size: 19px; } .portal-brand > span { font-size: 9px; }
  .portal-hero-grid { grid-template-columns: 1fr; } .portal-hero-copy { padding: 42px 0 30px; } .portal-hero h1 { font-size: 43px; letter-spacing: -1px; } .portal-hero-copy > p { font-size: 13px; }
  .portal-hero-image { min-height: 290px; margin: 0 -20px; } .portal-image-caption { bottom: 25px; left: 25px; } .portal-image-caption strong { font-size: 24px; } .portal-hero-note { margin-top: 25px; }
  .portal-shortcuts { grid-template-columns: 1fr; padding-top: 10px; padding-bottom: 10px; } .portal-shortcuts > a, .portal-shortcuts > a:first-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid #e7e2d9; }
  .cgt-mosaic-section { padding-top: 32px; } .cgt-mosaic-featured { height: 340px; } .cgt-mosaic-subgrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .cgt-mosaic-card { min-height: 180px; } .cgt-mosaic-card-title { font-size: 12px; } .cgt-mosaic-card-overlay { padding: 14px; }
  .cgt-president-section, .cgt-news-section, .cgt-services-section, .cgt-video-section { padding: 42px 0; } .cgt-president-grid { gap: 28px; } .cgt-section-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cgt-footer-top { gap: 28px; } .cgt-footer-contact-info { flex-wrap: wrap; overflow-wrap: anywhere; } .cgt-docs-banner-content { padding: 35px 20px; } .cgt-docs-banner-desc { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { animation: none !important; transition: none !important; background-attachment: scroll !important; } }

.portal-search-submit { background: #741e2b; color: white; padding: 12px 18px; cursor: pointer; font-weight: 600; border-radius: 3px; }
.cgt-search-box { display: flex; gap: 8px; }
.cgt-page-wrapper .cgt-page-hero { background: #f5f2ed; color: #30292b; border-bottom: 1px solid #e5dfd5; padding: 48px 0; }
.cgt-page-wrapper .cgt-breadcrumb, .cgt-page-wrapper .cgt-breadcrumb a { color: #795a31; }
.cgt-page-wrapper .cgt-page-hero .cgt-page-title { text-transform: none; font-weight: 500; letter-spacing: -.6px; }
.cgt-page-wrapper .cgt-page-hero .cgt-page-subtitle { color: #66636a; max-width: 780px; line-height: 1.8; }
.cgt-drawer-header { background: #511b27; color: white; }
.cgt-drawer-close { color: white; min-width: 40px; min-height: 40px; }
@media(max-width: 600px) { .cgt-contact-form-box { padding: 20px !important; } .cgt-contact-form-box form > div[style*="grid"] { grid-template-columns: 1fr !important; } .cgt-search-box { width: 100%; } .cgt-search-box input { min-width: 0; flex: 1; } }
