:root{
  --bg: #f6f3e9;
  --bg-soft: #eaf3f1;
  --text: #0b2b33;
  --muted: #55737a;

  --brand: #1aa59a;        /* teal */
  --brand-dark: #0f7f78;
  --accent: #f6de3b;       /* yellow */
  --accent-stroke: #0f7f78;

  --card: #ffffff;
  --border: #dbe7ea;

  --shadow: 0 10px 30px rgba(11,43,51,.08);
  --radius: 14px;

  --max: 1120px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER / NAV
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,243,233,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  justify-self: start;
  min-width: 210px;
}
.brand-logo{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
}
.brand-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}
.brand-text{
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .2px;
  color: #0a6f78; /* “logo font and color” */
}

.nav-center{
  justify-self: center;
  display:flex;
  align-items:center;
  gap: 26px;
  font-weight: 600;
  color: #0a6f78;
}
.nav-center a{
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-center a:hover{
  border-bottom-color: rgba(15,127,120,.35);
  text-decoration: none;
}

.nav-right{
  justify-self: end;
  display:flex;
  align-items:center;
  gap: 16px;
}
.login-link{
  display:flex;
  align-items:center;
  gap: 8px;
  color: #0a6f78;
  font-weight: 600;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
}
.btn:hover{ text-decoration:none; filter: brightness(.98); }

.btn-accent{
  background: var(--accent);
  border: 2px solid var(--accent-stroke); /* “stroke around it” */
  color: #0b2b33;
  box-shadow: 0 8px 18px rgba(246,222,59,.35);
}
.btn-accent:hover{
  filter: brightness(.97);
}

/* Hamburger */
.hamburger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  cursor:pointer;
}
.hamburger span{
  display:block;
  width: 20px;
  height: 2px;
  background: #0a6f78;
  margin: 5px auto;
  border-radius: 2px;
}

/* Mobile drawer */
.drawer-backdrop{
  display:none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 60;
}
.drawer{
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(110%);
  transition: transform .22s ease;
  z-index: 61;
  padding: 18px 16px;
}
.drawer.open{ transform: translateX(0); }
.drawer-backdrop.open{ display:block; }
.drawer-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 6px 14px;
  border-bottom: 1px solid var(--border);
}
.drawer-close{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
}
.drawer-links{
  padding: 14px 6px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-links a{
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 20px;
  color: #0a6f78;
  font-weight: 650;
}
.drawer-links a:hover{
  background: rgba(26,165,154,.08);
  text-decoration:none;
}
.drawer-actions{
  padding: 6px;
  border-top: 1px solid var(--border);
  margin-top: 10px;
}
.drawer-actions .btn,
.drawer-actions .btn-accent{
  width: 100%;
  margin-top: 10px;
}

/* =========================
   HERO (Blog)
========================= */
.hero{
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--border);
  padding: 46px 0 36px;
}
.hero h1{
  margin: 0;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.6px;
  color: #0a6f78;
}
.hero p{
  margin: 10px 0 0;
  max-width: 680px;
  color: #3f6a73;
  font-size: 18px;
}

/* Search */
.search-row{
  margin-top: 24px;
  display:flex;
  justify-content: flex-start;
}
.search{
  width: min(520px, 100%);
  display:flex;
  align-items:center;
  gap: 10px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.search input{
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
}


.filter-row{
  margin-top: 16px;
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.filter-group{
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.filter-group.is-categories{
  flex: 1 1 520px;
  min-width: min(520px, 100%);
}
.filter-group.is-author{
  flex: 0 1 240px;
  min-width: 200px;
}
.filter-label{
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}
.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip{
  appearance:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease;
}
.chip:hover{ transform: translateY(-1px); }
.chip.is-active{
  background: var(--teal);
  border-color: var(--teal);
  color: #073b3b;
}
.filter-select{width:100%;height:40px;border:1px solid var(--border);border-radius:12px;padding:0 12px;background:rgba(255,255,255,.55);font-size:14px;}
/* =========================
   CARD GRID (Blog)
========================= */
.section-pad{ padding: 28px 0 30px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 6px 16px rgba(11,43,51,.06);
}
.card:hover{
  transform: translateY(-1px);
  transition: transform .15s ease;
}
.card-media{
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #eef6f5;
}
.card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.card-body{ padding: 14px 14px 16px; }
.card-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 13px;
  color: #4f7b83;
  margin-bottom: 8px;
}
.card-title{
  margin: 0 0 8px;
  font-size: 20px;
  color: #0a6f78;
  letter-spacing: -0.2px;
}
.card-excerpt{
  margin: 0;
  color: #4f7b83;
  font-size: 14.5px;
}


.card-tags{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
  font-size: 12.5px;
  color: #2b6f76;
}
/* =========================
   POST PAGE
========================= */
.post-wrap{
  padding: 34px 0 40px;
}
.backlink{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: #0a6f78;
  font-weight: 650;
}
.post-title{
  margin: 18px 0 10px;
  font-size: clamp(36px, 4.8vw, 56px);
  letter-spacing: -0.6px;
  color: #0a6f78;
}
.post-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items:center;
  color: #4f7b83;
  font-size: 14px;
}
.post-hero{
  margin-top: 18px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #eef6f5;
}
.post-hero img{
  width:100%;
  height:auto;
  display:block;
}
.post-content{
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 22px;
  box-shadow: 0 6px 16px rgba(11,43,51,.06);
}
.post-content p{
  font-size: 18px;
  color: #0b2b33;
  margin: 14px 0;
}
.post-content h2{
  margin: 24px 0 8px;
  font-size: 26px;
  color: #0a6f78;
}

/* =========================
   CTA + FOOTER
========================= */
.cta-band{
  margin-top: 40px;
  background: var(--accent);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 46px 0;
}
.cta-band h3{
  margin: 0;
  text-align:center;
  font-size: 28px;
  color: #0a6f78;
}
.cta-band p{
  margin: 10px 0 18px;
  text-align:center;
  color: #0b2b33;
}
.cta-band .cta-actions{
  display:flex;
  justify-content:center;
}

.site-footer{
  background: rgba(255,255,255,.35);
  border-top: 1px solid var(--border);
  padding: 34px 0 24px;
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.footer-col h4{
  margin: 0 0 10px;
  font-size: 14px;
  color: #0a6f78;
  letter-spacing: .3px;
}
.footer-col a{
  display:block;
  padding: 6px 0;
  color: #2f5f67;
  font-size: 14px;
}
.footer-bottom{
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align:center;
  color: #5a7f86;
  font-size: 13px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
  .header-inner{ grid-template-columns: 1fr auto; }
  .nav-center, .nav-right{ display:none; }
  .hamburger{ display:inline-block; justify-self:end; }
}

@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; }
  .hero{ padding: 34px 0 26px; }
  .post-content{ padding: 18px 16px; }
  .brand-text{ font-size: 20px; }
  .brand{ min-width: 0; }
}

/* =========================
   QUICK LOGO SIZE CONTROL
   (this is what you edit)
========================= */
.brand-logo{ width: 34px; height: 34px; } /* <- change to 28/30 if you want smaller */

.muted{color:var(--muted);font-size:14px;}
