* { box-sizing: border-box; }
:root { --forest:#254b3a; --forest-dark:#1d392e; --cream:#f5f7ee; --ink:#26372f; --muted:#718078; --line:#e5eadd; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--cream); font-family:"Nirmala UI","Noto Sans Bengali",sans-serif; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
[hidden] { display:none !important; }
.site-header { position:sticky; top:0; z-index:10; background:rgba(250,251,246,.96); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); }
.navbar { display:flex; align-items:center; justify-content:space-between; gap:20px; width:min(1160px,calc(100% - 56px)); min-height:76px; margin:0 auto; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--forest); text-decoration:none; }
.brand-mark,.account-icon { display:grid; width:39px; height:39px; color:#fff; background:var(--forest); border-radius:13px 13px 13px 4px; font-size:15px; font-weight:700; place-items:center; }
.brand-name { font-size:16px; font-weight:700; }
.brand-name small { display:block; margin-top:3px; color:#849087; font-size:8px; font-weight:600; }
.header-actions { display:flex; align-items:center; gap:12px; }
.user-greeting { color:#54645a; font-size:12px; }
.nav-cta,.nav-logout { padding:11px 15px; color:#fff; background:var(--forest); border:0; border-radius:7px; font-size:11px; font-weight:700; }
.nav-cta:hover,.nav-logout:hover { background:var(--forest-dark); }
.nav-logout { color:var(--forest); background:#e7eddf; }
.nav-links { display:flex; align-items:center; gap:clamp(8px,1.25vw,16px); }
.nav-more { position:relative; }
.nav-more-button { display:inline-flex; align-items:center; gap:5px; padding:9px 0; color:#53675a; background:transparent; border:0; font-size:11px; font-weight:700; }
.nav-more-button:hover,.nav-more-button[aria-expanded="true"] { color:var(--forest-dark); }
.nav-more-button span { color:#8b9a8d; font-size:15px; }
.nav-dropdown { position:absolute; top:calc(100% + 7px); right:0; z-index:30; display:grid; min-width:205px; padding:7px; background:#fff; border:1px solid #e1e8dd; border-radius:11px; box-shadow:0 14px 32px rgba(32,55,39,.16); }
.nav-dropdown a { padding:10px 11px; color:#53675a; border-radius:7px; font-size:11px; text-decoration:none; transition:background .18s ease,color .18s ease; }
.nav-dropdown a:hover { color:var(--forest-dark); background:#f2f6ee; }
.mobile-menu-button { display:none; align-items:center; gap:7px; min-height:38px; padding:0 11px; color:var(--forest); background:#eaf0e5; border:1px solid #dae4d5; border-radius:8px; font-size:17px; font-weight:700; }
.mobile-menu-button span { font-size:10px; }
.welcome-section { display:grid; grid-template-columns:.95fr 1.05fr; align-items:center; gap:50px; width:min(1160px,calc(100% - 56px)); min-height:460px; margin:0 auto; padding:46px 0 50px; }
.welcome-copy { position:relative; z-index:4; max-width:510px; }
.eyebrow,.section-kicker { margin:0 0 14px; color:#71845f; font-size:10px; font-weight:700; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; padding:9px 12px; background:#e8eddf; border:1px solid #dfe6d4; border-radius:999px; }
.eyebrow span { width:7px; height:7px; background:#789765; border-radius:50%; }
.welcome-copy h1 { margin:0; color:var(--forest-dark); font-family:"Nirmala UI","Noto Sans Bengali",sans-serif; font-size:clamp(46px,6vw,70px); font-weight:700; line-height:1.18; }
.welcome-copy h1 em { color:#8a7046; font-style:normal; }
.welcome-description { max-width:430px; margin:17px 0 0; color:var(--muted); font-size:14px; line-height:1.8; }
.site-search-wrap { position:relative; z-index:5; width:min(510px,100%); margin-top:18px; }
.site-search { display:flex; align-items:center; gap:8px; min-height:51px; padding:5px 6px 5px 15px; background:#fff; border:1px solid #dce5d9; border-radius:10px; box-shadow:0 8px 22px rgba(33,61,42,.08); transition:border-color .2s ease,box-shadow .2s ease; }
.site-search:focus-within { border-color:#90a889; box-shadow:0 0 0 3px rgba(120,150,108,.12),0 8px 22px rgba(33,61,42,.08); }
.site-search input { flex:1; min-width:0; padding:9px 2px; color:var(--ink); background:transparent; border:0; outline:0; font-size:12px; }
.site-search input::placeholder { color:#94a096; }
.site-search button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:38px; padding:0 14px; color:#fff; background:var(--forest); border:0; border-radius:7px; font-size:11px; font-weight:700; transition:background .2s ease,transform .2s ease; }
.site-search button:hover { transform:translateY(-1px); background:var(--forest-dark); }
.site-search button span { font-size:17px; line-height:1; }
.site-search-results { position:absolute; top:calc(100% + 8px); right:0; left:0; z-index:20; max-height:min(55vh,370px); overflow-y:auto; padding:8px; background:#fff; border:1px solid #e1e8dd; border-radius:11px; box-shadow:0 18px 42px rgba(28,53,36,.2); }
.site-search-summary { margin:5px 8px 8px; color:#7b887d; font-size:10px; font-weight:700; }
.site-search-result { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 9px; color:var(--ink); text-decoration:none; border-radius:7px; transition:background .18s ease; }
.site-search-result + .site-search-result { border-top:1px solid #eff2ec; }
.site-search-result:hover { background:#f3f6ef; }
.site-search-result-copy { display:block; min-width:0; }
.site-search-result-copy strong { display:block; color:#294a37; font-size:11px; }
.site-search-result-copy small { display:-webkit-box; overflow:hidden; color:#7a877d; font-size:9px; line-height:1.6; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.site-search-arrow { flex:none; color:#819574; font-size:14px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:11px; min-height:45px; padding:0 16px; border:0; border-radius:7px; font-size:11px; font-weight:700; text-decoration:none; transition:transform .2s ease,background .2s ease; }
.button:hover { transform:translateY(-2px); }
.button-primary { color:#fff; background:var(--forest); box-shadow:0 7px 16px rgba(37,75,58,.15); }
.button-primary:hover { background:var(--forest-dark); }
.welcome-copy > .button { margin-top:24px; }
.welcome-art { position:relative; height:360px; min-height:300px; overflow:hidden; background:#dbe9df; border:7px solid #fff; border-radius:20px; box-shadow:0 20px 45px rgba(46,70,53,.15); }
.village-photo { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.welcome-art::after { position:absolute; right:0; bottom:0; left:0; height:34%; background:linear-gradient(transparent,rgba(15,35,25,.62)); content:""; pointer-events:none; }
.welcome-caption { position:absolute; right:18px; bottom:15px; left:18px; z-index:2; color:#fff; font-size:12px; font-weight:700; text-align:center; text-shadow:0 1px 6px rgba(10,24,16,.6); }
.community-layout { display:grid; grid-template-columns:minmax(0,1fr) 285px; align-items:start; gap:24px; width:min(1160px,calc(100% - 56px)); margin:0 auto; padding:25px 0 75px; border-top:1px solid var(--line); }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:15px; margin-bottom:17px; }
.section-kicker { margin-bottom:7px; }
.section-heading h2 { margin:0; color:var(--forest-dark); font-size:25px; }
.post-count { color:#879188; font-size:10px; }
.card-surface { background:#fff; border:1px solid var(--line); border-radius:11px; box-shadow:0 5px 18px rgba(43,60,45,.04); }
.feed-search { display:flex; align-items:stretch; gap:8px; width:min(560px,100%); margin:0 auto 18px; padding:6px; background:#fff; border:1px solid #dfe5d9; border-radius:9px; box-shadow:0 5px 16px rgba(43,60,45,.05); }
.feed-search input { flex:1; min-width:0; padding:9px 11px; color:var(--ink); background:transparent; border:0; outline:0; font-size:11px; }
.feed-search input:focus-visible { outline:2px solid #78966c; outline-offset:-2px; border-radius:5px; }
.feed-search button { padding:0 14px; color:#fff; background:var(--forest); border:0; border-radius:6px; font-size:10px; font-weight:700; }
.feed-search button:hover { background:var(--forest-dark); }
.feed-search .clear-search { color:#536257; background:#edf1e9; }
.feed-search .clear-search:hover { background:#e1e8dc; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.composer { margin-bottom:16px; padding:20px; }
.composer-title { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.composer-icon { display:grid; width:39px; height:39px; color:#fff; background:#78966c; border-radius:11px; font-size:20px; place-items:center; }
.composer-title h3,.community-note h3 { margin:0; color:#304538; font-size:15px; }
.composer-title p { margin:4px 0 0; color:#88928a; font-size:10px; }
#postForm label,#authForm label { display:block; margin:12px 0 6px; color:#4b5d51; font-size:11px; font-weight:700; }
#postForm input,#postForm textarea,#authForm input { width:100%; padding:11px 12px; color:var(--ink); background:#fbfcf9; border:1px solid #dfe5d9; border-radius:7px; outline:none; font-size:12px; }
#postForm textarea { min-height:100px; resize:vertical; line-height:1.6; }
#postForm input:focus,#postForm textarea:focus,#authForm input:focus { border-color:#78966c; box-shadow:0 0 0 3px rgba(120,150,108,.12); }
.composer-bottom { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:13px; }
.composer-bottom>span,.input-hint { color:#89938b; font-size:9px; }
.form-message { min-height:16px; margin:8px 0 0; color:#7d5834; font-size:11px; line-height:1.5; }
.form-message.message-error { color:#a3443b; }
.feed-message { padding:22px; color:#7a867d; font-size:12px; text-align:center; }
.post-feed { display:grid; gap:13px; }
.post-card { padding:19px 20px; background:#fff; border:1px solid var(--line); border-radius:11px; }
.post-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#8a948c; font-size:9px; }
.post-author { display:flex; align-items:center; gap:8px; color:#526454; font-weight:700; }
.author-avatar { display:grid; width:29px; height:29px; color:#345a41; background:#e5eddf; border-radius:50%; font-size:12px; place-items:center; }
.post-card h3 { margin:14px 0 7px; color:#293c30; font-size:16px; }
.post-card p { margin:0; color:#67766c; font-size:12px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.post-actions { display:flex; justify-content:flex-end; margin-top:12px; }
.post-delete { padding:6px 9px; color:#a2483e; background:#fff5f2; border:1px solid #f2ddd8; border-radius:5px; font-size:9px; }
.sidebar { display:grid; gap:13px; }
.account-card { padding:20px; }
.account-icon { width:42px; height:42px; margin-bottom:16px; border-radius:50%; }
.account-card h2 { margin:0; color:#304538; font-size:19px; line-height:1.5; }
.account-card>p:not(.section-kicker),.community-note p { color:#758178; font-size:11px; line-height:1.7; }
.button-dark { width:100%; color:#fff; background:var(--forest); }
.account-footnote { display:block; margin-top:10px; color:#8a948c; font-size:9px; text-align:center; }
.community-note { padding:18px; }
.note-star { color:#bd9250; font-size:19px; }
.community-note h3 { margin-top:8px; }
.community-note p { margin-bottom:0; }
.site-footer { margin-top:36px; padding:38px 22px 17px; color:#dbe7dc; background:radial-gradient(ellipse at 78% 0%,rgba(71,133,88,.24),transparent 37%),var(--forest-dark); font-size:12px; }
.footer-inner { max-width:1160px; margin:0 auto; }
.footer-main { display:grid; grid-template-columns:minmax(230px,1.4fr) minmax(130px,.7fr) minmax(280px,1fr); gap:48px; padding-bottom:32px; }
.footer-brand { max-width:340px; }
.footer-logo { display:inline-flex; align-items:center; gap:11px; color:#fff; text-decoration:none; }
.footer-logo-mark { display:grid; width:43px; height:43px; place-items:center; color:#173e2a; background:linear-gradient(145deg,#f1c96d,#f6e2a6); border-radius:15px 15px 15px 5px; font-size:23px; font-weight:900; box-shadow:0 7px 20px rgba(0,0,0,.16); }
.footer-logo-copy { display:grid; gap:3px; }
.footer-logo-copy strong { font-size:17px; letter-spacing:.01em; }
.footer-logo-copy small { color:#abc4ae; font-size:10px; }
.footer-brand > p,.footer-connect > p { max-width:310px; margin:15px 0 0; color:#b4c8b8; font-size:11px; line-height:1.8; }
.footer-column { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.footer-column h2 { margin:4px 0 7px; color:#fff4d3; font-size:13px; }
.site-footer a { color:#dce9dd; text-decoration:none; }
.footer-column > a { color:#b8cbb9; font-size:11px; transition:color .2s ease,transform .2s ease; }
.footer-column > a:hover,.footer-back-top:hover { color:#f4d987; transform:translateY(-1px); }
.footer-connect > p { margin:0 0 2px; }
.footer-socials { display:flex; flex-wrap:wrap; gap:9px; margin-top:7px; }
.footer-social-link { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:7px 11px; color:#fff !important; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.07); font-size:10px; transition:transform .2s ease,background .2s ease,border-color .2s ease; }
.footer-social-link:hover { transform:translateY(-2px); background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.3); }
.footer-social-link[aria-disabled="true"] { cursor:default; }
.footer-social-link[aria-disabled="true"]:hover { transform:none; }
.footer-social-link svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.social-facebook svg { fill:currentColor; stroke:none; }
.social-facebook svg { color:#9dc4ff; }
.social-whatsapp svg { color:#8be5a6; }
.social-email svg { color:#f3d88d; }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-top:15px; color:#91ac97; border-top:1px solid rgba(221,239,223,.14); font-size:9px; }
.developer-credit { color:#a8bdab; font-size:9px; }
.developer-credit strong { color:#f4f7f1; font-weight:700; }
.footer-back-top { display:inline-flex; align-items:center; gap:7px; color:#dbe7dc !important; white-space:nowrap; transition:color .2s ease,transform .2s ease; }
.footer-back-top span { display:grid; width:22px; height:22px; place-items:center; color:#173e2a; background:#f1d484; border-radius:50%; font-size:14px; font-weight:800; }
.auth-dialog { width:min(430px,calc(100% - 28px)); max-width:none; padding:24px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 20px 70px rgba(20,35,25,.2); }
.auth-dialog::backdrop { background:rgba(22,39,29,.48); backdrop-filter:blur(3px); }
.dialog-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.dialog-top .section-kicker { margin-bottom:5px; }
.dialog-top h2 { margin:0; color:var(--forest-dark); font-size:21px; }
.close-dialog { width:31px; height:31px; color:#657268; background:#f1f4ee; border:0; border-radius:50%; font-size:21px; line-height:1; }
.dialog-description { margin:12px 0; color:#758178; font-size:11px; line-height:1.7; }
.input-hint { margin:6px 0 10px; }
.dialog-submit { width:100%; margin-top:12px; }
:focus-visible { outline:2px solid #a47739; outline-offset:3px; }
@media (max-width:850px) {
    .navbar,.welcome-section,.community-layout { width:calc(100% - 40px); }
    .navbar { position:relative; }
    .header-actions { gap:9px; }
    .user-greeting { display:none; }
    .mobile-menu-button { display:inline-flex; }
    .nav-links { position:absolute; top:calc(100% + 1px); right:0; left:0; z-index:25; display:none; align-items:stretch; flex-direction:column; gap:0; padding:9px; background:#fff; border:1px solid var(--line); border-radius:0 0 13px 13px; box-shadow:0 14px 28px rgba(32,55,39,.13); }
    .nav-links.is-open { display:flex; }
    .nav-links > .header-location { padding:11px 12px; border-bottom:1px solid #edf1e9; }
    .nav-more { width:100%; }
    .nav-more-button { width:100%; justify-content:space-between; padding:11px 12px; border-bottom:1px solid #edf1e9; }
    .nav-dropdown { position:static; min-width:0; padding:4px 0 4px 10px; background:#f6f8f3; border:0; border-radius:8px; box-shadow:none; }
    .nav-dropdown a { padding:10px 12px; }
    .welcome-section { gap:28px; }
    .welcome-art { height:320px; }
    .community-layout { grid-template-columns:minmax(0,1fr) 245px; gap:16px; }
}
@media (max-width:650px) {
    .navbar { width:calc(100% - 30px); min-height:68px; }
    .brand-mark { width:34px; height:34px; }
    .brand-name { font-size:14px; }
    .brand-name small { font-size:7px; }
    .nav-cta,.nav-logout { max-width:135px; padding:10px; font-size:9px; }
    .mobile-menu-button { padding:0 9px; }
    .user-greeting { display:none; }
    .welcome-section { grid-template-columns:1fr; gap:27px; width:calc(100% - 36px); padding:40px 0; }
    .welcome-copy h1 { font-size:clamp(43px,12vw,62px); }
    .welcome-art { height:280px; min-height:250px; border-radius:16px; }
    .community-layout { grid-template-columns:1fr; width:calc(100% - 30px); padding:23px 0 50px; }
    .sidebar { grid-template-columns:1fr 1fr; }
    .account-card,.community-note { padding:16px; }
    .site-footer { padding:30px 20px 15px; }
    .footer-main { grid-template-columns:1fr 1fr; gap:28px 22px; }
    .footer-brand { grid-column:1/-1; }
    .footer-bottom { flex-wrap:wrap; }
}
@media (max-width:430px) {
    .sidebar { grid-template-columns:1fr; }
    .section-heading { align-items:flex-start; flex-direction:column; gap:7px; }
    .composer { padding:15px; }
    .composer-bottom { align-items:flex-start; flex-direction:column; }
    .feed-search { gap:4px; }
    .feed-search button { padding:0 9px; }
}

.header-location { color: #53675a; font-size: 11px; font-weight: 700; text-decoration: none; }
.header-location:hover { color: #9b7540; }
.location-section { padding: 37px 0 43px; background: #eef2e8; border-top: 1px solid #e5eadd; }
.location-inner { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.location-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.location-heading h2 { margin: 0; color: var(--forest-dark); font-size: 23px; }
.location-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 10px; }
.location-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .7fr); gap: 15px; }
.map-frame { min-height: 280px; overflow: hidden; background: #dce8d8; border: 5px solid #fff; border-radius: 11px; box-shadow: 0 8px 22px rgba(43, 60, 45, .08); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.location-card { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.location-pin { display: grid; width: 39px; height: 39px; margin-bottom: 14px; color: #fff; background: var(--forest); border-radius: 50%; font-size: 22px; place-items: center; }
.location-card .section-kicker { margin-bottom: 6px; }
.location-card h3 { margin: 0; color: #304538; font-size: 17px; }
.location-card > p:not(.section-kicker) { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; color: #fff; background: var(--forest); border-radius: 6px; font-size: 10px; font-weight: 700; text-decoration: none; }
.map-link:hover { background: var(--forest-dark); }
@media (max-width: 850px) { .location-inner { width: calc(100% - 40px); } }
@media (max-width: 650px) {
    .header-location { font-size: 9px; }
    .location-section { padding: 30px 0; }
    .location-inner { width: calc(100% - 30px); }
    .location-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .location-content { grid-template-columns: 1fr; }
    .map-frame, .map-frame iframe { min-height: 240px; }
    .location-card { padding: 18px; }
}

.brand-mark svg { width: 25px; height: 25px; color: #fff; }


/* সোনাকানিয়া প্রতিদিনের আরও রঙিন থিম */
:root {
    --forest: #18745d;
    --forest-dark: #104d45;
    --cream: #fffaf0;
    --ink: #253c35;
    --muted: #6f8177;
    --line: #e8e4d8;
}
body { background: linear-gradient(135deg, #fffaf0 0%, #f2f8ef 52%, #edf7f7 100%); }
.site-header { background: rgba(255, 252, 243, .96); border-bottom-color: #e8e4d8; }
.eyebrow { color: #a66d18; background: #fff0d5; border-color: #f2ddae; }
.eyebrow span { background: #e59b2d; }
.section-kicker { color: #ad7428; }
.welcome-copy h1 em { color: #e58d48; }
.location-section { background: #e6f4ed; border-top-color: #d7eadf; }
.composer-icon { background: #e89c4b; }
.account-icon { background: #df8751; }
.highlight-card:nth-child(1) { border-top: 3px solid #67ae79; }
.highlight-card:nth-child(2) { border-top: 3px solid #63a9c3; }
.highlight-card:nth-child(3) { border-top: 3px solid #e2a54c; }
.post-card { border-left: 3px solid #79b78a; }
.nav-cta { background: #18745d; }
.nav-cta:hover { background: #104d45; }
@media (max-width: 650px) {
    .brand-name { font-size: 13px; }
    .header-actions { gap: 8px; }
    .nav-cta { padding: 9px 8px; font-size: 8px; }
    .header-location { font-size: 8px; }
}

.people-section { padding: 43px 0 48px; background: #fff; border-top: 1px solid var(--line); }
.people-inner { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.people-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.people-heading h2 { margin: 0; color: var(--forest-dark); font-size: 23px; }
.people-heading > p { max-width: 330px; margin: 0 0 3px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.people-empty { padding: 22px; color: #77857a; background: #f8faf5; border: 1px dashed #d5dfd1; border-radius: 10px; font-size: 11px; text-align: center; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.person-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px; background: #fbfcf8; border: 1px solid #e7ecdf; border-radius: 10px; }
.person-avatar { display: grid; flex: 0 0 39px; width: 39px; height: 39px; color: #fff; background: linear-gradient(145deg, #18745d, #63a9c3); border-radius: 50%; font-size: 15px; font-weight: 700; place-items: center; }
.person-details { min-width: 0; }
.person-details h3 { margin: 0; color: #304538; font-size: 13px; overflow-wrap: anywhere; }
.person-details p { margin: 5px 0 0; color: #748178; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.person-area { color: #ad7428 !important; }
.member-profile-form { display: grid; gap: 5px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e8ece4; }
.member-profile-form h3 { margin: 0 0 7px; color: #304538; font-size: 13px; }
.member-profile-form label:not(.profile-consent) { margin-top: 6px; color: #4b5d51; font-size: 10px; font-weight: 700; }
.member-profile-form label span { color: #89938b; font-weight: 400; }
.member-profile-form input:not([type="checkbox"]), .member-profile-form textarea { width: 100%; padding: 9px 10px; color: var(--ink); background: #fbfcf9; border: 1px solid #dfe5d9; border-radius: 6px; outline: none; font-size: 10px; }
.member-profile-form textarea { resize: vertical; line-height: 1.6; }
.member-profile-form input:focus, .member-profile-form textarea:focus { border-color: #78966c; box-shadow: 0 0 0 3px rgba(120, 150, 108, .12); }
.profile-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; color: #526257; font-size: 9px; line-height: 1.5; }
.profile-consent input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--forest); }
.profile-privacy { margin: 2px 0 5px; color: #7c887f; font-size: 9px; line-height: 1.6; }
@media (max-width: 850px) { .people-inner { width: calc(100% - 40px); } }
@media (max-width: 650px) {
    .navbar { flex-wrap: wrap; padding: 10px 0; }
    .header-actions { width: 100%; justify-content: flex-end; gap: 12px; padding-bottom: 5px; }
    .people-inner { width: calc(100% - 30px); }
    .people-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .people-grid { grid-template-columns: 1fr; }
}

.local-services { padding: 43px 0 49px; background: #fff8e9; border-top: 1px solid #f1e6cd; }
.local-services-inner { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.local-services-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.local-services-heading h2 { margin: 0; color: var(--forest-dark); font-size: 23px; }
.local-services-heading > p { max-width: 330px; margin: 0 0 3px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.local-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 13px; }
.local-service-card { position: relative; min-height: 205px; padding: 18px; background: #fff; border: 1px solid #eee7d9; border-radius: 11px; box-shadow: 0 5px 16px rgba(60, 54, 37, .04); }
.local-service-icon { display: grid; width: 38px; height: 38px; margin-bottom: 13px; color: #fff; background: #18745d; border-radius: 11px; font-size: 19px; place-items: center; }
.local-service-type { color: #a8792d; font-size: 9px; font-weight: 700; }
.local-service-card h3 { margin: 6px 0 7px; color: #304538; font-size: 14px; }
.local-service-card p { margin: 0; color: #748178; font-size: 10px; line-height: 1.7; }
.local-service-card a { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: #18745d; font-size: 10px; font-weight: 700; text-decoration: none; }
.local-service-card a:hover { color: #e58d48; }
.health-service .local-service-icon { background: #df8751; }
.market-service .local-service-icon { background: #63a9c3; }
@media (max-width: 850px) { .local-services-inner { width: calc(100% - 40px); } }
@media (max-width: 650px) {
    .local-services { padding: 35px 0 40px; }
    .local-services-inner { width: calc(100% - 30px); }
    .local-services-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .local-services-grid { grid-template-columns: 1fr; }
    .local-service-card { min-height: 0; }
}

.local-service-photo { display: block; width: 100%; height: 145px; margin: 11px 0 12px; object-fit: cover; border-radius: 8px; }

/* ছবির স্বাভাবিক রং ও ফ্রেমের হালকা সৌন্দর্য */
.village-photo { filter: saturate(1.04) contrast(1.02); transition: transform .45s ease, filter .45s ease; }
.welcome-art:hover .village-photo { transform: scale(1.025); filter: saturate(1.08) contrast(1.04); }
.local-service-photo { filter: brightness(1.05) saturate(1.04) contrast(1.02); border: 1px solid rgba(37, 75, 58, .13); box-shadow: 0 8px 18px rgba(37, 75, 58, .12); transition: filter .35s ease, transform .35s ease; }
.local-service-card:hover .local-service-photo { filter: brightness(1.08) saturate(1.06) contrast(1.03); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .village-photo, .local-service-photo { transition: none; }
  .welcome-art:hover .village-photo, .local-service-card:hover .local-service-photo { transform: none; }
}
/* প্রতিষ্ঠানের পরিচিতি পাতা */
.institution-page { width: min(1040px, calc(100% - 56px)); margin: 0 auto; padding: 48px 0 68px; }
.institution-heading { margin-bottom: 22px; }
.institution-heading h1 { margin: 0; color: var(--forest-dark); font-size: clamp(27px, 4vw, 40px); line-height: 1.35; }
.institution-heading > p:last-child { max-width: 680px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.institution-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: stretch; gap: 18px; }
.institution-content-single { grid-template-columns: 1fr; }
.institution-photo { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; object-position: center; border: 6px solid #fff; border-radius: 15px; box-shadow: 0 14px 32px rgba(37, 75, 58, .12); filter: brightness(1.04) saturate(1.04); }
.institution-panel { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 8px 24px rgba(37, 75, 58, .06); }
.institution-panel h2 { margin: 0 0 16px; color: var(--forest-dark); font-size: 21px; line-height: 1.5; }
.institution-facts { display: grid; gap: 9px; margin: 0; }
.institution-facts div { padding: 11px 13px; background: #f7f9f3; border: 1px solid #e8ede1; border-radius: 8px; }
.institution-facts dt { color: #8b7856; font-size: 10px; font-weight: 700; }
.institution-facts dd { margin: 3px 0 0; color: var(--ink); font-size: 12px; line-height: 1.6; }
.institution-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.institution-links .map-link { margin-top: 0; }
@media (max-width: 650px) {
  .institution-page { width: calc(100% - 30px); padding: 34px 0 45px; }
  .institution-content { grid-template-columns: 1fr; }
  .institution-photo { min-height: 230px; max-height: 310px; }
  .institution-panel { padding: 19px; }
}
.institution-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 15px; }
.institution-source { margin: 15px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.institution-source a { color: var(--forest); font-weight: 700; }
.institution-facts dd a { color: var(--forest); font-weight: 700; text-decoration: none; }
@media (max-width: 650px) { .institution-detail-grid { grid-template-columns: 1fr; } }
.institution-photo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 10px; }
.institution-photo-item { min-width: 0; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 8px 20px rgba(37, 75, 58, .08); }
.institution-photo-item .institution-photo { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; border: 0; border-radius: 7px; box-shadow: none; }
.institution-photo-item figcaption { margin-top: 6px; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; }
.institution-photo-item figcaption a { color: var(--forest); font-weight: 700; text-decoration: none; }
@media (max-width: 650px) { .institution-photo-gallery { grid-template-columns: 1fr; } }
.village-service .local-service-icon { background: #e89c4b; }
.market-shops-section { width: min(1040px, calc(100% - 56px)); margin: -35px auto 65px; }
.market-shops-section h2 { margin: 0; color: var(--forest-dark); font-size: 21px; }
.market-shop-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:16px; margin-top:18px; }
.market-shop-card { position:relative; overflow:hidden; padding:21px; background:linear-gradient(145deg,#fff,#fbfcf8); border:1px solid #e3e9dc; border-radius:14px; box-shadow:0 9px 26px rgba(38,61,43,.07); }
.market-shop-card::before { position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(90deg,#86a875,#e7bd66,#d88c51); content:""; }
.market-shop-heading { display:flex; align-items:center; gap:13px; }
.market-shop-owner-photo { display:block; flex:none; width:72px; height:108px; object-fit:cover; object-position:center 25%; background:#e8eee7; border:2px solid #fff; border-radius:12px; box-shadow:0 4px 12px rgba(29,57,46,.14); }
.market-shop-category { margin:0 0 4px; color:#88947e; font-size:10px; font-weight:700; }
.market-shop-card h3 { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px; margin:0; color:#294737; font-size:20px; }
.market-shop-card h3 small { color:#8a968b; font-size:10px; font-weight:500; }
.market-shop-owner { margin:17px 0 16px; padding-bottom:14px; color:#758178; border-bottom:1px solid #edf0e9; font-size:12px; }
.market-shop-owner strong { color:#3d5043; }
.market-shop-contact { display:inline-flex; align-items:center; gap:7px; margin:-4px 0 16px; padding:8px 11px; color:#28563b; background:#edf5e9; border:1px solid #dce9d6; border-radius:8px; font-size:11px; font-weight:700; text-decoration:none; }
.market-shop-contact:hover { color:#fff; background:#315e42; border-color:#315e42; }
.market-shop-hours { display:flex; align-items:center; gap:9px; margin:-4px 0 17px; padding:9px 11px; color:#657268; background:#f7f6ee; border:1px solid #eeecdf; border-radius:8px; }
.market-shop-clock { color:#a17c39; font-size:20px; line-height:1; }
.market-shop-hours small,.market-shop-hours strong { display:block; }
.market-shop-hours small { margin-bottom:3px; color:#879187; font-size:9px; }
.market-shop-hours strong { color:#495b4d; font-size:11px; }
.market-shop-payments { margin:4px 0 15px; }
.market-shop-payments > p { margin:0 0 8px; color:#657268; font-size:10px; font-weight:700; }
.market-payment-list { display:flex; flex-wrap:wrap; gap:8px; }
.market-payment-badge { display:inline-flex; align-items:center; gap:8px; padding:6px 12px 6px 6px; color:#455448; background:#fff; border:1px solid #e8ece4; border-radius:12px; font-size:11px; font-weight:700; }
.market-payment-icon { display:grid; flex:none; width:34px; height:34px; place-items:center; color:#fff; border-radius:10px; box-shadow:0 3px 7px rgba(25,44,31,.15); }
.market-payment-icon svg { display:block; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.payment-bkash .market-payment-icon { background:#e2136e; }
.payment-nagad .market-payment-icon { background:#f28a22; }
.payment-rocket .market-payment-icon { background:#8b3ca6; }
.market-payment-name { display:grid; gap:1px; padding:0 1px; }
.market-payment-name small { color:#8a948a; font-size:8px; font-weight:600; }
.market-shop-card h4 { margin:0 0 9px; color:#596b5c; font-size:11px; }
.market-product-list { display:flex; flex-wrap:wrap; gap:7px; }
.market-product-list span { padding:6px 9px; color:#526653; background:#eff4e9; border:1px solid #e4ecdc; border-radius:999px; font-size:10px; }
.market-shop-note { margin:15px 0 0; color:#929b91; font-size:10px; line-height:1.6; }
@media (max-width: 650px) { .market-shops-section { width: calc(100% - 30px); margin: -25px auto 45px; } }
/* Notice board and upcoming events */
.updates-section { padding: 76px 20px; background: linear-gradient(135deg, #f0fdf4, #eff6ff); }
.updates-inner { width: min(1100px, 100%); margin: 0 auto; }
.updates-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 28px; }
.updates-heading h2 { margin: 0; color: #123b2a; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.updates-heading > p { max-width: 480px; margin: 0; color: #63736a; line-height: 1.7; }
.updates-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.update-card { padding: 26px; border: 1px solid #dcebe2; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgb(20 70 45 / 8%); }
.update-label { display: inline-block; margin: 0 0 10px; color: #17834e; font-size: .85rem; font-weight: 700; }
.update-card h3 { margin: 0 0 10px; color: #244c36; font-size: 1.25rem; }
.update-empty { margin: 0; color: #63736a; line-height: 1.7; }
.updates-action { margin: 26px auto 0; text-align: center; }
.updates-action p { margin: 0 0 14px; color: #63736a; line-height: 1.7; }
.updates-action .button { display: inline-flex; }
@media (max-width: 680px) {
  .updates-section { padding: 54px 16px; }
  .updates-heading { display: block; }
  .updates-heading > p { margin-top: 12px; }
  .updates-grid { grid-template-columns: 1fr; }
  .update-card { padding: 22px; }
}

/* Keep the notice link easy to find on the home page and small screens. */
.updates-quick-link { color: var(--forest); background: #e8eddf; }
.updates-quick-link:hover { color: #fff; }
.header-location { color: var(--forest); font-size: 11px; font-weight: 700; text-decoration: none; }
.header-location:hover { color: #16834e; }
@media (max-width: 650px) {
  .navbar { flex-wrap: wrap; padding: 10px 0; }
  .header-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 9px 12px; }
  .header-location { padding: 3px 0; font-size: 10px; }
  .nav-cta, .nav-logout { margin-left: auto; }
}

/* Emergency help and verified local contacts */
.emergency-section { padding: 72px 20px; background: #fff7f2; }
.emergency-inner { width: min(1100px, 100%); margin: 0 auto; }
.emergency-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.emergency-heading h2 { margin: 0; color: #633b34; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.emergency-heading > p { max-width: 470px; margin: 0; color: #766862; line-height: 1.7; }
.emergency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.emergency-card { min-width: 0; padding: 23px; border: 1px solid #f0ddd4; border-top: 4px solid #cf765e; border-radius: 15px; background: #fff; box-shadow: 0 10px 24px rgb(89 48 37 / 6%); }
.emergency-label { display: inline-block; margin-bottom: 10px; color: #a95742; font-size: .82rem; font-weight: 700; }
.emergency-card h3 { margin: 0 0 10px; color: #493c37; font-size: 1.1rem; line-height: 1.5; }
.emergency-card p { margin: 0; color: #706963; line-height: 1.75; }
.emergency-card a { display: inline-flex; gap: 6px; margin-top: 14px; color: #9b4d39; font-weight: 700; text-decoration: none; }
.emergency-card a:hover { text-decoration: underline; }
.emergency-note { margin: 20px 0 0; padding: 13px 16px; color: #6d5147; background: #f8e8df; border-radius: 10px; line-height: 1.7; }
@media (max-width: 850px) { .emergency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .emergency-section { padding: 52px 16px; }
  .emergency-heading { display: block; }
  .emergency-heading > p { margin-top: 12px; }
  .emergency-grid { grid-template-columns: 1fr; }
  .emergency-card { padding: 20px; }
}

/* Local representatives directory placeholder */
.representatives-section { padding: 72px 20px; background: #f1f7ef; }
.representatives-inner { width: min(1100px, 100%); margin: 0 auto; }
.representatives-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.representatives-heading h2 { margin: 0; color: #244b37; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.representatives-heading > p { max-width: 470px; margin: 0; color: #63736a; line-height: 1.7; }
.representative-card { max-width: 720px; padding: 25px; border: 1px solid #dce9dc; border-left: 5px solid #4a8d62; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgb(32 69 44 / 7%); }
.representative-label { display: inline-block; margin-bottom: 10px; color: #39784e; font-size: .82rem; font-weight: 700; }
.representative-card h3 { margin: 0 0 9px; color: #2b4634; font-size: 1.2rem; }
.representative-card p { margin: 0; color: #657269; line-height: 1.7; }
.representative-status { display: inline-block; margin-top: 16px; padding: 6px 10px; color: #5f6f51; background: #edf3e5; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.representative-note { margin: 16px 0 0; color: #718078; font-size: .92rem; line-height: 1.7; }
@media (max-width: 650px) {
  .representatives-section { padding: 52px 16px; }
  .representatives-heading { display: block; }
  .representatives-heading > p { margin-top: 12px; }
  .representative-card { padding: 21px; }
}

/* Lost and found community board */
.lost-found-section { padding: 72px 20px; background: linear-gradient(135deg, #f7f8ef, #eef6f0); }
.lost-found-inner { width: min(1100px, 100%); margin: 0 auto; }
.lost-found-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.lost-found-heading h2 { margin: 0; color: #244b37; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.lost-found-heading > p { max-width: 470px; margin: 0; color: #63736a; line-height: 1.7; }
.lost-found-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lost-found-card { padding: 24px; border: 1px solid #e2e9dd; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgb(32 69 44 / 6%); }
.lost-found-label { display: inline-block; margin-bottom: 10px; color: #a45d3c; font-size: .82rem; font-weight: 700; }
.found-label { color: #39784e; }
.lost-found-card h3 { margin: 0 0 9px; color: #2b4634; font-size: 1.18rem; }
.lost-found-card p, .lost-found-action p { margin: 0; color: #657269; line-height: 1.7; }
.lost-found-action { margin-top: 24px; text-align: center; }
.lost-found-action p { margin-bottom: 14px; }
.lost-found-note { margin: 18px 0 0; padding: 12px 15px; color: #6d5147; background: #f8e8df; border-radius: 10px; line-height: 1.7; }
@media (max-width: 650px) {
  .lost-found-section { padding: 52px 16px; }
  .lost-found-heading { display: block; }
  .lost-found-heading > p { margin-top: 12px; }
  .lost-found-grid { grid-template-columns: 1fr; }
  .lost-found-card { padding: 21px; }
}

/* Local jobs and work opportunities board */
.jobs-section { padding: 72px 20px; background: #f5f7ee; }
.jobs-inner { width: min(1100px, 100%); margin: 0 auto; }
.jobs-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.jobs-heading h2 { margin: 0; color: #244b37; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.jobs-heading > p { max-width: 470px; margin: 0; color: #63736a; line-height: 1.7; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.job-card { padding: 24px; border: 1px solid #e2e9dd; border-top: 4px solid #638c58; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgb(32 69 44 / 6%); }
.job-label { display: inline-block; margin-bottom: 10px; color: #39784e; font-size: .82rem; font-weight: 700; }
.skill-label { color: #a36b27; }
.job-card h3 { margin: 0 0 9px; color: #2b4634; font-size: 1.18rem; }
.job-card p, .jobs-action p { margin: 0; color: #657269; line-height: 1.7; }
.jobs-action { margin-top: 24px; text-align: center; }
.jobs-action p { margin-bottom: 14px; }
.jobs-note { margin: 18px 0 0; padding: 12px 15px; color: #5e6755; background: #e9efdf; border-radius: 10px; line-height: 1.7; }
@media (max-width: 650px) {
  .jobs-section { padding: 52px 16px; }
  .jobs-heading { display: block; }
  .jobs-heading > p { margin-top: 12px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .job-card { padding: 21px; }
}

/* Education, scholarships, and study support */
.education-section { padding: 72px 20px; background: linear-gradient(135deg, #eef6ff, #f5f7ee); }
.education-inner { width: min(1100px, 100%); margin: 0 auto; }
.education-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.education-heading h2 { margin: 0; color: #244b37; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.education-heading > p { max-width: 470px; margin: 0; color: #63736a; line-height: 1.7; }
.education-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.education-card { min-width: 0; padding: 23px; border: 1px solid #dce7e4; border-top: 4px solid #5b8b9a; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgb(32 69 44 / 6%); }
.education-label { display: inline-block; margin-bottom: 10px; color: #397184; font-size: .82rem; font-weight: 700; }
.admission-label { color: #9a6a35; }
.study-label { color: #39784e; }
.education-card h3 { margin: 0 0 9px; color: #2b4634; font-size: 1.12rem; line-height: 1.5; }
.education-card p, .education-action p { margin: 0; color: #657269; line-height: 1.7; }
.education-action { margin-top: 24px; text-align: center; }
.education-action p { margin-bottom: 14px; }
@media (max-width: 850px) { .education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .education-section { padding: 52px 16px; }
  .education-heading { display: block; }
  .education-heading > p { margin-top: 12px; }
  .education-grid { grid-template-columns: 1fr; }
  .education-card { padding: 21px; }
}

/* Village history, memories, and traditions */
.history-section { padding: 72px 20px; background: linear-gradient(135deg, #fffaf1, #f2f6eb); }
.history-inner { width: min(1100px, 100%); margin: 0 auto; }
.history-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.history-heading h2 { margin: 0; color: #244b37; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.history-heading > p { max-width: 470px; margin: 0; color: #63736a; line-height: 1.7; }
.history-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.history-card { min-width: 0; padding: 23px; border: 1px solid #ebe6d8; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgb(67 57 34 / 6%); }
.history-story-card { border-top: 4px solid #bc8751; }
.history-label { display: inline-block; margin-bottom: 10px; color: #9b6735; font-size: .82rem; font-weight: 700; }
.photo-label { color: #397184; }
.tradition-label { color: #39784e; }
.history-card h3 { margin: 0 0 9px; color: #2b4634; font-size: 1.12rem; }
.history-card p { margin: 0; color: #657269; line-height: 1.7; }
.history-note { margin: 18px 0 0; padding: 12px 15px; color: #655844; background: #f5eddb; border-radius: 10px; line-height: 1.7; }
@media (max-width: 850px) { .history-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .history-section { padding: 52px 16px; }
  .history-heading { display: block; }
  .history-heading > p { margin-top: 12px; }
  .history-grid { grid-template-columns: 1fr; }
  .history-card { padding: 21px; }
}

/* Village and community photo gallery */
.village-gallery-section { padding: 72px 20px; background: #f5f7ee; }
.village-gallery-inner { width: min(1100px, 100%); margin: 0 auto; }
.village-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.village-gallery-heading h2 { margin: 0; color: #244b37; font-size: clamp(1.7rem, 4vw, 2.35rem); }
.village-gallery-heading > p { max-width: 470px; margin: 0; color: #63736a; line-height: 1.7; }
.village-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.village-gallery-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e2e9dd; border-radius: 15px; background: #fff; box-shadow: 0 10px 26px rgb(32 69 44 / 7%); }
.village-gallery-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.village-gallery-card figcaption { padding: 14px 16px; color: #304538; font-weight: 700; line-height: 1.5; }
.village-gallery-note { margin: 18px 0 0; color: #718078; font-size: .92rem; line-height: 1.7; }
@media (max-width: 850px) { .village-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .village-gallery-section { padding: 52px 16px; }
  .village-gallery-heading { display: block; }
  .village-gallery-heading > p { margin-top: 12px; }
  .village-gallery-grid { grid-template-columns: 1fr; }
  .village-gallery-card img { height: 230px; }
}

.auth-mode-toggle { display: block; margin: 13px auto 0; padding: 4px; color: var(--forest); background: transparent; border: 0; font-size: 11px; font-weight: 700; }
.auth-dialog [hidden] { display: none !important; }
.auth-mode-toggle:hover { color: #16834e; text-decoration: underline; }
.auth-back-button { color: #66736a; font-weight: 600; }

@media (max-width:850px) {
  .footer-main { grid-template-columns:1fr 1fr; gap:28px 22px; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { flex-wrap:wrap; }
}

@media (max-width:520px) {
  .footer-main { grid-template-columns:1fr; gap:25px; }
  .footer-brand { grid-column:auto; }
  .footer-bottom { align-items:flex-start; flex-direction:column; gap:9px; }
  .footer-socials { gap:7px; }
  .footer-social-link { padding:7px 10px; }
}
