.ndo-adv-page{--ndo-adv-primary:#041e42;--ndo-adv-accent:#fff;--ndo-adv-surface:#f5f6f8;--ndo-adv-max:1180px;font-family:inherit;color:#17202a}.ndo-adv-page *{box-sizing:border-box}.ndo-adv-wrap{width:min(calc(100% - 36px),var(--ndo-adv-max));margin:0 auto}.ndo-adv-block{padding:30px 0}.ndo-adv-bg-white{background:#fff}.ndo-adv-bg-soft{background:var(--ndo-adv-surface)}.ndo-adv-bg-brand{background:var(--ndo-adv-primary);color:var(--ndo-adv-accent)}.ndo-adv-block h2{font-size:clamp(30px,4vw,52px);line-height:1.03;margin:0 0 24px}.ndo-adv-kicker{font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px;opacity:.72}.ndo-adv-block p{font-size:18px;line-height:1.65;max-width:900px}.ndo-adv-center{text-align:center}.ndo-adv-center p{margin-left:auto;margin-right:auto}.ndo-adv-hero{min-height:340px;padding:68px 0;background:var(--ndo-adv-primary);background-position:center;background-size:cover;color:var(--ndo-adv-accent);display:flex;align-items:center}.ndo-adv-hero h1{font-size:clamp(42px,7vw,82px);line-height:.95;margin:0 0 18px;text-transform:uppercase}.ndo-adv-hero p{font-size:20px;max-width:760px}.ndo-adv-hero-logo{max-width:240px;max-height:110px;object-fit:contain;margin-bottom:22px}.ndo-adv-anchor-nav{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:26px}.ndo-adv-anchor-nav a{color:inherit;text-decoration:none;font-weight:700;border-bottom:1px solid currentColor}.ndo-adv-banner-img{display:block;width:100%;height:auto;border-radius:4px}.ndo-adv-split-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.ndo-adv-split-right .ndo-adv-split-media{order:2}.ndo-adv-split-media img{width:100%;height:auto;display:block}.ndo-adv-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.ndo-adv-video{aspect-ratio:16/9}.ndo-adv-video iframe{width:100%;height:100%;border:0}.ndo-adv-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ndo-adv-gallery-grid img{width:100%;height:320px;object-fit:cover}.ndo-adv-cta{text-align:center}.ndo-adv-cta p{margin-left:auto;margin-right:auto}.ndo-adv-btn{display:inline-block;margin-top:16px;padding:14px 22px;background:var(--ndo-adv-primary);color:var(--ndo-adv-accent)!important;text-decoration:none;font-weight:800;border-radius:2px}.ndo-adv-bg-brand .ndo-adv-btn{background:var(--ndo-adv-accent);color:var(--ndo-adv-primary)!important}.ndo-adv-contact-grid{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:42px;align-items:center}.ndo-adv-contact-logo{max-width:260px;max-height:130px;object-fit:contain}.ndo-adv-contact-copy a{color:inherit}.ndo-adv-contact-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px}.ndo-adv-contact-links a{font-weight:800}.ndo-adv-shortcode>*:first-child{margin-top:0}@media(max-width:800px){.ndo-adv-block{padding:22px 0}.ndo-adv-split-grid,.ndo-adv-contact-grid{grid-template-columns:1fr}.ndo-adv-split-right .ndo-adv-split-media{order:0}.ndo-adv-video-grid,.ndo-adv-gallery-grid{grid-template-columns:1fr}.ndo-adv-gallery-grid img{height:auto}.ndo-adv-hero{min-height:280px}}

/* Tipografia ajustável por bloco — 21/09/2026 */
.ndo-adv-block h2{font-size:var(--ndo-adv-title-size,clamp(28px,4vw,46px));}
.ndo-adv-block p,.ndo-adv-block li,.ndo-adv-block address{font-size:var(--ndo-adv-text-size,inherit);}
.ndo-adv-kicker{font-size:var(--ndo-adv-kicker-size,inherit);}
.ndo-adv-hero h1{font-size:var(--ndo-adv-title-size,clamp(38px,6vw,68px));}
.ndo-adv-hero p{font-size:var(--ndo-adv-text-size,inherit);}

/* Alinhamento e links de texto — 21/09/2026 */
.ndo-adv-align-left{text-align:left}.ndo-adv-align-center{text-align:center}.ndo-adv-align-right{text-align:right}.ndo-adv-align-center p{margin-left:auto;margin-right:auto}.ndo-adv-align-right p{margin-left:auto;margin-right:0}.ndo-adv-align-center .ndo-adv-anchor-nav{justify-content:center}.ndo-adv-align-right .ndo-adv-anchor-nav{justify-content:flex-end}.ndo-adv-text-link{margin-top:18px}.ndo-adv-text-link a{color:var(--ndo-adv-primary);font-weight:800;text-decoration:underline;text-underline-offset:3px}.ndo-adv-bg-brand .ndo-adv-text-link a{color:var(--ndo-adv-accent)}

.ndo-adv-hero{display:block;padding-top:0}.ndo-adv-hero>.ndo-adv-wrap{padding-top:68px;padding-bottom:68px}.ndo-adv-hero-banner-wrap{width:100%;margin:0 0 0}.ndo-adv-hero-banner-link{display:block;width:100%}.ndo-adv-hero-banner{display:block;width:100%;height:auto;max-height:none;object-fit:cover}.ndo-adv-align-right .ndo-adv-hero-logo{margin-left:auto}.ndo-adv-align-center .ndo-adv-hero-logo{margin-left:auto;margin-right:auto}.ndo-adv-align-left .ndo-adv-hero-logo{margin-right:auto}.ndo-adv-common select{width:100%}
@media(max-width:800px){.ndo-adv-hero>.ndo-adv-wrap{padding-top:42px;padding-bottom:42px}}

/* 1.0.5 — esconde o título automático do tema nas páginas de anunciantes. O título dentro do Hero/blocos continua disponível. */
body.single-ndo_anunciante .entry-title,
body.single-ndo_anunciante .page-title,
body.single-ndo_anunciante .wp-block-post-title,
body.single-ndo_anunciante h1.entry-title{display:none!important;}

/* 1.0.7 — espaçamento vertical mais compacto entre blocos */
.ndo-adv-block + .ndo-adv-block{padding-top:24px;}
@media(max-width:800px){.ndo-adv-block + .ndo-adv-block{padding-top:18px;}}

/* 1.0.8 — controlo individual de tipografia, alinhamento e espaçamento */
.ndo-adv-block{padding-top:var(--ndo-adv-space-top,12px);padding-bottom:var(--ndo-adv-space-bottom,12px)}
.ndo-adv-block + .ndo-adv-block{padding-top:var(--ndo-adv-space-top,12px)}
.ndo-adv-block h2,.ndo-adv-hero h1{font-weight:var(--ndo-adv-title-weight,800)}
.ndo-adv-block p,.ndo-adv-block li,.ndo-adv-block address,.ndo-adv-hero p{font-weight:var(--ndo-adv-text-weight,400)}
.ndo-adv-kicker{font-weight:var(--ndo-adv-kicker-weight,800)}
.ndo-adv-title-left,.ndo-adv-text-left,.ndo-adv-kicker-left{text-align:left}
.ndo-adv-title-center,.ndo-adv-text-center,.ndo-adv-kicker-center{text-align:center}
.ndo-adv-title-right,.ndo-adv-text-right,.ndo-adv-kicker-right{text-align:right}
.ndo-adv-text-center{margin-left:auto!important;margin-right:auto!important}
.ndo-adv-text-right{margin-left:auto!important;margin-right:0!important}
.ndo-adv-hero{padding-bottom:0}
.ndo-adv-hero>.ndo-adv-wrap{padding-top:var(--ndo-adv-space-top,12px);padding-bottom:var(--ndo-adv-space-bottom,12px)}
.ndo-adv-footer{border-top:1px solid rgba(0,0,0,.08)}
.ndo-adv-footer-grid{display:grid;grid-template-columns:minmax(140px,240px) 1fr;gap:32px;align-items:center}
.ndo-adv-footer-logo{display:block;max-width:220px;max-height:110px;object-fit:contain}
.ndo-adv-footer-links{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:14px}
.ndo-adv-footer-links a{color:inherit;text-decoration:none;font-weight:700}
.ndo-adv-bg-brand.ndo-adv-footer{border-top-color:rgba(255,255,255,.18)}
@media(max-width:800px){.ndo-adv-footer-grid{grid-template-columns:1fr}.ndo-adv-hero>.ndo-adv-wrap{padding-top:var(--ndo-adv-space-top,12px);padding-bottom:var(--ndo-adv-space-bottom,12px)}}

/* 1.0.9 — Rodapé em 3 colunas: logo | texto | contactos */
.ndo-adv-footer-grid{
  display:grid;
  grid-template-columns:minmax(150px,240px) minmax(0,1.45fr) minmax(220px,.85fr);
  gap:42px;
  align-items:start;
}
.ndo-adv-footer-left{display:flex;justify-content:flex-start;align-items:flex-start;min-width:0}
.ndo-adv-footer-logo{display:block;max-width:220px;width:100%;height:auto;max-height:130px;object-fit:contain;object-position:left top}
.ndo-adv-footer-center{min-width:0;text-align:center}
.ndo-adv-footer-center h2,.ndo-adv-footer-center .ndo-adv-kicker{text-align:center}
.ndo-adv-footer-center p{margin-left:auto!important;margin-right:auto!important;max-width:680px}
.ndo-adv-footer-right{min-width:0;text-align:right}
.ndo-adv-footer-right p{margin:0 0 10px auto;max-width:360px}
.ndo-adv-footer-right a{color:inherit}
.ndo-adv-footer-address{font-style:normal}
.ndo-adv-footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px 10px;margin-top:14px}
.ndo-adv-footer-links a{color:inherit;text-decoration:none;font-weight:700}
@media(max-width:900px){
  .ndo-adv-footer-grid{grid-template-columns:1fr;gap:24px}
  .ndo-adv-footer-left{justify-content:center}
  .ndo-adv-footer-logo{object-position:center;max-width:210px}
  .ndo-adv-footer-center,.ndo-adv-footer-right{text-align:center}
  .ndo-adv-footer-right p{margin-left:auto;margin-right:auto}
  .ndo-adv-footer-links{justify-content:center}
}

