/*
Theme Name: The Morocco Guide 3.0
Theme URI: https://the-morocco-guide.com
Author: The Morocco Guide
Description: Fast, accessible editorial travel theme built on native blocks. Mobile-first, RTL-ready, ad-ready.
Version: 3.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: themoroccoguide3
*/
html{scroll-behavior:smooth}
:focus-visible{outline:3px solid var(--wp--preset--color--clay);outline-offset:3px;border-radius:4px}
.tmg-header{position:sticky;top:0;z-index:50;background:var(--wp--preset--color--sand);border-bottom:1px solid var(--wp--preset--color--line)}
.tmg-header-inner,.tmg-wrap{max-width:1200px;margin-inline:auto}
.tmg-header-inner{padding:.85rem 1.25rem}
.tmg-header .wp-block-site-title{font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:1.4rem;margin:0}
.tmg-header .wp-block-site-title a{color:var(--wp--preset--color--ink);text-decoration:none}
.tmg-header .wp-block-navigation{font-weight:500;font-size:.95rem}
.tmg-header .wp-block-navigation a{text-decoration:none;color:var(--wp--preset--color--ink)}
.tmg-hero{padding:clamp(3rem,8vw,7rem) 1.25rem;background:linear-gradient(180deg,var(--wp--preset--color--sand-deep),var(--wp--preset--color--sand))}
.tmg-eyebrow{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--clay);font-weight:600;margin:0}
.tmg-lead{font-size:var(--wp--preset--font-size--md);color:var(--wp--preset--color--muted);max-width:40rem}
.tmg-hero .wp-block-search{max-width:36rem}
.tmg-hero .wp-block-search__input{padding:.85rem 1rem;border:1px solid var(--wp--preset--color--line);border-radius:10px;background:var(--wp--preset--color--sand)}
.tmg-section{padding:clamp(2.5rem,6vw,5rem) 1.25rem}
.tmg-grid{gap:1.25rem}
.tmg-card{position:relative;padding:1.5rem;background:var(--wp--preset--color--sand);border:1px solid var(--wp--preset--color--line);border-radius:16px;transition:transform .2s,box-shadow .2s}
.tmg-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(13,27,42,.12)}
.tmg-card h3{margin:.3rem 0 .5rem}
.tmg-card h3 a{text-decoration:none;color:var(--wp--preset--color--ink)}
.tmg-card h3 a::after{content:'';position:absolute;inset:0}
.tmg-card p{margin:0;color:var(--wp--preset--color--muted)}
.tmg-band{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--sand);padding:clamp(2.5rem,6vw,4.5rem) 1.25rem;text-align:center}
.tmg-band h2,.tmg-band p{color:inherit}
.tmg-band .wp-block-buttons{justify-content:center}
.tmg-band .wp-block-button__link{background:var(--wp--preset--color--gold);color:#0D1B2A}
.tmg-footer{background:var(--wp--preset--color--sand-deep);border-top:1px solid var(--wp--preset--color--line);padding:3rem 1.25rem 2rem;font-size:var(--wp--preset--font-size--sm)}
.tmg-footer h4{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 .75rem}
.tmg-links{list-style:none;padding:0;margin:0}
.tmg-links li{margin:.4rem 0}
.tmg-links a{text-decoration:none;color:var(--wp--preset--color--ink)}
.tmg-fine{margin-top:2rem;color:var(--wp--preset--color--muted);font-size:.8rem}
.tmg-ad-slot{min-height:280px;margin:2rem 0;text-align:center}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.tmg-note{padding:1.1rem 1.25rem;border-left:4px solid var(--wp--preset--color--clay);background:var(--wp--preset--color--sand-deep);border-radius:0 12px 12px 0}
.tmg-note>*:first-child{margin-top:0}.tmg-note>*:last-child{margin-bottom:0}
.wpcf7 label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.35rem}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 textarea,.wpcf7 select{width:100%;padding:.8rem 1rem;border:1px solid var(--wp--preset--color--line);border-radius:10px;background:var(--wp--preset--color--sand);color:var(--wp--preset--color--ink);font:inherit}
.wpcf7 input[type=submit]{background:var(--wp--preset--color--clay);color:var(--wp--preset--color--sand);border:0;border-radius:10px;padding:.85rem 1.5rem;font-weight:600;cursor:pointer}
.wpcf7 input[type=submit]:hover{background:var(--wp--preset--color--ink)}
.wp-block-post-title{margin-bottom:.5rem}
.tmg-grid.alignwide{margin-block:1.5rem}

