/* ===========================
   ABOUT.CSS - About Page Styles
   About page-specific styles
   (page-header, about-content, founders-section, about-two-column, about-stats-row, about-list)
   =========================== */

/* ===========================
    CONTENT SECTIONS
=========================== */
.content-section {
    padding: 7rem 5%;
    padding-bottom: 5.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section:nth-child(even) {
    background: rgba(26, 26, 26, 0.5);
}

#about {
    padding-top: 0px;
}

.section-title {
    font-size: 4.5rem;
    margin-bottom: 0rem;
    color: var(--accent-gold);
    text-align: center;
    letter-spacing: 3px;
    font-weight: 700;
    font-family: 'Aboreto', serif;
}

.section-content {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
    font-family: 'Lato', serif;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.project-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(218, 165, 32, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(218, 165, 32, 0.4);
}

/* ===========================
    PAGE HEADER (for About page)
=========================== */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-gray) 100%);
    margin-top: 70px;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 5%;
}

.page-header h1 {
    font-size: 4.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: 'Aboreto', serif;
    letter-spacing: 3px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-gray);
    font-family: 'Lato', serif;
    line-height: 1.8;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark-bg) 100%);
    padding: 0;
    width: 75%;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* About Content Section */
.about-content {
    background: var(--dark-bg);
    margin-top: 1rem;
}

.about-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-column p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-family: 'Lato', serif;
}

.about-column h3 {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-family: 'Aboreto', serif;
    letter-spacing: 1px;
}

.about-column strong {
    color: var(--accent-gold);
}

/* About Content Blocks */
.about-content-block {
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.about-content-block h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: 'Aboreto', serif;
    letter-spacing: 1px;
}

.about-content-block p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-gray);
    font-family: 'Lato', serif;
}

/* Historical Image Section */
.historical-image-section {
    margin: 60px 0 36px 0;
    text-align: center;
}

.historical-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    font-family: 'Lato', serif;
}

/* Photo Gallery Section */
.photo-gallery-section {
    background: var(--dark-gray);
    padding: 60px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.photo-gallery-section h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Aboreto', serif;
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Lato', serif;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: all var(--transition-speed);
    cursor: pointer;
}

.photo-gallery-grid img:hover {
    transform: scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Stats Row in About Section */
.about-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    padding: 2rem 0;
}

.about-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(42, 42, 42, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.about-stat-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.about-stat-number {
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: 'Aboreto', serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* About List */
.about-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-family: 'Lato', serif;
}

.about-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 0.95rem;
}

/* Founders Section */
.founders-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-gray) 100%);
    padding: 6rem 5%;
    position: relative;
}

.founders-intro {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-family: 'Lato', serif;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-card {
    background: rgba(42, 42, 42, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.founder-info h3 {
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-family: 'Aboreto', serif;
    letter-spacing: 1px;
}

.founder-role {
    font-size: 1rem;
    color: var(--text-white);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.founder-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    font-family: 'Lato', serif;
}

/* ===========================
    RESPONSIVE STYLES
=========================== */

@media (max-width: 968px) {
    .about-hero {
        padding: 4rem 5%;
    }

    .about-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content-block h3 {
        font-size: 1.6rem;
    }

    .about-stat-number {
        font-size: 2.5rem;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .about-column p,
    .about-content-block p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .about-hero {
        padding: 3rem 5%;
    }

    .section-title {
        font-size: 2rem;
    }

    .founder-card {
        padding: 2rem 1.5rem;
    }
}

/* ===========================
   PAGE HEADER — PHOTO BACKGROUND
   (overrides gradient-only default)
=========================== */
.page-header {
    height: 55vh;
    min-height: 400px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.72) 100%),
        url('../web_photos/WhoWeAre.jpg') center / cover no-repeat;
}

/* Decorative gold rule below the page-header h1 */
.page-header-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
}

.ph-line {
    width: 80px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.7;
}

.ph-diamond {
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ===========================
   ABOUT MISSION / VISION SECTION
=========================== */
.about-mission {
    background: var(--dark-bg);
    padding: 6rem 5%;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.about-mission-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* Gold rule ornament (used in mission and governance sections) */
.mission-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem auto 2.5rem;
}

.mr-line {
    width: 120px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.6;
}

.mr-diamond {
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.95;
    color: var(--text-gray);
    font-family: 'Lato', serif;
    font-style: italic;
    margin-bottom: 0;
}

/* Star separator between mission and vision */
.mission-vision-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
}

.mvs-line {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5));
}

