:root {
    --primary-green: #0a9646;
    --primary-green-dark: #066b32;
    --primary-red: #f4342d;
    --primary-yellow: #f3ba1a;
    --light-green: #e7f4eb;
    --light-yellow: #fbf2dd;
    --archive-gold-border: #f4e6ba;
    --text-dark: #141414;
    --text-soft: #555555;
    --text-muted: #000;
    --border-soft: #dfdfdf;
    --surface-soft: #f7f7f7;
    --white: #ffffff;
    --page-max: 1160px;
    --header-height: 78px;
    --mobile-bottom-stack: 96px;
    --container-gutter: 32px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.page-body {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
}

.container {
    width: min(100%, var(--page-max));
    margin: 0 auto;
    padding: 0 var(--container-gutter);
}

.page-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.grid {
    display: grid;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font: inherit;
}

.section-padding {
    padding-top: 24px;
    padding-bottom: 24px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #ececec;
    backdrop-filter: blur(10px);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 42px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links a {
    transition: color 0.2s ease;
}

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

.menu-toggle {
    display: none;
    width: 38px;
    height: 34px;
    padding: 0;
    background: transparent;
    border: 1.5px solid #202020;
    border-radius: 4px;
}

.menu-toggle-bar {
    width: 16px;
    height: 1.8px;
    background: #202020;
    border-radius: 999px;
}

.menu-toggle-bar + .menu-toggle-bar {
    margin-top: 3px;
}

.btn-donate,
.mobile-donate-link {
    min-height: 32px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary-yellow);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
}

.mobile-donate-item {
    display: none;
    list-style: none;
}

.social-sidebar {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px 5px;
    background: #111111;
    border-radius: 8px;
    z-index: 999;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
}

footer {
    margin-top: auto;
    background: linear-gradient(90deg, #050505 0%, #0b1812 30%, #0b4d2d 100%);
    color: #ffffff;
    text-align: center;
    font-size: 10.5px;
    font-weight: 600;
    padding: 11px 0 15px;
    letter-spacing: 0.01em;
}

footer a {
    color: inherit;
}

.home-page,
.subscribe-page,
.donate-page,
.contact-page,
.success-page,
.payment-page,
.payment-sent-page {
    width: 100%;
}

.home-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 54px;
}

.home-intro {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.home-intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.highlight-green {
    color: var(--primary-green);
}

.highlight-red {
    color: var(--primary-red);
}

.editions-section {
    width: min(100%, 820px);
    margin: 0 auto;
}

.tap-hint {
    display: block;
    width: min(100%, 280px);
    font-size: 0.82rem;
    color: #888;
    letter-spacing: 0.01em;
}

.route-welcome .tap-hint {
    font-weight: 700;
}

/* Homepage desktop: each column aligns its tap-hint above the card */
.edition-col-latest .tap-hint {
    width: min(100%, 280px);
    margin: 6px 0 12px 80px;
    text-align: center;
}

.edition-col-featured .tap-hint {
    width: min(100%, 280px);
    margin: 6px 80px 12px auto;
    text-align: center;
}

/* Archives page desktop: independent declaration */
.route-archives-index .tap-hint {
    text-align: center;
    margin: 6px auto 12px;
    width: auto;
    white-space: nowrap;
    font-size: 1rem;
}

.editions-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 auto 14px;
    border-bottom: 1px solid #eadfae;
}

.tab-btn {
    padding: 0 0 10px;
    border: none;
    background: transparent;
    color: #888888;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    text-align: center;
}

.tab-btn:first-child {
    margin-left: 40px;
}

.tab-btn:last-child {
    margin-right: 40px;
}

.tab-btn[data-tab-target="latest"] {
    color: var(--primary-green);
}

.tab-btn[data-tab-target="featured"] {
    color: var(--primary-yellow);
}

.tab-btn.active[data-tab-target="latest"] {
    border-bottom-color: var(--primary-green);
}

.tab-btn.active[data-tab-target="featured"] {
    border-bottom-color: var(--primary-yellow);
}

.editions-grid,
.editions-grid-1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.edition-card {
    width: min(100%, 280px);
    margin: 0 auto;
    padding: 13px;
    border-radius: 20px;
    overflow: hidden;
}

.edition-card-latest {
    background: var(--primary-green);
    margin-left: 80px;
}

.edition-card-featured {
    background: var(--primary-yellow);
    margin-right: 80px;
}

.edition-card .magazine-cover {
    border: none;
    margin: 0;
    border-radius: 16px;
}

.edition-card .magazine-cover img {
    height: 100%;
    border-radius: 12px;
}

.is-hidden {
    display: none !important;
}

/* ── Past reports carousel ── */
.reports-carousel {
    position: relative;
}

.carousel-viewport {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 12px;
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease;
}

.carousel-arrow:hover {
    background: #f5f5f5;
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.carousel-arrow-prev {
    left: -14px;
}

.carousel-arrow-next {
    right: -14px;
}

.about-page {
    flex: 1;
    padding-top: 0;
    padding-bottom: 6px;
}

.about-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 46%);
    gap: 0;
    align-items: center;
}

