:root {
    --cream: #fdf8f2;
    --cream2: #f7f0e6;
    --cream3: #efe6d8;
    --brown: #3b2a1a;
    --brown-mid: #6b4c30;
    --brown-light: #a07850;
    --rose: #c97a6e;
    --rose-light: #f0ddd9;
    --sage: #7a9e7e;
    --sage-light: #deeadf;
    --gold: #c8a96e;
    --gold-light: #f5ecd8;
    --text: #2c1f0f;
    --text-mid: #5a4030;
    --text-soft: #8a6f5a;
    --text-faint: #c4a98a;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Jost', system-ui, sans-serif;
    --border: #e8ddd0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text);
    -webkit-font-smoothing: antialiased
}


/* logo */
.logo-img {
    height: 80px;  /* adjust 40-50px to match your nav height */
    width: auto;
    display: block;
}


/* ── NAVBAR ── */
.topbar {
    background: var(--brown);
    color: rgba(255, 255, 255, .7);
    text-align: center;
    padding: .45rem 1rem;
    font-size: .72rem;
    letter-spacing: .1em
}

.topbar a {
    color: var(--gold);
    text-decoration: none
}
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 2rem;
}
.brand {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.brand span { color: var(--rose); }

/* Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a,
.dropdown-toggle {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
  white-space: nowrap;
  line-height: 1;
}
.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

/* Right actions */
.nav-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-shrink: 0;
}
.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1.1rem;
  padding: .3rem;
  line-height: 1;
  transition: color .2s;
}
.btn-search:hover { color: var(--rose); }
.btn-sub {
  background: var(--brown);
  color: #fff;
  border: none;
  padding: .5rem 1.2rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
  white-space: nowrap;
}
.btn-sub:hover { background: var(--rose); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: .3rem;
}
.hbar {
  width: 22px;
  height: 1.5px;
  background: var(--brown);
  display: block;
  transition: background .2s;
}
.hamburger:hover .hbar { background: var(--rose); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--rose); }

/* Desktop Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.dropdown-toggle::after {
  content: '›';
  font-size: 1.2rem;
  transition: transform .2s;
}

.nav-dropdown:hover .dropdown-toggle::after {
  transform: rotate(90deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: none;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  z-index: 1001;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .2s;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--rose-light);
  color: var(--rose);
  padding-left: 1.5rem;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color .2s;
}

.mobile-dropdown-toggle:hover {
  color: var(--rose);
}

.dropdown-arrow {
  display: inline-block;
  transition: transform .2s;
  font-size: 1.2rem;
}

.mobile-dropdown-toggle.active .dropdown-arrow {
  transform: rotate(90deg);
}

.mobile-dropdown-menu {
  background: var(--rose-light);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.open {
  max-height: 500px;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all .2s;
}

.mobile-dropdown-menu a:last-child {
  border-bottom: none;
}

.mobile-dropdown-menu a:hover {
  color: var(--rose);
  padding-left: 1.8rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions .btn-sub { display: none; }
  .hamburger { display: flex; }
  .dropdown-menu {
    display: none !important;
  }
  .nav-dropdown .dropdown-toggle::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand { font-size: 1.5rem; }
  .nav-inner { padding: 0 1.25rem; }
  .mobile-menu { padding: 1rem 1.25rem 1.5rem; }
  .mobile-dropdown-toggle {
    padding: 0.6rem 0;
  }
  .mobile-dropdown-menu a {
    padding: 0.5rem 1.2rem;
  }
}



/* ── CAT SHOWCASE (shared) ── */
.cat-showcase { padding: 3rem 0 2rem; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .85rem;
}
.cat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--sans);
}
.cat-block::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.cat-block:hover::after,
.cat-block.active::after { transform: scaleX(1); }
.cat-block:hover,
.cat-block.active {
  border-color: var(--rose-light);
  background: var(--rose-light);
  transform: translateY(-2px);
}
.cb-icon {
  font-size: 1.6rem;
  margin-bottom: .5rem;
  display: block;
  line-height: 0;
}

.cb-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  display: block;
  color: var(--rose);
}

.cb-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: .2rem;
}
.cb-count { font-size: .7rem; color: var(--text-faint); }

/* ── ARTICLES AREA (shared) ── */
.articles-area { padding: 2.5rem 0 5rem; }
.sec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--brown);
  margin-bottom: 2rem;
}
.sec-top-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--brown); }
.sec-top-link { font-size: .75rem; color: var(--rose); text-decoration: none; letter-spacing: .06em; }
.sec-top-link:hover { text-decoration: underline; }