.wp-site-blocks>footer.wp-block-template-part{margin-block-start:0}
.tmg-footer .tmg-grid{display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:2rem}
.tmg-footer .is-layout-flow>*+*{margin-block-start:.5rem}
.tmg-footer p{margin:0}
.tmg-footer .wp-block-site-title{font-family:var(--wp--preset--font-family--display);font-size:1.4rem;font-weight:700;margin:0 0 .75rem}
.tmg-footer .wp-block-site-title a{color:var(--wp--preset--color--ink);text-decoration:none}
.tmg-footer .tmg-fine{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--wp--preset--color--line)}
@media (max-width:800px){.tmg-footer .tmg-grid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.tmg-footer .tmg-grid{grid-template-columns:1fr}}

/* home v2 */
.tmg-hero{position:relative;overflow:hidden}
.tmg-hero::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.07;background-image:repeating-conic-gradient(from 45deg,var(--wp--preset--color--clay) 0 25%,transparent 0 50%);background-size:28px 28px;-webkit-mask-image:linear-gradient(90deg,transparent 45%,#000);mask-image:linear-gradient(90deg,transparent 45%,#000)}
.tmg-hero>*{position:relative;z-index:1}
.tmg-hero h1{max-width:16ch}
.tmg-alt{background:var(--wp--preset--color--sand-deep)}
.tmg-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:.5rem 2rem;margin-bottom:1.75rem}
.tmg-head h2{margin:0}
.tmg-head p{margin:0;color:var(--wp--preset--color--muted)}
.tmg-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr));gap:1px;background:var(--wp--preset--color--line);border:1px solid var(--wp--preset--color--line);border-radius:16px;overflow:hidden}
.tmg-facts>.wp-block-group{background:var(--wp--preset--color--sand);padding:1.1rem 1.25rem;margin:0}
.tmg-facts p{margin:0;font-size:.95rem}
.tmg-facts .tmg-eyebrow{margin-bottom:.3rem}
.tmg-dest{border-top:6px solid var(--tone,var(--wp--preset--color--clay))}
.tmg-tone-clay{--tone:#A8431F}.tmg-tone-blue{--tone:#2F5D8A}.tmg-tone-gold{--tone:#C9962B}.tmg-tone-teal{--tone:#2E7D7A}.tmg-tone-green{--tone:#4F7A3A}.tmg-tone-ochre{--tone:#B8733A}
.tmg-days{font-family:var(--wp--preset--font-family--display);font-size:2.6rem;line-height:1;font-weight:700;color:var(--wp--preset--color--clay);margin:0 0 .4rem}
.tmg-route{font-size:.9rem;color:var(--wp--preset--color--muted)}
.tmg-months{display:grid;grid-template-columns:repeat(6,1fr);gap:.5rem}
@media (min-width:800px){.tmg-months{grid-template-columns:repeat(12,1fr)}}
.tmg-months p{margin:0;padding:.75rem .25rem;border-radius:10px;text-align:center;font-size:.78rem;line-height:1.35;border:1px solid var(--wp--preset--color--line)}
.tmg-months strong{display:block;font-size:.95rem}
.tmg-m-great{background:#DCEBD5;color:#24401A}.tmg-m-hot{background:#F6D9C7;color:#6B2A0F}.tmg-m-cool{background:#D8E3EE;color:#1E3A57}
.tmg-legend{font-size:.85rem;color:var(--wp--preset--color--muted);margin-top:1rem}
.tmg-tip{padding-left:1.1rem;border-left:3px solid var(--wp--preset--color--gold)}
.tmg-tip h3{font-size:1.15rem;margin:0 0 .35rem}
.tmg-tip p{margin:0;color:var(--wp--preset--color--muted)}
.tmg-author{display:grid;grid-template-columns:auto 1fr;gap:1.5rem;align-items:center;padding:2rem;border:1px solid var(--wp--preset--color--line);border-radius:20px;background:var(--wp--preset--color--sand)}
.tmg-monogram{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;margin:0;background:var(--wp--preset--color--ink);color:var(--wp--preset--color--gold);font-family:var(--wp--preset--font-family--display);font-size:2.4rem;font-weight:700}
.tmg-author h2{font-size:1.6rem;margin:0 0 .4rem}
.tmg-author p{margin:0 0 .5rem}
@media (max-width:600px){.tmg-author{grid-template-columns:1fr;text-align:center}.tmg-monogram{margin-inline:auto}}
.tmg-book .tmg-card{text-align:left}
.tmg-faq .wp-block-details{border-bottom:1px solid var(--wp--preset--color--line);padding:1rem 0}
.tmg-faq summary{cursor:pointer;font-weight:600;font-size:1.05rem;list-style-position:outside}
.tmg-faq .wp-block-details>p{margin:.6rem 0 0;color:var(--wp--preset--color--muted)}
.tmg-news{text-align:center;border:1px solid var(--wp--preset--color--line);border-radius:20px;padding:clamp(2rem,5vw,3rem)}
.tmg-news form{max-width:28rem;margin-inline:auto;text-align:left}
.tmg-news input[type=email]{width:100%;padding:.8rem 1rem;border:1px solid var(--wp--preset--color--line);border-radius:10px;background:var(--wp--preset--color--sand);color:var(--wp--preset--color--ink);font:inherit}
.tmg-news button[type=submit]{margin-top:.75rem;width:100%;background:var(--wp--preset--color--clay)!important;color:var(--wp--preset--color--sand)!important;border:0;border-radius:10px;padding:.85rem 1.5rem;font-weight:600;cursor:pointer}
.tmg-small{font-size:.8rem;color:var(--wp--preset--color--muted)}
/* hero align fix */
.wp-site-blocks>*{margin-block-start:0}
.tmg-hero.is-layout-constrained>*{margin-left:max(0px,calc((100% - 1200px)/2))!important;margin-right:auto!important}
.tmg-hero{padding-block:clamp(3rem,7vw,6rem)}
.tmg-hero h1{max-width:18ch}
.tmg-hero .tmg-lead{max-width:38rem}
.tmg-hero .wp-block-search{max-width:34rem;margin-top:1.75rem}
.tmg-hero .wp-block-buttons{margin-top:1rem}
.tmg-hero .wp-block-search__button{background:var(--wp--preset--color--clay);color:var(--wp--preset--color--sand);border:0;border-radius:10px;padding:.85rem 1.4rem;font-weight:600}

/* polish 1 */
.tmg-section{padding-block:clamp(2.5rem,5vw,4rem)}
main>.tmg-section:not(.tmg-alt)+.tmg-section:not(.tmg-alt){padding-top:clamp(.5rem,2vw,1.5rem)}
.tmg-card h3{font-size:clamp(1.2rem,1.4vw,1.4rem);line-height:1.2}
.tmg-book .tmg-grid{grid-template-columns:repeat(auto-fit,minmax(12.5rem,1fr))}
.tmg-tip a{white-space:nowrap}
.tmg-faq summary{list-style:none;position:relative;padding-right:2.25rem}
.tmg-faq summary::-webkit-details-marker{display:none}
.tmg-faq summary::after{content:'+';position:absolute;right:.25rem;top:50%;transform:translateY(-50%);font-size:1.5rem;font-weight:400;color:var(--wp--preset--color--clay);line-height:1}
.tmg-faq details[open] summary::after{content:'\2212'}
.tmg-faq summary:hover{color:var(--wp--preset--color--clay)}
.tmg-faq .wp-block-details:first-of-type{border-top:1px solid var(--wp--preset--color--line)}
/* tables */
.tmg-table table{width:100%;border-collapse:collapse;font-size:.95rem;background:var(--wp--preset--color--sand);border:1px solid var(--wp--preset--color--line);border-radius:12px;overflow:hidden}
.tmg-table th,.tmg-table td{padding:.75rem 1rem;border-bottom:1px solid var(--wp--preset--color--line);text-align:left;vertical-align:top}
.tmg-table th{width:38%;font-weight:600;background:var(--wp--preset--color--sand-deep)}
.tmg-table tr:last-child th,.tmg-table tr:last-child td{border-bottom:0}
.wp-block-post-content h2{margin-top:2.75rem}
.wp-block-post-content h3{margin-top:1.75rem}

.tmg-table td:first-child{width:38%;background:var(--wp--preset--color--sand-deep)}

/* photos */
.wp-block-image.tmg-photo img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px}
.wp-block-image.tmg-photo-tall{max-width:480px;margin-inline:auto}
.wp-block-image.tmg-photo-tall img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}
.wp-block-image figcaption{font-size:.85rem;color:var(--wp--preset--color--muted);text-align:center;margin-top:.5rem}