/* 1.0.10 — espaço após banner do cabeçalho + linha inferior do rodapé */
.ndo-adv-hero-banner-wrap{margin-bottom:var(--ndo-adv-hero-banner-gap,24px)}
.ndo-adv-footer-bottom{
  grid-column:1/-1;
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px 24px;
  flex-wrap:wrap;
  font-size:13px;
  line-height:1.45;
}
.ndo-adv-bg-brand .ndo-adv-footer-bottom{border-top-color:rgba(255,255,255,.22)}
.ndo-adv-footer-copyright{font-size:inherit}
.ndo-adv-footer-bottom-links{display:flex;align-items:center;justify-content:flex-end;gap:8px 10px;flex-wrap:wrap;font-size:inherit}
.ndo-adv-footer-bottom-links a{color:inherit;text-decoration:none;font-weight:700}
@media(max-width:900px){
  .ndo-adv-footer-bottom{justify-content:center;text-align:center;margin-top:18px;padding-top:16px}
  .ndo-adv-footer-copyright{width:100%}
  .ndo-adv-footer-bottom-links{justify-content:center;width:100%}
}

/* 1.0.11 — remoção robusta do título automático emitido pelo tema */
body.single-ndo_anunciante .entry-header > .entry-title,
body.single-ndo_anunciante .entry-header > h1,
body.single-ndo_anunciante .post-title,
body.single-ndo_anunciante .single-post-title,
body.single-ndo_anunciante .single-title,
body.single-ndo_anunciante .page-header .page-title,
body.single-ndo_anunciante .post-header .entry-title,
body.single-ndo_anunciante article > header.entry-header,
body.single-ndo_anunciante main > .page-header{display:none!important;}