/* ── CARD ITEM (shared grid card) ── */
.card-item {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--cream3), #cec0ac);
}
.card-img img,
.card-img div {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.card-img div {
  background: linear-gradient(135deg, var(--cream3), #cec0ac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  color: rgba(58,42,26,.1);
  font-size: 2rem;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.card-item:hover .card-img img,
.card-item:hover .card-img div { transform: scale(1.04); }
.card-cat {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: .35rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
  margin-bottom: .45rem;
  transition: color .2s;
  flex: 1;
}
.card-item:hover .card-title { color: var(--rose); }
.card-excerpt {
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: .6rem;
}
.card-meta {
  font-size: .72rem;
  color: var(--text-faint);
  display: flex;
  gap: .4rem;
  align-items: center;
}
.card-meta time { color: var(--text-soft); }
.dot { color: var(--border); }
.read-badge {
  background: var(--cream2);
  padding: .15rem .5rem;
  font-size: .68rem;
  color: var(--text-soft);
}

/* ── LIST VIEW ITEM (shared) ── */
.list-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.list-thumb {
  width: 100px;
  height: 78px;
  flex-shrink: 0;
  overflow: hidden;
}
.list-thumb div {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cream3), #cec0ac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-family: var(--serif);
  font-weight: 700;
  color: rgba(58,42,26,.15);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.list-item:hover .list-thumb div { transform: scale(1.04); }
.list-cat {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: .2rem;
}
.list-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
  transition: color .2s;
  margin-bottom: .3rem;
}
.list-item:hover .list-title { color: var(--rose); }
.list-excerpt {
  font-size: .8rem;
  color: var(--text-soft);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-meta {
  font-size: .7rem;
  color: var(--text-faint);
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

/* ── PAGINATION (shared) ── */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: .4rem;
  padding: 2.5rem 0 1rem;
}
.pag-btn {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
}
.pag-btn:hover { border-color: var(--brown); color: var(--brown); }
.pag-btn.active { background: var(--brown); color: #fff; border-color: var(--brown); }
.pag-btn.wide { width: auto; padding: 0 1rem; }

/* ── NO RESULTS (shared) ── */
.no-results { text-align: center; padding: 5rem 0; display: none; }
.no-results p { font-family: var(--serif); font-size: 1.5rem; color: var(--text-soft); font-style: italic; }

/* ── HIDDEN UTILITY (shared) ── */
.hidden { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .list-thumb { width: 80px; height: 64px; }
  .list-excerpt { display: none; }
  .card-excerpt { display: none; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-top { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .pagination-wrap { flex-wrap: wrap; }
}




/* ── FOOTER ── */
footer {
  background: #1a1008;
  color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
}
.footer-top {
  padding-bottom: 3rem;
}
footer .brand {
  display: inline-block;
  text-align: left;
  margin: 0 0 .75rem;
}
footer .logo-img {
  display: block;
  margin: 0;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
  margin-bottom: .4rem;
  text-decoration: none;
}
.footer-brand span { color: var(--rose); }
.footer-tagline {
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  font-weight: 300;
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: .02em;
  transition: all .2s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,110,.08);
}
.footer-head {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
  font-family: var(--sans);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: .55rem;
}
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 300;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.footer-links a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--rose);
  transition: width .2s;
  vertical-align: middle;
}
.footer-links a:hover { color: rgba(255,255,255,.85); }
.footer-links a:hover::before { width: 10px; }

/* Newsletter inside footer */
.footer-nl-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.footer-nl-form {
  display: flex;
  gap: 0;
}
.footer-nl-input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-right: none;
  padding: .6rem .9rem;
  font-family: var(--sans);
  font-size: .82rem;
  color: #fff;
  outline: none;
  transition: border-color .2s;
}
.footer-nl-input::placeholder { color: rgba(255,255,255,.25); }
.footer-nl-input:focus { border-color: var(--gold); }
.footer-nl-btn {
  background: var(--gold);
  color: var(--brown);
  border: none;
  padding: .6rem 1.1rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.footer-nl-btn:hover { background: #fff; }

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
  margin: 0;
}

/* Bottom bar */
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-copy {
  font-size: .73rem;
  color: rgba(255,255,255,.2);
  font-family: var(--sans);
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-bottom-links a {
  font-size: .73rem;
  color: rgba(255,255,255,.25);
  text-decoration: none;
  font-family: var(--sans);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 768px) {
  footer { padding-top: 3rem; }
  .footer-nl-form { flex-direction: column; gap: .5rem; }
  .footer-nl-input { border-right: 1px solid rgba(255,255,255,.12); }
  .footer-nl-btn { width: 100%; text-align: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
@media (max-width: 480px) {
  .footer-brand { font-size: 1.6rem; }
}
