*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:#183124;
  background:#f4f8f4;
  line-height:1.65;
}

body.lightbox-open{
  overflow:hidden;
}

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

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

button,
input,
textarea,
select{
  font:inherit;
}

button{
  cursor:pointer;
}

.container{
  width:min(1180px,92%);
  margin:0 auto;
}

/* =========================
HEADER
========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(24,49,36,.08);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 0;
  position:relative;
}

.logo-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  min-width:max-content;
}

.site-title{
  display:block;
  font-size:22px;
  font-weight:800;
  line-height:1.05;
  letter-spacing:.2px;
  color:#183124;
}

.site-tagline{
  display:block;
  color:#5d7265;
  font-size:12px;
  margin-top:3px;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.main-nav a{
  color:#355844;
  font-weight:700;
  font-size:15px;
  position:relative;
  padding:6px 0;
}

.main-nav a.active,
.main-nav a:hover{
  color:#1d412d;
}

.main-nav a.active::after,
.main-nav a:hover::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:100%;
  height:2px;
  border-radius:999px;
  background:#24593f;
}

.menu-toggle{
  display:none;
  border:none;
  background:#24593f;
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  box-shadow:0 8px 18px rgba(36,89,63,.18);
}

/* =========================
HERO
========================= */

.hero{
  min-height:78vh;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  color:#fff;
  position:relative;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(11,31,22,.18),rgba(11,31,22,.04));
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:1;
  padding:64px 0 72px;
}

.hero-content{
  max-width:700px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:30px;
  padding:34px 30px;
  backdrop-filter:blur(10px);
  box-shadow:0 20px 60px rgba(0,0,0,.14);
}

.eyebrow{
  display:inline-block;
  margin-bottom:10px;
  padding:8px 14px;
  background:rgba(255,255,255,.16);
  color:inherit;
  border-radius:999px;
  font-size:13px;
  letter-spacing:.3px;
}

.hero h1,
.page-hero h1{
  font-size:clamp(32px,4.4vw,58px);
  line-height:1.08;
  margin:0 0 16px;
}

.hero p,
.page-hero p{
  font-size:17px;
  max-width:720px;
  margin:0;
}