.about-text {
    padding-top: 26px;
    padding-right: 5px;
}

.about-intro {
    margin-bottom: 22px;
}

.about-intro p,
.editorial-principle {
    margin: 0;
    font-size: clamp(16px, 1.75vw, 20px);
    line-height: 1.55;
    font-weight: 600;
}

.editorial-principle .green {
    color: var(--primary-green);
}

.about-image {
    position: relative;
    height: min(428px, 42dvh);
    overflow: hidden;
}

.about-image::before {
    content: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    margin-top: 48px;
    margin-bottom: 0;
    align-items: start;
}

.about-column h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.15;
    color: var(--primary-green);
}

.about-column ul {
    list-style: disc;
    padding-left: 18px;
}

.about-column li,
.about-note p {
    font-size: 15px;
    line-height: 1.55;
}

.about-note {
    padding: 16px 18px;
	margin-left: 22px;
    background: linear-gradient(90deg, #ededed 0%, #f5f5f5 60%, #ffffff 100%);
}

.about-note p {
    margin: 0 0 10px;
}

.about-note p:last-child {
    margin-bottom: 0;
}

.subscribe-section {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 18px;
}

.subscribe-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px 42px;
    width: min(100%, 980px);
    margin: 0 auto;
    align-items: start;
}

.subscribe-text-top {
    grid-column: 1;
}

.subscribe-icon {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-top: 8px;
}

.subscribe-icon-img {
    width: 148px;
}

.subscribe-divider {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    border: none;
    border-top: 1px solid #e1e1e1;
}

.subscribe-text-bottom {
    grid-column: 1 / -1;
    width: 100%;
}

.subscribe-text h2 {
    margin: 0 0 12px;
    max-width: 620px;
    font-size: clamp(34px, 4.6vw, 55px);
    line-height: 1.02;
    font-weight: 700;
}

.subscribe-text .free {
    color: var(--primary-red);
    font-weight: 400;
}

.sub-description {
    margin: 0;
    max-width: 460px;
    font-size: 19px;
    line-height: 1.5;
    color: var(--text-soft);
}

.subscribe-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 20px 0 40px;
}

.subscribe-cta-text {
    margin: 0;
    max-width: 520px;
    font-size: 19px;
    line-height: 1.45;
    color: var(--text-soft);
}

.subscribe-cta-text .green {
    color: var(--primary-green);
    font-weight: 700;
}

.phone-number {
    display: flex;
    align-items: baseline;
    gap: 0;
    flex-shrink: 0;
    margin: 0;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.phone-number .prefix {
    font-size: clamp(34px, 4.6vw, 55px);
}

.phone-number .highlight-red {
    font-size: clamp(34px, 4.6vw, 55px);
    color: var(--primary-red);
}

.phone-number .rest {
    font-size: clamp(34px, 4.6vw, 55px);
    color: var(--primary-green);
}

.wa-input-wrapper {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 980px);
}

