/* Costa Abraao — coastal travel journal */
:root{
  --bg:#f3eee4;
  --bg-elev:#fffaf2;
  --ink:#132428;
  --muted:#3f565a;
  --teal:#0b6a6a;
  --teal-deep:#08343d;
  --sand:#e3d2b3;
  --coral:#c85a3a;
  --line:rgba(19,36,40,.12);
  --serif:"Fraunces","Iowan Old Style","Palatino Linotype",Palatino,serif;
  --sans:"Outfit","Avenir Next","Segoe UI",sans-serif;
  --wrap:1180px;
  --measure:68ch;
  --radius:20px;
  --shadow:0 22px 48px rgba(8,52,61,.14);
  --header-h:72px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1.05rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--teal);text-decoration:none}
a:hover{color:var(--coral)}
a:focus-visible,button:focus-visible{outline:2px solid var(--coral);outline-offset:3px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.15;letter-spacing:-.02em;margin:0 0 .5em}
.wrap{width:min(var(--wrap), calc(100% - 2.5rem));margin-inline:auto}
.sr-only,.skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden
}
.skip-link:focus{
  left:1rem;top:1rem;width:auto;height:auto;z-index:1000;
  background:#fff;color:var(--ink);padding:.6rem 1rem;border-radius:8px
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(243,238,228,.92);
  backdrop-filter:saturate(1.4) blur(14px);
  border-bottom:1px solid var(--line);
}
.site-header-inner{
  display:flex;align-items:center;justify-content:space-between;
  min-height:var(--header-h);gap:1.25rem;
}
.site-brand{display:flex;flex-direction:column;min-width:0}
.site-title{font-family:var(--serif);font-weight:600;font-size:1.35rem;letter-spacing:-.03em;line-height:1.1;margin:0}
.site-title a{color:var(--teal-deep)}
.site-title a:hover{color:var(--teal)}
.site-tagline{display:none;color:var(--muted);font-size:.78rem;margin:.15rem 0 0}
@media (min-width:900px){.site-tagline{display:block}}
.nav-toggle{
  appearance:none;border:1px solid var(--line);background:var(--bg-elev);
  width:44px;height:44px;border-radius:10px;cursor:pointer;display:inline-flex;
  align-items:center;justify-content:center;flex-direction:column;gap:5px
}
.nav-toggle span{display:block;width:18px;height:2px;background:var(--ink);border-radius:1px}
@media (min-width:860px){.nav-toggle{display:none}}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.15rem .1rem}
.site-nav a{
  color:var(--ink);font-weight:500;font-size:.92rem;
  padding:.45rem .7rem;border-radius:999px;display:inline-block
}
.site-nav a:hover,.site-nav .current-menu-item > a,.site-nav .current_page_item > a{
  background:var(--teal-deep);color:#f7f3ea
}
@media (max-width:859px){
  .site-nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    background:var(--bg-elev);border-bottom:1px solid var(--line);
    padding:1rem 1.25rem 1.25rem;box-shadow:var(--shadow)
  }
  .site-nav.is-open{display:block}
  .site-nav ul{flex-direction:column}
  .site-nav a{padding:.7rem .85rem}
}

/* Hero */
.hero{
  position:relative;min-height:min(88vh, 680px);
  display:grid;align-items:end;color:#f8f4ec;overflow:hidden;
  background:var(--teal-deep);
}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:saturate(1.05)}
.hero-shade{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(8,20,24,.15) 0%, rgba(8,28,34,.28) 40%, rgba(8,24,30,.82) 100%);
}
.hero-copy{position:relative;z-index:1;padding:0 0 4.5rem;max-width:42rem}
.hero-kicker{
  font-family:var(--sans);font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  font-size:.75rem;color:#f0d9b4;margin:0 0 1rem
}
.hero h1{
  font-size:clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight:500;color:#fff;margin:0 0 1rem;text-wrap:balance
}
.hero-lead{font-size:1.12rem;line-height:1.6;color:rgba(255,248,236,.88);margin:0 0 1.6rem;max-width:36rem}
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--coral);color:#fff;font-weight:600;font-size:.95rem;
  padding:.85rem 1.25rem;border-radius:999px;border:0
}
.btn:hover{background:#b44a2d;color:#fff}

/* Intro + cards */
.intro{
  padding:3.5rem 0 1.25rem
}
.intro .intro-body{max-width:46rem;color:var(--muted);font-size:1.06rem}
.intro .intro-body p:first-child{margin-top:0}
.section-head{
  display:flex;align-items:end;justify-content:space-between;gap:1rem;
  margin:0 0 1.6rem;padding-top:1rem
}
.section-head h2{font-size:clamp(1.8rem, 3vw, 2.4rem);margin:0}
.section-head a{font-weight:600;font-size:.92rem}

.card-grid{
  display:grid;grid-template-columns:1fr;gap:1.5rem;
  padding:0 0 4.5rem
}
@media (min-width:700px){.card-grid{grid-template-columns:repeat(2,1fr);gap:1.7rem}}
@media (min-width:1000px){.card-grid{grid-template-columns:repeat(3,1fr)}}
.card{
  background:var(--bg-elev);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);border:1px solid rgba(19,36,40,.06);
  display:flex;flex-direction:column;height:100%;
  transition:transform .25s ease, box-shadow .25s ease
}
.card:hover{transform:translateY(-4px);box-shadow:0 26px 54px rgba(8,52,61,.18)}
.card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--sand)}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card:hover .card-media img{transform:scale(1.04)}
.card-body{padding:1.15rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.45rem;flex:1}
.card-cat{
  font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--teal)
}
.card-cat a{color:inherit}
.card h3{font-size:1.28rem;margin:0;font-weight:500}
.card h3 a{color:var(--ink)}
.card h3 a:hover{color:var(--teal)}
.card-excerpt{color:var(--muted);font-size:.95rem;margin:0;flex:1}
.card time{font-size:.8rem;color:var(--muted)}

