/* Food N Tours home and public footer design system. */
:root {
  --ft-ink: #19343a;
  --ft-petrol: #103843;
  --ft-green: #4c8f57;
  --ft-green-light: #a8d58b;
  --ft-paper: #fafaf6;
  --ft-soft: #f0f3f0;
  --ft-warm: #d99b62;
  --ft-line: #dfe7e1;
  --ft-radius: 16px;
  --ft-shadow: 0 14px 36px rgb(16 56 67 / 10%);
}

body.path-frontpage { margin: 0; color: var(--ft-ink); background: var(--ft-paper); font-family: "Segoe UI", system-ui, sans-serif; }
body.path-frontpage *, body.path-frontpage *::before, body.path-frontpage *::after { box-sizing: border-box; }
body.path-frontpage img { max-width: 100%; }
body.path-frontpage a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
body.path-frontpage :focus-visible, #footer :focus-visible { outline: 3px solid var(--ft-warm); outline-offset: 3px; }

/* Header: the active Drupal branding and menu stay in their original regions. */
#header.ftv-site-header { position: sticky; top: 0; z-index: 100; min-height: 88px; height: auto; margin: 0; padding: 0; background: var(--ft-paper); box-shadow: 0 4px 20px rgb(16 56 67 / 7%); }
#header .header-layout { display: grid; grid-template-columns: minmax(160px, auto) minmax(0, 1fr); grid-template-rows: 72px; align-items: center; gap: 0 28px; width: min(100% - 48px, 1320px); min-height: 88px; height: auto; margin: auto; padding: 8px 0; }
#header .header-branding-region,
#header .header-branding-region .region-header { display: contents; }
#block-food-and-tours-site-branding { grid-column: 1; grid-row: 1; display: flex; align-items: center; margin: 0; padding: 0; }
#block-food-and-tours-site-branding img { display: block; width: auto; max-width: 184px; max-height: 62px; object-fit: contain; }
#block-food-and-tours-socialmediaheaderblock { display: none; }
#menu { position: static; grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; width: auto; background: transparent; }
#menu #tbm-main > .tbm-nav,
#menu > ul,
#menu > .region-menu > ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; list-style: none; background: transparent; }
#menu #tbm-main > .tbm-nav > .tbm-item,
#menu > ul > li,
#menu > .region-menu > ul > li { float: none; margin: 0; padding: 0; background: transparent; }
#menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; border-radius: 999px; color: var(--ft-ink); background: transparent; font-size: 14px; font-weight: 650; text-decoration: none; }
#menu a:hover, #menu a:focus-visible, #menu a.active-trail { color: var(--ft-petrol); background: #eaf0e9; }
.ft-menu-toggle { display: none; }
body.toolbar-fixed #header.ftv-site-header { top: 39px; }
body.toolbar-fixed.toolbar-tray-open #header.ftv-site-header { top: 79px; }