.wa-input-box {
    flex: 1;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #bfbfbf;
    border-radius: 4px;
}

.wa-input-box span {
    font-size: 14px;
    color: var(--primary-green);
}

.wa-send-btn {
    min-width: 150px;
    height: 48px;
    border-radius: 4px;
    background: #a8d5b8;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.subscribe-consent {
    margin: 14px auto 0;
    max-width: 980px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--text-soft);
    text-align: center;
}

.mission-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
}

.mission-icon-img {
    width: 78px;
    margin: 0 auto 2px;
}

.mission-title {
    max-width: 700px;
    margin: 0 auto;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 700;
}

.mission-subtitle {
    max-width: 680px;
    margin: 16px auto 16px;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--primary-green);
}

.info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 760px;
    margin: 16px auto 16px;
    text-align: left;
}

.card {
    padding: 18px 20px;
    border-radius: 6px;
}

.card-yellow {
    background: var(--light-yellow);
}

.card-green {
    background: var(--light-green);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.card ul {
    list-style: disc;
    padding-left: 18px;
}

.card li {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 3px;
}

.large-donate-btn {
    width: min(100%, 760px);
    min-height: 40px;
    margin: 0 auto;
    border-radius: 4px;
    background: linear-gradient(90deg, #f1be21 0%, var(--primary-green) 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.archive-page {
    padding-top: 10px;
    padding-bottom: 24px;
}

.archive-page .home-intro {
    margin-bottom: 12px;
}

.archive-page .tap-hint {
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
    text-align: center;
}

.search-bar-wrapper {
    position: relative;
    width: min(100%, 900px);
    margin: 0 auto 18px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #8f8f8f;
}

.search-bar {
    width: 100%;
    height: 40px;
    padding: 0 18px 0 42px;
    border: none;
    border-radius: 999px;
    background: #f3f3f3;
    font: inherit;
    font-size: 12px;
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
}

.magazine-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-soft);
    text-align: center;
    letter-spacing: 0.03em;
}

.magazine-item {
    text-align: center;
}

.magazine-cover-wrap {
    position: relative;
}

.magazine-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 8px 0 0;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

.magazine-title:hover,
.magazine-title:focus {
    text-decoration: underline;
}

.search-empty {
    grid-column: 1 / -1;
    margin: 24px 0;
    text-align: center;
}

.magazine-cover {
    display: block;
    aspect-ratio: 0.72;
    border: 10px solid var(--archive-gold-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-soft);
}

.magazine-cover-latest {
    border-color: var(--primary-green);
}

.magazine-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-date {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
}

.magazine-item p.magazine-date {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
}

.pagination .active {
    background: var(--primary-green);
    color: #ffffff;
}

.contact-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding-top: 85px;
    padding-bottom: 18px;
}

.contact-headline {
    margin: 0 0 8px;
    font-size: clamp(30px, 3.8vw, 42px);
    line-height: 1.08;
    font-weight: 800;
}

.contact-headline .red {
    color: var(--primary-red);
}

.contact-headline .green {
    color: var(--primary-green);
}

.contact-sub {
    margin: 35px auto 40px;
    max-width: 600px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 760px);
    margin: 0 auto;
    text-align: left;
}

.left-inputs {
    display: grid;
    gap: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px 14px;
    font: inherit;
    font-size: 12px;
    color: var(--text-dark);
}

.form-group textarea {
    height: calc(3 * (18px + 18px + 1em + 2px) + 2 * 10px + 10px);
    min-height: unset;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.search-bar:focus {
    outline: 2px solid rgba(10, 150, 70, 0.12);
    outline-offset: 0;
}

.submit-btn {
    width: min(100%, 760px);
    min-height: 40px;
    margin: 60px auto 0;
    border-radius: 4px;
    background: #a6dbc0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.ads-email {
    margin: 35px auto 0;
    font-size: 14px;
    line-height: 1.45;
}

.ads-email .label {
    color: var(--primary-red);
    font-weight: 700;
}

.error-message {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--primary-red);
}