/* hub page */
.tmg-hub .wp-block-post-content>*{margin-block-start:0}
.tmg-wrap{max-width:1200px;margin-inline:auto;padding-inline:24px;box-sizing:border-box}
.tmg-hub-hero{position:relative;min-height:540px;display:flex;align-items:flex-end;background:var(--wp--preset--color--ink);overflow:hidden;margin:0}
.tmg-hub-hero>.wp-block-image{position:absolute;inset:0;margin:0}
.tmg-hub-hero>.wp-block-image img{width:100%;height:100%;object-fit:cover}
.tmg-hub-hero::after{content:'';position:absolute;inset:0;background:rgba(13,27,42,.58)}
.tmg-hub-hero-inner{position:relative;z-index:1;width:100%;max-width:1200px;margin:0 auto;padding:96px 24px 64px;box-sizing:border-box;color:#F7F2EB}
.tmg-hub-hero-inner h1{color:#F7F2EB;font-size:clamp(2.75rem,6vw,4.75rem);line-height:1.05;max-width:14ch;margin:0}
.tmg-hub-hero-inner .tmg-eyebrow{color:#E9C46A;margin:0 0 .75rem}
.tmg-hub-hero-inner .tmg-lead{color:#EDE3D2;margin:1.25rem 0 0;max-width:40rem;font-size:1.25rem}
.tmg-stats{display:flex;flex-wrap:wrap;gap:12px 40px;margin-top:2.25rem}
.tmg-stats p{margin:0;color:#EDE3D2;font-size:.95rem}
.tmg-stats strong{display:block;font-family:var(--wp--preset--font-family--display);font-size:1.9rem;color:#F7F2EB;line-height:1.1}
.wp-block-group.tmg-route{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;align-items:center;background:var(--wp--preset--color--sand-deep);border-radius:20px;padding:36px;margin:64px 0 24px}
.wp-block-group.tmg-route h2{font-size:2.1rem;margin:0}
.wp-block-group.tmg-route p{margin:.75rem 0 0}
ol.tmg-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:s}
ol.tmg-steps li{background:var(--wp--preset--color--sand);border-radius:14px;padding:20px;counter-increment:s;font-size:.9rem;color:var(--wp--preset--color--muted)}
ol.tmg-steps li::before{content:counter(s);display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--wp--preset--color--clay);color:#F7F2EB;font-weight:600;margin-bottom:12px}
ol.tmg-steps strong{display:block;font-family:var(--wp--preset--font-family--display);font-size:1.35rem;color:var(--wp--preset--color--ink)}
@media (max-width:600px){ol.tmg-steps{grid-template-columns:1fr}}
.tmg-dest-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin:48px 0 28px}
.tmg-dest-head h2{margin:0}
.tmg-dest-head p{margin:.5rem 0 0;color:var(--wp--preset--color--muted)}
.tmg-filter{display:flex;flex-wrap:wrap;gap:8px}
.tmg-filter button{min-height:44px;padding:10px 18px;border-radius:999px;font:inherit;font-size:.95rem;font-weight:500;cursor:pointer;background:transparent;color:var(--wp--preset--color--ink);border:1px solid #C9BBA3}
.tmg-filter button[aria-pressed=true]{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--sand);border-color:var(--wp--preset--color--ink)}
.tmg-dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.tmg-dcard{display:flex;flex-direction:column;background:#FFFDF9;border:1px solid var(--wp--preset--color--line);border-radius:18px;overflow:hidden;margin:0!important;scroll-margin-top:96px}
.tmg-dcard[hidden]{display:none}
.tmg-dcard>.wp-block-image{margin:0}
.tmg-dcard>.wp-block-image img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.tmg-ph{aspect-ratio:4/3;display:flex;align-items:flex-end;padding:20px 22px;box-sizing:border-box;margin:0}
.tmg-ph p{margin:0;font-family:var(--wp--preset--font-family--display);font-size:1.9rem;font-weight:600;color:#F7F2EB;line-height:1.1}
.tone-city{background:#8C3A1E}.tone-desert{background:#9A6326}.tone-mountain{background:#4E6B45}.tone-coast{background:#2D6475}
.tmg-dbody{display:flex;flex-direction:column;gap:6px;padding:20px 22px 22px;flex:1}
.tmg-dbody>*{margin:0!important}
.tmg-dbody h3{font-size:1.6rem;line-height:1.15}
.tmg-dbody h3 a{color:var(--wp--preset--color--ink);text-decoration:none}
.tmg-dbody .tmg-line{font-size:.95rem;color:var(--wp--preset--color--muted)}
.tmg-pills{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px}
.tmg-pills span{font-size:.8rem;background:var(--wp--preset--color--sand-deep);border-radius:999px;padding:4px 10px}
.tmg-dlink{margin-top:auto!important;padding-top:16px;font-weight:600}
.tmg-dlink a{text-decoration:none}
.tmg-soon{margin-top:auto!important;padding-top:16px;font-size:.9rem;color:var(--wp--preset--color--muted)}
.tmg-compare{margin:64px 0 0}
.tmg-compare table{width:100%;min-width:640px;border-collapse:collapse;font-size:.95rem;background:#FFFDF9}
.tmg-compare{overflow-x:auto;border:1px solid var(--wp--preset--color--line);border-radius:16px}
.tmg-compare thead{background:var(--wp--preset--color--sand-deep);border:0}
.tmg-compare th,.tmg-compare td{padding:14px 18px;text-align:left;border:0;border-top:1px solid var(--wp--preset--color--line)}
.tmg-compare thead th{border-top:0;font-weight:600}
.tmg-compare td:first-child{font-family:var(--wp--preset--font-family--display);font-size:1.1rem}
.tmg-hub-cta{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));border-radius:22px;overflow:hidden;background:var(--wp--preset--color--ink);color:#F7F2EB;margin:64px 0 80px}
.tmg-hub-cta>.wp-block-image{margin:0}
.tmg-hub-cta>.wp-block-image img{width:100%;height:100%;min-height:280px;object-fit:cover;display:block}
.tmg-hub-cta-text{padding:48px 44px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.tmg-hub-cta-text>*{margin:0!important}
.tmg-hub-cta h2{color:#F7F2EB;font-size:2.2rem}
.tmg-hub-cta p{color:#D9D1C2}
.tmg-hub-cta .wp-block-button__link{background:#E9C46A;color:#0D1B2A}
.tmg-hub-cta .is-style-outline .wp-block-button__link{background:transparent;color:#F7F2EB;border:1px solid #F7F2EB}
.tmg-compare-intro{margin:64px 0 0}
.tmg-compare-intro h2{margin:0}
.tmg-compare-intro p{margin:.5rem 0 1.5rem;color:var(--wp--preset--color--muted)}
.tmg-compare-intro+.tmg-compare{margin-top:0}
/* avatar */
.wp-block-image.tmg-avatar{margin:0;width:96px}
.wp-block-image.tmg-avatar img{width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:center 30%;display:block}
.wp-block-image.tmg-avatar-lg{width:140px;margin:0 auto 1.5rem}
.wp-block-image.tmg-avatar-lg img{width:140px;height:140px}
@media (max-width:600px){.tmg-author .wp-block-image.tmg-avatar{margin-inline:auto}}

/* global fixes v2 */
.tmg-wrap.is-layout-flow>:first-child,.tmg-hub .tmg-wrap{padding-top:1px}
.tmg-hub>.wp-block-post-content>.tmg-wrap{padding-top:16px}
.tmg-hub .tmg-route{margin-top:56px}
/* hub head (no photo) */
.tmg-hub-head{position:relative;overflow:hidden;background:var(--wp--preset--color--sand-deep);margin:0}
.tmg-hub-head::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.08;background-image:repeating-conic-gradient(from 45deg,var(--wp--preset--color--clay) 0 25%,transparent 0 50%);background-size:28px 28px;-webkit-mask-image:linear-gradient(90deg,transparent 40%,#000);mask-image:linear-gradient(90deg,transparent 40%,#000)}
.tmg-hub-head-inner{position:relative;z-index:1;max-width:1200px;margin:0 auto;padding:clamp(48px,7vw,88px) 24px clamp(40px,5vw,64px);box-sizing:border-box}
.tmg-hub-head-inner>*{margin:0}
.tmg-hub-head h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.05;max-width:18ch;margin-top:.75rem}
.tmg-hub-head .tmg-lead{margin-top:1.25rem;max-width:42rem}
.tmg-facts-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:1.75rem!important}
.tmg-facts-pills span{font-size:.85rem;font-weight:500;background:var(--wp--preset--color--sand);border:1px solid var(--wp--preset--color--line);border-radius:999px;padding:6px 14px}
.tmg-sec-head{margin:56px 0 24px}
.tmg-sec-head>*{margin:0}
.tmg-sec-head p{margin-top:.5rem;color:var(--wp--preset--color--muted)}
.tmg-tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin:0}
.tmg-tcard{display:flex;flex-direction:column;gap:8px;background:#FFFDF9;border:1px solid var(--wp--preset--color--line);border-radius:18px;padding:26px 26px 24px;margin:0!important}
.tmg-tcard>*{margin:0!important}
.tmg-tcard h3{font-size:1.5rem;line-height:1.2}
.tmg-tcard>p:not(.tmg-eyebrow){color:var(--wp--preset--color--muted);font-size:.97rem}
.tmg-tcard .tmg-price{font-family:var(--wp--preset--font-family--display);font-size:1.9rem;font-weight:600;color:var(--wp--preset--color--clay)!important;line-height:1.1}
ul.tmg-guides{list-style:none;margin:10px 0 0;padding:14px 0 0;border-top:1px solid var(--wp--preset--color--line);display:flex;flex-direction:column;gap:6px}
ul.tmg-guides a{font-weight:600;text-decoration:none}
ul.tmg-guides a::after{content:' \2192'}
.tmg-tcard .wp-block-shortcode{margin-top:auto!important}
.tmg-cta-plain{grid-template-columns:1fr}
.tmg-cta-plain .tmg-hub-cta-text{align-items:flex-start;max-width:46rem}
.tmg-hub .tmg-table{margin:0}
.tmg-callout{background:var(--wp--preset--color--sand-deep);border-radius:16px;padding:20px 24px;margin:24px 0 0}
.tmg-callout>*{margin:0}
.tmg-months{margin:0}
/* reading pages */
.wp-block-post-title{font-size:clamp(2.2rem,4.5vw,3.4rem);line-height:1.1;margin-bottom:1.25rem}
.tmg-section .wp-block-post-content .tmg-lead{font-size:1.2rem;color:var(--wp--preset--color--muted)}
.wp-block-post-content>h2{scroll-margin-top:96px}
@media (max-width:600px){.tmg-hub-hero{min-height:440px}.tmg-hub-hero-inner{padding:72px 20px 40px}.wp-block-group.tmg-route{padding:24px}.tmg-hub-cta-text{padding:32px 24px}.tmg-tcard{padding:22px}}
/* itin cards */
.tmg-grid:has(.tmg-days){grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}
.tmg-card .tmg-days{margin:0}
.tmg-card .tmg-days+.tmg-eyebrow{margin-top:0}
p.tmg-route{margin:.25rem 0 0}

.tmg-tip a{display:table;margin-top:.5rem;font-weight:600}

/* hero lead fix */
.tmg-hub-hero .tmg-hub-hero-inner .tmg-lead{color:#EDE3D2;text-shadow:0 1px 2px rgba(0,0,0,.35)}