.search-box{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.search-box input{
  flex:1 1 280px;
  min-height:54px;
  padding:15px 16px;
  border:none;
  border-radius:16px;
  outline:none;
  background:rgba(255,255,255,.96);
}

.search-box button,
.btn-primary,
button[type="submit"]{
  border:none;
  background:linear-gradient(135deg,#24593f,#4b8c5e);
  color:#fff;
  padding:14px 20px;
  border-radius:16px;
  font-weight:700;
  box-shadow:0 10px 25px rgba(36,89,63,.18);
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.search-box button:hover,
.btn-primary:hover,
button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(36,89,63,.22);
}

.btn-primary.full{
  display:block;
  text-align:center;
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:14px;
  border:1px solid #cfe0d4;
  background:#fff;
  color:#224b35;
  font-weight:700;
  transition:all .2s ease;
}

.btn-secondary:hover{
  background:#f2f7f3;
  border-color:#b9d1c1;
}

/* =========================
PAGE HERO
========================= */

.page-hero{
  background:linear-gradient(180deg,#edf6ef,#f4f8f4);
  padding:60px 0 26px;
}

.page-hero.small h1{
  font-size:clamp(28px,4vw,42px);
}

/* =========================
SECTIONS
========================= */

.section{
  padding:64px 0;
  position:relative;
}

.section-muted{
  background:#eef4ef;
}

.home-section{
  border-top:1px solid #e4ebe5;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:30px;
}

.section-head h2{
  margin:0;
  font-size:clamp(24px,3vw,32px);
  line-height:1.2;
}

.section-title{
  margin:0;
  font-size:clamp(26px,3.2vw,36px);
  line-height:1.2;
  color:#183124;
  letter-spacing:.2px;
}

.section-divider{
  width:82px;
  height:4px;
  margin:14px 0 0;
  border-radius:999px;
  background:linear-gradient(90deg,#24593f,#6da57b);
  box-shadow:0 6px 16px rgba(36,89,63,.18);
}

.text-link{
  font-weight:700;
  color:#24593f;
  white-space:nowrap;
}

.text-link:hover{
  color:#183124;
}

.intro-box,
.trust-box,
.info-card,
.contact-card,
.search-card,
.admin-card{
  background:#fff;
  border-radius:24px;
  padding:28px;
  box-shadow:0 14px 34px rgba(20,54,36,.07);
  border:1px solid rgba(36,89,63,.06);
}

.intro-box{
  max-width:100%;
}

.intro-box h2,
.trust-box h2,
.info-card h2,
.contact-card h2,
.search-card h2,
.admin-card h2{
  margin:6px 0 16px;
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.3;
}

.intro-box p:last-child,
.trust-box p:last-child,
.info-card p:last-child,
.contact-card p:last-child,
.search-card p:last-child,
.admin-card p:last-child{
  margin-bottom:0;
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

/* =========================
CARDS
========================= */

.card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.card{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(20,54,36,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  border:1px solid rgba(36,89,63,.08);
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 48px rgba(20,54,36,.12);
}

.card img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}

.card-body{
  padding:18px;
}

.card-body h2,
.card-body h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.35;
  color:#183124;
}

.card-body p{
  margin:0;
  color:#537061;
  font-size:15px;
}

.card-tag{
  display:inline-flex;
  align-items:center;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#edf6ef;
  color:#24593f;
  font-size:12px;
  font-weight:700;
  text-transform:capitalize;
}

.meta-row{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.read-more{
  display:inline-block;
  margin-top:14px;
  color:#24593f;
  font-weight:700;
  font-size:14px;
}

/* =========================
HOME GALLERY
========================= */

.home-gallery-section{
  background:
    radial-gradient(circle at top left, rgba(109,165,123,.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(36,89,63,.12), transparent 28%),
    linear-gradient(180deg,#f6faf7,#eef5f0);
  border-top:1px solid #e4ebe5;
  border-bottom:1px solid #e4ebe5;
}

.gallery-head{
  align-items:flex-end;
}

.gallery-subtext{
  max-width:760px;
  margin:14px 0 0;
  color:#557062;
  font-size:16px;
  line-height:1.8;
}

.premium-gallery-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:18px;
}

.premium-gallery-card{
  grid-column:span 4;
  position:relative;
  min-height:300px;
  border-radius:28px;
  overflow:hidden;
  background:#dce8df;
  box-shadow:0 18px 45px rgba(20,54,36,.12);
  border:1px solid rgba(36,89,63,.08);
  cursor:pointer;
  transition:transform .3s ease, box-shadow .3s ease;
}

.premium-gallery-card.large{
  grid-column:span 8;
  min-height:420px;
}

.premium-gallery-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 56px rgba(20,54,36,.18);
}

.premium-gallery-media{
  position:absolute;
  inset:0;
}

.premium-gallery-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}

.premium-gallery-card:hover .premium-gallery-media img{
  transform:scale(1.06);
}

.premium-gallery-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:16px;
  padding:24px;
  color:#fff;
  background:linear-gradient(180deg,rgba(10,28,20,.08),rgba(10,28,20,.78));
}

.premium-gallery-text h3{
  margin:0 0 8px;
  font-size:clamp(20px,2.2vw,28px);
  line-height:1.2;
  color:#fff;
}

.premium-gallery-text p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:14px;
  line-height:1.7;
  max-width:640px;
}

.gallery-zoom-btn{
  align-self:flex-start;
  border:none;
  background:rgba(255,255,255,.16);
  color:#fff;
  padding:11px 16px;
  border-radius:999px;
  font-weight:700;
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.22);
  transition:all .2s ease;
}

.gallery-zoom-btn:hover{
  background:rgba(255,255,255,.24);
  transform:translateY(-2px);
}

.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:120;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease, visibility .22s ease;
}

