/* JIBHAN — website, member area and secretariat */
:root {
    --green: #1a6e4c; --green-d: #0f5a3d; --green-l: #e7f3ec; --green-ll: #f1f8f4;
    --dark: #222629; --darker: #16191b; --ink: #1f2326; --ink-2: #3b4247; --muted: #6c757d;
    --gold: #d4a24c; --gold-d: #b98a35; --bg: #f2f4f3; --line: #e2e6e8; --white: #fff;
    --ok: #1f8a4c; --bad: #c0392b; --warn: #b7791f; --info: #2f6db3;
    --radius: 12px; --shadow: 0 6px 22px rgba(20, 30, 25, .07);
    --head: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; --body: Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
body.layout-account, body.layout-admin { background: var(--bg); }
img { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: .1px; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1290px; margin: 0 auto; padding: 0 28px; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.hide { display: none !important; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ buttons, badges, alerts */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 6px; border: 2px solid transparent; font: 700 1.02rem/1.2 var(--head); letter-spacing: .3px; cursor: pointer; text-decoration: none; transition: .15s; background: #fff; color: var(--ink); }
.btn-green, .btn-primary { background: var(--green); color: #fff; }
.btn-green:hover, .btn-primary:hover { background: var(--green-d); color: #fff; }
.btn-gold { background: var(--gold); color: #1f2326; }
.btn-gold:hover { background: var(--gold-d); color: #1f2326; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-danger { background: #fff; color: var(--bad); border-color: #f0c8c3; }
.btn-danger:hover { background: var(--bad); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .92rem; }
.btn-lg { padding: 15px 30px; font-size: 1.12rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 700 .76rem/1.5 var(--body); letter-spacing: .2px; background: #eef0f1; color: var(--ink-2); white-space: nowrap; }
.badge-ok { background: #e3f4ea; color: #17703d; } .badge-warn { background: #fdf1dc; color: #8a5a0e; } .badge-bad { background: #fde7e4; color: #a32b20; }
.badge-info { background: #e5eefa; color: #24589a; } .badge-muted { background: #eef0f1; color: #5f686e; }
.alert { padding: 13px 16px; border-radius: 10px; margin: 0 0 16px; border: 1px solid; font-size: .96rem; }
.alert-success { background: #eaf6ef; border-color: #bfe3cd; color: #155c33; } .alert-error { background: #fdecea; border-color: #f5c6c0; color: #8f2219; }
.alert-warn { background: #fff6e5; border-color: #f2d9a6; color: #7a4f0b; } .alert-info { background: #ebf3fc; border-color: #c4d9f2; color: #234f86; }
.flash { margin-top: 18px; }
.layout-admin .flash, .layout-account .flash { margin-top: 0; }

/* ------------------------------------------------ top bar & masthead */
.topbar { background: #eef1f0; font-size: .95rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 52px; gap: 14px; }
.toplinks a { color: var(--ink-2); text-decoration: none; padding: 0 14px; border-left: 1px solid #cfd5d3; }
.toplinks a:first-child { padding-left: 0; border: 0; }
.toplinks a:hover { color: var(--green); }
.topright { display: flex; align-items: center; gap: 10px; }
.topright .soc { color: var(--ink-2); display: inline-flex; padding: 4px; }
.topright .soc:hover { color: var(--green); }
.wa-dot { width: 34px; height: 34px; border-radius: 50%; background: #25d366; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; }
.toplogin { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px; }
.topjoin { font-family: var(--body); font-weight: 500; }
.masthead { background: #fff; }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 24px; text-decoration: none; min-width: 0; }
.brand-logo { border-top: 1px solid #c9cfd2; border-bottom: 1px solid #c9cfd2; padding: 10px 4px; flex: none; }
.brand-logo img { width: 110px; height: 110px; object-fit: contain; display: block; }
.brand-name { display: block; font: 800 clamp(1.25rem, 2.7vw, 2.05rem)/1.1 var(--head); color: var(--green); }
.brand-tag { display: block; color: var(--muted); font: 400 clamp(.9rem, 1.6vw, 1.12rem)/1.4 var(--head); margin-top: 8px; letter-spacing: .3px; }
.mast-banner img { max-height: 110px; width: auto; display: block; border-radius: 6px; }

/* ------------------------------------------------ main navigation */
.navwrap { position: sticky; top: 0; z-index: 50; }
.mainnav { background: var(--dark); }
.nav-in { display: flex; align-items: stretch; min-height: 72px; gap: 0; position: relative; }
.nav-home { background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; width: 72px; flex: none; }
.nav-home:hover, .nav-home.on { background: var(--green-d); color: #fff; }
.nav-items { display: flex; flex: 1; min-width: 0; }
.nav-items > a { color: #fff; text-decoration: none; font: 700 1.12rem/1 var(--head); text-transform: uppercase; letter-spacing: .3px; display: flex; align-items: center; padding: 0 18px; white-space: nowrap; }
.nav-items > a:hover, .nav-items > a.on { background: #111416; color: #fff; }
.nav-more-m { display: none; }
.nav-more { position: relative; display: flex; }
.nav-dots { background: var(--green); border: 0; color: #fff; width: 72px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nav-dots:hover { background: var(--green-d); }
.more-menu { display: none; position: absolute; right: 0; top: 100%; background: #fff; min-width: 280px; box-shadow: 0 14px 36px rgba(0,0,0,.22); border-top: 3px solid var(--green); z-index: 60; }
.nav-more.open .more-menu { display: block; }
.more-menu a { display: block; padding: 12px 18px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font: 500 1.02rem var(--head); }
.more-menu a:hover { background: var(--green-ll); color: var(--green); }
.nav-search { display: flex; align-items: center; padding: 0 0 0 14px; }
.nav-search input { background: #33393d; border: 0; color: #fff; padding: 12px 14px; width: 170px; font: 1.05rem var(--head); border-radius: 0; }
.nav-search input::placeholder { color: #aab3b8; }
.nav-search button { background: none; border: 0; color: #fff; padding: 10px 6px 10px 14px; cursor: pointer; display: flex; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 0 16px; cursor: pointer; }
.ticker { background: var(--darker); border-bottom: 5px solid var(--green); }
.ticker-in { display: flex; align-items: stretch; min-height: 54px; overflow: hidden; }
.ticker-label { background: var(--green); color: #fff; font: 800 1.1rem/1 var(--head); text-transform: uppercase; display: flex; align-items: center; gap: 6px; padding: 0 22px; flex: none; letter-spacing: .4px; }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 30px), transparent 100%); }
.ticker-move { display: flex; align-items: center; white-space: nowrap; animation: tick 45s linear infinite; padding-left: 14px; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move a { color: #fff; text-decoration: none; font: 400 1.12rem var(--head); }
.ticker-move a:hover { color: var(--gold); }
.ticker-move i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin: 0 30px; flex: none; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------------------------ section headers (green block + dark slanted bar) */
.shead { display: flex; align-items: stretch; background: var(--dark); margin: 0 0 22px; min-height: 64px; overflow: hidden; }
.shead h2, .shead > span { margin: 0; background: var(--green); color: #fff; font: 800 1.45rem/1 var(--head); text-transform: uppercase; letter-spacing: .4px; display: flex; align-items: center; gap: 12px; padding: 0 44px 0 26px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%); }
.shead a.more { margin-left: auto; align-self: center; color: #cfd6da; text-decoration: none; padding: 0 20px; font: 500 .98rem var(--head); text-transform: uppercase; }
.shead a.more:hover { color: #fff; }
.whead { display: flex; align-items: center; gap: 12px; background: var(--dark); margin: 0 0 18px; position: relative; min-height: 58px; font: 800 1.35rem/1 var(--head); text-transform: uppercase; color: #fff; overflow: hidden; }
.whead > .ic, .whead > span { position: relative; z-index: 1; }
.whead > .ic { margin-left: 22px; }
.whead::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 72%; background: var(--green); clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%); }

/* ------------------------------------------------ page parts */
.site-main { min-height: 50vh; }
.section { margin-top: 30px; }
.pad { padding-top: 34px; padding-bottom: 48px; }
.crumbs { font: 400 1.05rem var(--head); color: var(--muted); padding: 16px 0 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.phero { background: linear-gradient(110deg, #134b5a 0%, #145b4d 45%, #1a6e4c 100%); border-radius: 14px; color: #fff; padding: 56px 66px; margin-bottom: 30px; position: relative; overflow: hidden; }
.phero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.05); }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: .25em; }
.phero p { font: 400 clamp(1.05rem, 2vw, 1.4rem)/1.4 var(--head); margin: 0; opacity: .93; max-width: 900px; }
.layout-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.flush { padding: 0; overflow: hidden; }
.card h3:first-child, .card h2:first-child { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h3 { margin: 0; }
.prose { font-size: 1.06rem; line-height: 1.75; }
.prose img { border-radius: 10px; height: auto; }
.prose h2, .prose h3 { margin-top: 1.3em; }
.prose blockquote { border-left: 4px solid var(--green); margin: 1em 0; padding: .4em 1.2em; background: var(--green-ll); }
.prose table { border-collapse: collapse; width: 100%; } .prose td, .prose th { border: 1px solid var(--line); padding: 8px; }

/* ------------------------------------------------ hero slideshow */
.slider { position: relative; background: #0f3a2e; overflow: hidden; min-height: 620px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; display: flex; align-items: flex-end; }
.slide.on { opacity: 1; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.on .slide-bg { transform: scale(1); }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,45,33,.88) 0%, rgba(10,45,33,.55) 50%, rgba(10,45,33,.15) 100%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 50%); z-index: 1; }
.slide-in { position: relative; z-index: 2; padding-bottom: 80px; padding-top: 80px; width: 100%; }
.slide .kicker { display: inline-block; background: var(--gold); color: #1f2326; font: 800 1.05rem/1 var(--head); text-transform: uppercase; letter-spacing: .8px; padding: 14px 26px; border-radius: 4px; }
.slide h2 { color: #fff; font: 800 clamp(2.2rem, 5.6vw, 4.6rem)/1.05 var(--head); margin: 26px 0 22px; max-width: 1050px; letter-spacing: -.5px; }
.slide p { color: #e8efec; font-size: clamp(1.05rem, 2vw, 1.4rem); max-width: 860px; margin: 0 0 30px; }
.slide .btn { padding: 16px 30px; font-size: 1.15rem; }
.slider-ctl { position: absolute; right: 70px; bottom: 120px; z-index: 5; display: flex; flex-direction: column; gap: 22px; }
.slider-ctl button { width: 84px; height: 84px; border: 0; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slider-ctl .prev { background: var(--green); } .slider-ctl .next { background: rgba(34,38,41,.92); }
.slider-ctl button:hover { filter: brightness(1.15); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.slider-dots button.on { background: var(--gold); border-color: var(--gold); }

/* ------------------------------------------------ news & cards */
.ncard { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.ncard:hover { box-shadow: 0 14px 30px rgba(0,0,0,.1); transform: translateY(-2px); color: inherit; }
.ncard .img { aspect-ratio: 16/10; overflow: hidden; background: #dfe7e3; }
.ncard .img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ncard:hover .img img { transform: scale(1.04); }
.ncard .body { padding: 22px 28px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat { display: inline-block; align-self: flex-start; background: var(--green); color: #fff; font: 700 .92rem/1 var(--head); text-transform: uppercase; letter-spacing: .5px; padding: 9px 14px; }
.ncard h3 { font-size: 1.5rem; font-weight: 700; margin: 4px 0 0; line-height: 1.2; }
.ncard:hover h3 { color: var(--green); }
.ncard p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.date { color: var(--muted); font: 400 1.02rem var(--head); display: flex; align-items: center; gap: 7px; margin-top: auto; }
.featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; }
.featured .big { position: relative; display: block; min-height: 560px; overflow: hidden; color: #fff; text-decoration: none; }
.featured .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured .big .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 34px; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.25) 70%, transparent); }
.featured .big h3 { color: #fff; font-size: 2rem; margin: 12px 0 8px; }
.featured .big .date { color: #dfe6e2; }
.minilist { display: flex; flex-direction: column; gap: 22px; }
.mini { display: grid; grid-template-columns: 220px 1fr; gap: 20px; text-decoration: none; color: inherit; }
.mini img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.mini h4 { font-size: 1.32rem; margin: 6px 0; line-height: 1.2; }
.mini:hover h4 { color: var(--green); }
.mini .cat { font-size: .85rem; padding: 7px 12px; }

/* sidebar widgets */
.widget { margin-bottom: 34px; }
.widget .wbody { background: #f1f3f2; padding: 26px 30px; }
.widget .wbody p { font-size: 1.12rem; font-family: var(--head); }
.widget .btn { width: 100%; }
.widget .verify-link { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; color: var(--ink); font: 400 1.12rem var(--head); }
.evlist .ev { padding: 16px 0; border-bottom: 1px solid #dfe3e1; }
.evlist .ev:last-child { border: 0; }
.evlist .ev a { color: var(--ink); text-decoration: none; font: 700 1.28rem/1.25 var(--head); display: block; margin: 10px 0 6px; }
.evlist .ev a:hover { color: var(--green); }
.evlist .cat { font-size: .85rem; padding: 7px 12px; }
.recent a { display: grid; grid-template-columns: 110px 1fr; gap: 14px; text-decoration: none; color: var(--ink); padding: 12px 0; border-bottom: 1px solid #dfe3e1; }
.recent img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.recent b { font: 700 1.08rem/1.25 var(--head); }
.recent a:hover b { color: var(--green); }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; font: 700 1.1rem var(--head); padding: 13px 24px; border-radius: 999px; text-decoration: none; }
.wa-btn:hover { background: #1fb457; color: #fff; }
.soc-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.soc-row a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--dark); color: #fff; }
.soc-row a:hover { background: var(--green); color: #fff; }

/* ------------------------------------------------ membership, chapters, steps */
.mcat { border: 2px solid var(--line); border-radius: 10px; padding: 30px 34px; background: #fff; display: flex; flex-direction: column; }
.mcat h3 { font-size: 1.75rem; margin-bottom: 10px; }
.mcat p { color: var(--muted); font-size: 1.05rem; }
.mcat ul { list-style: none; padding: 0; margin: 4px 0 18px; }
.mcat li { display: flex; gap: 12px; padding: 7px 0; font-size: 1.05rem; }
.mcat li .ic { color: var(--green); margin-top: 3px; }
.mcat .fee { color: var(--green); font: 700 1.25rem/1.45 var(--head); margin-top: auto; }
.mcat .btn { margin-top: 16px; }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 20px 26px; }
.step b { width: 50px; height: 50px; border-radius: 50%; background: #eef0f1; display: flex; align-items: center; justify-content: center; font: 700 1.2rem var(--head); flex: none; }
.step span { font-size: 1.08rem; }
.bankbox { border: 2px solid #e8a256; border-radius: 12px; padding: 24px 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 12px 0; }
.bankbox b { font: 700 1.5rem var(--head); display: block; }
.bankbox span { color: var(--muted); font: 400 1.18rem var(--head); }
.bankbox .acct { font: 800 2.1rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 2px; background: #fff8ef; border: 2px solid #e8a256; border-radius: 8px; padding: 12px 22px; cursor: pointer; }
.chgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 40px; }
.chap { display: flex; gap: 24px; padding: 36px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); background: #fff; transition: .2s; }
.chap:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); position: relative; z-index: 1; color: var(--ink); }
.chap .code { width: 94px; height: 94px; flex: none; background: var(--green); border-radius: 10px; color: rgba(255,255,255,.45); font: 800 1.6rem/1 var(--head); padding: 22px 0 0; }
.chap h3 { font-size: 1.85rem; margin: 0 0 6px; }
.chap:hover h3 { color: var(--green); }
.chap .cap { color: var(--muted); font: 400 1.4rem var(--head); }
.chap .cnt { color: var(--green); font: 700 1.3rem var(--head); display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: center; }
.person img, .person .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--green-l); }
.person .noimg { display: flex; align-items: center; justify-content: center; font: 800 3rem var(--head); color: var(--green); }
.person div { padding: 16px; }
.person b { font: 700 1.25rem var(--head); display: block; }
.person span { color: var(--green); font-weight: 500; }

/* ------------------------------------------------ forms */
.form .field { margin-bottom: 18px; }
.form label, .lbl { display: block; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; font-size: 1.02rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input[type=search], input:not([type]), select, textarea {
    width: 100%; padding: 14px 18px; border: 1px solid #d3d8db; border-radius: 10px; font: 1.02rem var(--body); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(26,110,76,.12); }
input::placeholder, textarea::placeholder { color: #8b949a; }
input[type=file] { padding: 10px; border: 1px dashed #c7ced2; border-radius: 10px; width: 100%; background: #fafbfb; }
.hint { color: var(--muted); font-size: .88rem; margin-top: 6px; font-weight: 400; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }
.row-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
fieldset.box { border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px 8px; margin: 0 0 28px; }
fieldset.box legend { font: 700 1.3rem var(--body); padding: 0 10px; color: var(--ink); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; margin: 6px 0 14px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.catpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-bottom: 22px; }
.catpick label { border: 2px solid var(--line); border-radius: 10px; padding: 30px 34px; cursor: pointer; display: flex; flex-direction: column; font-weight: 400; margin: 0; transition: .15s; }
.catpick label:hover { border-color: #a9cbb9; }
.catpick input { position: absolute; opacity: 0; pointer-events: none; }
.catpick label:has(input:checked) { border: 5px solid var(--green-d); background: var(--green-ll); padding: 27px 31px; box-shadow: 0 0 0 2px #fff inset; }
.catpick b { font: 700 1.75rem var(--head); color: var(--ink); }
.catpick span { color: var(--muted); font-size: 1.05rem; margin: 10px 0 18px; }
.catpick em { font: 700 1.25rem/1.5 var(--head); color: var(--green); font-style: normal; margin-top: auto; }
.pay-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.pay-choice { border: 2px solid var(--line); border-radius: 10px; padding: 14px 16px; cursor: pointer; font-weight: 400 !important; margin: 0 !important; display: flex !important; gap: 10px; align-items: flex-start; }
.pay-choice:has(input:checked) { border-color: var(--green); background: var(--green-ll); }
.pay-choice input { accent-color: var(--green); margin-top: 4px; }
.pay-choice b { display: block; font: 700 1.1rem var(--head); }
.pay-choice small { color: var(--muted); }
.authbox { max-width: 750px; margin: 50px auto 70px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 54px 54px 40px; box-shadow: var(--shadow); }
.authbox .alogo { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; text-decoration: none; }
.authbox .alogo img { width: 96px; height: 96px; object-fit: contain; }
.authbox .alogo b { font: 800 2.6rem/1 var(--head); color: var(--ink); display: block; }
.authbox .alogo small { color: var(--green); font: 700 .98rem var(--head); text-transform: uppercase; letter-spacing: .3px; display: block; margin-top: 6px; max-width: 380px; }
.authbox h1 { text-align: center; font-size: 2.3rem; margin-bottom: 8px; }
.authbox .sub { text-align: center; color: var(--muted); font-size: 1.15rem; margin-bottom: 30px; }
.authbox .btn-green { width: 100%; padding: 18px; font-size: 1.3rem; }
.authbox .foot { text-align: center; color: var(--muted); margin-top: 26px; font-size: 1.05rem; }
.login-switch { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 22px; }
.login-switch a { flex: 1; text-align: center; padding: 11px; text-decoration: none; color: var(--ink-2); font: 700 1.02rem var(--head); }
.login-switch a.on { background: var(--green); color: #fff; }

/* ------------------------------------------------ tables, lists, misc */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th { text-align: left; font: 700 .8rem var(--body); text-transform: uppercase; letter-spacing: .5px; color: var(--green-d); background: #f1f6f3; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfcfc; }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filters input, .filters select { width: auto; padding: 9px 12px; min-width: 150px; }
.filters input[type=search] { min-width: 230px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 11px 16px; color: var(--ink-2); font: 700 1.02rem var(--head); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--green); border-color: var(--green); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; border-top: 4px solid var(--green); box-shadow: var(--shadow); }
.stat:nth-child(4n+2) { border-top-color: var(--gold); } .stat:nth-child(4n+3) { border-top-color: #2f6db3; } .stat:nth-child(4n+4) { border-top-color: var(--dark); }
.stat span { color: var(--muted); font-size: .86rem; font-weight: 500; display: block; }
.stat strong { display: block; font: 800 1.9rem/1.2 var(--head); margin: 2px 0; }
.stat a { font-size: .86rem; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); background: #fff; border: 1px dashed #cfd6d3; border-radius: 12px; }
.empty strong { display: block; color: var(--ink); font: 700 1.3rem var(--head); margin-bottom: 6px; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 700 1rem var(--head); }
.pager .on { background: var(--green); color: #fff; border-color: var(--green); }
.avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; vertical-align: middle; }
.avatar-txt { background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; }
.copybox { display: flex; gap: 8px; } .copybox input { flex: 1; }
.dlist { list-style: none; padding: 0; margin: 0; } .dlist li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.evhead { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font: 400 1.1rem var(--head); margin: 6px 0 20px; }
.evhead span { display: flex; gap: 7px; align-items: center; }
.price-tag { font: 800 1.8rem var(--head); color: var(--green); }
.price-tag small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.feat { list-style: none; padding: 0; margin: 10px 0 16px; } .feat li { display: flex; gap: 10px; padding: 5px 0; } .feat .ic { color: var(--green); margin-top: 3px; }
.verify-card { max-width: 640px; margin: 0 auto; }
.ok-banner { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-radius: 12px; background: #eaf6ef; border: 1px solid #bfe3cd; color: #155c33; margin-bottom: 18px; }
.ok-banner.bad { background: #fdecea; border-color: #f5c6c0; color: #8f2219; }

/* ------------------------------------------------ footer */
.sitefoot { background: var(--dark); color: #d7dde0; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 60px; padding-top: 56px; padding-bottom: 40px; }
.sitefoot .whead { background: #1a1d1f; }
.foot-about { font: 400 1.3rem/1.6 var(--head); color: #d7dde0; }
.foot-contact { list-style: none; padding: 0; margin: 18px 0; font: 400 1.2rem var(--head); }
.foot-contact li { display: flex; gap: 14px; align-items: center; padding: 6px 0; }
.foot-contact .ic { color: var(--green); color: #34b37a; }
.foot-contact a { color: #d7dde0; text-decoration: none; }
.foot-soc { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-soc a { width: 40px; height: 40px; border-radius: 50%; background: #33393d; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.foot-soc a:hover { background: var(--green); }
.foot-post { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid #3a4044; text-decoration: none; color: #fff; }
.foot-post img { width: 100%; aspect-ratio: 6/5; object-fit: cover; }
.foot-post b { font: 700 1.35rem/1.25 var(--head); display: block; }
.foot-post:hover b { color: #7ed6a8; }
.foot-post small { color: #aab3b8; font: 400 1.12rem var(--head); display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { border-bottom: 1px solid #3a4044; }
.foot-links a { display: block; padding: 18px 0; color: #e6ebed; text-decoration: none; font: 400 1.35rem var(--head); }
.foot-links a:hover { color: #7ed6a8; }
.foot-links small { color: #9aa4aa; }
.foot-sub { margin-top: 26px; } .foot-sub label { color: #fff; font: 700 1.1rem var(--head); text-transform: uppercase; margin-bottom: 8px; display: block; }
.foot-sub div { display: flex; gap: 8px; } .foot-sub input { background: #33393d; border-color: #3f464a; color: #fff; padding: 10px 12px; }
.foot-base { background: #1a1d1f; padding: 18px 0; font-size: .92rem; color: #9aa4aa; }
.foot-base-in { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-base a { color: #c8d0d4; text-decoration: none; }

/* floating buttons & chat assistant */
.fab { position: fixed; right: 26px; z-index: 80; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; color: #fff; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.fab-wa { bottom: 132px; width: 64px; height: 64px; border-radius: 50%; background: #25d366; }
.fab-wa:hover { color: #fff; background: #1fb457; }
.fab-top { bottom: 76px; width: 62px; height: 62px; background: var(--green); right: 28px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 79; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-top:hover { color: #fff; background: var(--green-d); }
.fab-chat { bottom: 22px; width: 68px; height: 68px; border-radius: 50%; background: var(--green-d); right: 24px; z-index: 81; }
body.has-top .fab-wa { bottom: 152px; } body.has-top .fab-top { bottom: 98px; }
.chatbox { position: fixed; right: 24px; bottom: 102px; width: 370px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 140px); background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.3); z-index: 90; display: flex; flex-direction: column; overflow: hidden; }
.chatbox[hidden] { display: none; }
.chat-head { background: var(--green-d); color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; }
.chat-head div { flex: 1; } .chat-head b { display: block; font: 700 1.1rem var(--head); } .chat-head small { opacity: .85; }
.chat-head button { background: none; border: 0; color: #fff; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #f4f6f5; display: flex; flex-direction: column; gap: 10px; }
.cmsg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-line; }
.cmsg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.cmsg.me { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cmsg a.btn { margin-top: 8px; font-family: var(--body); }
.cquick { display: flex; flex-wrap: wrap; gap: 6px; }
.cquick button { background: #fff; border: 1px solid #b9d6c6; color: var(--green-d); border-radius: 999px; padding: 6px 12px; font-size: .86rem; cursor: pointer; text-align: left; }
.cquick button:hover { background: var(--green-ll); }
.chat-input { display: flex; border-top: 1px solid var(--line); }
.chat-input input { border: 0; border-radius: 0; padding: 14px; }
.chat-input input:focus { box-shadow: none; }
.chat-input button { background: var(--green); border: 0; color: #fff; padding: 0 16px; cursor: pointer; }

/* ------------------------------------------------ member area */
.acc-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 50px; align-items: start; }
.acc-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); position: sticky; top: 150px; overflow: hidden; }
.acc-me { display: flex; gap: 14px; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); background: var(--green-ll); }
.acc-me b { display: block; font: 700 1.1rem/1.2 var(--head); } .acc-me span { display: block; color: var(--muted); font-size: .88rem; margin: 2px 0 4px; }
.acc-side nav { padding: 8px; }
.acc-side nav a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.acc-side nav a:hover { background: #f2f5f4; color: var(--green); }
.acc-side nav a.on { background: var(--green); color: #fff; }
.acc-main h1 { font-size: 2.1rem; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.pagehead h1 { margin: 0; }
.pagehead p { margin: 4px 0 0; color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.timeline .dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: #eef0f1; color: var(--muted); }
.timeline .done .dot { background: var(--green); color: #fff; }
.timeline .now .dot { background: var(--gold); color: #1f2326; }
.timeline b { display: block; }

/* ------------------------------------------------ secretariat (admin) */
.adm-top { position: sticky; top: 0; z-index: 60; background: var(--dark); color: #fff; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 18px; }
.adm-burger { display: none; background: none; border: 0; color: #fff; cursor: pointer; }
.adm-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 400 1.25rem var(--head); }
.adm-brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }
.adm-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.adm-right a { color: #cfd6da; text-decoration: none; display: flex; gap: 6px; align-items: center; font-size: .92rem; }
.adm-right a:hover { color: #fff; }
.adm-me { display: flex; gap: 10px; align-items: center; font-size: .92rem; line-height: 1.15; }
.adm-me small { display: block; color: #9aa4aa; }
.adm-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 62px); }
.adm-side { background: #fff; border-right: 1px solid var(--line); }
.adm-side nav { position: sticky; top: 62px; padding: 12px 10px; max-height: calc(100vh - 62px); overflow-y: auto; }
.adm-side a { display: flex; gap: 11px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.adm-side a:hover { background: #f2f5f4; color: var(--green); }
.adm-side a.on { background: var(--green); color: #fff; }
.adm-side a span { flex: 1; }
.adm-side a em { font-style: normal; background: var(--gold); color: #1f2326; border-radius: 999px; font-size: .74rem; font-weight: 700; padding: 1px 8px; }
.adm-main { padding: 26px 30px 60px; min-width: 0; }
.adm-main h1 { font-size: 2rem; }
.thumb { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; display: block; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; white-space: nowrap; }
.actions form { margin: 0; display: inline; }
.inline-form { display: inline; margin: 0; }

/* ------------------------------------------------ responsive */
@media (max-width: 1180px) {
    .nav-items > a { padding: 0 12px; font-size: 1rem; }
    .nav-search input { width: 120px; }
    .foot-grid { gap: 34px; }
    .chgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .wrap { padding: 0 18px; }
    .layout-main { grid-template-columns: 1fr; }
    .featured { grid-template-columns: 1fr; } .featured .big { min-height: 380px; }
    .grid-3, .grid-4, .catpick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-toggle { display: flex; align-items: center; }
    .nav-items { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; max-height: 75vh; overflow-y: auto; box-shadow: 0 16px 30px rgba(0,0,0,.3); }
    body.nav-open .nav-items { display: flex; }
    .nav-items > a { padding: 16px 22px; border-top: 1px solid #333a3e; }
    .nav-more-m { display: block; } .nav-more-m a { display: block; padding: 13px 22px; color: #cfd6da; text-decoration: none; border-top: 1px solid #333a3e; font: 500 1rem var(--head); }
    .nav-more { display: none; }
    .nav-search { margin-left: auto; padding-right: 0; }
    .nav-in { min-height: 60px; } .nav-home, .nav-dots { width: 60px; }
    .acc-shell, .adm-shell { grid-template-columns: 1fr; }
    .acc-side { position: static; }
    .acc-side nav { display: flex; overflow-x: auto; gap: 4px; } .acc-side nav a { white-space: nowrap; }
    .adm-burger { display: flex; }
    .adm-side { position: fixed; left: 0; top: 62px; bottom: 0; width: 270px; z-index: 70; transform: translateX(-100%); transition: transform .2s; box-shadow: 10px 0 30px rgba(0,0,0,.2); }
    body.side-open .adm-side { transform: none; }
    .adm-main { padding: 20px 16px 50px; }
    .adm-right a span, .adm-me span { display: none; }
    .slider { min-height: 540px; } .slider-ctl { right: 18px; bottom: 90px; } .slider-ctl button { width: 58px; height: 58px; }
    .row-3, .row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .phero { padding: 40px 30px; }
}
@media (max-width: 680px) {
    body { font-size: 15px; }
    .toplinks { display: none; } .topbar-in { justify-content: flex-end; }
    .topright .soc { display: none; }
    .mast-in { padding-top: 14px; padding-bottom: 14px; }
    .brand { gap: 14px; } .brand-logo img { width: 66px; height: 66px; } .brand-logo { padding: 6px 2px; }
    .brand-tag { margin-top: 4px; }
    .mast-banner { display: none; }
    .nav-search input { width: 96px; padding: 10px; }
    .ticker-label { padding: 0 12px; font-size: .95rem; }
    .grid-2, .grid-3, .grid-4, .catpick, .row-2, .row-3, .row-4 { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .chgrid { grid-template-columns: 1fr; }
    .chap { padding: 24px 20px; } .chap .code { width: 70px; height: 70px; font-size: 1.25rem; padding-top: 14px; } .chap h3 { font-size: 1.5rem; }
    .mini { grid-template-columns: 120px 1fr; gap: 14px; } .mini h4 { font-size: 1.1rem; }
    .foot-post { grid-template-columns: 110px 1fr; }
    .slider { min-height: 500px; } .slide-in { padding-bottom: 100px; } .slider-ctl { flex-direction: row; bottom: 24px; right: 16px; gap: 8px; } .slider-ctl button { width: 48px; height: 48px; }
    .slider-dots { justify-content: flex-start; left: 18px; bottom: 40px; }
    .authbox { padding: 30px 20px 26px; margin: 20px auto 40px; } .authbox .alogo b { font-size: 2rem; } .authbox .alogo img { width: 66px; height: 66px; }
    .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; }
    .phero { padding: 30px 22px; }
    .bankbox { padding: 18px; } .bankbox .acct { font-size: 1.5rem; }
    .fab-wa { width: 54px; height: 54px; bottom: 110px; right: 16px; } .fab-chat { width: 56px; height: 56px; right: 16px; bottom: 16px; } .fab-top { width: 48px; height: 48px; right: 19px; bottom: 64px; }
    body.has-top .fab-wa { bottom: 122px; } body.has-top .fab-top { bottom: 82px; }
    .chatbox { right: 12px; bottom: 82px; }
    fieldset.box { padding: 18px 16px 4px; }
    .shead h2 { font-size: 1.15rem; padding: 0 34px 0 16px; }
    .acc-main h1, .adm-main h1 { font-size: 1.6rem; }
}
@media print {
    .topbar, .masthead, .navwrap, .sitefoot, .fab, .chatbox, .acc-side, .adm-top, .adm-side, .no-print { display: none !important; }
    body { background: #fff; } .acc-shell, .adm-shell { display: block; padding: 0; }
}

/* "Follow us" coloured social buttons */
.follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fl { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: #fff; text-decoration: none; font: 700 1.12rem/1.1 var(--head); border-radius: 4px; transition: filter .15s, transform .15s; min-height: 62px; }
.fl:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.fl-facebook { background: #1877f2; } .fl-x { background: #111; } .fl-instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.fl-youtube { background: #ff0000; } .fl-whatsapp { background: #25d366; } .fl-linkedin { background: #0a66c2; } .fl-tiktok { background: #010101; box-shadow: inset 3px 0 0 #25f4ee, inset -3px 0 0 #fe2c55; } .fl-telegram { background: #229ed9; }
.sitefoot .follow { margin-top: 16px; }
@media (max-width: 380px) { .follow { grid-template-columns: 1fr; } }

/* fixes */
.nav-search input[type=search] { background: #33393d; border: 0; color: #fff; padding: 12px 14px; width: 170px; font: 1.05rem var(--head); border-radius: 0; box-shadow: none; }
.nav-items { overflow: hidden; }
.featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.featured .mini { grid-template-columns: 150px 1fr; gap: 16px; }
.featured .mini h4 { font-size: 1.18rem; }
@media (max-width: 1340px) { .nav-items > a { padding: 0 11px; font-size: 1.02rem; } .nav-search input[type=search] { width: 120px; } }
@media (max-width: 1180px) { .nav-search input[type=search] { width: 110px; } }
@media (max-width: 680px) { .nav-search input[type=search] { width: 96px; padding: 10px; } }

/* admin extras */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 10px; }
.bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bars i { display: block; width: 100%; min-height: 2px; background: linear-gradient(var(--green), #2d8a64); border-radius: 4px 4px 0 0; }
.bars span { font-size: .72rem; color: var(--muted); }
.mhead { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.mhead .ph { width: 120px; height: 145px; object-fit: cover; border-radius: 10px; border: 3px solid var(--line); background: #eef0f1; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.kvt { width: 100%; border-collapse: collapse; } .kvt th { text-align: left; color: var(--muted); font-weight: 500; padding: 7px 10px 7px 0; width: 38%; vertical-align: top; } .kvt td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.kvt tr:last-child td { border-bottom: 0; }
.chk-col { width: 34px; }
.bulkbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 10px 14px; background: #f4f7f5; border-bottom: 1px solid var(--line); }
.bulkbar select { width: auto; padding: 7px 10px; }
.thumb-sm { width: 64px; height: 40px; object-fit: cover; border-radius: 5px; background: #eee; }
.switch-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.switch-row:last-child { border-bottom: 0; }
.switch { position: relative; width: 52px; height: 28px; flex: none; } .switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #c9d0d4; border-radius: 28px; transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + span { background: var(--green); } .switch input:checked + span::before { transform: translateX(24px); }
.adm-form-grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .adm-form-grid { grid-template-columns: 1fr; } }
.fl.fl-mini { width: 28px; height: 28px; min-height: 0; padding: 0; justify-content: center; border-radius: 6px; flex: none; display: inline-flex; align-items: center; }
.adm-main .btn-sm, .filters .btn, form[method=post] > div > .btn-green { white-space: nowrap; }
.grid > *, .adm-form-grid > *, .layout-main > *, .acc-main, .adm-main, .featured > *, .row-2 > *, .row-3 > *, .row-4 > * { min-width: 0; }
.pagehead { flex-wrap: wrap; }
.kvt td { word-break: break-word; }
code { word-break: break-all; }
.mini > div { min-width: 0; }
@media (max-width: 680px) { .featured .mini { grid-template-columns: 110px 1fr; gap: 12px; } .featured .mini h4 { font-size: 1.05rem; } }
.cat { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