.mission-vision-sep .mvs-line:last-child {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), transparent);
}

.mvs-star {
    color: var(--accent-gold);
    font-size: 0.95rem;
    opacity: 0.8;
}

.mission-vision-label {
    font-family: 'Aboreto', serif;
    font-size: 1.8rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.95;
    color: var(--text-gray);
    font-family: 'Lato', serif;
}

/* ===========================
   EASTLAKE DIVIDER WRAPPERS
=========================== */
.about-divider-wrap {
    padding: 1rem 5%;
    background: var(--dark-bg);
}

.about-section-divider {
    padding: 4rem 5%;
    background: var(--dark-bg);
}

/* ===========================
   THREE COMMUNITIES SECTION
=========================== */
.about-communities {
    background: var(--dark-bg);
    padding: 6rem 5%;
}

.about-communities-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.communities-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-gray);
    font-family: 'Lato', serif;
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4rem;
}

.about-communities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.about-community-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-community-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-4px);
}

/* Gold gradient bar across the top of each community card */
.community-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.about-community-card h3 {
    font-family: 'Aboreto', serif;
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 1.25rem;
    letter-spacing: 1.5px;
}

.about-community-card p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-gray);
    font-family: 'Lato', serif;
}

/* ===========================
   BOARD OF DIRECTORS SECTION
=========================== */
.board-leadership {
    background: var(--dark-gray);
    padding: 6rem 5%;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.board-leadership h2 {
    font-family: 'Aboreto', serif;
    font-size: 3rem;
    color: var(--accent-gold);
    letter-spacing: 3px;
    margin-bottom: 3rem;
}

/* Shared loading placeholder style (board + governance) */
.loading-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    font-style: italic;
    padding: 2.5rem 3rem;
    border: 1px dashed rgba(212, 175, 55, 0.25);
    display: inline-block;
    min-width: 300px;
}

/* ===========================
   GOVERNING POLICIES SECTION
=========================== */
.about-governance {
    background: var(--dark-bg);
    padding: 6rem 5%;
}

.about-governance-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

/* ===========================
   RESPONSIVE — NEW SECTIONS
=========================== */
@media (max-width: 968px) {
    .page-header {
        height: 45vh;
    }

    .about-mission {
        padding: 4rem 5%;
    }

    .about-communities {
        padding: 4rem 5%;
    }

    .about-communities-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .board-leadership {
        padding: 4rem 5%;
    }

    .board-leadership h2 {
        font-size: 2.5rem;
    }

    .about-governance {
        padding: 4rem 5%;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 40vh;
        min-height: 320px;
    }

    .mission-text,
    .vision-text {
        font-size: 1.1rem;
    }

    .mission-vision-label {
        font-size: 1.5rem;
    }

    .board-leadership h2 {
        font-size: 2rem;
    }

    .loading-text {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 35vh;
        min-height: 280px;
    }

    .ph-line {
        width: 40px;
    }

    .mr-line {
        width: 60px;
    }

    .about-community-card {
        padding: 2rem 1.5rem;
    }

    .about-section-divider {
        padding: 2rem 5%;
    }
}

/* ===========================
   BOARD DIRECTORY (API-wired)
=========================== */
.board-section-subtitle {
    font-family: 'Aboreto', serif;
    font-size: 1.4rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 2.5rem 0 1.25rem;
}