/* 1.0.12 — Imagem + Shortcode e reforço da ocultação de títulos do tema */
.ndo-adv-image-shortcode-grid{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:36px;align-items:start}
.ndo-adv-image-shortcode-media img{display:block;width:100%;height:auto;object-fit:contain}
.ndo-adv-image-shortcode-right .ndo-adv-image-shortcode-media{order:2}
body.single-ndo_anunciante #main .entry-title,
body.single-ndo_anunciante #primary .entry-title,
body.single-ndo_anunciante .site-main > h1,
body.single-ndo_anunciante .content-area > h1,
body.single-ndo_anunciante .inside-article > header,
body.single-ndo_anunciante .entry-content > h1:first-child{display:none!important}
@media(max-width:800px){.ndo-adv-image-shortcode-grid{grid-template-columns:1fr;gap:20px}.ndo-adv-image-shortcode-right .ndo-adv-image-shortcode-media{order:0}}


/* 1.0.15 — bloco Imagem + Conteúdo/Shortcode: duas colunas reais e conteúdo ajustado */
.ndo-adv-image-shortcode-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:32px;
  align-items:center;
  width:100%;
}
.ndo-adv-image-shortcode-media,
.ndo-adv-image-shortcode-code{
  min-width:0;
  width:100%;
  max-width:100%;
}
.ndo-adv-image-shortcode-media img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.ndo-adv-image-shortcode-code{
  overflow:hidden;
}
.ndo-adv-image-shortcode-code > *{
  min-width:0!important;
  max-width:100%!important;
}
.ndo-adv-image-shortcode-code img,
.ndo-adv-image-shortcode-code iframe,
.ndo-adv-image-shortcode-code table{
  max-width:100%!important;
}
.ndo-adv-image-shortcode-code .ndo-inter-wrap,
.ndo-adv-image-shortcode-code .ndo-inter-page,
.ndo-adv-image-shortcode-code .ndo-inter-section,
.ndo-adv-image-shortcode-code .ndo-inter-fuel{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
.ndo-adv-image-shortcode-right .ndo-adv-image-shortcode-media{order:2}
.ndo-adv-image-shortcode-right .ndo-adv-image-shortcode-code{order:1}
@media(max-width:800px){
  .ndo-adv-image-shortcode-grid{grid-template-columns:1fr!important;gap:20px}
  .ndo-adv-image-shortcode-right .ndo-adv-image-shortcode-media,
  .ndo-adv-image-shortcode-right .ndo-adv-image-shortcode-code{order:initial}
}

/* 1.0.16 — bloco horizontal de 2, 3 ou 4 imagens com título e link */
.ndo-adv-image-row-grid{
  display:grid;
  gap:24px;
  width:100%;
  align-items:start;
}
.ndo-adv-image-row-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ndo-adv-image-row-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ndo-adv-image-row-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ndo-adv-image-row-item{min-width:0}
.ndo-adv-image-row-media{display:block;width:100%;overflow:hidden}
.ndo-adv-image-row-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
}
.ndo-adv-image-row-title{margin-top:10px;font-weight:700;line-height:1.25}
.ndo-adv-image-row-title a{color:inherit;text-decoration:none}
@media(max-width:900px){
  .ndo-adv-image-row-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndo-adv-image-row-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .ndo-adv-image-row-grid{grid-template-columns:1fr!important;gap:18px}
}

