/*
Theme Name: Mytanfeet Modern
Theme URI: https://mytanfeet.com/
Author: Mytanfeet
Description: Native WordPress block theme for Mytanfeet with editable homepage, article and Start Here layouts.
Version: 5.3.26
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: mytanfeet-modern
*/

/* Deliberately small: most styling lives in theme.json for native block performance. */
html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .16em; }
:where(img) { height: auto; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.mtf-card { transition: transform .18s ease, box-shadow .18s ease; }
@media (hover:hover) { .mtf-card:hover { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }

/* =========================================================
   Mytanfeet Modern - standardized desktop width system
   ========================================================= */
:root{
  --mtf-green:#0c4634;
  --mtf-green-2:#1f613f;
  --mtf-green-dark:#073629;
  --mtf-orange:#ef741c;
  --mtf-orange-dark:#a94500;
  --mtf-cream:#f3eee6;
  --mtf-soft:#f7f8f5;
  --mtf-white:#ffffff;
  --mtf-ink:#172019;
  --mtf-muted:#536057;
  --mtf-line:#d9ded8;
  --mtf-max:1320px;
  --mtf-article:1120px;
}
body{color:var(--mtf-ink);background:#fff;font-family:Tahoma,sans-serif;}
button,input,select,textarea{font-family:Tahoma,sans-serif;}
a{color:var(--mtf-green);font-weight:700;text-decoration:underline;text-underline-offset:3px;}
.wp-site-blocks{padding:0!important;}
.wp-site-blocks > *{margin-block-start:0;}
.mtf-shell,.mtf-home-shell,.mtf-start-shell,.mtf-single-shell{width:min(calc(100% - 40px),var(--mtf-max));margin-inline:auto;}
.mtf-eyebrow,.mtf-card-kicker,.mtf-start-section__eyebrow,.mtf-start-hero__eyebrow,.mtf-start-card__number{font-size:12px;line-height:1.35;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--mtf-orange-dark);}
.mtf-section-title,.mtf-start-section__title{margin:.35rem 0 .55rem;font-size:clamp(34px,3vw,44px);line-height:1.08;color:var(--mtf-green-dark);letter-spacing:-.035em;}
.mtf-section-lead,.mtf-start-section__lead{margin:0;max-width:800px;color:var(--mtf-muted);font-size:16px;line-height:1.55;}

/* Full-width header. Native Navigation supplies accessible mobile controls. */
.mtf-header{background:#fff;border-bottom:5px solid var(--mtf-orange);}
.mtf-header__inner{box-sizing:border-box;width:100%;max-width:none;margin:0;min-height:88px;padding:8px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.mtf-header .wp-block-site-logo{flex:0 0 auto;margin:0;}
.mtf-header .wp-block-site-logo img{max-height:65px;width:auto;display:block;}
.mtf-header__nav{margin:0;min-width:0;font-size:19px;font-weight:700;line-height:1.25;}
.mtf-header__nav .wp-block-navigation__container{gap:clamp(15px,1.8vw,34px);list-style:none;margin:0;padding:0;}
.mtf-header__nav .wp-block-navigation-item{list-style:none;margin:0;padding:0;}
.mtf-header__nav .wp-block-navigation-item::marker{content:"";}
.mtf-header__nav .wp-block-navigation-item__content{text-decoration:none;color:#272c29;white-space:nowrap;}
.mtf-header__nav .wp-block-navigation-item__content:hover,
.mtf-header__nav .wp-block-navigation-item__content:focus-visible{color:var(--mtf-orange-dark);}

/* Native Blog dropdown keeps the core keyboard and mobile interactions. */
.mtf-header__nav .wp-block-navigation__submenu-container{background:#fff;border:1px solid #e4e4e4;}
.mtf-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{box-sizing:border-box;width:100%;min-height:44px;padding:12px 16px;white-space:normal;font-size:17px;line-height:1.4;}

/* Footer */
.mtf-footer{background:var(--mtf-green);color:#fff;}
.mtf-footer__inner{width:min(calc(100% - 40px),var(--mtf-max));margin:auto;min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13px;}
.mtf-footer a{color:#fff;text-decoration:none;}
.mtf-footer strong{color:#ffb14f;}

/* Home */
.mtf-home-hero{position:relative;isolation:isolate;background-color:#103c33;color:#fff;}
.mtf-home-hero::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(5,34,30,.86) 0%,rgba(5,34,30,.70) 35%,rgba(5,34,30,.60) 45%,rgba(5,34,30,.20) 55%,rgba(5,34,30,0) 68%);pointer-events:none;}
/* Preserve reading contrast where the headline overlaps the subject on tablets. */
@media(min-width:641px) and (max-width:1099px){.mtf-home-hero::before{background:linear-gradient(90deg,rgba(5,34,30,.86) 0%,rgba(5,34,30,.70) 55%,rgba(5,34,30,.45) 100%);}}
.mtf-home-hero__inner{position:relative;z-index:1;padding:78px 0 84px;}
.mtf-home-hero__content{max-width:760px;}
.mtf-home-hero .mtf-eyebrow{color:#ffc57d;}
.mtf-home-hero__title{margin:18px 0 18px;font-size:clamp(48px,4.6vw,70px);line-height:1.08;letter-spacing:-.018em;color:#fff;font-weight:750;text-wrap:balance;}
.mtf-home-hero__lead{font-size:20px;line-height:1.45;max-width:600px;color:#fff;}
.mtf-home-search{margin-top:28px;display:flex;max-width:590px;background:#fff;border:4px solid #fff;border-radius:5px;box-shadow:0 10px 28px rgba(0,0,0,.16);}
.mtf-home-search input{flex:1;min-width:0;border:0;padding:15px 16px;font-size:16px;}
.mtf-home-search input:focus-visible{outline:3px solid var(--mtf-green);outline-offset:-4px;}
.mtf-home-search button{border:0;border-radius:3px;background:var(--mtf-orange);color:#111;padding:0 24px;font-weight:800;font-size:15px;cursor:pointer;}
.mtf-home-search button:hover{background:var(--mtf-orange-dark);color:#fff;}
.mtf-home-quick{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:14px;}
.mtf-home-quick a{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.45);border-radius:4px;background:rgba(5,34,30,.42);padding:7px 11px;}
.mtf-home-quick a:hover,.mtf-home-quick a:focus-visible{background:rgba(5,34,30,.78);text-decoration:underline;}
/* Flow-layout block gaps must not insert a seam between homepage bands. */
.mtf-home-hero ~ .mtf-home-section,
.mtf-home-hero ~ .mtf-home-guide,
.mtf-home-hero ~ .mtf-home-local-team,
.mtf-home-hero ~ .mtf-home-bottom{margin-block-start:0!important;}
.mtf-home-guide{background:#fff;border-top:1px solid #dfe6e0;border-bottom:1px solid #dfe6e0;padding:30px 0;}
.mtf-home-guide__inner{width:min(calc(100% - 40px),1060px);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:38px;}
.mtf-home-guide__inner > *,.mtf-home-guide__copy > *{margin-block-start:0!important;}
.mtf-home-guide__eyebrow{margin:0 0 5px!important;color:var(--mtf-orange-dark);font-size:11px;font-weight:800;line-height:1.3;letter-spacing:.1em;}
.mtf-home-guide__title{margin:0 0 5px!important;color:var(--mtf-green-dark);font-size:clamp(22px,2vw,27px);line-height:1.18;letter-spacing:-.025em;}
.mtf-home-guide__text{margin:0!important;color:#405449;font-size:18px;line-height:1.5;}
.mtf-home-guide__action{display:flex;justify-content:flex-end;}
.mtf-home-guide__button .wp-block-button__link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:52px;border-radius:6px;background:var(--mtf-orange);color:#111;padding:12px 22px;font-size:15px;font-weight:800;line-height:1.2;text-decoration:none;white-space:nowrap;box-shadow:0 3px 10px rgba(117,53,15,.12);}
.mtf-home-guide__button .wp-block-button__link:hover{background:var(--mtf-orange-dark);color:#fff;}
.mtf-home-guide__button .wp-block-button__link:focus-visible{outline:3px solid var(--mtf-green-dark);outline-offset:3px;}
.mtf-home-action-row{display:flex;align-items:stretch;gap:12px;max-width:760px;margin-top:28px;}
.mtf-home-action-row .mtf-home-search{flex:1;min-width:0;max-width:none;margin:0;}
.mtf-home-guide-button{box-sizing:border-box;flex:0 0 220px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:62px;padding:7px 12px;border-left:4px solid var(--mtf-orange);border-radius:5px;background:#fff;color:var(--mtf-green-dark)!important;text-decoration:none!important;text-align:center;box-shadow:0 10px 28px rgba(0,0,0,.14);}
.mtf-home-guide-button strong{font-size:15px;line-height:1.25;}
.mtf-home-guide-button span{display:block;margin-top:3px;color:#526157;font-size:11px;line-height:1.3;font-weight:500;}
.mtf-home-guide-button:hover,.mtf-home-guide-button:focus-visible{background:#fff2e7;}
.mtf-home-action-row .mtf-home-search{order:1;}
.mtf-home-action-row .mtf-home-guide-button{order:2;}
.mtf-home-section{padding:88px 0;}
.mtf-home-hero + .mtf-home-section{padding-top:42px;padding-bottom:64px;}
.mtf-home-guide + .mtf-home-section{padding-top:62px;padding-bottom:78px;}
.mtf-home-latest{background:#fff;}
.mtf-home-section--cream{background:var(--mtf-cream);}
.mtf-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px;}
.mtf-home-hero + .mtf-home-section .mtf-card-grid{margin-top:22px;}
.mtf-info-card{background:#fff;border:1px solid var(--mtf-line);padding:34px 24px 32px;min-height:210px;box-shadow:0 8px 18px rgba(18,48,34,.04);}
.mtf-home-hero + .mtf-home-section .mtf-info-card{padding:26px 24px 24px;min-height:185px;}
.mtf-info-card h3{margin:12px 0 8px;font-size:22px;line-height:1.2;color:#162019;}
.mtf-info-card p{font-size:15px;line-height:1.55;color:var(--mtf-muted);}
.mtf-info-card__link{margin-top:22px;font-size:13px;text-transform:uppercase;letter-spacing:.02em;}
/* The team story follows the guides, with room to explain local service. */
.mtf-home-local-team{background:var(--mtf-green-dark);color:#fff;padding:68px 0 72px;}
.mtf-home-local-team__inner{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(38px,6vw,110px);align-items:start;}
.mtf-home-local-team__heading > *,.mtf-home-local-team__body > *{margin-block-start:0;}
.mtf-home-local-team__eyebrow{margin-bottom:10px;color:#ffbd76;font-size:12px;line-height:1.3;font-weight:800;letter-spacing:.12em;}
.mtf-home-local-team__title{margin:0!important;color:#fff;font-size:clamp(32px,3vw,45px);line-height:1.12;letter-spacing:-.03em;}
.mtf-home-local-team__body p{color:#fff;font-size:17px;line-height:1.58;margin-bottom:16px;}
.mtf-home-local-team__body .mtf-home-local-team__link{margin:22px 0 0;font-size:15px;font-weight:800;}
.mtf-home-local-team__link a{color:#ffc17f;text-underline-offset:5px;}
.mtf-home-local-team__link a:hover{color:#fff;}
.mtf-booking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px;}
.mtf-booking-card{background:var(--mtf-green);color:#fff;padding:32px 26px;min-height:228px;box-shadow:0 10px 22px rgba(6,55,40,.10);}
.mtf-booking-card h3{color:#fff;margin:0 0 8px;font-size:22px;}
.mtf-booking-card p{color:#fff;opacity:.96;font-size:15px;line-height:1.55;}
.mtf-booking-card a{color:#ffc267;font-size:13px;text-transform:uppercase;}
.mtf-latest-wrap{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px;}
.mtf-latest-wrap>a{font-size:13px;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap;}
.mtf-home-latest .mtf-latest-wrap{position:relative;display:block;padding:0 150px;text-align:center;}
.mtf-home-latest .mtf-latest-wrap .mtf-section-title{margin:0 0 10px;}
.mtf-home-latest .mtf-section-lead{margin-inline:auto;font-size:18px;line-height:1.5;}
.mtf-home-latest .mtf-latest-wrap>a{position:absolute;right:0;bottom:4px;}

/* Standard Mytanfeet 3-card system.
   Use these classes for Latest Posts, Recommended Tours, and future 3-box sections. */
.mtf-three-card-grid,
.mtf-latest-query .wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch;}
.mtf-three-card,
.mtf-post-card{background:#fff;border:1px solid #d8ddd7;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;min-height:438px;box-shadow:0 5px 14px rgba(22,48,35,.035);}
.mtf-three-card__image,
.mtf-post-card .wp-block-post-featured-image{margin:0!important;aspect-ratio:7/4;overflow:hidden;background:#e7e9e5;}
.mtf-three-card__image img,
.mtf-post-card .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover;display:block;}
.mtf-three-card__body,
.mtf-post-card__body{padding:18px 19px 22px;display:flex;flex:1;flex-direction:column;}
.mtf-three-card__kicker,
.mtf-post-card__body .wp-block-post-terms{font-size:12px!important;line-height:1.25;font-weight:800;text-transform:uppercase;letter-spacing:.025em;margin:0 0 10px;color:#15251c;}
.mtf-three-card__kicker a,
.mtf-post-card__body .wp-block-post-terms a{color:#15251c;text-decoration:none;}
.mtf-three-card__title,
.mtf-post-card__body .wp-block-post-title{font-size:20px;line-height:1.22;margin:0 0 10px;font-weight:800;color:#142019;letter-spacing:-.018em;}
.mtf-three-card__title a,
.mtf-post-card__body .wp-block-post-title a{color:#142019;text-decoration:none;}
.mtf-three-card__text,
.mtf-post-card__body .wp-block-post-excerpt{font-size:18px;line-height:1.5;color:#18201b;margin:0;}
.mtf-post-card__body .wp-block-post-excerpt__excerpt{margin:0;}
.mtf-post-card__body .wp-block-post-excerpt__more-text{margin-top:auto;padding-top:26px;}
.mtf-post-card__body .wp-block-post-excerpt__more-link,
.mtf-three-card__link{font-size:14px;line-height:1.2;font-weight:600;text-transform:uppercase;color:#176240;text-decoration:none;}
.mtf-three-card__link{margin-top:auto;padding-top:26px;display:inline-block;}
.mtf-home-bottom{padding:78px 0;background:#fff;}
.mtf-home-bottom__grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr);gap:96px;align-items:center;}
.mtf-car-cta{background:var(--mtf-orange);color:#111;padding:52px 58px;}
.mtf-car-cta .mtf-eyebrow{color:#fff2df;}
.mtf-car-cta h2{font-size:44px;line-height:1.06;color:#fff;margin:22px 0 12px;}
.mtf-car-cta p{font-size:17px;line-height:1.55;color:#fff;}
.mtf-car-cta a{display:inline-block;margin-top:12px;background:#fff;color:var(--mtf-green)!important;text-decoration:none;padding:14px 18px;font-size:13px;text-transform:uppercase;font-weight:800;}
.mtf-quote{border-left:3px solid var(--mtf-orange);padding-left:24px;font-size:21px;line-height:1.4;color:#1a241d;}
.mtf-quote small{display:block;margin-top:20px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#59655c;font-weight:800;}

/* Single post */
.mtf-single{padding:28px 0 78px;}
.mtf-single-shell{width:min(calc(100% - 40px),var(--mtf-article));}
.mtf-single-head{width:100%;}
.mtf-single-title{font-size:clamp(32px,3.5vw,40px);line-height:1.22;letter-spacing:-.02em;color:#111;margin:0 0 12px;text-align:center;}
.mtf-single-meta{font-size:13px;color:#576159;margin-bottom:26px;}
.mtf-single-featured{width:100%;margin:0 0 34px;}
.mtf-single-featured img{width:100%;border-radius:0;}
.mtf-single-reading{width:100%;font-size:19px;line-height:1.52;color:#171717;}
.mtf-single-reading p{margin-bottom:1.5em;}
.mtf-single-reading h2{font-size:clamp(34px,3vw,42px);line-height:1.08;color:var(--mtf-green-dark);margin:28px 0 12px;}
.mtf-single-reading h3{font-size:28px;line-height:1.15;color:var(--mtf-green-dark);}
.mtf-single-reading figure{margin-top:1.55em;margin-bottom:1.55em;}
.mtf-single-reading figure img{border-radius:0;}
.mtf-single-reading figcaption{font-size:13px;color:#5e685f;}
.mtf-single-after{width:100%;}
.mtf-single-contact{margin-top:34px;border:none;border-left:5px solid #1e6f4d;background:#fbfcfa;padding:30px 28px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;}
.mtf-single-contact h3{font-size:26px;color:var(--mtf-green-dark);margin:0 0 6px;}
.mtf-single-contact p{margin:0;font-size:18px;line-height:1.5;color:#2b342d;}
.mtf-single-contact a{background:#1f6c4d;color:#fff!important;text-decoration:none;padding:14px 18px;font-size:14px;font-weight:800;}

/* Start Here */
.mtf-start-template{overflow:hidden;}
.mtf-start-hero{background:linear-gradient(108deg,#0b4634 0%,#0c523a 54%,#5d743f 100%);color:#fff;padding:108px 0 112px;}
.mtf-start-hero__title{max-width:690px;font-size:clamp(56px,5.5vw,80px);line-height:.98;letter-spacing:-.05em;color:#fff;margin:18px 0 20px;}
.mtf-start-hero__lead{max-width:760px;font-size:19px;line-height:1.5;color:#fff;}
.mtf-start-hero__eyebrow{color:#ffc783;}
.mtf-start-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px;}
.mtf-start-hero__primary,.mtf-start-hero__secondary{display:inline-block;padding:14px 18px;text-decoration:none!important;font-size:14px;font-weight:800;border-radius:4px;}
.mtf-start-hero__primary{background:#fff;color:#1a251e!important;}
.mtf-start-hero__secondary{border:1px solid rgba(255,255,255,.75);color:#fff!important;}
.mtf-start-hero__aside{font-size:14px;color:#fff;margin-top:20px;}
.mtf-start-hero__aside a{color:#fff;}
.mtf-start-section{padding:84px 0;}
.mtf-start-guides{background:#f7f9f6;}
.mtf-start-section__intro{max-width:820px;}
.mtf-start-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px;}
.mtf-start-card{background:#fff;border:1px solid var(--mtf-line);padding:31px 28px;min-height:275px;display:flex;flex-direction:column;box-shadow:0 6px 14px rgba(10,54,37,.04);}
.mtf-start-card__title{font-size:23px;color:var(--mtf-green-dark);margin:12px 0 8px;}
.mtf-start-card__text{font-size:16px;line-height:1.48;color:#243027;}
.mtf-start-card__links{margin-top:auto;line-height:2.15;font-size:15px;}
.mtf-start-note{margin-top:24px;padding:16px 20px;border-left:4px solid var(--mtf-orange);background:#fff8f1;font-size:15px;}
.mtf-start-help{background:var(--mtf-cream);}
.mtf-start-help__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:30px;}
.mtf-start-help__card{background:#fff;border:1px solid #e3e2de;border-top:4px solid var(--mtf-orange);padding:34px 30px;min-height:220px;}
.mtf-start-help__card--car{border-top-color:#1f6c4d;}
.mtf-start-help__button{display:inline-block;margin-top:10px;padding:13px 18px;background:var(--mtf-orange);color:#111!important;text-decoration:none!important;font-size:14px;font-weight:800;border-radius:4px;}
.mtf-start-help__card--car .mtf-start-help__button{background:#1f6c4d;}
.mtf-start-help__extra{font-size:15px;margin-top:20px;}
.mtf-start-finish{padding:80px 0;background:#fff;}
.mtf-start-finish__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.75fr);gap:76px;align-items:start;}
.mtf-start-finish__text{font-size:16px;line-height:1.6;color:#243027;}
.mtf-start-finish__links{font-size:15px;}
.mtf-start-finish__subscribe{background:var(--mtf-green);color:#fff;padding:32px 28px;}
.mtf-start-finish__subscribe-title{color:#fff;font-size:21px;margin:0 0 10px;}
.mtf-start-finish__subscribe-text{color:#fff;line-height:1.5;}
.mtf-start-finish__subscribe-link a{color:#fff;}

@media(max-width:900px){
  .mtf-home-latest .mtf-latest-wrap{padding:0;}
  .mtf-home-latest .mtf-latest-wrap>a{position:static;display:inline-block;margin-top:16px;}
  .mtf-home-local-team__inner{grid-template-columns:1fr;gap:18px;}
  .mtf-card-grid,.mtf-booking-grid,.mtf-start-grid,.mtf-three-card-grid,.mtf-latest-query .wp-block-post-template{grid-template-columns:1fr!important;}
  .mtf-home-bottom__grid,.mtf-start-finish__grid{grid-template-columns:1fr;gap:34px;}
  .mtf-start-help__grid{grid-template-columns:1fr;}
  .mtf-single-contact{grid-template-columns:1fr;}
}
@media(max-width:640px){
  .mtf-home-guide{padding:26px 0;}
  .mtf-home-guide__inner{grid-template-columns:1fr;gap:16px;}
  .mtf-home-guide__title{font-size:23px;}
  .mtf-home-guide__action,.mtf-home-guide__button,.mtf-home-guide__button .wp-block-button__link{width:100%;}
  .mtf-home-guide + .mtf-home-section{padding-top:54px;padding-bottom:62px;}
  .mtf-home-action-row{flex-direction:column;gap:12px;margin-top:20px;}
  .mtf-home-action-row .mtf-home-search{width:100%;}
  .mtf-home-guide-button{flex-basis:auto;width:100%;min-height:54px;}
  .mtf-home-hero__inner{padding-top:38px;padding-bottom:48px;}
  .mtf-home-hero__title{margin:14px 0;font-size:clamp(36px,8.5vw,44px);}
  .mtf-start-hero{padding-top:60px;padding-bottom:66px;}
  .mtf-home-hero + .mtf-home-section{padding-top:38px;padding-bottom:52px;}
  .mtf-home-hero + .mtf-home-section .mtf-info-card{min-height:auto;}
  .mtf-home-local-team{padding:52px 0 56px;}
  .mtf-home-local-team__title{font-size:34px;}
  .mtf-home-local-team__body p{font-size:16px;}
  .mtf-home-hero__title{line-height:1.12;letter-spacing:-.012em;}
  .mtf-start-hero__title{font-size:48px;}
  .mtf-home-hero::before{background:linear-gradient(90deg,rgba(5,34,30,.86),rgba(5,34,30,.53));}
  .mtf-home-hero__lead{font-size:18px;}
  .mtf-home-search{display:grid;grid-template-columns:1fr;}
  .mtf-home-search button{padding:14px;}
  .mtf-home-section,.mtf-start-section{padding:58px 0;}
  .mtf-car-cta{padding:38px 28px;}
  .mtf-car-cta h2{font-size:36px;}
  .mtf-footer__inner{min-height:110px;flex-direction:column;justify-content:center;align-items:flex-start;}
}

@media(max-width:1100px){
  .mtf-header__inner{min-height:76px;}
  .mtf-header .wp-block-site-logo img{max-height:55px;}
  .mtf-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important;}
  .mtf-header__nav .wp-block-navigation__responsive-container-open{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;}
  .mtf-header__nav .wp-block-navigation__responsive-container.is-menu-open{background:#fff;color:var(--mtf-ink);padding:24px 20px;}
  .mtf-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:18px;}
}
@media(max-width:640px){
  .mtf-header__inner{min-height:70px;padding:8px 15px;}
  .mtf-header .wp-block-site-logo img{max-height:48px;}
}


/* =========================================================
   3.4 FIX — one shared three-card system everywhere
   Fixes WordPress Post Template flex width rules and normalizes
   Mytanfeet Article Recommendations / related-post outputs.
   ========================================================= */

/* Home "Latest from Mytanfeet": WordPress adds flex widths to each post.
   Force the exact same 3-column geometry as Recommended Tours. */
.mtf-latest-query,
.mtf-latest-query .wp-block-post-template,
.mtf-latest-query .wp-block-post-template.is-flex-container,
.mtf-latest-query .wp-block-post-template.is-layout-flex {
  width:100%!important;
  max-width:none!important;
}
.mtf-latest-query .wp-block-post-template,
.mtf-latest-query .wp-block-post-template.is-flex-container,
.mtf-latest-query .wp-block-post-template.is-layout-flex {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
.mtf-latest-query .wp-block-post-template > li,
.mtf-latest-query .wp-block-post-template.is-flex-container > li,
.mtf-latest-query .wp-block-post-template.is-layout-flex > li,
.mtf-latest-query .wp-block-post {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  flex:initial!important;
}
.mtf-latest-query .mtf-post-card {
  width:100%!important;
  max-width:none!important;
  height:100%!important;
}

/* Shared card appearance — Latest Posts, Recommended Tours, reusable cards. */
.mtf-three-card,
.mtf-post-card,
body.single-post .mtf-article-recommendations article,
body.single-post .mtf-article-recommendations .recommendation-card,
body.single-post .mtf-article-recommendations .mtf-recommendation-card,
body.single-post .article-recommendations article,
body.single-post .related-posts article,
body.single-post .related-posts .post,
body.single-post .yarpp-related article {
  box-sizing:border-box!important;
  background:#fff!important;
  border:1px solid #d8ddd7!important;
  border-radius:8px!important;
  overflow:hidden!important;
  box-shadow:0 5px 14px rgba(22,48,35,.035)!important;
}

/* Recommendation areas: use the same 1320px wide shell and 3 equal columns. */
body.single-post .mtf-article-recommendations,
body.single-post .article-recommendations,
body.single-post .related-posts,
body.single-post .yarpp-related {
  width:min(calc(100% - 40px),var(--mtf-max))!important;
  max-width:var(--mtf-max)!important;
  margin:64px auto 0!important;
  box-sizing:border-box!important;
}
body.single-post .mtf-article-recommendations > h2,
body.single-post .article-recommendations > h2,
body.single-post .related-posts > h2,
body.single-post .yarpp-related > h2,
body.single-post .mtf-article-recommendations > h3,
body.single-post .article-recommendations > h3,
body.single-post .related-posts > h3,
body.single-post .yarpp-related > h3 {
  margin:0 0 24px!important;
  font-size:clamp(34px,3vw,44px)!important;
  line-height:1.08!important;
  color:var(--mtf-green-dark)!important;
  letter-spacing:-.035em!important;
}
body.single-post .mtf-article-recommendations > ul,
body.single-post .mtf-article-recommendations > ol,
body.single-post .mtf-article-recommendations > div:not(:first-child),
body.single-post .article-recommendations > ul,
body.single-post .article-recommendations > ol,
body.single-post .article-recommendations > div:not(:first-child),
body.single-post .related-posts > ul,
body.single-post .related-posts > ol,
body.single-post .related-posts > div:not(:first-child),
body.single-post .yarpp-related > ul,
body.single-post .yarpp-related > ol,
body.single-post .yarpp-related > div:not(:first-child) {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}
body.single-post .mtf-article-recommendations li,
body.single-post .article-recommendations li,
body.single-post .related-posts li,
body.single-post .yarpp-related li {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  list-style:none!important;
}

/* Common recommendation-card internals, matched to homepage cards. */
body.single-post .mtf-article-recommendations img,
body.single-post .article-recommendations img,
body.single-post .related-posts img,
body.single-post .yarpp-related img {
  width:100%!important;
  aspect-ratio:7/4!important;
  height:auto!important;
  object-fit:cover!important;
  display:block!important;
  margin:0!important;
  border-radius:0!important;
}
body.single-post .mtf-article-recommendations article,
body.single-post .article-recommendations article,
body.single-post .related-posts article,
body.single-post .yarpp-related article,
body.single-post .mtf-article-recommendations li,
body.single-post .article-recommendations li,
body.single-post .related-posts li,
body.single-post .yarpp-related li {
  font-size:18px!important;
  line-height:1.5!important;
}
body.single-post .mtf-article-recommendations h3,
body.single-post .mtf-article-recommendations h4,
body.single-post .article-recommendations h3,
body.single-post .article-recommendations h4,
body.single-post .related-posts h3,
body.single-post .related-posts h4,
body.single-post .yarpp-related h3,
body.single-post .yarpp-related h4 {
  font-size:20px!important;
  line-height:1.22!important;
  margin:14px 18px 10px!important;
  color:#142019!important;
  letter-spacing:-.018em!important;
}
body.single-post .mtf-article-recommendations p,
body.single-post .article-recommendations p,
body.single-post .related-posts p,
body.single-post .yarpp-related p {
  margin:0 18px 18px!important;
  font-size:18px!important;
  line-height:1.5!important;
  color:#18201b!important;
}
body.single-post .mtf-article-recommendations a,
body.single-post .article-recommendations a,
body.single-post .related-posts a,
body.single-post .yarpp-related a {
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* The custom Mytanfeet recommendations plugin may expose a generic grid/list.
   These selectors are intentionally narrow to single-post recommendation zones. */
body.single-post [class*="recommend"] [class*="grid"],
body.single-post [class*="related"] [class*="grid"],
body.single-post [class*="recommend"] ul,
body.single-post [class*="related"] ul {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
}

@media (max-width:900px){
  .mtf-latest-query .wp-block-post-template,
  .mtf-latest-query .wp-block-post-template.is-flex-container,
  .mtf-latest-query .wp-block-post-template.is-layout-flex,
  body.single-post .mtf-article-recommendations > ul,
  body.single-post .mtf-article-recommendations > ol,
  body.single-post .article-recommendations > ul,
  body.single-post .article-recommendations > ol,
  body.single-post .related-posts > ul,
  body.single-post .related-posts > ol,
  body.single-post .yarpp-related > ul,
  body.single-post .yarpp-related > ol,
  body.single-post [class*="recommend"] [class*="grid"],
  body.single-post [class*="related"] [class*="grid"] {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:640px){
  .mtf-latest-query .wp-block-post-template,
  .mtf-latest-query .wp-block-post-template.is-flex-container,
  .mtf-latest-query .wp-block-post-template.is-layout-flex,
  body.single-post .mtf-article-recommendations > ul,
  body.single-post .mtf-article-recommendations > ol,
  body.single-post .article-recommendations > ul,
  body.single-post .article-recommendations > ol,
  body.single-post .related-posts > ul,
  body.single-post .related-posts > ol,
  body.single-post .yarpp-related > ul,
  body.single-post .yarpp-related > ol,
  body.single-post [class*="recommend"] [class*="grid"],
  body.single-post [class*="related"] [class*="grid"] {
    grid-template-columns:1fr!important;
  }
  body.single-post .mtf-article-recommendations,
  body.single-post .article-recommendations,
  body.single-post .related-posts,
  body.single-post .yarpp-related {width:min(calc(100% - 30px),var(--mtf-max))!important;}
}

/* =========================================================
   3.5 refinements — flush desktop related grid + shared hover
   ========================================================= */

/* Keep Exploring sits flush with the 1120px article on desktop.
   Use padding for vertical separation so the section itself has no desktop margin.
   On narrower screens, restore comfortable 20px left/right breathing room. */
body.single-post .mtf-article-recommendations.mtf-related-section {
  width:100%!important;
  max-width:1120px!important;
  margin:0!important;
  padding-top:64px!important;
  box-sizing:border-box!important;
}
@media (max-width:1159px){
  body.single-post .mtf-article-recommendations.mtf-related-section {
    width:calc(100% - 40px)!important;
    margin-inline:auto!important;
  }
}
@media (max-width:640px){
  body.single-post .mtf-article-recommendations.mtf-related-section {
    width:calc(100% - 30px)!important;
  }
}

/* Shared hover treatment for every Mytanfeet 3-card system. */
.mtf-three-card__image,
.mtf-post-card .wp-block-post-featured-image {
  position:relative;
}
.mtf-three-card__image img,
.mtf-post-card .wp-block-post-featured-image img {
  transition:transform .28s ease, filter .28s ease;
  transform-origin:center;
}
.mtf-three-card:hover .mtf-three-card__image img,
.mtf-three-card:focus-within .mtf-three-card__image img,
.mtf-post-card:hover .wp-block-post-featured-image img,
.mtf-post-card:focus-within .wp-block-post-featured-image img {
  transform:scale(1.045);
  filter:saturate(1.04);
}
.mtf-three-card__link,
.mtf-post-card__body .wp-block-post-excerpt__more-link {
  transition:color .2s ease, text-decoration-color .2s ease, transform .2s ease;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-underline-offset:4px;
}
.mtf-three-card__link:hover,
.mtf-three-card__link:focus-visible,
.mtf-post-card__body .wp-block-post-excerpt__more-link:hover,
.mtf-post-card__body .wp-block-post-excerpt__more-link:focus-visible {
  color:var(--mtf-orange-dark)!important;
  text-decoration-color:currentColor;
}

/* Softer editorial CTA treatment for all shared three-card sections. */
.mtf-three-card__link::after,
.mtf-post-card__body .wp-block-post-excerpt__more-link::after {
  content:" →";
  display:inline-block;
  margin-left:3px;
  transition:transform .2s ease;
}
.mtf-three-card__link:hover::after,
.mtf-three-card__link:focus-visible::after,
.mtf-post-card__body .wp-block-post-excerpt__more-link:hover::after,
.mtf-post-card__body .wp-block-post-excerpt__more-link:focus-visible::after {
  transform:translateX(3px);
}

/* Article image migration, 4.0.1. JS identifies standalone photos by their dimensions.
   No forced crop: old 2:3/3:2 photos and future 4:5 exports retain their composition. */
:is(.wp-block-post-content, .entry-content, .mtf-single-reading) .mtf-article-photo-frame {
  box-sizing:border-box;
  display:block;
  float:none!important;
  clear:both;
  width:100%!important;
  max-width:100%!important;
  margin-inline:auto!important;
}
:is(.wp-block-post-content, .entry-content, .mtf-single-reading) img.mtf-article-photo {
  display:block;
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:var(--mtf-photo-ratio,auto)!important;
  object-fit:contain;
  margin-inline:auto!important;
}
:is(.wp-block-post-content, .entry-content, .mtf-single-reading) .mtf-article-photo-frame.mtf-photo-portrait {
  max-width:560px!important;
}
:is(.wp-block-post-content, .entry-content, .mtf-single-reading) .mtf-article-photo-frame.mtf-photo-square {
  max-width:700px!important;
}
/* Explicit sample classes work without JS, even while the sample's old inline CSS is malformed. */
.mtf-image-samples, .mtf-image-samples__reading { width:100%; max-width:100%; margin-inline:auto; }
.mtf-image-samples__wide, .mtf-image-samples__portrait {
  box-sizing:border-box; display:block; width:100%!important;
  margin:28px auto!important;
}
.mtf-image-samples__wide { max-width:100%!important; }
.mtf-image-samples__portrait { max-width:560px!important; }
.mtf-image-samples__wide img, .mtf-image-samples__portrait img {
  display:block; width:100%!important; max-width:100%!important;
  height:auto!important; aspect-ratio:auto!important; margin-inline:auto;
}
.mtf-image-samples figcaption { margin-top:10px; font-size:14px; line-height:1.5; color:#5c665f; }


/* 4.0.2 — Homepage planning paths. Scoped to this section only. */
.mtf-home-planning{background:#f9f9f9;color:#111;padding-block:72px;font-family:Tahoma,sans-serif;}
.mtf-home-planning h2{margin:0 0 14px;color:#111;font-size:clamp(30px,3vw,40px);line-height:1.2;letter-spacing:-.02em;text-align:center;}
.mtf-home-planning .mtf-planning-lead{max-width:850px;margin:0 auto 32px;color:#111;font-size:20px;line-height:1.55;text-align:center;font-weight:400;}
.mtf-planning-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;}
.mtf-home-planning .mtf-planning-card{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:28px 24px;background:#fff;border:1px solid #e4e4e4;border-radius:12px;color:#111;text-decoration:none;font-weight:400;min-width:0;transition:border-color .18s ease,box-shadow .18s ease;}
.mtf-home-planning .mtf-planning-card h3{margin:0;color:#111;font-size:21px;line-height:1.3;letter-spacing:0;font-weight:700;min-height:2.6em;}
.mtf-home-planning .mtf-planning-card p{margin:0 0 8px;color:#111;font-size:20px;line-height:1.5;font-weight:400;}
.mtf-home-planning .mtf-planning-card__link{margin-top:auto;font-size:17px;line-height:1.5;color:#111;font-weight:700;}
.mtf-home-planning .mtf-planning-card__link span,.mtf-home-planning .mtf-planning-deals a span{color:#ff8000;font-size:22px;vertical-align:-1px;margin-left:5px;}
.mtf-planning-icon{display:block;width:36px;height:36px;flex-shrink:0;background:#ff8000;-webkit-mask:var(--mtf-planning-icon) center/contain no-repeat;mask:var(--mtf-planning-icon) center/contain no-repeat;}
.mtf-home-planning .mtf-planning-deals{margin:26px 0 0;color:#111;text-align:center;font-size:20px;line-height:1.6;font-weight:400;}
.mtf-home-planning .mtf-planning-deals a{color:#111;font-weight:700;text-decoration:underline;text-decoration-color:#ff8000;text-decoration-thickness:2px;text-underline-offset:5px;}
.mtf-home-planning a:focus-visible{outline:3px solid #111;outline-offset:5px;}
@media(hover:hover){.mtf-home-planning .mtf-planning-card:hover{border-color:#ff8000;box-shadow:0 5px 18px rgb(0 0 0 / 6%);}.mtf-home-planning .mtf-planning-card:hover .mtf-planning-card__link{text-decoration:underline;text-decoration-color:#ff8000;text-underline-offset:4px;}}
@media(max-width:1100px){.mtf-planning-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.mtf-home-planning .mtf-planning-card h3{min-height:0;}}
@media(max-width:600px){.mtf-home-planning{padding-block:48px;}.mtf-planning-grid{grid-template-columns:minmax(0,1fr);}.mtf-home-planning .mtf-planning-card{padding:24px;gap:12px;}.mtf-home-planning .mtf-planning-lead{margin-bottom:24px;}}
.mtf-planning-icon--compass{--mtf-planning-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22m16%208-2.5%205.5L8%2016l2.5-5.5Z%22%2F%3E%3C%2Fsvg%3E");}
.mtf-planning-icon--map{--mtf-planning-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%205%206-2%206%202%206-2v16l-6%202-6-2-6%202Zm6-2v16m6-14v16%22%2F%3E%3C%2Fsvg%3E");}
.mtf-planning-icon--route{--mtf-planning-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%225%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2219%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%205h8a4%204%200%200%201%200%208H9a3%203%200%200%200%200%206h8%22%2F%3E%3C%2Fsvg%3E");}
.mtf-planning-icon--backpack{--mtf-planning-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%2214%22%20height%3D%2216%22%20rx%3D%224%22%2F%3E%3Cpath%20d%3D%22M9%205V4a3%203%200%200%201%206%200v1M5%2012h14M9%2016h6M3%2010v7m18-7v7%22%2F%3E%3C%2Fsvg%3E");}

/* Persistent search label also names the control when its placeholder disappears. */
.mtf-home-search{flex-wrap:wrap}
.mtf-home-search .mtf-search-label{color:#111;flex-basis:100%;font-size:15px;font-weight:600}

/* Contrast for orange backgrounds; decoration keeps the brand orange. */
.mtf-car-cta :is(h2,p,.mtf-eyebrow){color:#111}
.mtf-start-help__button:hover{background:var(--mtf-orange-dark);color:#fff!important}

/* 5.3.2 — Shared 1400 × 800 (7:4) card crop, including saved block markup. */
.mtf-three-card__image,
.mtf-post-card .wp-block-post-featured-image,
.mtf-related-card .mtf-three-card__image {
  aspect-ratio:7/4!important;
}
.mtf-three-card__image img,
.mtf-post-card .wp-block-post-featured-image img,
.mtf-related-card .mtf-three-card__image img {
  width:100%;
  height:auto!important;
  aspect-ratio:7/4!important;
  object-fit:cover;
}

/* Consistent article heading rhythm; avoid extra block/paragraph margins adding gaps. */
body.single-post .mtf-single-reading>:is(h3,h4,h5,h6){margin-block:24px 10px}
body.single-post .mtf-single-reading>p:has(+:is(h2,h3,h4,h5,h6)){margin-bottom:0}
body.single-post .mtf-single-reading>:is(h2,h3,h4,h5,h6)+:is(p,ul,ol){margin-top:0}

/* 5.3.22 — Consistent homepage card actions, matching service cards. */
.mtf-home-planning .mtf-planning-card:is(:hover,:focus-visible) .mtf-planning-card__link,
.mtf-home-planning .mtf-planning-card:is(:hover,:focus-visible) .mtf-planning-card__link span{color:#ff8000;text-decoration:none}
.mtf-home-planning .mtf-planning-card:is(:hover,:focus-visible){text-decoration:none}
/* Adobe's remotely hosted form may appear after the surrounding page. */
p.mtf-adobe-loading-note{font-family:Tahoma,sans-serif;font-size:20px;line-height:1.6;color:#333;background:#fff4e8;border-left:3px solid #ff8000;border-radius:0 6px 6px 0;padding:14px 18px;margin:16px 0 22px;text-align:left}
/* Preserve policy wording while giving it a comfortable reading column. */
.mtf-policy-page main.wp-block-group{box-sizing:border-box;width:calc(100% - 40px);max-width:1040px;margin-inline:auto;padding:40px 0 48px!important}
.mtf-policy-page main>.wp-block-post-title{font-size:clamp(32px,4vw,40px);line-height:1.2;font-weight:700;color:#0b392d;margin:0 0 28px;letter-spacing:-.025em}
.mtf-policy-page main>.wp-block-post-content{max-width:none;margin:0}
.mtf-policy-page main .entry-content p,.mtf-policy-page main .entry-content li{font-size:20px;line-height:1.65;color:#222;margin-block:0 20px}
.mtf-policy-page main .entry-content h2{font-size:clamp(26px,3vw,32px);line-height:1.25;color:#0b392d;margin:32px 0 14px}
.mtf-policy-page main .entry-content h3{font-size:24px;line-height:1.3;margin:26px 0 12px}
.mtf-policy-page main .entry-content a{overflow-wrap:anywhere}
@media(max-width:600px){.mtf-policy-page main.wp-block-group{width:calc(100% - 36px);padding-top:28px!important}}

.mtf-policy-page main>.wp-block-post-title{max-width:none!important;margin-inline:0!important;width:auto}