.gallery-lightbox.open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.gallery-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,16,10,.78);
  backdrop-filter:blur(8px);
}

.gallery-lightbox-dialog{
  position:relative;
  z-index:2;
  width:min(980px,100%);
  max-height:min(88vh,920px);
  overflow:auto;
  background:#fff;
  border-radius:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.24);
}

.gallery-lightbox-close{
  position:absolute;
  top:14px;
  right:14px;
  width:44px;
  height:44px;
  border:none;
  border-radius:999px;
  background:rgba(16,46,31,.82);
  color:#fff;
  font-size:28px;
  line-height:1;
  display:grid;
  place-items:center;
  z-index:3;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}

.gallery-lightbox-image-wrap{
  background:#eff5f0;
}

.gallery-lightbox-image-wrap img{
  width:100%;
  max-height:72vh;
  object-fit:contain;
}

.gallery-lightbox-content{
  padding:22px 22px 26px;
}

.gallery-lightbox-content h3{
  margin:0 0 10px;
  font-size:28px;
  line-height:1.2;
  color:#183124;
}

.gallery-lightbox-content p{
  margin:0;
  color:#537061;
  line-height:1.8;
  font-size:15px;
}

/* =========================
DETAIL
========================= */

.detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);
  gap:28px;
}

.detail-cover{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:28px;
  margin-bottom:20px;
}

.detail-main h1{
  font-size:clamp(30px,4vw,44px);
  margin:0 0 12px;
  line-height:1.18;
}

.detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
  color:#50705f;
  font-weight:600;
}

.detail-intro{
  background:#f6faf7;
  border:1px solid #e0ebe2;
  border-radius:18px;
  padding:18px;
  margin-bottom:20px;
}

.detail-intro p{
  margin:0;
  color:#365441;
}

.detail-content{
  font-size:18px;
  color:#2c4d3b;
  line-height:1.95;
  white-space:normal;
  word-break:break-word;
}

.detail-content p{
  margin:0 0 20px;
}

.article-content{
  font-size:18px;
  line-height:1.95;
  color:#2c4d3b;
  white-space:normal;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.article-content > *:first-child{
  margin-top:0;
}

.article-content > *:last-child{
  margin-bottom:0;
}

.article-content p{
  margin:0 0 20px;
}

.article-content h2,
.article-content h3,
.article-content h4{
  margin:34px 0 14px;
  line-height:1.3;
  color:#183124;
  font-weight:800;
}

.article-content h2{
  font-size:30px;
}

.article-content h3{
  font-size:24px;
}

.article-content h4{
  font-size:20px;
}

.article-content ul,
.article-content ol{
  padding-left:24px;
  margin:0 0 22px;
}

.article-content li{
  margin-bottom:8px;
}

.article-content blockquote{
  margin:24px 0;
  padding:18px 20px;
  border-left:4px solid #6da57b;
  background:#f5faf6;
  border-radius:16px;
  color:#355844;
}

.article-content a{
  color:#24593f;
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:700;
}

.article-content img{
  border-radius:20px;
  margin:24px auto;
  max-width:100%;
  height:auto;
  box-shadow:0 14px 32px rgba(20,54,36,.10);
}

.article-content table{
  width:100%;
  border-collapse:collapse;
  margin:24px 0;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,54,36,.08);
}

.article-content th,
.article-content td{
  padding:14px 16px;
  border:1px solid #e4ece6;
  text-align:left;
}

.article-content th{
  background:#edf6ef;
  color:#224b35;
  font-size:14px;
}

.sticky-box{
  background:#fff;
  padding:22px;
  border-radius:22px;
  box-shadow:0 14px 36px rgba(20,54,36,.07);
  margin-bottom:18px;
  position:sticky;
  top:95px;
  border:1px solid rgba(36,89,63,.06);
}

