/* About page — uses home shell (.udmdr-home + .home-hero); professional content styling */

.about-page .home-hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    padding: 26px 20px 36px;
}

.about-hero-head {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.about-hero-kicker {
    margin: 0 0 14px;
    max-width: 640px;
    color: #e8d78a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-hero-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}

.about-hero-desc {
    margin: 0 0 22px;
    max-width: 620px;
    color: rgba(255, 255, 255, .94);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.about-page .home-hero .hero-actions {
    margin-top: 6px;
}

/* Intro panel */
.about-lead-box {
    margin-bottom: 28px;
    /* padding: 26px 28px 24px;
    border: 1px solid #b8c9b0;
    border-radius: 6px;
    background: linear-gradient(180deg, #fff 0%, #f8fbf6 100%);
    box-shadow: 0 4px 18px rgba(12, 55, 35, .07); */
}

.about-lead-text {
    margin: 0 0 14px;
    color: #142018;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.about-lead-text--last {
    margin-bottom: 0;
}

/* Mission / vision — inherits home utility grid */
.about-mission-row {
    margin-bottom: 26px;
    gap: 15px;
}

.about-mission-block {
    padding: 20px 22px;
    border: 1px solid #a4aea0;
    border-left: 4px solid #1f7745;
    border-radius: 4px;
    background: #fff;
    min-height: 165px;
    box-shadow: 0 2px 10px rgba(12, 55, 35, .05);
}

.about-block-text {
    margin: 0;
    color: #1a241c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

/* Objectives */
.about-objectives-wrap {
    margin-bottom: 0;
    padding: 22px 24px 24px;
    border: 1px solid #a4aea0;
    border-left: 4px solid #1f7745;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(12, 55, 35, .05);
    margin-bottom: 40px;
}

.about-objectives-wrap h2 {
    margin: 0 0 14px;
}

.about-objectives-list {
    margin: 0;
    padding: 0 0 0 22px;
    color: #142018;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.about-objectives-list li {
    margin-bottom: 10px;
}

.about-objectives-list li:last-child {
    margin-bottom: 0;
}

/* FAQs — bottom of about page */
.about-faq-panel {
    margin-top: 8px;
    margin-bottom: 48px;
    max-width: 1023px;
}

.about-faq-heading {
    margin: 0 0 10px;
    color: #0b0f0d;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}

.about-faq-intro {
    margin: 0 0 22px;
    color: #374943;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    max-width: 720px;
}

.about-faq-link {
    color: #0c5b35;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-faq-link:hover {
    color: #1f7745;
}

.about-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-faq-item {
    margin: 0;
    border: 1px solid #a4aea0;
    border-left: 4px solid #0c5b35;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(12, 55, 35, .05);
    overflow: hidden;
}

.about-faq-item[open] {
    border-left-color: #1f7745;
    box-shadow: 0 4px 14px rgba(12, 55, 35, .08);
}

.about-faq-q {
    position: relative;
    margin: 0;
    padding: 14px 42px 14px 18px;
    list-style: none;
    cursor: pointer;
    color: #0b0f0d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.about-faq-q::-webkit-details-marker,
.about-faq-q::marker {
    display: none;
}

.about-faq-q::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    border-right: 2px solid #1f7745;
    border-bottom: 2px solid #1f7745;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    opacity: 0.85;
}

.about-faq-item[open] .about-faq-q::after {
    margin-top: -2px;
    transform: rotate(225deg);
}

.about-faq-q:hover {
    background: rgba(31, 119, 69, .06);
}

.about-faq-a {
    padding: 0 18px 16px 18px;
    margin: 0;
    border-top: 1px solid #e5ebe3;
    color: #1a241c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

/* Service hub pages — cross-links under hero/content */
.service-crosslinks {
    margin-top: 8px;
    margin-bottom: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(12, 55, 35, .15);
}

.service-crosslinks-title {
    margin: 0 0 14px;
    color: #0b0f0d;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}

.service-crosslinks-actions {
    flex-wrap: wrap;
    gap: 8px;
}

.portal-btn--current {
    background: #1f7745;
    border-color: #145a32;
    color: #fff;
    cursor: default;
    pointer-events: none;
}

/* Features block subtitle */
.about-features .about-features-lead {
    margin: -6px 0 18px;
    color: #374943;
    font-size: 13px;
    font-weight: 700;
}

/* Bottom CTA — card on page background */
.about-cta-panel {
    margin-top: 48px;
    margin-bottom: 56px;
    padding-bottom: 8px;
}

.about-cta-inner {
    padding: 28px 24px 30px;
    text-align: center;
    border: 1px solid #a4aea0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(12, 55, 35, .07);
}

.about-cta-heading {
    margin: 0 0 8px;
    color: #0b0f0d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.about-cta-desc {
    margin: 0 0 20px;
    color: #374943;
    font-size: 13px;
    font-weight: 600;
}

.about-cta-actions {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0;
}

.about-cta-actions .hero-pill {
    min-width: 218px;
    font-size: 13px;
}

/* Marriage registration form (citizen portal) */
.marriage-register-page .marriage-form-intro {
    margin-bottom: 22px;
}

.req {
    color: #b45309;
    font-weight: 800;
}

.form-flash {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #a4aea0;
}

.form-flash--success {
    background: #ecfdf5;
    border-color: #1f7745;
    color: #14532d;
}

.marriage-reg-form,
.contact-form {
    margin: 0;
    padding: 0 0 48px;
}

.marriage-reg-form .form-section,
.contact-form .form-section {
    margin: 0 0 22px;
    padding: 20px 22px 22px;
    border: 1px solid #a4aea0;
    border-left: 4px solid #1f7745;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(12, 55, 35, .05);
}

.marriage-reg-form .form-section-title,
.contact-form .form-section-title {
    padding: 0 0 14px;
    margin: 0 0 6px;
    width: 100%;
    color: #0b0f0d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    border-bottom: 1px solid #e5ebe3;
}

.marriage-reg-form .form-row,
.contact-form .form-row {
    display: grid;
    gap: 14px 18px;
    margin-bottom: 14px;
}

.marriage-reg-form .form-row:last-child,
.contact-form .form-row:last-child {
    margin-bottom: 0;
}

.marriage-reg-form .form-row--2,
.contact-form .form-row--2 {
    grid-template-columns: 1fr 1fr;
}

.marriage-reg-form .form-group,
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.marriage-reg-form .form-group--full,
.contact-form .form-group--full {
    grid-column: 1 / -1;
}

.marriage-reg-form .form-group label,
.contact-form .form-group label {
    font-size: 12px;
    font-weight: 800;
    color: #142018;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.marriage-reg-form .form-input,
.marriage-reg-form .form-textarea,
.contact-form .form-input,
.contact-form .form-textarea,
.contact-form .form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #a4aea0;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    transition: outline-color 0.15s ease, border-color 0.15s ease;
}

.marriage-reg-form .form-textarea,
.contact-form .form-textarea {
    resize: vertical;
    min-height: 72px;
}

.contact-form .form-textarea--message {
    min-height: 140px;
}

.marriage-reg-form .form-input:focus,
.marriage-reg-form .form-textarea:focus,
.contact-form .form-input:focus,
.contact-form .form-textarea:focus,
.contact-form .form-select:focus {
    outline: 2px solid rgba(31, 119, 69, 0.45);
    outline-offset: 0;
    border-color: #1f7745;
}

.marriage-reg-form .form-input--error,
.marriage-reg-form .form-textarea.form-input--error,
.contact-form .form-input--error,
.contact-form .form-textarea.form-input--error,
.contact-form .form-select.form-input--error {
    border-color: #b91c1c;
}

.marriage-reg-form .form-error,
.contact-form .form-error {
    font-size: 12px;
    font-weight: 700;
    color: #b91c1c;
}

.marriage-reg-form .form-actions,
.contact-form .form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
}

.marriage-reg-form .form-submit,
.contact-form .form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 28px;
    border: 2px solid #145a32;
    border-radius: 4px;
    background: linear-gradient(180deg, #2d8f52 0%, #1f7745 100%);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(20, 90, 50, .35);
}

.marriage-reg-form .form-submit:hover,
.contact-form .form-submit:hover {
    filter: brightness(1.05);
}

.marriage-reg-form .form-submit:focus,
.contact-form .form-submit:focus {
    outline: 2px solid #d7bd5b;
    outline-offset: 2px;
}

.marriage-reg-form .form-cancel,
.contact-form .form-cancel {
    text-decoration: none;
}

.contact-page .contact-support-block {
    margin-bottom: 22px;
}

.contact-page .contact-helpline {
    font-size: 22px;
    font-weight: 800;
    color: #0c5b35;
    letter-spacing: 0.02em;
}

.contact-page .contact-cards {
    margin-bottom: 26px;
}

.contact-page .contact-card-note {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #374943;
    line-height: 1.45;
}

/* FAQ full page — extra section headings */
.faq-page .faq-section-heading {
    margin-top: 36px;
}

/* News & updates */
.news-page .news-intro {
    margin-bottom: 24px;
}

.news-page .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-page .news-card {
    margin: 0;
    padding: 20px 22px;
    border: 1px solid #a4aea0;
    border-left: 4px solid #1f7745;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(12, 55, 35, .05);
}

.news-page .news-date {
    display: block;
    margin: 0 0 8px;
    color: #0c5b35;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-page .news-title {
    margin: 0 0 10px;
    color: #0b0f0d;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.news-page .news-excerpt {
    margin: 0;
    color: #1a241c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.news-page .news-excerpt strong {
    color: #142018;
}

@media (max-width: 720px) {
    .marriage-reg-form .form-row--2,
    .contact-form .form-row--2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-desc {
        font-size: 15px;
    }

    .about-lead-box {
        padding: 20px 18px;
    }
}

@media (max-width: 640px) {
    .about-page .home-hero {
        min-height: 280px;
        padding: 20px 16px 28px;
    }

    .about-hero-kicker {
        font-size: 10px;
    }

    .about-hero-title {
        font-size: 26px;
    }

    .about-hero-desc {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .about-cta-actions {
        flex-direction: column;
        gap: 14px;
    }

    .about-cta-actions .hero-pill {
        width: min(300px, 90vw);
    }
}
