/* TIFAM homepage full-width four-column feature container. */
body.tifam-one .tifam-feature-row {
  --feature-gap:22px;--feature-height:280px;
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:var(--feature-gap);width:calc(100% - 36px);max-width:1440px;
  margin:clamp(24px,4vw,58px) auto!important;padding:0;box-sizing:border-box;
  align-items:stretch;clear:both;
}
body.tifam-one .tifam-feature-row--site{max-width:var(--one-content,1180px)}
body.tifam-one .tifam-feature-row--full{max-width:none;width:calc(100% - 36px)}
body.tifam-one .tifam-feature-row>.tifam-feature-cell {min-width:0;min-height:var(--feature-height);overflow-wrap:anywhere;box-sizing:border-box;}
body.tifam-one .tifam-feature-cell--empty {min-height:var(--feature-height);}
body.tifam-one .tifam-feature-promo {
  display:flex;flex-direction:column;justify-content:center;gap:10px;
  width:100%;height:100%;min-height:var(--feature-height);box-sizing:border-box;
  padding:clamp(19px,2.2vw,36px);background:#e8e2d4;color:#0f5e4a;
  border-left:5px solid #b69458;text-decoration:none!important;
  transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
body.tifam-one .tifam-feature-promo--woods{background:#e4eadf;border-left-color:#3d724e}
body.tifam-one .tifam-feature-promo>span{font:750 .73rem/1.35 system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#0f5e4a}
body.tifam-one .tifam-feature-promo>strong{font:700 clamp(1.35rem,2.4vw,2.75rem)/1.14 var(--one-heading-font,Georgia,serif);color:#0f5e4a;overflow-wrap:anywhere}
body.tifam-one .tifam-feature-promo>em{font:normal .93rem/1.55 var(--one-body-font,system-ui,sans-serif);color:#0f5e4a}
body.tifam-one .tifam-feature-promo:hover{background:#f1ebdd;transform:translateY(-2px);box-shadow:0 8px 20px #071e1917}
body.tifam-one .tifam-feature-cell--post .tifam-story {height:100%;min-height:var(--feature-height)}
body.tifam-one .tifam-feature-cell--post .tifam-story__image img{width:100%;aspect-ratio:1/1;object-fit:cover}
body.tifam-one .tifam-feature-cell--image{display:flex;flex-direction:column;align-items:center;justify-content:center}
body.tifam-one .tifam-feature-image-link{display:block;max-width:100%;width:100%;text-align:center}
body.tifam-one .tifam-feature-image{max-width:100%;display:block;margin-inline:auto}
body.tifam-one .tifam-feature-image-link:focus-visible{outline:3px solid #ba9755;outline-offset:4px}
body.tifam-one .tifam-feature-image-link:hover img{filter:brightness(1.06);box-shadow:0 9px 20px #0a382a21;transform:translateY(-2px)}
body.tifam-one .tifam-feature-cell :is(video,iframe,embed){display:block;width:100%!important;max-width:100%;border:0}
body.tifam-one .tifam-feature-caption{font-size:1.05rem;margin:12px 0}
body.tifam-one .tifam-feature-cell--html>:first-child,body.tifam-one .tifam-feature-cell--blocks>:first-child{margin-top:0}
@media(max-width:1020px){body.tifam-one .tifam-feature-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){body.tifam-one .tifam-feature-row{grid-template-columns:1fr!important;width:calc(100% - 28px)}body.tifam-one .tifam-feature-row>.tifam-feature-cell--empty{display:none}body.tifam-one .tifam-feature-row>.tifam-feature-cell{min-height:0}}
@media(prefers-reduced-motion:reduce){body.tifam-one .tifam-feature-row a{transition:none!important}}
/* Gutenberg version: all columns are native editable block containers. */
body.tifam-one .tifam-one-feature-block-row{width:calc(100% - 36px);max-width:1440px;margin-inline:auto;padding:0;background:transparent}
body.tifam-one .tifam-one-feature-block-columns{gap:var(--one-container-gap,22px)}
body.tifam-one .tifam-one-feature-block-columns>.wp-block-column{flex-basis:0;min-width:0}
body.tifam-one .tifam-feature-block-newsagent{min-height:250px;padding:clamp(18px,2vw,34px);box-sizing:border-box;background:#e8e2d4;border-left:5px solid #b69458;display:flex;flex-direction:column;justify-content:center}
body.tifam-one .tifam-feature-block-eyebrow{font:700 .72rem system-ui,sans-serif;letter-spacing:.1em;color:#0f5e4a}
body.tifam-one .tifam-feature-block-newsagent h2{font:700 clamp(1.4rem,2.5vw,2.7rem)/1.12 var(--one-heading-font,Georgia,serif);margin:5px 0;color:#0f5e4a}
body.tifam-one .tifam-feature-block-newsagent a{text-decoration:none;color:inherit}
body.tifam-one .tifam-feature-block-newsagent a:hover{color:#85652f}
body.tifam-one .tifam-one-feature-block-columns :is(img,video,iframe){max-width:100%;height:auto}
@media(max-width:1020px){body.tifam-one .tifam-one-feature-block-columns{flex-wrap:wrap}body.tifam-one .tifam-one-feature-block-columns>.wp-block-column{flex-basis:calc(50% - 12px)!important}}
@media(max-width:640px){body.tifam-one .tifam-one-feature-block-columns>.wp-block-column{flex-basis:100%!important}}

/* Responsive frame for pasted, complete iframe embed snippets. */
body.tifam-one .tifam-feature-embed-wrap{width:100%;max-width:100%;position:relative;min-height:0;overflow:hidden;background:#111b20;border-radius:6px}
body.tifam-one .tifam-feature-embed-wrap iframe{display:block;width:100%!important;height:100%!important;position:absolute;inset:0;border:0!important;aspect-ratio:auto}