.sticky-box h3{
  margin-top:0;
}

.info-list{
  list-style:none;
  padding:0;
  margin:0 0 16px;
}

.info-list li{
  padding:10px 0;
  border-bottom:1px solid #edf2ed;
}

.mini-link{
  display:block;
  padding:10px 0;
  color:#24593f;
  font-weight:700;
  border-bottom:1px solid #edf2ed;
  transition:padding-left .2s ease,color .2s ease;
}

.mini-link:hover{
  padding-left:6px;
  color:#183124;
}

/* =========================
FORM / COMMENT / RATING
========================= */

.rating-box,
.comment-box{
  margin-top:28px;
  background:#fff;
  padding:24px;
  border-radius:24px;
  box-shadow:0 14px 36px rgba(20,54,36,.07);
  border:1px solid rgba(36,89,63,.06);
}

.inline-form,
.comment-form,
.admin-form{
  display:grid;
  gap:14px;
}

.inline-form{
  grid-template-columns:1fr 1fr auto;
  align-items:center;
}

input,
textarea,
select{
  width:100%;
  padding:14px 16px;
  border:1px solid #d8e4db;
  border-radius:16px;
  background:#fff;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus,
textarea:focus,
select:focus{
  border-color:#7bb17a;
  box-shadow:0 0 0 4px rgba(123,177,122,.15);
}

textarea{
  resize:vertical;
  min-height:120px;
}

.form-hint{
  display:block;
  margin-top:-6px;
  font-size:13px;
  color:#64806f;
}

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

.form-group{
  display:grid;
  gap:10px;
}

.form-group.full,
.form-divider.full{
  grid-column:1 / -1;
}

.form-divider{
  margin-top:4px;
  padding-top:12px;
  border-top:1px solid #e6eee8;
  color:#24593f;
  font-weight:800;
  font-size:15px;
}

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

.checkbox-label,
.checkbox-line{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  color:#274634;
}

.checkbox-label input,
.checkbox-line input{
  width:auto;
  margin:0;
}

.image-preview{
  width:min(320px,100%);
  border-radius:20px;
  overflow:hidden;
  border:1px solid #dce7df;
  background:#f7faf8;
  box-shadow:0 12px 28px rgba(20,54,36,.08);
  margin-bottom:12px;
}

.image-preview img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
}

.comment-list{
  margin-top:20px;
  display:grid;
  gap:14px;
}

.comment-item{
  border:1px solid #e4eee7;
  border-radius:18px;
  padding:16px;
  background:#fcfefd;
}

.comment-item h3{
  margin:0 0 6px;
}

/* =========================
CONTACT / SEARCH
========================= */

.contact-grid,
.search-wrap{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.search-wrap{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.search-card h2,
.contact-card h2{
  margin-top:0;
}

/* =========================
EMPTY STATE
========================= */

.empty-state{
  text-align:center;
  padding:32px 20px;
  color:#526d5d;
}

.empty-state h3,
.empty-state strong{
  display:block;
  color:#183124;
  margin-bottom:10px;
  font-size:20px;
}

.empty-state p{
  margin:0;
}

/* =========================
FOOTER
========================= */

.site-footer{
  position:relative;
  margin-top:70px;
  color:#fff;
  background:
    linear-gradient(rgba(10,34,24,.86),rgba(10,34,24,.93)),
    url('/images/default-cover.jpg') center/cover no-repeat;
  overflow:hidden;
}

.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(16,46,31,.55),rgba(8,20,15,.88));
  pointer-events:none;
}

.footer-inner{
  position:relative;
  z-index:2;
  padding:64px 0 22px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr 1.1fr;
  gap:40px;
  padding-bottom:30px;
}

.footer-col h3{
  margin:0 0 16px;
  font-size:30px;
  font-weight:800;
  line-height:1.15;
  color:#fff;
}