/* Single / page */
.page-hero,.post-hero{padding:2.4rem 0 1.4rem}
.kicker{font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin:0 0 .7rem}
.page-hero h1,.post-hero h1{font-size:clamp(2rem, 4.2vw, 3.3rem);max-width:20ch;text-wrap:balance}
.post-meta{color:var(--muted);font-size:.92rem;margin:.6rem 0 0}
.feature-frame{margin-bottom:2.4rem}
.feature-frame img{width:100%;border-radius:24px;max-height:560px;object-fit:cover;box-shadow:var(--shadow)}
.content, .entry-content{
  max-width:var(--measure);margin:0 auto 4rem;
  font-size:1.08rem;line-height:1.75
}
.entry-content > *:first-child{margin-top:0}
.entry-content p{margin:0 0 1.15em}
.entry-content h2,.entry-content h3{margin:1.6em 0 .6em;color:var(--teal-deep)}
.entry-content a{text-decoration:underline;text-decoration-thickness:1px;underline-offset:2px}
.entry-content figure{margin:1.6em 0}
.entry-content figcaption{font-size:.85rem;color:var(--muted);margin-top:.4rem}
.entry-content ul,.entry-content ol{padding-left:1.2rem}
.entry-content blockquote{
  margin:1.6em 0;padding:.2rem 0 .2rem 1.2rem;
  border-left:3px solid var(--coral);
  font-family:var(--serif);font-style:italic;font-size:1.2rem;color:var(--teal-deep)
}

/* Forms (CF7) */
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=url],.wpcf7 textarea{
  width:100%;max-width:36rem;border:1px solid var(--line);background:#fff;
  border-radius:12px;padding:.7rem .85rem;font:inherit;color:inherit
}
.wpcf7 input[type=submit]{
  background:var(--teal-deep);color:#fff;border:0;border-radius:999px;
  padding:.8rem 1.3rem;font:inherit;font-weight:600;cursor:pointer
}
.wpcf7 input[type=submit]:hover{background:var(--teal)}

/* 404 */
.error-page{padding:5rem 0 6rem;text-align:left;max-width:34rem}
.error-page .code{font-family:var(--serif);font-size:5rem;color:var(--teal);line-height:1;margin:0}
.error-page h1{margin:.4rem 0 1rem}

/* Footer */
.site-footer{
  background:var(--teal-deep);color:#e7efe8;padding:3.2rem 0 2.2rem;margin-top:auto
}
.site-footer a{color:#f0d9b4}
.site-footer a:hover{color:#fff}
.partners{margin:0 0 2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.12)}
.partners h2{color:#fff;font-size:1.4rem;margin:0 0 1rem}
.partners-list,.blogroll{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.55rem 1.25rem}
.partners-list:empty,.blogroll:empty{display:none}
.partners img{max-height:96px;width:auto;max-width:100%;background:transparent}
.partners .zd-l-col,.partners [style*="background-color"]{background:transparent !important}
.copyright{margin:0;font-size:.88rem;color:rgba(231,239,232,.72)}

/* Listing page hero (blog, archives) */
.listing-hero{padding:3rem 0 1.5rem}
.listing-hero h1{font-size:clamp(2.1rem,4vw,3rem)}

body{min-height:100vh;display:flex;flex-direction:column}
.site-main{flex:1}
