/* Tecka Blog Creator: editorial story template
   navy #003256 · green #2C742A · sand #f3efe6 · Cardo + Crimson Text */
.tbc-story{--navy:#003256;--green:#2C742A;--sand:#f3efe6;--ink:#1c2428;--mute:#5f686b;
  width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);background:#fff;color:var(--ink);overflow-x:clip}
.tbc-story *,.tbc-story *::before,.tbc-story *::after{box-sizing:border-box}

/* Hero */
.tbc-hero{position:relative;min-height:88vh;display:flex;align-items:flex-end;background:var(--navy);color:#fff;overflow:hidden}
.tbc-hero--plain{min-height:52vh}
.tbc-hero-img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;margin:0!important;animation:tbcZoom 18s ease-out both}
@keyframes tbcZoom{from{transform:scale(1.08)}to{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.tbc-hero-img{animation:none}}
.tbc-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,22,40,.88) 0%,rgba(0,32,56,.45) 45%,rgba(0,32,56,0) 75%)}
.tbc-hero-in{position:relative;z-index:2;width:100%;max-width:1100px;margin:0 auto;padding:0 24px clamp(48px,8vh,96px)}
.tbc-eyebrow{font:600 15px/1 "Crimson Text",Georgia,serif;color:#a9d8a6;margin:0 0 16px;letter-spacing:.08em;text-transform:uppercase}
.tbc-title{font:700 clamp(38px,6vw,76px)/1.02 Cardo,Georgia,serif!important;color:#fff!important;margin:0 0 18px!important;max-width:16ch;text-wrap:balance;letter-spacing:-.01em;text-transform:none!important}
.tbc-dek{font:italic 400 clamp(19px,2vw,24px)/1.45 "Crimson Text",Georgia,serif;color:#e4ecef;max-width:46ch;margin:0 0 22px}
.tbc-byline{font:400 16px/1.4 "Crimson Text",Georgia,serif;color:#c3d1d8;margin:0;padding-top:16px;border-top:1px solid rgba(255,255,255,.25);display:inline-block}

/* Body */
.tbc-body{max-width:720px;margin:0 auto;padding:clamp(48px,7vw,88px) 24px 24px;font:400 21px/1.72 "Crimson Text",Georgia,serif}
.tbc-body p{margin:0 0 1.15em;font:inherit;color:var(--ink)}
.tbc-body a{color:var(--green)}
.tbc-body p.tbc-lead{font-size:24px;line-height:1.6;color:var(--navy)}
.tbc-body p.tbc-lead::first-letter{float:left;font:700 4.4em/.8 Cardo,Georgia,serif;color:var(--green);margin:.06em .1em 0 0}
.tbc-body h2{font:700 clamp(28px,3.4vw,38px)/1.12 Cardo,Georgia,serif!important;color:var(--navy)!important;margin:1.9em 0 .6em!important;text-transform:none!important;letter-spacing:0;clear:both}
.tbc-body h2::before{content:"";display:block;width:48px;height:3px;background:var(--green);margin-bottom:18px}
.tbc-body ul{margin:0 0 1.2em;padding-left:1.1em}.tbc-body li{margin:.3em 0}
.tbc-body blockquote:not(.tbc-quote blockquote){margin:1.6em 0;padding:0 0 0 22px;border-left:3px solid var(--green);font-style:italic;color:var(--navy);background:none}

/* Photos */
.tbc-body figure{margin:0}
.tbc-body .tbc-photo img{display:block;width:100%;height:auto;border-radius:2px}
.tbc-body .tbc-landscape{width:min(1180px,calc(100vw - 32px));margin:56px 0 56px 50%;transform:translateX(-50%)}
.tbc-body .tbc-portrait{margin:40px 0}
@media(min-width:1000px){.tbc-body .tbc-portrait{float:right;width:52%;margin:8px -16% 28px 36px}}
.tbc-body figcaption,.tbc-body .wp-element-caption{font:italic 400 15px/1.45 "Crimson Text",Georgia,serif;color:var(--mute);margin-top:10px;padding-left:12px;border-left:2px solid var(--green);text-align:left}
.tbc-body .tbc-landscape figcaption{max-width:720px;margin-left:auto;margin-right:auto}

/* At a glance */
.tbc-body .tbc-glance{margin:44px 0;padding:0;background:none;border:0;clear:both}
.tbc-body .tbc-glance h3{font:600 14px/1 "Crimson Text",Georgia,serif!important;color:var(--green)!important;letter-spacing:.1em;text-transform:uppercase!important;margin:0 0 14px!important}
.tbc-body .tbc-glance ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.tbc-body .tbc-glance li{margin:0;padding:16px 16px 18px;background:var(--sand);border-top:3px solid var(--green);font:700 19px/1.25 Cardo,Georgia,serif;color:var(--navy)}

/* Pull quote: full-bleed navy band */
.tbc-body .wp-block-pullquote.tbc-quote{width:100vw;max-width:100vw;margin:64px 0 64px 50%;transform:translateX(-50%);padding:clamp(56px,8vw,96px) 24px;background:var(--navy);border:0;text-align:center;clear:both}
.tbc-body .tbc-quote blockquote{max-width:900px;margin:0 auto;padding:0;border:0;background:none}
.tbc-body .tbc-quote blockquote::before{content:"";display:block;width:56px;height:3px;background:#7cc47a;margin:0 auto 28px}
.tbc-body .tbc-quote p{font:italic 400 clamp(28px,3.6vw,44px)/1.25 Cardo,Georgia,serif!important;color:#fff!important;margin:0!important;text-wrap:balance}
.tbc-body .tbc-quote cite{display:block;margin-top:18px;font:400 16px "Crimson Text",Georgia,serif;color:#a9c2cf;font-style:normal}

/* Gallery */
.tbc-body .tbc-gallery{width:min(1180px,calc(100vw - 32px));margin:56px 0 24px 50%;transform:translateX(-50%);display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;clear:both}
.tbc-body .tbc-gallery .tbc-photo{width:auto!important;margin:0!important;transform:none!important;float:none!important}
.tbc-body .tbc-gallery img{aspect-ratio:4/5;object-fit:cover}

/* End band */
.tbc-end{background:var(--sand);margin-top:72px;padding:clamp(56px,8vw,96px) 24px;text-align:center;clear:both}
.tbc-end-in{max-width:640px;margin:0 auto}
.tbc-end svg{width:52px;height:52px;margin:0 auto 18px;display:block}
.tbc-end-line{font:700 clamp(26px,3.4vw,38px)/1.2 Cardo,Georgia,serif;color:var(--navy);margin:0 0 12px}
.tbc-end-sub{font:400 19px/1.5 "Crimson Text",Georgia,serif;color:var(--mute);margin:0 0 26px}
.tbc-end-btn{display:inline-block;background:var(--green);color:#fff!important;font:600 18px/1 "Crimson Text",Georgia,serif;padding:15px 30px;border-radius:3px;text-decoration:none!important;transition:filter .15s}
.tbc-end-btn:hover{filter:brightness(1.1)}

@media(max-width:600px){
  .tbc-hero{min-height:78vh}
  .tbc-body{font-size:19px}
  .tbc-body p.tbc-lead{font-size:21px}
  .tbc-body .tbc-landscape,.tbc-body .tbc-gallery{width:100vw}
  .tbc-body .tbc-landscape figcaption{padding-right:16px;margin-left:16px}
}

/* Site header (Divi Theme Builder): keep logo and menu, hide the blog banner on these posts */
html body header.et-l--header div.et_pb_section.et_pb_section_0_tb_header{background:#16232b!important;height:auto!important;min-height:0!important}
header.et-l--header .et_pb_section_0_tb_header .et_parallax_bg_wrap,
header.et-l--header .et_pb_section_0_tb_header .et_pb_section_video_bg,
header.et-l--header .et_pb_section_0_tb_header .et_pb_background_mask,
header.et-l--header .et_pb_section_0_tb_header .et_pb_background_pattern{display:none!important}
header.et-l--header .et_pb_row_0_tb_header,header.et-l--header .et_pb_column_0_tb_header{height:auto!important;min-height:0!important;padding-bottom:0!important}
header.et-l--header .et_pb_text_0_tb_header,header.et-l--header .et_pb_text_1_tb_header,header.et-l--header .et_pb_icon_0_tb_header{display:none!important}