.footer-col h4{
  margin:0 0 16px;
  font-size:19px;
  font-weight:700;
  color:#fff;
  position:relative;
}

.footer-col h4::after{
  content:"";
  display:block;
  width:42px;
  height:3px;
  border-radius:999px;
  background:#d9b96e;
  margin-top:10px;
}

.footer-brand p{
  margin:0;
  max-width:420px;
  color:rgba(255,255,255,.84);
  line-height:1.85;
  font-size:15px;
}

.footer-links,
.footer-contact{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links{
  display:grid;
  gap:10px;
}

.footer-links li,
.footer-contact li{
  margin:0;
}

.footer-links a,
.footer-contact a{
  color:rgba(255,255,255,.92);
  transition:all .22s ease;
}

.footer-links a:hover,
.footer-contact a:hover{
  color:#f0d48f;
  padding-left:4px;
}

.footer-contact{
  display:grid;
  gap:12px;
}

.footer-contact li{
  color:rgba(255,255,255,.88);
  line-height:1.75;
  font-size:15px;
}

.footer-bottom{
  position:relative;
  z-index:2;
  border-top:1px solid rgba(255,255,255,.14);
  padding:18px 0 20px;
  text-align:center;
}

.footer-bottom p{
  margin:0;
  color:rgba(255,255,255,.74);
  font-size:14px;
  letter-spacing:.2px;
}

/* =========================
LOGIN
========================= */

.login-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#edf6ef,#dceee0);
}

.login-card{
  width:min(460px,92vw);
  background:#fff;
  padding:28px;
  border-radius:26px;
  box-shadow:0 24px 60px rgba(20,54,36,.12);
}

.alert-error{
  background:#fdeaea;
  color:#962d2d;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:14px;
  border:1px solid #f2c4c4;
}

/* =========================
ADMIN
========================= */

.admin-page{
  background:#f3f7f4;
}

.admin-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  min-height:100vh;
}

.admin-sidebar{
  background:#153424;
  color:#fff;
  padding:24px;
  display:grid;
  align-content:start;
  gap:12px;
}

.admin-sidebar a{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  transition:all .2s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.active{
  background:rgba(255,255,255,.12);
}

.admin-main{
  padding:28px;
}

.admin-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
}

.admin-head h1{
  margin:0;
}

.admin-subtitle{
  margin:6px 0 0;
  color:#60796a;
  font-size:14px;
}

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

.stat-card,
.table-wrap{
  background:#fff;
  border-radius:22px;
  box-shadow:0 16px 40px rgba(20,54,36,.08);
}

.stat-card{
  padding:24px;
  display:grid;
  gap:8px;
}

.stat-card strong{
  font-size:34px;
}

.table-wrap{
  padding:18px;
  overflow:auto;
}

table,
.admin-table{
  width:100%;
  border-collapse:collapse;
}

th,
td{
  padding:14px;
  border-bottom:1px solid #eef3ef;
  text-align:left;
  vertical-align:top;
}

th{
  font-size:13px;
  color:#60796a;
  text-transform:uppercase;
  letter-spacing:.4px;
  font-weight:800;
}

.table-title-cell{
  display:grid;
  gap:6px;
}

.table-muted{
  color:#698171;
  font-size:14px;
  line-height:1.55;
}

.table-slug{
  font-size:12px;
  color:#7d9487;
  word-break:break-word;
}

.table-thumb{
  width:88px;
  height:64px;
  border-radius:14px;
  overflow:hidden;
  background:#edf4ef;
  border:1px solid #e0e9e3;
}

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

.status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  background:#edf6ef;
  color:#24593f;
  font-size:12px;
  font-weight:800;
  line-height:1;
  text-transform:capitalize;
}

.status-badge.success{
  background:#e8f7ec;
  color:#1f7a3d;
}

.status-badge.muted{
  background:#eef1ef;
  color:#6b7f73;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.actions form{
  margin:0;
}

