.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(255,255,255,.9);
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    font-size: .88rem;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.footer-link:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.34); transform: translateY(-1px); }
.footer-link svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.footer-right { text-align: right; }

.news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}
.news-post-grid {
    display: grid;
    gap: 22px;
}
.news-post-card,
.news-side-card,
.news-empty-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-card);
}
.news-post-card {
    overflow: hidden;
}
.news-post-image {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    background: #eef8ec;
}
.news-post-body {
    padding: clamp(20px, 3vw, 28px);
}
.news-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: .9rem;
}
.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--forest-2);
    background: var(--leaf);
    border: 1px solid rgba(28, 125, 60, .14);
    font-weight: 700;
    font-size: .82rem;
}
.news-post-card h2 {
    margin: 0 0 12px;
    color: var(--forest-2);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.18;
    letter-spacing: -.03em;
}
.news-post-card p {
    margin: 0 0 18px;
    color: var(--soft-ink);
    white-space: pre-line;
}
.news-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
.news-stats li {
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--leaf-2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .86rem;
}
.news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.news-side-card,
.news-empty-card {
    padding: clamp(20px, 3vw, 28px);
}
.news-side-card h2,
.news-empty-card h2 {
    margin: 0 0 12px;
    color: var(--forest-2);
    font-size: 1.45rem;
    line-height: 1.15;
}
.news-side-card p,
.news-empty-card p {
    margin: 0 0 18px;
    color: var(--muted);
}
.news-mini-list {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.news-mini-list li {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--leaf-2);
    color: var(--soft-ink);
}
.news-mini-list b {
    display: block;
    color: var(--forest-2);
    margin-bottom: 3px;
}
.facebook-frame-wrap {
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(18,35,27,.10);
    border-radius: 20px;
    background: #fff;
}
.facebook-frame-wrap iframe {
    width: 100%;
    max-width: 500px;
    min-height: 620px;
    border: 0;
}


/* News page: separate post card design */
.news-layout {
    display: block;
}
.news-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.news-post-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(18, 35, 27, .11);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 58px rgba(10, 48, 34, .10);
    flex-direction: column;
}
.news-post-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef8ec;
    border-bottom: 1px solid rgba(18, 35, 27, .08);
}
.news-post-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}
.news-post-image-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    padding: 28px;
    text-align: center;
    color: var(--forest-2);
    background:
        radial-gradient(circle at 20% 20%, rgba(46,168,79,.18), transparent 14rem),
        linear-gradient(135deg, #f7fbf5, #eaf6ed);
    font-weight: 700;
}
.news-post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}
.news-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: .86rem;
}
.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--forest-2);
    background: var(--leaf);
    border: 1px solid rgba(28, 125, 60, .14);
    font-weight: 700;
    font-size: .78rem;
}
.news-post-card h2 {
    margin: 0 0 10px;
    color: var(--forest-2);
    font-size: clamp(1.18rem, 1.8vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}
.news-post-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 18px;
    color: var(--soft-ink);
    white-space: pre-line;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
.news-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 18px;
    padding: 0;
    list-style: none;
}
.news-stats li {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--leaf-2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .82rem;
}
.news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.news-actions .btn {
    min-height: 44px;
    padding: 11px 16px;
    font-size: .92rem;
}
.news-setup-card {
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(245,185,54,.32);
    border-radius: 28px;
    background: #fff8df;
    box-shadow: var(--shadow-soft);
}
.news-setup-card h2 {
    margin: 0 0 10px;
    color: var(--forest-2);
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    line-height: 1.15;
}
.news-setup-card p {
    margin: 0 0 16px;
    color: #5a4a1b;
}
.news-setup-card code {
    display: block;
    overflow-x: auto;
    margin: 16px 0;
    padding: 16px;
    border-radius: 16px;
    color: #163126;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(18,35,27,.10);
    white-space: pre;
}
@media (max-width: 1040px) {
    .news-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .news-post-grid { grid-template-columns: 1fr; }
}

.mobile-actions { display: none; }

@media (max-width: 1040px) {
    .news-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
    .hero-grid,
    .about-grid,
    .split-grid,
    .contact-grid,
    .credential-grid { grid-template-columns: 1fr; }
    .hero { min-height: auto; }
    .hero-grid { min-height: auto; }
    .hero-panel { max-width: 620px; }
    .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nav { min-height: 72px; }
    .brand { min-width: auto; }
    .nav-toggle { display: grid; }
    .nav-cta { display: none; }
    .menu {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255,255,255,.96);
        box-shadow: var(--shadow-soft);
    }
    .menu a { display: block; padding: 13px 14px; }
    .nav-toggle-input:checked ~ .menu { display: grid; }
    .cards-3,
    .cards-2,
    .objectives,
    .objective-grid { grid-template-columns: 1fr; }
    footer .wrap { grid-template-columns: 1fr; text-align: left; }
    .footer-links { justify-content: flex-start; }
    .footer-right { text-align: left; }
}
@media (max-width: 660px) {
    .wrap { width: min(100% - 26px, var(--container)); }
    html { scroll-padding-top: 78px; }
    body { padding-bottom: 78px; }
    .brand-logo-wrap { width: 50px; height: 50px; }
    .brand-logo-wrap img,
    .brand-fallback { width: 45px; height: 45px; }
    .brand strong { font-size: .82rem; }
    .brand small { font-size: .64rem; }
    .hero-grid { padding: 52px 0 96px; }
    .hero-title { font-size: clamp(2.8rem, 15vw, 4.2rem); }
    .section-title { font-size: clamp(2.25rem, 12vw, 3.4rem); }
    .hero-panel { padding: 18px; border-radius: 28px; }
    .facts-strip,
    .facts-grid,
    .process-grid { grid-template-columns: 1fr; }
    .plan-list li { grid-template-columns: 1fr; gap: 4px; }
    .award-gallery { grid-template-columns: 1fr; }
    .supply-banner { align-items: flex-start; flex-direction: column; }
    .mobile-actions {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 100;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255,255,255,.94);
        box-shadow: var(--shadow-card);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .mobile-actions .btn { min-height: 46px; padding: 12px 14px; }
}