.board-officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.board-officer-card {
    background: var(--dark-bg);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.officer-card-title {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-variant: small-caps;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.officer-card-name {
    display: block;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.officer-vacant {
    color: var(--text-gray);
    font-style: italic;
}

.board-cotw-note {
    font-style: italic;
    color: rgba(212, 175, 55, 0.65);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.board-directors-list {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.board-director-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-family: 'Lato', sans-serif;
}

.board-director-item:last-child {
    border-bottom: none;
}

.board-director-name {
    color: var(--text-white);
    font-size: 1rem;
}

.board-director-role {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 2px 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 3px;
    background: rgba(212, 175, 55, 0.08);
}

/* ===========================
   GOVERNANCE POLICIES (API-wired)
=========================== */
.governance-policy-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.governance-policy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    font-family: 'Lato', sans-serif;
    gap: 1rem;
}

.governance-policy-item:last-child {
    border-bottom: none;
}

.policy-name-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 1rem;
}

.policy-name-link:hover {
    text-decoration: underline;
}

.policy-adoption-date {
    font-size: 0.95rem;
    color: var(--text-gray);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Shared inline error/empty messages */
.board-error,
.board-empty,
.policy-empty {
    font-family: 'Lato', sans-serif;
    color: var(--text-gray);
    font-style: italic;
    font-size: 1rem;
    padding: 1rem 0;
}

@media (max-width: 600px) {
    .board-officer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .governance-policy-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ===========================
   GOVERNANCE DOCUMENT VIEWER — About Page
   Master-detail viewer chrome (back nav, header, actions).
   Document content styles live in global.css (.governance-document).
=========================== */

/* Back navigation — display:flex (block-level) ignores text-align:center
   from the ancestor .about-governance-inner, keeping it left-aligned. */
.gov-doc-back {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-white);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    transition: opacity 0.2s;
}

.gov-doc-back:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* Document header in detail view */
.gov-doc-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.gov-doc-title {
    font-family: 'Aboreto', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.gov-doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.gov-doc-meta-item {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Loading and error states inside detail view */
.gov-doc-loading,
.gov-doc-error {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    font-style: italic;
    padding: 1rem 0;
}

/* ===========================
   GOVERNANCE DOCUMENT LIST — About Page
   Master list of bylaws + board-adopted policies.
=========================== */

/* Bylaws row — visually aligned with the policy rows below it */
.gov-doc-list-primary {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    gap: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.gov-doc-list-primary-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

/* Board-Adopted Policies subheading */
.gov-doc-subheading {
    font-family: 'Aboreto', serif;
    font-size: 0.95rem;
    color: rgba(212, 175, 55, 0.65);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Policy rows */
.gov-doc-policy-rows {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.gov-doc-list-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    gap: 1.25rem;
    flex-wrap: wrap;
}

.gov-doc-list-item:last-child {
    border-bottom: none;
}

.gov-doc-list-item-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.gov-doc-list-name {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-white);
}

.gov-doc-list-date {
    font-family: 'Lato', sans-serif;
    font-size: 1.08rem;
    font-weight: 300;
    color: var(--text-gray);
    padding-left: 1em;
}

.gov-doc-list-amended {
    font-family: 'Lato', sans-serif;
    font-size: 1.08rem;
    font-weight: 300;
    color: rgba(212, 175, 55, 0.6);
    padding-left: 1em;
}

/* Read button (shared by bylaws card and policy rows) */
.gov-doc-read-btn {
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    padding: 0.45rem 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.gov-doc-read-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
}

@media (max-width: 600px) {
    .gov-doc-list-primary,
    .gov-doc-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .gov-doc-read-btn {
        width: 100%;
        text-align: center;
    }

    .gov-doc-title {
        font-size: 1.25rem;
    }
}

/* ===========================
   GOVERNANCE — SECTION HEADINGS
   "Core Governance" and "Supplementary Policies" labels
=========================== */
.about-gov-section-heading {
    font-family: 'Aboreto', serif;
    font-size: 1.14rem;
    color: rgba(212, 175, 55, 0.65);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 3.5rem;
    margin-bottom: 0.35rem;
}

.about-gov-section-heading--secondary {
    margin-top: 3rem;
}

/* ===========================
   GOVERNANCE — CLICKABLE DOCUMENT TITLES
   Replaces "Read" button pattern: title itself is the click target
=========================== */
.about-gov-title-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    color: var(--text-white);
    text-align: left;
    cursor: pointer;
    line-height: 1.25;
    transition: color 0.2s;
}

.about-gov-title-btn:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* ===========================
   GOVERNANCE DETAIL VIEW — COLUMN & TEXT ALIGNMENT
   .about-gov-doc-column overrides the centered parent
   (.about-governance-inner has text-align: center).
   Body text must be left-aligned; the document title
   heading is kept centered for aesthetic consistency.
=========================== */
.about-gov-doc-column {
    text-align: left;
}

.about-gov-doc-column .gov-doc-title {
    text-align: center;
    font-size: 2rem;
}

/* Center the adopted/amended date line under the doc title */
.about-gov-doc-column .gov-doc-meta {
    justify-content: center;
}

/* Download PDF link — white on the about page dark background */
.about-gov-doc-column .dash-gov-toolbar-download {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.about-gov-doc-column .dash-gov-toolbar-download:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ===========================
   GOVERNANCE — POLICY NUMBERS & BYLAWS SYMBOL
   Decorative left-column elements for list view rows
=========================== */

/* Decorative policy number (Aboreto, gold, right-aligned in column).
   Width is fixed so every row's number occupies the same space,
   aligning visually with the bylaws symbol column. */
.gov-doc-list-num {
    font-family: 'Aboreto', serif;
    font-size: 3.5rem;
    color: rgba(212, 175, 55, 0.55);
    width: 3rem;
    min-width: 3rem;
    text-align: center;
    flex-shrink: 0;
    align-self: center;
    line-height: 1;
    user-select: none;
}

/* Bylaws Roman fence symbol — pure CSS, same column width as policy numbers.
   Perfect square (3rem × 3rem); all bars uniform 2 px.
   No border — every bar (outer top/bottom/left/right, center horizontal/vertical,
   two corner-to-corner diagonals) is a gradient layer so the diagonals reach
   the true corners.  For a square, CSS "to bottom right" is exactly 45°. */
.gov-doc-bylaws-sym {
    position: relative;
    display: inline-block;
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    align-self: center;
    opacity: 0.65;
}

/* Eight gradient layers in one pseudo-element.
   All bar colors are fully opaque (#d4af37); opacity:0.65 on the element
   itself controls the overall alpha uniformly — no compounding at corners
   or intersections.
   Outer bars: 4 px strip from each edge.
   Center bars: 4 px band at 50% (calc ± 2 px).
   Diagonals: 4 px band at 50% along the corner-to-corner gradient line. */
.gov-doc-bylaws-sym::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* outer top bar */
        linear-gradient(to bottom, #d4af37 4px, transparent 4px),
        /* outer bottom bar */
        linear-gradient(to top,    #d4af37 4px, transparent 4px),
        /* outer left bar */
        linear-gradient(to right,  #d4af37 4px, transparent 4px),
        /* outer right bar */
        linear-gradient(to left,   #d4af37 4px, transparent 4px),
        /* center horizontal bar */
        linear-gradient(
            to bottom,
            transparent calc(50% - 2px),
            #d4af37 calc(50% - 2px),
            #d4af37 calc(50% + 2px),
            transparent calc(50% + 2px)
        ),
        /* center vertical bar */
        linear-gradient(
            to right,
            transparent calc(50% - 2px),
            #d4af37 calc(50% - 2px),
            #d4af37 calc(50% + 2px),
            transparent calc(50% + 2px)
        ),
        /* diagonal: top-left → bottom-right */
        linear-gradient(
            to bottom right,
            transparent calc(50% - 2px),
            #d4af37 calc(50% - 2px),
            #d4af37 calc(50% + 2px),
            transparent calc(50% + 2px)
        ),
        /* diagonal: top-right → bottom-left */
        linear-gradient(
            to bottom left,
            transparent calc(50% - 2px),
            #d4af37 calc(50% - 2px),
            #d4af37 calc(50% + 2px),
            transparent calc(50% + 2px)
        );
}

/* Center circle at the intersection of all lines */
.gov-doc-bylaws-sym::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4af37;
}