.btn-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:74px;
  padding:10px 14px;
  border:none;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  transition:all .2s ease;
}

.btn-edit{
  background:#edf6ef;
  color:#24593f;
}

.btn-edit:hover{
  background:#dff0e4;
}

.btn-delete{
  background:#fdecec;
  color:#a23030;
}

.btn-delete:hover{
  background:#f9dddd;
}

/* =========================
ANIMATION
========================= */

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:all .6s ease;
}

.reveal.in-view{
  opacity:1;
  transform:none;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 980px){
  .card-grid,
  .detail-layout,
  .footer-grid,
  .search-wrap,
  .contact-grid,
  .stats-grid,
  .admin-layout,
  .info-grid,
  .form-grid{
    grid-template-columns:1fr;
  }

  .premium-gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .premium-gallery-card,
  .premium-gallery-card.large{
    grid-column:span 1;
    min-height:300px;
  }

  .sticky-box{
    position:static;
  }

  .inline-form{
    grid-template-columns:1fr;
  }

  .main-nav{
    display:none;
    position:absolute;
    top:74px;
    right:0;
    width:min(320px,92vw);
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(20,54,36,.12);
    padding:14px;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .main-nav.open{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .hero-inner{
    padding:52px 0 58px;
  }

  .hero-content{
    max-width:100%;
  }

  .section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .section-divider{
    margin-top:12px;
  }

  .admin-layout{
    min-height:auto;
  }

  .admin-sidebar{
    padding:18px;
  }

  .admin-main{
    padding:18px;
  }

  .footer-inner{
    padding:50px 0 18px;
  }

  .footer-grid{
    gap:28px;
  }

  .footer-col h3{
    font-size:26px;
  }

  .gallery-lightbox{
    padding:14px;
  }
}

@media (max-width: 640px){
  .section{
    padding:48px 0;
  }

  .hero{
    min-height:auto;
  }

  .hero-inner{
    padding:38px 0 46px;
  }

  .hero-content{
    padding:22px;
    border-radius:22px;
  }

  .hero h1{
    font-size:clamp(30px,9vw,44px);
  }

  .hero p,
  .page-hero p{
    font-size:16px;
  }

  .card-body h2,
  .card-body h3{
    font-size:19px;
  }

  .detail-main h1{
    font-size:32px;
  }

  .detail-content,
  .article-content{
    font-size:17px;
    line-height:1.9;
  }

  .article-content h2{
    font-size:25px;
  }

  .article-content h3{
    font-size:21px;
  }

  .article-content h4{
    font-size:18px;
  }

  .site-title{
    font-size:18px;
  }

  .site-tagline{
    font-size:11px;
  }

  .footer-grid{
    gap:22px;
  }

  .footer-col h3{
    font-size:24px;
  }

  .footer-col h4{
    font-size:18px;
  }

  .section-title{
    font-size:28px;
  }

  .intro-box,
  .trust-box,
  .info-card,
  .contact-card,
  .search-card,
  .rating-box,
  .comment-box,
  .admin-card{
    padding:22px;
    border-radius:20px;
  }

  .premium-gallery-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .premium-gallery-card,
  .premium-gallery-card.large{
    min-height:260px;
  }

  .premium-gallery-overlay{
    padding:18px;
  }

  .premium-gallery-text h3{
    font-size:22px;
  }

  .gallery-subtext{
    font-size:15px;
  }

  .gallery-lightbox-dialog{
    border-radius:20px;
  }

  .gallery-lightbox-content{
    padding:18px 18px 22px;
  }

  .gallery-lightbox-content h3{
    font-size:24px;
  }

  th,
  td{
    padding:12px 10px;
  }

  .table-thumb{
    width:72px;
    height:56px;
  }

  .form-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn-primary,
  .btn-secondary,
  .btn-action,
  button[type="submit"]{
    width:100%;
  }

  .footer-contact li,
  .footer-brand p,
  .footer-links a{
    font-size:14px;
  }
}