.success-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.success-icon {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-success-icon {
    border: 3px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 28px;
}

.success-section h1 {
    margin: 0;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
}

.success-sub {
    margin: 0;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted);
}

.btn-back-home {
    min-height: 40px;
    padding: 0 26px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f1be21 0%, var(--primary-green) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.payment-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 18px;
}

.payment-banner {
    padding: 36px 20px 34px;
    background: linear-gradient(90deg, rgba(0, 65, 30, 0.1) 0%, rgba(255, 182, 0, 0.1) 100%);
    text-align: center;
}

.payment-banner h2 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.1;
    color: #8c8b1b;
    font-weight: 900;
}

.payment-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #5f5f5f;
}

.payment-form {
    padding: 18px 24px 0;
}

.payment-card {
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 24px 32px;
    border: 1px solid #dddddd;
    border-radius: 22px;
    text-align: center;
}

.payment-question {
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 20px 0 16px;
    font-size: 26px;
    line-height: 1.2;
    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
}

.amount-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    margin-bottom: 12px;
}

.amount-value {
    font-size: 68px;
    line-height: 1;
    font-weight: 700;
    color: var(--primary-green);
}

.amount-currency {
    font-size: 12px;
    font-weight: 700;
}

.amount-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-top: 14px;
    border-top: 1px solid #ebebeb;
}

.amount-option {
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0 18px;
    font-family: inherit;
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-green);
    cursor: pointer;
    position: relative;
}

.amount-option:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #cccccc;
    font-weight: 300;
}

.monthly-donation {
    margin: 14px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.monthly-donation input {
    width: 14px;
    height: 14px;
    accent-color: var(--primary-green);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.payment-btn {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-btn-mpesa {
    background: var(--primary-green);
    color: #ffffff;
}

.payment-btn-paypal {
    background: #ffffff;
    color: #0065d1;
    border: 1px solid #9dc2ff;
}

.payment-btn-card {
    background: #111111;
    color: #ffffff;
}

.payment-disclaimer {
    width: min(100%, 960px);
    margin: 10px auto 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
    color: var(--text-muted);
}

.payment-sent-logo {
    width: 120px;
    margin-bottom: 8px;
}

/* ===== SUBSCRIBE FORM PAGE ===== */
.subscribe-form-page {
    text-align: left;
    max-width: 680px;
}

.subscribe-form-page .contact-headline {
    text-align: center;
}

.subscribe-form-page .contact-subs {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 16px;
}

.subscribe-form-page .form-group {
    margin-bottom: 20px;
}

.subscribe-form-page label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

.subscribe-form-page .req {
    color: var(--primary-red);
}

.subscribe-form-page .field-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 13px;
}

.subscribe-form-page select {
    width: 100%;
    padding: 18px 16px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.subscribe-form-page select:focus {
    border-color: var(--primary-green);
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gender-radios {
    display: flex;
    gap: 24px;
    padding: 14px 0 6px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
    font-size: 15px;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.consent-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 16px;
    border: 1.5px solid #e9ecef;
}

.consent-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 12px;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.consent-legal {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.privacy-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.subscribe-success-alert {
    background: #e8f5e9;
    border: 1.5px solid #a5d6a7;
    color: #2e7d32;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 15px;
}

.subscribe-success-only {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    font-size: 22px;
    font-weight: 700;
    color: #1a7a1a;
    text-align: center;
    padding: 40px 20px;
}

.subscribe-form-page .submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }
}


/* ── Homepage: tighter layout (no per-report title/date) ── */
.route-welcome .archive-page {
    padding-top: 6px;
}

.route-welcome .archive-page .home-intro {
    margin-bottom: 8px;
}

.route-welcome .search-bar-wrapper {
    margin-bottom: 10px;
}

.route-welcome .archive-page .tap-hint {
    margin-bottom: 12px;
}

.route-welcome .magazine-grid {
    gap: 14px;
}

/* ── Share button (bottom-right of each report cover) ── */
.magazine-item {
    position: relative;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    font: inherit;
}

.magazine-cover-wrap .share-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.magazine-cover-wrap:hover .share-btn,
.magazine-cover-wrap:focus-within .share-btn,
.magazine-cover-wrap .share-btn[aria-expanded="true"] {
    opacity: 1;
    transform: none;
}

.magazine-item .share-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
}

/* Touch screens have no hover: keep the icon visible. */
@media (hover: none) {
    .magazine-cover-wrap .share-btn {
        opacity: 1;
        transform: none;
    }
}

.share-menu {
    position: absolute;
    z-index: 2000;
    min-width: 180px;
    padding: 6px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.share-menu a,
.share-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--text-dark);
    font: inherit;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.share-menu a:hover,
.share-menu a:focus,
.share-menu button:hover,
.share-menu button:focus {
    background: var(--light-green);
    outline: none;
}

.share-menu i {
    width: 16px;
    text-align: center;
    color: var(--primary-green);
}

/* ── Single report landing page ── */
.report-page {
    padding-top: 14px;
    padding-bottom: 32px;
}

.report-breadcrumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-soft);
}