/* 1.0.17 — imagens horizontais completas, sem crop, com altura ajustável */
.ndo-adv-image-row-media{
  display:flex;
  width:100%;
  min-height:220px;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.ndo-adv-image-row-media img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:var(--ndo-row-max-h,360px);
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center center;
}
@media(max-width:600px){
  .ndo-adv-image-row-media{min-height:0}
  .ndo-adv-image-row-media img{max-height:none;width:100%;height:auto}
}


/* 1.0.18 — controlo de altura no bloco Imagem + Conteúdo/Shortcode */
.ndo-adv-image-height-content .ndo-adv-image-shortcode-grid{
  align-items:stretch!important;
}
.ndo-adv-image-height-content .ndo-adv-image-shortcode-media{
  position:relative;
  min-height:0;
  height:auto;
}
.ndo-adv-image-height-content .ndo-adv-image-shortcode-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center center;
}
.ndo-adv-image-height-fixed .ndo-adv-image-shortcode-media{
  height:var(--ndo-image-shortcode-h,300px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.ndo-adv-image-height-fixed .ndo-adv-image-shortcode-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
}
.ndo-adv-image-height-auto .ndo-adv-image-shortcode-media img{
  width:100%;
  height:auto;
  object-fit:contain;
}
@media(max-width:800px){
  .ndo-adv-image-height-content .ndo-adv-image-shortcode-media{
    position:static;
    height:auto;
  }
  .ndo-adv-image-height-content .ndo-adv-image-shortcode-media img{
    position:static;
    width:100%;
    height:auto;
    max-height:none;
  }
  .ndo-adv-image-height-fixed .ndo-adv-image-shortcode-media{
    height:auto;
  }
  .ndo-adv-image-height-fixed .ndo-adv-image-shortcode-media img{
    width:100%;
    height:auto;
    max-height:var(--ndo-image-shortcode-h,300px);
  }
}


/* 1.0.19 — 2/3/4 shortcodes ou flipbooks em linha */
.ndo-adv-shortcode-row-grid{
  display:grid;
  gap:24px;
  width:100%;
  align-items:start;
}
.ndo-adv-shortcode-row-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ndo-adv-shortcode-row-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ndo-adv-shortcode-row-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ndo-adv-shortcode-row-item{min-width:0;width:100%}
.ndo-adv-shortcode-row-title{font-weight:700;line-height:1.25;margin:0 0 10px}
.ndo-adv-shortcode-row-content{min-width:0;width:100%;overflow:hidden}
.ndo-adv-shortcode-row-content > *{max-width:100%!important;min-width:0!important}
.ndo-adv-shortcode-row-content iframe,
.ndo-adv-shortcode-row-content img,
.ndo-adv-shortcode-row-content canvas,
.ndo-adv-shortcode-row-content video,
.ndo-adv-shortcode-row-content table{max-width:100%!important}
@media(max-width:900px){
  .ndo-adv-shortcode-row-cols-4,.ndo-adv-shortcode-row-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .ndo-adv-shortcode-row-grid{grid-template-columns:1fr!important;gap:18px}
}


/* v1.0.20 — DearFlip em grelha: respeita a thumbnail escolhida no flipbook */
.ndo-adv-shortcode-row-content ._df_thumb,
.ndo-adv-shortcode-row-content .df-popup-thumb {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.ndo-adv-shortcode-row-content ._df_thumb img,
.ndo-adv-shortcode-row-content .df-popup-thumb img {
    max-width: 100% !important;
    height: auto !important;
}

/* 1.0.21 — lightbox para fotografias da página */
.ndo-adv-lightbox-trigger{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  color:inherit;
  font:inherit;
  cursor:zoom-in;
  max-width:100%;
}
.ndo-adv-lightbox-trigger img{display:block;max-width:100%}
.ndo-adv-lightbox-banner{display:block;width:100%}
.ndo-adv-lightbox-banner .ndo-adv-banner-img{width:100%}
.ndo-adv-lightbox-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.88);
}
.ndo-adv-lightbox-overlay[hidden]{display:none!important}
.ndo-adv-lightbox-dialog{
  position:relative;
  max-width:min(1400px,96vw);
  max-height:94vh;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ndo-adv-lightbox-image{
  display:block;
  max-width:100%;
  max-height:90vh;
  width:auto;
  height:auto;
  object-fit:contain;
  box-shadow:0 10px 40px rgba(0,0,0,.35);
}
.ndo-adv-lightbox-close{
  position:absolute;
  top:-18px;
  right:-18px;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:999px;
  background:#fff;
  color:#111;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
body.ndo-adv-lightbox-open{overflow:hidden}
@media(max-width:600px){
  .ndo-adv-lightbox-overlay{padding:14px}
  .ndo-adv-lightbox-dialog{max-width:100%;max-height:92vh}
  .ndo-adv-lightbox-close{top:-10px;right:-6px}
}


/* 1.0.23 — a cor de marca escolhida no backoffice prevalece sobre o tema */
.ndo-adv-page .ndo-adv-bg-brand{background-color:var(--ndo-adv-primary)!important;}
.ndo-adv-page .ndo-adv-hero{background-color:var(--ndo-adv-primary)!important;}


/* 1.0.25 — Imagem + Link / Reservas centrado — 22/09/2026 */
.ndo-adv-image-shortcode-reservation-image{display:block;width:100%;text-decoration:none}
.ndo-adv-image-shortcode-reservation-image img{display:block;width:100%;height:auto}
.ndo-adv-reservation-content{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;text-align:center}
.ndo-adv-align-center .ndo-adv-reservation-content{align-items:center;text-align:center}
.ndo-adv-align-right .ndo-adv-reservation-content{align-items:flex-end;text-align:right}
.ndo-adv-reservation-btn{margin-top:8px}