/* Cinematic hero: existing Machu Picchu photo, copy, buttons and destinations preserved. */
body.path-frontpage .ft-showcase { position: relative; width: 100%; padding: 0; overflow: visible; background: var(--ft-paper); }
body.path-frontpage .ft-hero-media { position: relative; min-height: clamp(650px, 76vh, 800px); overflow: hidden; isolation: isolate; background: var(--ft-petrol); }
body.path-frontpage .ft-hero-photo { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 48%; }
body.path-frontpage .ft-hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(10 37 44 / 62%) 0%, rgb(10 37 44 / 44%) 32%, rgb(10 37 44 / 13%) 66%, transparent 88%); }
body.path-frontpage .ft-showcase-content { position: relative; z-index: 2; display: flex; align-items: center; width: min(100% - 48px, 1280px); min-height: clamp(650px, 76vh, 800px); margin: auto; padding: 48px 0 80px; }
body.path-frontpage .ft-showcase-copy { width: min(650px, 58%); color: white; }
body.path-frontpage .ft-kicker { display: block; margin: 0 0 14px; color: #e0edcf; font-family: Georgia, serif; font-size: clamp(17px, 1.7vw, 22px); font-style: italic; }
body.path-frontpage .ft-showcase-copy h1 { max-width: 650px; margin: 0 0 18px; color: #fff; font-family: "Segoe UI", system-ui, sans-serif; font-size: clamp(44px, 4.2vw, 60px); font-weight: 750; line-height: 1.06; letter-spacing: -.035em; text-shadow: 0 2px 12px rgb(0 0 0 / 32%); }
body.path-frontpage .ft-showcase-copy h1 span { color: var(--ft-green-light); }
body.path-frontpage .ft-showcase-copy > p { max-width: 550px; margin: 0 0 25px; color: rgb(255 255 255 / 95%); font-size: clamp(16px, 1.45vw, 19px); line-height: 1.58; text-shadow: 0 1px 8px rgb(0 0 0 / 30%); }
body.path-frontpage .ft-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
body.path-frontpage .ft-hero-actions a { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 750; text-decoration: none; }
body.path-frontpage .ft-btn-primary { color: #fff; background: var(--ft-green); }
body.path-frontpage .ft-btn-primary:hover { color: #fff; background: #397444; transform: translateY(-2px); }
body.path-frontpage .ft-btn-secondary { color: #fff; border-color: rgb(255 255 255 / 76%); background: rgb(255 255 255 / 9%); }
body.path-frontpage .ft-btn-secondary:hover { color: #fff; background: rgb(255 255 255 / 19%); }

/* The existing exposed Drupal form remains functional and separate from the hero copy. */
body.path-frontpage .ft-search-wrap { position: relative; z-index: 4; width: min(100% - 48px, 900px); margin: -38px auto 0; }
body.path-frontpage .ft-search-wrap #block-food-and-tours-sliderhomeblock { min-height: 0; height: auto; margin: 0; padding: 0; overflow: visible; background: transparent; box-shadow: none; }
body.path-frontpage .ft-search-wrap #block-food-and-tours-sliderhomeblock::before,
body.path-frontpage .ft-search-wrap #block-food-and-tours-sliderhomeblock::after,
body.path-frontpage .ft-search-wrap .field--name-field-blocty-sliderhome-image,
body.path-frontpage .ft-search-wrap .field--name-field-blocty-sliderhome-titlee { display: none; }
body.path-frontpage .ft-search-wrap .gr-bloc-slider-home { display: block; min-height: 0; height: auto; padding: 0; }
body.path-frontpage .ft-search-wrap .gr-bloc-slider-home-cont { display: block; width: 100%; min-height: 0; margin: 0; padding: 0; }
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 { position: static; width: 100%; margin: 0; }
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form--inline { display: flex; align-items: center; gap: 12px; min-height: 82px; margin: 0; padding: 13px; border: 1px solid var(--ft-line); border-radius: var(--ft-radius); background: #fff; box-shadow: var(--ft-shadow); }
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-item-title { display: block; flex: 1; width: auto; min-width: 0; margin: 0; }
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 input[type="text"] { width: 100%; max-width: none; height: 54px; padding: 0 16px; border: 1px solid var(--ft-line); border-radius: 10px; color: var(--ft-ink); background: #f7f9f6; }
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions { display: flex; flex: 0 0 auto; margin: 0; }
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions input[type="submit"],
body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions button[type="submit"] { position: static; height: 54px; padding: 0 26px; border: 0; border-radius: 10px; color: #fff; background: var(--ft-petrol); font-weight: 700; cursor: pointer; }

/* Home composition and section rhythm. */
body.path-frontpage #main {
  --ft-brand-green: #1a5527;
  --ft-brand-orange: #f27b1d;
  --ft-brand-black: #111111;
  --ft-brand-white: #ffffff;
  --ft-brand-green-soft: #f0f5ee;
  --ft-brand-muted: #333333;
  --ft-ink: var(--ft-brand-black);
  --ft-petrol: var(--ft-brand-black);
  --ft-green: var(--ft-brand-green);
  --ft-green-light: var(--ft-brand-orange);
  --ft-paper: var(--ft-brand-white);
  --ft-soft: #f7f9f6;
  --ft-warm: var(--ft-brand-orange);
  --ft-line: #dce6da;
  --ft-shadow: 0 14px 36px rgb(26 85 39 / 12%);
  padding: 0 24px 88px;
  color: var(--ft-ink);
  background: var(--ft-paper);
}
body.path-frontpage #main a { color: var(--ft-brand-green); }
body.path-frontpage #main a:hover { color: var(--ft-brand-green); }
body.path-frontpage #main :focus-visible { outline-color: var(--ft-brand-green); }
body.path-frontpage #ft-home-content { scroll-margin-top: 108px; }
body.path-frontpage .ft-section-intro { width: min(100%, 900px); margin: 0 auto; padding: 94px 16px 44px; text-align: center; }
body.path-frontpage .ft-section-intro > span { display: inline-block; margin: 0 0 12px; color: var(--ft-brand-green); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
body.path-frontpage .ft-section-intro h2 { margin: 0 0 14px; color: var(--ft-petrol); font-family: Georgia, serif; font-size: clamp(32px, 4vw, 46px); font-weight: 650; line-height: 1.13; letter-spacing: -.025em; }
body.path-frontpage .ft-section-intro p { max-width: 630px; margin: auto; color: var(--ft-brand-muted); font-size: 17px; line-height: 1.7; }
body.path-frontpage #contenedor { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; width: min(100%, 1320px); margin: 0 auto; }
body.path-frontpage #contenedor:has(> :where(#sidebar_left)):has(> :where(#sidebar_right)) { grid-template-columns: minmax(190px, .72fr) minmax(0, 2fr) minmax(220px, .86fr); }
body.path-frontpage #contenedor:has(> :where(#sidebar_left)):not(:has(> :where(#sidebar_right))) { grid-template-columns: minmax(190px, .72fr) minmax(0, 2.6fr); }
body.path-frontpage #contenedor:has(> :where(#sidebar_right)):not(:has(> :where(#sidebar_left))) { grid-template-columns: minmax(0, 1fr) minmax(220px, .78fr); }
body.path-frontpage #contenido, body.path-frontpage #sidebar_left, body.path-frontpage #sidebar_right { min-width: 0; }
body.path-frontpage #contenido .block { margin: 0 0 54px; }
body.path-frontpage #contenido .block > h2,
body.path-frontpage #contenido .block .block-title { margin: 0 0 22px; color: var(--ft-petrol); font-family: Georgia, serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; line-height: 1.16; }
body.path-frontpage #contenido .block > h2::after,
body.path-frontpage #contenido .block .block-title::after { display: block; width: 48px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--ft-brand-orange); content: ""; }
body.path-frontpage #block-food-and-tours-contenthomeblock { padding: clamp(26px, 4vw, 50px); border: 1px solid var(--ft-line); border-radius: var(--ft-radius); background: var(--ft-soft); }
body.path-frontpage #block-food-and-tours-contenthomeblock .field--type-text-with-summary { max-width: 900px; margin-inline: auto; color: var(--ft-brand-muted); font-size: 16px; line-height: 1.8; }
body.path-frontpage #block-food-and-tours-contenthomeblock h2,
body.path-frontpage #block-food-and-tours-contenthomeblock h3,
body.path-frontpage #block-food-and-tours-contenthomeblock h4 { color: var(--ft-petrol); font-family: Georgia, serif; line-height: 1.22; }
body.path-frontpage #contenido .views-row { min-width: 0; }
body.path-frontpage #contenido .views-row img { display: block; max-width: 100%; height: auto; object-fit: cover; }
body.path-frontpage #contenido .views-row .views-field[class*="thumbnail-img"] { order: -1; width: 100%; min-width: 0; overflow: hidden; }
body.path-frontpage #contenido .views-row .views-field[class*="thumbnail-img"] img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .view-display-id-block_1.view-view-last-blogs-home .view-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blogs-home .view-content .views-row { display: flex; flex-direction: column; width: auto; height: 100%; overflow: hidden; border: 1px solid var(--ft-line); border-radius: var(--ft-radius); background: var(--ft-brand-white); box-shadow: 0 8px 24px rgb(26 85 39 / 7%); transition: transform .24s ease, box-shadow .24s ease; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blogs-home .view-content .views-row:hover { transform: translateY(-4px); box-shadow: var(--ft-shadow); }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blogs-home .view-content .views-row .views-field-field-blogpage-thumbnail-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blogs-home .view-content .views-row .views-field-title { padding: 14px 17px 4px; text-align: left; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .views-field-fieldset-1 { padding: 8px 17px 20px; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .views-field-fieldset-1 .views-field-title a { color: var(--ft-brand-green); }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .views-field-fieldset-1 .views-field-body p { color: var(--ft-brand-muted); line-height: 1.65; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .views-field-fieldset-1 .views-field-view-node a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 14px; border: 1px solid var(--ft-green); border-radius: 999px; color: var(--ft-green); text-decoration: none; }
body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .views-field-fieldset-1 .views-field-view-node a:hover { color: var(--ft-brand-black); border-color: var(--ft-brand-orange); background: var(--ft-brand-orange); }
body.path-frontpage #block-food-and-tours-toursrightsidebarblock,
body.path-frontpage #block-food-and-tours-foodsleftsidebarblock,
body.path-frontpage #block-food-and-tours-propagandarightsidebarblock { padding: 20px; border: 1px solid var(--ft-line); border-radius: var(--ft-radius); background: var(--ft-brand-white); box-shadow: 0 8px 24px rgb(26 85 39 / 6%); }
body.path-frontpage #block-food-and-tours-foodsleftsidebarblock .view-view-tax-blogs-leftsid .view-content { display: grid; gap: 8px; }
body.path-frontpage #block-food-and-tours-foodsleftsidebarblock .view-view-tax-blogs-leftsid .views-field-name a { display: flex; min-height: 44px; align-items: center; padding: 9px 11px; border-radius: 10px; color: var(--ft-brand-green); background: var(--ft-soft); font-weight: 600; text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
body.path-frontpage #block-food-and-tours-foodsleftsidebarblock .view-view-tax-blogs-leftsid .views-field-name a:hover { color: var(--ft-petrol); background: var(--ft-brand-green-soft); transform: translateX(2px); }
body.path-frontpage #block-food-and-tours-toursrightsidebarblock .view-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
body.path-frontpage #block-food-and-tours-toursrightsidebarblock .view-content .views-row { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ft-line); border-radius: 12px; background: var(--ft-brand-white); }
body.path-frontpage #block-food-and-tours-toursrightsidebarblock .view-content .views-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Keep front-page tour thumbnails at a consistent size without stretching photos. */
body.path-frontpage #block-food-and-tours-toursrightsidebarblock .view-content .views-row .views-field-field-tourpage-thumbnail-img .field-content,
body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-tours-filter-exposed-by-taxonomy .views-row .views-field-field-tourpage-thumbnail-img .field-content {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
body.path-frontpage #block-food-and-tours-toursrightsidebarblock .view-content .views-row .views-field-field-tourpage-thumbnail-img img,
body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-tours-filter-exposed-by-taxonomy .views-row .views-field-field-tourpage-thumbnail-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
body.path-frontpage #contenido .pager { display: flex; justify-content: center; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
body.path-frontpage #contenido .pager a { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--ft-line); border-radius: 50%; color: var(--ft-petrol); text-decoration: none; }

/* Footer: existing region blocks remain single instances; social block moves here intact. */
#footer.ftv-footer { margin: 0; padding: 0; color: #eaf1ef; background: var(--ft-petrol); }
#footer .ft-footer-container { width: min(100% - 48px, 1320px); margin: auto; padding: 52px 0 22px; }
#footer .region-footer { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
#footer .region-footer > .block { min-width: 0; margin: 0; padding: 0; color: #d5e0dd; background: transparent; }
#footer .region-footer h2 { margin: 0 0 15px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
#footer .region-footer p { color: #d5e0dd; line-height: 1.7; }
#footer .region-footer a { color: #eaf1ef; text-decoration: none; }
#footer .region-footer a:hover { color: var(--ft-green-light); }
#footer .region-footer ul { margin: 0; padding: 0; list-style: none; }
#footer .region-footer li { margin: 0 0 9px; }
#footer .region-footer img { max-width: 100%; height: auto; }
#footer #block-food-and-tours-groupfooterblock .gr-block-footer { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--ft-radius); background: var(--ft-petrol); }
#footer #block-food-and-tours-groupfooterblock .field--name-field-blocty-backgrounfooter-img { position: absolute; z-index: 0; inset: 0; opacity: .12; pointer-events: none; }
#footer #block-food-and-tours-groupfooterblock .field--name-field-blocty-backgrounfooter-img img { width: 100%; height: 100%; object-fit: cover; }
#footer #block-food-and-tours-groupfooterblock .gr-block-footer-a { position: relative; z-index: 1; padding: 34px; }
#footer #block-food-and-tours-groupfooterblock .field--name-field-bloty-groupfooter-blocks { display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr; gap: 28px; align-items: start; }
#footer #block-food-and-tours-groupfooterblock .field--name-field-bloty-groupfooter-blocks > .field__item { min-width: 0; }
#footer #block-blocklogofooter img { display: block; width: auto; max-width: 160px; max-height: 105px; object-fit: contain; object-position: left top; }
#footer #block-blocklinksfooter .field--name-field-bloty-linkfooter-link { display: grid; gap: 10px; }
#footer #block-blocklinksfooter .field--name-field-bloty-linkfooter-link > .field__item { margin: 0; }
#footer #block-food-and-tours-socialmediaheaderblock.ft-footer-social-block { display: block; }
#footer #block-food-and-tours-subscriptionfooterblock { order: 2; }
#footer #block-food-and-tours-blockcopyright { order: 3; width: 100%; }
#footer .region-footer input[type="email"], #footer .region-footer input[type="text"] { width: 100%; max-width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 9px; color: var(--ft-ink); background: #fff; }
#footer .region-footer input[type="submit"] { min-height: 48px; padding: 0 20px; border: 0; border-radius: 9px; color: #fff; background: var(--ft-green); font-weight: 700; cursor: pointer; }
#footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-subscription-footer { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr); align-items: center; gap: 28px; padding: 22px; border: 1px solid rgb(255 255 255 / 17%); border-radius: var(--ft-radius); background: rgb(255 255 255 / 5%); }
#footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-subscription-image img { display: block; width: 100%; height: 150px; border-radius: 12px; object-fit: cover; }
#footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-subscription-content { width: 100%; min-width: 0; margin: auto; }
#footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-title-mesage-simplenews { width: 100%; margin: 0 auto; padding: 26px; }
#footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-title-mesage-simplenews h2,
#footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-title-mesage-simplenews p { color: #fff; text-align: center; }
#footer #block-food-and-tours-subscriptionfooterblock form { width: min(100%, 650px); margin: 14px auto 0; }
#footer #block-food-and-tours-subscriptionfooterblock fieldset,
#footer #block-food-and-tours-subscriptionfooterblock .captcha { max-width: 100%; box-sizing: border-box; }
#footer #block-food-and-tours-subscriptionfooterblock #edit-mail-wrapper { text-align: center; }
#footer #block-food-and-tours-subscriptionfooterblock #edit-mail-0-value { width: 100%; }
#footer #block-food-and-tours-socialmediaheaderblock .field--name-field-blocty-socialmh-ptbtsmh { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#footer #block-food-and-tours-socialmediaheaderblock .field--name-field-party-blotysocialm-ico-ima img { display: block; width: 28px; height: 28px; object-fit: contain; }
#footer #block-food-and-tours-blockcopyright { padding: 18px 0 0; border-top: 1px solid rgb(255 255 255 / 16%); color: #c5d4d0; font-size: 13px; text-align: center; }

@media (max-width: 1024px) {
  #header .header-layout { width: min(100% - 40px, 1320px); gap: 0 16px; }
  #menu a { padding-inline: 9px; font-size: 13px; }
  body.path-frontpage #contenedor:has(> #sidebar_left),
  body.path-frontpage #contenedor:has(> #sidebar_right) { grid-template-columns: minmax(0, 1fr); }
  body.path-frontpage #contenedor #contenido { grid-column: 1; grid-row: 1; }
  body.path-frontpage #contenedor #sidebar_left { grid-column: 1; grid-row: 2; }
  body.path-frontpage #contenedor #sidebar_right { grid-column: 1; grid-row: 3; }
  body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .view-display-id-block_1.view-view-last-blogs-home .view-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #footer #block-food-and-tours-groupfooterblock .field--name-field-bloty-groupfooter-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  #header .header-layout { grid-template-columns: minmax(0, 1fr) 46px; grid-template-rows: 58px auto; gap: 4px 8px; min-height: 66px; padding: 5px 0 8px; }
  #block-food-and-tours-site-branding { grid-column: 1; grid-row: 1; max-width: 180px; }
  #block-food-and-tours-site-branding img { max-width: 160px; max-height: 50px; }
  .ft-menu-toggle { display: flex; grid-column: 2; grid-row: 1; width: 46px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--ft-line); border-radius: 10px; background: #fff; cursor: pointer; }
  .ft-menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--ft-petrol); }
  #menu { display: block; grid-column: 1 / -1; grid-row: 2; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .24s ease, visibility .24s ease; }
  #menu.is-open { max-height: min(70vh, 520px); overflow-y: auto; visibility: visible; }
  #menu #tbm-main > .tbm-nav,
  #menu > ul,
  #menu > .region-menu > ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 5px 0; }
  #menu a { display: flex; width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 8px; font-size: 15px; }
}

@media (max-width: 767px) {
  body.path-frontpage #main { padding-inline: 16px; }
  body.path-frontpage #contenedor { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; gap: 20px; width: 100%; max-width: 100%; }
  body.path-frontpage #contenedor > #contenido,
  body.path-frontpage #contenedor > #sidebar_left,
  body.path-frontpage #contenedor > #sidebar_right { grid-column: 1 / -1; width: 100%; min-width: 0; max-width: 100%; margin-inline: 0; }
  body.path-frontpage #block-food-and-tours-contenthomeblock { width: 100%; max-width: none; padding: 20px 16px; }
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--type-text-with-summary { width: 100%; max-width: none; margin-inline: 0; font-size: 16px; line-height: 1.6; overflow-wrap: normal; word-break: normal; }
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--name-field-add-a-paragraph,
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--name-field-add-a-paragraph > .field__item,
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--name-field-add-a-paragraph .paragraph { width: 100%; min-width: 0; max-width: 100%; }
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--type-text-with-summary .row { width: 100%; max-width: 100%; margin-inline: 0; }
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--type-text-with-summary .row > [class*="col-"] { flex: 0 0 100%; width: 100%; max-width: 100%; }
  body.path-frontpage #block-food-and-tours-contenthomeblock .field--type-text-with-summary img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
  body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-blog-page-slider-home .view-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; width: 100%; }
  body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-blog-page-slider-home .view-content > .views-row { display: flex; flex-direction: column; width: 100%; min-width: 0; max-width: 100%; flex: 0 0 100%; }
  body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-blog-page-slider-home .view-content .views-row .views-field-fieldset-1 { width: 100%; max-width: 100%; height: auto; min-width: 0; padding: 20px 16px; }
  body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-blog-page-slider-home .view-content .views-row .views-field-field-blogpage-thumbnail-img img,
  body.path-frontpage #block-food-and-tours-mainpagecontent .view-view-blog-page-slider-home .view-content .views-row .-fieldset-3field-blogpage-thumbnail-imgfieldset-2 .views-field-field-blogpage-thumbnail-img img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; margin: 0; padding: 0; object-fit: cover; }
}

@media (max-width: 600px) {
  #header.ftv-site-header { min-height: 70px; }
  #header .header-layout { grid-template-columns: minmax(0, 1fr) 46px; grid-template-rows: 50px auto; gap: 3px 8px; width: calc(100% - 32px); min-height: 58px; padding: 5px 0 8px; }
  #block-food-and-tours-site-branding img { max-width: 150px; max-height: 46px; }
  body.path-frontpage .ft-hero-media { min-height: 590px; }
  body.path-frontpage .ft-hero-photo { object-position: 80% center; }
  body.path-frontpage .ft-hero-shade { background: linear-gradient(90deg, rgb(10 37 44 / 60%) 0%, rgb(10 37 44 / 42%) 56%, rgb(10 37 44 / 12%) 100%); }
  body.path-frontpage .ft-showcase-content { align-items: flex-start; width: calc(100% - 36px); min-height: 590px; padding: 34px 0 24px; }
  body.path-frontpage .ft-showcase-copy { width: min(100%, 470px); }
  body.path-frontpage .ft-kicker { margin-bottom: 9px; font-size: 16px; }
  body.path-frontpage .ft-showcase-copy h1 { max-width: 450px; margin-bottom: 12px; font-size: clamp(24px, 6.8vw, 29px); line-height: 1.08; letter-spacing: -.02em; }
  body.path-frontpage .ft-showcase-copy > p { max-width: 390px; margin-bottom: 17px; font-size: 15px; line-height: 1.45; }
  body.path-frontpage .ft-hero-actions { gap: 8px; }
  body.path-frontpage .ft-hero-actions a { min-height: 46px; padding: 10px 12px; font-size: 12px; }
  body.path-frontpage .ft-search-wrap { width: calc(100% - 28px); margin: 14px auto 0; }
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form--inline { align-items: stretch; flex-direction: column; gap: 9px; padding: 12px; }
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-item-title,
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions,
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions input[type="submit"] { width: 100%; }
  body.path-frontpage #main { padding: 0 16px 58px; }
  body.path-frontpage .ft-section-intro { padding: 60px 10px 30px; }
  body.path-frontpage .ft-section-intro h2 { font-size: clamp(29px, 8vw, 36px); }
  body.path-frontpage .ft-section-intro p { font-size: 15px; }
  body.path-frontpage #block-food-and-tours-blogshomeblock .gr-bloc-blog-view .view-display-id-block_1.view-view-last-blogs-home .view-content { grid-template-columns: minmax(0, 1fr); }
  #footer .ft-footer-container { width: calc(100% - 36px); padding: 36px 0 18px; }
  #footer .region-footer { gap: 22px; }
  #footer #block-food-and-tours-groupfooterblock .gr-block-footer-a { padding: 24px 18px; }
  #footer #block-food-and-tours-groupfooterblock .field--name-field-bloty-groupfooter-blocks { grid-template-columns: minmax(0, 1fr); gap: 22px; text-align: center; }
  #footer #block-blocklogofooter img { max-width: 145px; max-height: 82px; margin: 0 auto; object-position: center; }
  #footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-subscription-footer { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  #footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-subscription-image img { width: min(100%, 260px); height: 145px; margin: auto; }
  #footer #block-food-and-tours-socialmediaheaderblock .field--name-field-blocty-socialmh-ptbtsmh { justify-content: center; }
  #footer #block-food-and-tours-subscriptionfooterblock .gr-bloc-title-mesage-simplenews { padding: 18px 14px; }
  #footer #block-food-and-tours-subscriptionfooterblock form { width: 100%; }
  #footer #block-food-and-tours-subscriptionfooterblock fieldset { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.path-frontpage *, body.path-frontpage *::before, body.path-frontpage *::after,
  #footer *, #footer *::before, #footer *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Desktop home polish. Scoped to desktop so approved mobile styling is untouched. */
@media (min-width: 1024px) {
  body.path-frontpage #header.ftv-site-header { min-height: 96px; }
  body.path-frontpage #header .header-layout { grid-template-columns: 250px minmax(0, 1fr); grid-template-rows: 80px; width: min(100% - 80px, 1380px); min-height: 96px; gap: 0 36px; padding: 8px 0; }
  body.path-frontpage #header.ftv-site-header .ft-menu-toggle { display: none; }
  body.path-frontpage #header.ftv-site-header #menu { display: flex; max-height: none; overflow: visible; visibility: visible; }
  body.path-frontpage #block-food-and-tours-site-branding { min-width: 0; gap: 10px; }
  body.path-frontpage #block-food-and-tours-site-branding img { max-width: 196px; max-height: 68px; }
  body.path-frontpage #block-food-and-tours-site-branding .site-name { display: block; min-width: 0; margin: 0; }
  body.path-frontpage #block-food-and-tours-site-branding .site-name a,
  body.path-frontpage #block-food-and-tours-site-branding .site-branding__name a { color: var(--ft-petrol); font-family: "Segoe UI", system-ui, sans-serif; font-size: 17px; font-weight: 750; letter-spacing: .015em; line-height: 1.2; text-decoration: none; }
  body.path-frontpage #menu #tbm-main > .tbm-nav,
  body.path-frontpage #menu > ul,
  body.path-frontpage #menu > .region-menu > ul { gap: 10px; }
  body.path-frontpage #menu a { min-height: 46px; padding: 10px 16px; font-size: 15px; font-weight: 650; letter-spacing: .01em; }
  body.path-frontpage #menu a:hover,
  body.path-frontpage #menu a:focus-visible,
  body.path-frontpage #menu a.active-trail { color: var(--ft-green); background: #edf3eb; }

  body.path-frontpage .ft-hero-media { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  body.path-frontpage .ft-hero-photo { object-fit: contain; object-position: center; }
  body.path-frontpage .ft-hero-shade { background: linear-gradient(90deg, rgb(10 37 44 / 66%) 0%, rgb(10 37 44 / 49%) 30%, rgb(10 37 44 / 20%) 57%, rgb(10 37 44 / 3%) 82%); }
  body.path-frontpage .ft-showcase-content { width: min(100% - 96px, 1320px); height: 100%; min-height: 0; padding: 42px 0 72px; }
  body.path-frontpage .ft-showcase-copy { width: min(620px, 52%); }
  body.path-frontpage .ft-showcase-copy h1 { max-width: 620px; font-size: clamp(44px, 3.35vw, 56px); line-height: 1.08; letter-spacing: -.032em; }
  body.path-frontpage .ft-showcase-copy > p { max-width: 520px; margin-bottom: 28px; }
  body.path-frontpage .ft-hero-actions { gap: 14px; }
  body.path-frontpage .ft-hero-actions a { min-height: 52px; padding-inline: 21px; }

  body.path-frontpage .ft-search-wrap { width: min(100% - 96px, 1040px); margin: -48px auto 0; }
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form--inline { min-height: 88px; gap: 14px; padding: 15px 17px; border-color: rgb(223 231 225 / 90%); border-radius: 18px; background: rgb(255 255 255 / 97%); box-shadow: 0 18px 44px rgb(16 56 67 / 16%); backdrop-filter: blur(8px); }
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 input[type="text"] { height: 56px; border-color: #e4ebe5; background: #f8faf7; }
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions input[type="submit"],
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions button[type="submit"] { height: 56px; min-width: 138px; padding-inline: 25px; border-radius: 11px; transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions input[type="submit"]:hover,
  body.path-frontpage .ft-search-wrap #views-exposed-form-view-blog-page-slider-home-block-1 .form-actions button[type="submit"]:hover { background: #174c59; box-shadow: 0 7px 18px rgb(16 56 67 / 18%); transform: translateY(-1px); }
  body.path-frontpage #main { padding-top: 0; }
  body.path-frontpage .ft-section-intro { padding-top: 72px; padding-bottom: 36px; }
  body.path-frontpage #contenido .block { margin-bottom: 48px; }
}