.report-breadcrumb a {
    color: var(--primary-green);
    font-weight: 600;
}

.report-detail {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.report-body h1 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.2;
}

.report-body h1.is-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.report-date {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--text-soft);
}

.report-summary {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
}

.report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.report-download-btn,
.share-btn-inline {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
}

.report-download-btn {
    gap: 8px;
    background: linear-gradient(90deg, #f1be21 0%, var(--primary-green) 100%);
    color: #ffffff;
}

.share-btn-inline {
    background: var(--light-green);
    color: var(--primary-green);
}

.report-more {
    margin-top: 36px;
}

.report-more h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.report-more-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .report-detail {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .report-detail .report-cover {
        width: min(100%, 300px);
        margin: 0 auto;
    }

    .report-body h1 {
        font-size: 22px;
    }

    .route-welcome .archive-page .home-intro {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .route-welcome .magazine-grid {
        gap: 16px;
    }

    .report-more .magazine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Ambassadors & High Commissioners (coming soon) ── */
.ambassadors-heading {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.25;
    color: var(--primary-green);
}

.coming-soon {
    width: min(100%, 640px);
    margin: 8px auto 20px;
    padding: 22px 20px;
    border-radius: 12px;
    background: var(--light-yellow);
    text-align: center;
}

.coming-soon-icon {
    font-size: 30px;
    color: var(--primary-green);
}

.coming-soon h2 {
    margin: 8px 0 4px;
    font-size: 24px;
}

.coming-soon p {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--text-soft);
}

.coming-soon-btn {
    min-height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--primary-green);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.coming-soon-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(135deg, #fbf6e6 0 12px, #f7efd4 12px 24px);
}

.coming-soon-cover span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b59a45;
}

@media (max-width: 768px) {
    .coming-soon-grid {
        display: none;
    }
}

/* ── Payment page: Paystack donation form ── */
.amount-input {
    width: 4.2ch;
    field-sizing: content;
    min-width: 2ch;
    padding: 0;
    border: none;
    border-bottom: 2px dashed transparent;
    background: transparent;
    font-family: inherit;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.amount-input:focus {
    outline: none;
    border-bottom-color: var(--primary-yellow);
}

.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-option.selected {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: var(--primary-yellow);
}

.donor-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.donor-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
}

.donor-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.payment-methods-paystack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-methods-paystack .payment-btn {
    width: 100%;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.payment-methods-paystack .payment-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.payment-secure {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--text-soft);
}

.payment-alert {
    width: min(100%, 960px);
    margin: 0 auto 12px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #fdecea;
    color: #b3261e;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .donor-fields {
        grid-template-columns: 1fr;
        margin: 16px 20px 0;
    }

    .payment-methods-paystack {
        grid-template-columns: 1fr;
    }
}
