/* Réplica joaomedeirospamelaleite.com — medidas tiradas do site original (tema Flothemes "Porto") a 1351px de largura.
   Equivalentes Google Fonts: Didot → Bodoni Moda · Caslon Italic → EB Garamond itálico · Gotham-Medium → Montserrat · QuestaGrande → Playfair Display · Courier → Courier New */
/* Tipos de letra alojados no próprio site (licença SIL OFL, ficheiros em assets/fonts) */
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400 800; font-display: swap; src: url(fonts/eb-garamond-italic.woff) format('woff'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/eb-garamond.woff) format('woff'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat.woff) format('woff'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/playfair-display.woff) format('woff'); }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(fonts/bodoni-moda.woff) format('woff'); }
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(fonts/bodoni-moda-italic.woff) format('woff'); }
:root {
  --ink: #000;
  --muted: #9e9e9e;
  --paper: #fff;
  --grey-box: #fbfbfb;
  --cream: #f8f4f0;
  --line: #d5d1cc;
  --field: #b6b7b8;
  --didot: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --caslon: 'EB Garamond', 'Adobe Caslon Pro', Georgia, serif;
  --gotham: 'Montserrat', 'Gotham', 'Helvetica Neue', Arial, sans-serif;
  --questa: 'Playfair Display', 'QuestaGrande', Georgia, serif;
  --courier: 'Courier New', Courier, monospace;
  --wrap: 1166px;
  --text: 926px;
  --side: max(20px, calc((100% - var(--wrap)) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--caslon); font-style: italic; font-size: 18px; letter-spacing: .05em; line-height: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
h1, h2, h3, h4, h5, h6, p { font-weight: 400; margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin: 0 auto; padding: 0 20px; }
.text-col { width: 100%; max-width: calc(var(--text) + 40px); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
main { padding-bottom: 47px; }
body.page-tpl main { padding-bottom: 0; }

/* ---------------- Cabeçalho ---------------- */
.site-header { position: relative; }
.site-header .follow { position: absolute; top: 58px; right: var(--side); display: flex; align-items: center; font-size: 12px; line-height: 17px; letter-spacing: .165em; z-index: 3; }
.site-header .follow > span { margin-right: 21px; }
.social { display: flex; gap: 17px; align-items: center; }
.social a { display: inline-flex; width: 13px; height: 13px; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.main-nav a { font-family: var(--courier); font-style: normal; font-size: 24px; line-height: 27px; letter-spacing: .05em; text-transform: uppercase; display: block; }
.burger { display: none; }

/* páginas interiores: logótipo 75px ao centro, menu a 186px, conteúdo a 330px */
.site-header.inner { height: 330px; }
.site-header.inner .logo { position: absolute; top: 45px; left: 50%; transform: translateX(-50%); }
.site-header.inner .logo img { width: 75px; height: 75px; }
.site-header.inner .follow { top: 80px; }
.site-header.inner .main-nav { position: absolute; left: var(--side); right: var(--side); top: 186px; }
/* contacto: cabeçalho compacto seguido do slideshow */
.site-header.compact { height: 186px; }
.site-header.compact .follow { top: 58px; }
.site-header.compact .main-nav { top: 142px; }

/* home: slideshow em ecrã inteiro, menu a 47px do fundo */
.site-header.hero { height: 100vh; min-height: 520px; color: #fff; background: #fffbf8; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; }
.site-header.hero .logo { display: none; }
.site-header.hero .follow { color: #000; }
.site-header.hero .follow > span { margin-right: 26px; }
.site-header.hero .main-nav { position: absolute; left: var(--side); right: var(--side); bottom: 47px; z-index: 3; }
.slide-arrow { position: absolute; top: 0; bottom: 0; width: 135px; z-index: 2; background: none; border: 0; color: #fff; font-size: 54px; line-height: 1; cursor: pointer; opacity: 0; padding: 0; font-family: var(--didot); transition: opacity .3s; }
.slide-arrow.prev { left: 0; } .slide-arrow.next { right: 0; }
.slide-arrow:hover, .slide-arrow:focus-visible { opacity: .85; }
.slides-block { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #2b2b2b; }

/* ---------------- Home ---------------- */
.logo-mark { display: flex; justify-content: center; padding: 60px 0 62px; }
.logo-mark img { width: 45px; height: 45px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; max-width: 1177px; margin: 0 auto; padding-bottom: 62px; }
.card .sq img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-body { background: var(--grey-box); padding: 34px 32px 40px; }
.card-title { font-family: var(--didot); font-style: normal; font-size: 14px; line-height: 16px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 23px; }
.card-excerpt { font-size: 14px; line-height: 14px; letter-spacing: .06em; white-space: nowrap; margin-bottom: 38px; }
.card-date { font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 11px; line-height: 11px; letter-spacing: .1em; }
.highlights { display: grid; grid-template-columns: 389px 1fr; align-items: start; }
.hl-intro { text-align: center; padding: 50px 17px 0; }
.kicker { font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 12px; line-height: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hl-intro .kicker { margin-bottom: 30px; }
.hl-h { font-family: var(--questa); font-style: normal; font-size: 36px; line-height: 50px; letter-spacing: .11em; margin-bottom: 50px; }
.btn { display: inline-block; font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 10px; line-height: 11px; letter-spacing: .1em; text-transform: uppercase; border: .67px solid var(--line); padding: 14.3px 29px; background: none; color: #000; cursor: pointer; }
.hl-grid { display: grid; grid-template-columns: repeat(3, 248px); padding: 0 17px; }
.hl { position: relative; display: block; padding: 0 15px 30px; }
.hl img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.hl-title { position: absolute; left: 15px; right: 15px; top: 0; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 34px; font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 10px; line-height: 2; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; z-index: 1; }
.hl-title::before { content: ''; position: absolute; inset: 28px; background: var(--grey-box); z-index: -1; }
.hl:hover { opacity: 1; } .hl:hover .hl-title, .hl:focus .hl-title { opacity: 1; }
.stories { font-family: var(--questa); font-style: normal; font-size: 50px; line-height: 70px; letter-spacing: .018em; text-align: center; max-width: 1200px; margin: 62px auto 0; padding: 0 20px; }
.stories + .logo-mark { padding-top: 145px; }
.about-teaser { position: relative; }
.about-img { display: block; width: 50%; }
.about-img img { width: 100%; aspect-ratio: 583 / 729; object-fit: cover; }
.about-txt { position: absolute; top: 0; bottom: 0; right: 20px; width: calc((100% - 40px) * .5146); background: var(--grey-box); display: flex; align-items: center; justify-content: center; text-align: center; }
.about-txt .inside { width: 400px; max-width: 80%; }
.about-txt h3 { font-family: var(--questa); font-style: normal; font-size: 50px; line-height: 65px; letter-spacing: -.057em; text-transform: uppercase; margin-bottom: 50px; }
.about-txt p { margin: 0 0 40px; line-height: 18px; }

/* ---------------- Cabeçalho de páginas ---------------- */
.page-head { text-align: center; padding: 0 20px; max-width: calc(var(--wrap) + 40px); margin: 0 auto 95px; }
.page-head h1 { font-family: var(--questa); font-style: normal; font-size: 42px; line-height: 42px; letter-spacing: .02em; text-transform: uppercase; }
.page-head h1.didot { font-family: var(--didot); font-size: 41px; line-height: 41px; text-transform: none; }
.page-head .sub { font-size: 19px; line-height: 19px; }
.journal-head { margin-bottom: 120px; }
.page-banner { margin: 0 auto; }
.page-banner img { width: 100%; height: 342px; object-fit: cover; }
.banner-title { position: relative; margin-top: 100px; }
.banner-title img { height: 228px; }
.banner-title h1 { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--didot); font-style: normal; font-size: 41px; line-height: 41px; letter-spacing: .9px; text-transform: uppercase; color: #000; white-space: nowrap; }

/* ---------------- Texto corrido (about, testemunhos, contacto) ---------------- */
.text-col, .post-content { font-family: var(--gotham); font-style: normal; font-size: 18px; line-height: 23.4px; letter-spacing: -.015em; }
.text-col { padding-top: 99px; }
.text-col p { margin: 0 0 36px; }
.text-col h3 { font-family: var(--questa); font-size: 25.45px; line-height: 70.2px; text-transform: uppercase; letter-spacing: .035em; margin: 0 0 23.4px; }
.text-col h2:empty { display: none; }
.text-col h4 { font-family: var(--gotham); font-weight: 500; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 20px; text-align: center; }
.text-col figure { margin: 0; }
.text-col figure img { width: 100%; }
.text-col em { font-style: italic; }
.contact-text { padding-top: 100px; }
.testimonials p { text-align: center; }
.testimonials p:first-child, .testimonials p:nth-child(2), .testimonials p:nth-child(3) { text-align: left; }
.testi-head { padding-top: 100px; margin-bottom: 80px; }
.testi-head + .text-col { padding-top: 0; padding-bottom: 60px; }
blockquote { margin: 0 0 36px; padding: 0 40px; font-style: italic; }
.c { text-align: center; }

/* bloco de contacto (formulário + redes + email), como no tema */
.contact-tpl { text-align: center; padding: 30px 20px 100px; }
.contact-social { max-width: var(--text); margin: 0 auto; }
.contact-form { max-width: 640px; margin: 0 auto; padding: 0 17px 70px; }
.contact-form .f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; text-align: left; }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea { width: 100%; height: 35px; border: .67px solid var(--field); padding: 1px 13px; margin: 0 0 13px; font-family: var(--caslon); font-style: italic; font-size: 12px; letter-spacing: .1em; background: #fff; color: #000; border-radius: 0; }
.contact-form textarea { height: 131px; padding: 10px 2px 2px 13px; resize: vertical; display: block; }
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid #000; outline-offset: 1px; }
.contact-form .f-submit { display: block; width: 100%; height: 29px; margin: 40px 0 0; border: 0; background: transparent; font-family: var(--didot); font-style: italic; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; text-align: center; cursor: pointer; padding: 1px 6px; }
.contact-form .f-submit:hover { opacity: .6; }
.hp { display: none !important; }
.contact-social .f-follow { font-size: 18px; line-height: 18px; margin-bottom: 20px; }
.contact-social .social { justify-content: center; gap: 17.5px; height: 23px; margin-bottom: 30px; }
.contact-social .social a { width: 13px; height: 13px; }
.f-mail { font-size: 14px; line-height: 14px; }

/* ---------------- Posts ---------------- */
.post-hero { position: relative; margin: 0; }
.with-slides .post-hero { margin-top: 100px; }
.post-content h2 { font-size: 50.9px !important; line-height: 47px !important; margin-bottom: 47px !important; }
.post-hero img { width: 100%; height: auto; margin: 0 auto; object-fit: cover; }
.post-hero figcaption { position: absolute; left: 50%; top: 50%; width: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; padding: 0; }
.post-cat { font-family: var(--gotham); font-style: normal; font-weight: 300; font-size: 22px; line-height: 27px; letter-spacing: .093em; text-transform: uppercase; margin-bottom: 27px; }
.post-hero h1 { font-family: var(--didot); font-style: normal; font-size: 40px; line-height: 48px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 27px; }
.post-content { padding-top: 80px; font-size: 16px; text-align: center; }
.post-excerpt { padding-top: 70px; text-align: center; font-size: 18px; line-height: 18px; }
.post-excerpt p { max-width: 1026px; margin: 0 auto; }
.post-excerpt + .post-content { padding-top: 148px; }
.post-content p { margin: 0 0 32px; }
.post-content p:not(.c) { text-align: left; }
.post-content p.c { text-align: center; }
.post-content figure { margin: 0 0 5.27px; }
.post-content figure img { width: 100%; }
.post-content a { color: var(--muted); }
.post-content h4 { font-family: var(--gotham); font-weight: 500; font-size: 12.73px; line-height: 13px; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 23px; text-align: left; }
.post-content .c { text-align: center !important; }
.post-content .r { text-align: right !important; }
.post-content p > a > img { padding-bottom: 11px; box-sizing: content-box; }
.post-content p > img { padding-bottom: 10px; box-sizing: content-box; }
.post-content p img + br { display: none; }
.post-content.all-c p, .post-content.all-c h4 { text-align: center !important; }
.post-content blockquote { margin: 42px 0 73px; padding: 0 0 0 76px; font-style: normal; }
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content figure.cap { padding: 0 5px; margin: 0 0 29px; }
.post-content figure.cap figcaption { font-family: var(--caslon); font-style: italic; font-size: 12px; line-height: 27px; text-align: left; margin-top: 5px; }
.gal { display: flex; gap: 9px; margin: 0 0 5px; }
.gal > figure { flex: 1 1 0; margin: 0; }
.gal img { height: 100%; object-fit: cover; }
.post-content > :last-child { margin-bottom: 0; }
.post-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding-top: 30px; min-height: 63px; }
.p-left { display: flex; align-items: baseline; gap: 7px; }
.post-tags { text-align: right; max-width: 500px; }
.tag-label { font-size: 12px; line-height: 12px; letter-spacing: .05em; margin: 7px 0 7px; }
.post-tags ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 15px; }
.post-tags li { font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 9px; line-height: 24px; letter-spacing: .07em; text-transform: uppercase; }
.p-date { font-size: 16px; line-height: 16px; letter-spacing: .11em; }
.p-by { font-size: 18px; line-height: 18px; letter-spacing: .128em; }
.share { display: flex; justify-content: flex-end; align-items: center; gap: 57px; padding-top: 47px; }
.share .s-label { font-size: 12px; line-height: 12px; letter-spacing: .05em; }
.share .social { gap: 17px; }
.share .social a { width: 14px; height: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 34px; margin-top: 90px; margin-bottom: 103px; }
.pn { display: block; width: calc(50% - 17px); }
.pn-label { display: flex; align-items: center; gap: 31px; font-size: 25px; line-height: 25px; text-transform: uppercase; }
.pn-arrow { width: 40px; height: 12px; flex: none; }
.pn.next .pn-label { justify-content: flex-start; flex-direction: row-reverse; }
.pn.next .pn-arrow { transform: scaleX(-1); }
.pn-title { display: block; padding: 25px 0 0 71px; font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 13px; line-height: 18.2px; letter-spacing: .1em; text-transform: uppercase; }
.pn.next { text-align: right; }
.pn.next .pn-title { padding: 25px 70px 0 0; }

/* ---------------- Journal ---------------- */
.journal { display: flex; flex-direction: column; gap: 30px; max-width: 1136px; padding: 0; }
.big-card { position: relative; overflow: hidden; }
.big-card .big-img img { width: 100%; aspect-ratio: 1136/871; object-fit: cover; }
.big-hover { position: absolute; inset: 0; display: flex; align-items: flex-start; padding-top: 42.4% !important; justify-content: center; text-align: center; background: rgba(255,255,255,.95); opacity: 0; transition: opacity .35s; padding: 20px; }
.big-card:hover .big-hover, .big-card:focus-within .big-hover { opacity: 1; }
.big-hover .kicker { font-size: 15px; line-height: 19px; letter-spacing: .13em; margin-bottom: 50px; position: relative; z-index: 2; }
.big-hover h3 { font-family: var(--questa); font-style: normal; font-size: 20px; line-height: 25px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 59px; }
.read-more { display: inline-block; font-size: 17px; line-height: 24px; text-transform: uppercase; letter-spacing: .1em; position: relative; z-index: 2; }
.cover-link { position: absolute; inset: 0; z-index: 1; }
.big-hover h3 a, .big-hover .kicker a { position: relative; z-index: 2; }

/* ---------------- Blog (grelha 3 colunas, preenchida coluna a coluna como no original) ---------------- */
.blog-grid { max-width: 1137px; margin: 0 auto; padding-top: 15px; }
.masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; align-items: start; }
.masonry.js { display: flex; gap: 30px; }
.m-col { flex: 1 1 0; min-width: 0; }
.masonry .card { margin-bottom: 30px; }
.masonry .card img { width: 100%; }
.pagination { display: flex; justify-content: center; gap: 10px; padding-top: 66px; font-size: 18px; line-height: 23px; }
.pagination span { font-style: normal; }
.pagination a { color: var(--muted); }

/* ---------------- Mosaico (arquivo de galerias, blog fotografia de casamento) ---------------- */
.mosaics { padding-top: 15px; }
.page-head + .mosaics { padding-top: 0; }
.mosaic { position: relative; height: 583px; }
.mosaics.gap .mosaic { margin-bottom: 30px; }
.m-big { position: absolute; left: 0; top: 0; width: 50%; height: 100%; }
.m-pic, .m-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m-over { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: rgba(80,76,73,.4); padding: 0 128px; pointer-events: none; }
.m-over .inside, .m-txt .inside, .m-text .inside { width: 100%; }
.m-over .kicker { font-size: 15px; line-height: 15px; margin-bottom: 50px; }
.m-over h3, .m-txt h3, .m-text h3 { font-family: var(--questa); font-style: normal; text-transform: uppercase; }
.m-over h3 { font-size: 39px; line-height: 50px; letter-spacing: -.013em; margin-bottom: 50px; position: relative; z-index: 2; pointer-events: auto; }
.m-img { position: absolute; left: 50%; top: 0; width: 50%; height: calc(50% + .5px); display: flex; }
.m-txt { width: 50%; height: 100%; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px; }
.m-img .m-pic { width: 50%; }
.m-txt .kicker { font-size: 12px; line-height: 12px; margin-bottom: 35px; }
.m-txt h3 { font-size: 25px; line-height: 28px; letter-spacing: .075em; margin-bottom: 48px; }
.m-text { position: absolute; left: calc(50% - 17px); right: 0; top: calc(50% - 15px); height: 307px; background: var(--cream); display: flex; align-items: center; padding: 0 60px; z-index: 1; }
.m-text .kicker { font-size: 15px; line-height: 15px; margin-bottom: 25px; }
.m-text h3 { font-size: 25px; line-height: 28px; letter-spacing: .135em; margin-bottom: 22px; }

/* ---------------- Galerias ---------------- */
.g-head { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 90px; margin-bottom: 112px; }
.g-head h1 { font-family: var(--questa); font-style: normal; font-size: 39px; line-height: 39px; letter-spacing: .15em; text-transform: uppercase; }
.g-nav { display: flex; gap: 24px; padding-top: 6px; }
.g-nav a { font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 10px; line-height: 12px; letter-spacing: .1em; text-transform: uppercase; }
.g-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.g-col figure { margin: 0 0 90px; }
.g-col img { width: 100%; }
.g-desc { text-align: center; font-family: var(--gotham); font-style: normal; font-size: 18px; line-height: 23px; }
.g-desc h4 { font-weight: 500; font-size: 12.73px; line-height: 13px; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 23px; }
.g-desc p { margin: 0 0 37px; }
.g-desc img { margin: 0 auto; }
.g-desc + .post-nav { margin-top: 182px; margin-bottom: 93px; }
.g-col figure.empty { min-height: 1px; margin-bottom: 89px; }

/* ---------------- Rodapé ---------------- */
.site-footer { text-align: center; padding: 70px 20px 0; }
.to-top { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: #fff; color: #0a0a0a; }
.to-top svg { width: 22px; height: 22px; }
.f-copy { margin-top: 30px; padding: 60px 0 80px; font-size: 12px; line-height: 12px; color: #0a0a0a; min-height: 176px; }

/* títulos dentro dos posts */
.post-content h2, .post-content h3 { font-family: var(--questa); font-weight: 400; font-size: 25.45px; letter-spacing: .035em; text-transform: uppercase; margin: 0 0 23.4px; line-height: 70.2px; text-align: left; }
.post-content strong, .text-col strong { font-weight: 500; }

/* comentários (enviados por email via FormSubmit) */
.comments { margin-top: 50px; }
.c-head { width: 259px; text-align: center; }
.c-head .kicker { margin-bottom: 15px; }
.c-head h3 { font-family: var(--didot); font-style: normal; font-size: 46px; line-height: 46px; text-transform: uppercase; }
.comment-form { margin-top: 158px; }
.c-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.comment-form input:not([type=submit]):not([type=hidden]), .comment-form textarea { width: 100%; height: 35px; border: .67px solid var(--field); padding: 1px 13px; margin: 0 0 21px; font-family: var(--caslon); font-style: italic; font-size: 12px; letter-spacing: .1em; background: #fff; color: #000; border-radius: 0; }
.comment-form textarea { height: 71px; padding: 10px 2px 2px 13px; margin-bottom: 53px; resize: vertical; display: block; }
.comment-form .f-submit { display: block; width: 100%; height: 29px; border: 0; background: transparent; font-family: var(--didot); font-style: italic; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.c-note { margin-top: 71px; font-size: 16px; line-height: 23.4px; }
.comments + .post-nav { margin-top: 28px; }
.intro-col { padding-top: 100px; padding-bottom: 123px; }

.m-only, img.m-only { display: none; }

/* ---------------- Acrescentos (não existem no original) ---------------- */
.site-header.hero .slides::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 75%); z-index: 1; pointer-events: none; }
.hero-claim { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; text-align: center; color: #fff; width: min(90%, 760px); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.claim { font-family: var(--questa); font-style: normal; font-size: 38px; line-height: 50px; letter-spacing: .03em; }
.claim-en { font-size: 18px; margin: 14px 0 34px; }
.btn-light { color: #fff; border-color: rgba(255,255,255,.8); text-shadow: none; }
.btn-light:hover { background: #fff; color: #000; opacity: 1; }
.how { text-align: center; padding-top: 110px; }
.how .kicker { margin-bottom: 30px; }
.how-h { font-family: var(--questa); font-style: normal; font-size: 36px; line-height: 50px; letter-spacing: .05em; }
.how-en { font-size: 16px; margin: 14px 0 60px; color: #555; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.how-grid > div { background: var(--grey-box); padding: 40px 28px; }
.how-grid h4 { font-family: var(--didot); font-style: normal; font-size: 14px; line-height: 20px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.how-grid p { font-size: 17px; line-height: 23px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 90px; text-align: center; }
.quotes blockquote { margin: 0; padding: 0; }
.quotes blockquote p { font-size: 22px; line-height: 30px; }
.quotes cite { display: block; margin-top: 16px; font-family: var(--gotham); font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.quotes .btn { grid-column: 1 / -1; justify-self: center; margin-top: 20px; }

/* ---------------- Telemóvel / tablet — medidas do original a 390px ---------------- */
@media (max-width: 900px) {
  :root { --side: 17px; }
  .wrap, .site-header.inner { padding-left: 17px; padding-right: 17px; }
  .text-col { padding-left: 42px; padding-right: 42px; }
  main { padding-bottom: 47px; }

  /* cabeçalho: menu (2 traços) ao centro, logótipo por baixo */
  .site-header.inner, .site-header.compact { height: 178px; }
  .site-header.compact { height: 148px; }
  .site-header .logo, .site-header.hero .logo, .site-header.inner .logo { display: block; position: absolute; top: 78px; left: 50%; transform: translateX(-50%); z-index: 6; }
  .site-header .logo img, .site-header.inner .logo img { width: 45px; height: 45px; }
  .m-only, img.m-only { display: block; }
  .d-only, img.d-only { display: none; }
  .site-header .follow { display: none; }
  .burger { display: block; position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: 44px; height: 30px; background: none; border: 0; padding: 0; cursor: pointer; z-index: 7; color: #777; }
  .burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor; transition: transform .25s; }
  .burger span:first-child { top: 12px; } .burger span:last-child { top: 17px; }
  .nav-open .burger { position: fixed; }
  .nav-open .burger span:first-child { top: 15px; transform: rotate(45deg); }
  .nav-open .burger span:last-child { top: 15px; transform: rotate(-45deg); }
  .nav-open .site-header .logo { position: fixed; }
  .main-nav, .site-header.inner .main-nav, .site-header.hero .main-nav { position: fixed; inset: 0; background: #fff; z-index: 5; display: none; padding: 177px 17px 0; overflow-y: auto; }
  .nav-open .main-nav, .nav-open .site-header.inner .main-nav, .nav-open .site-header.hero .main-nav { display: block; }
  .main-nav ul { display: block; }
  .main-nav li { margin-bottom: 28px; }
  .main-nav a, .site-header.hero .main-nav a { color: #555; font-size: 24px; line-height: 27px; }
  .nav-open .site-header .follow { display: flex; position: fixed; top: 413px; left: 17px; right: auto; z-index: 6; color: #000; font-size: 18px; line-height: 25px; letter-spacing: .05em; }
  .nav-open .site-header .follow .social a { width: 16px; height: 16px; }
  .nav-open { overflow: hidden; }

  /* home: cabeçalho branco de 148px e slideshow com a altura do ecrã */
  .site-header.hero { height: calc(148px + 100vh); background: #fff; }
  .site-header.hero .slides { top: 148px; }
  .slide-arrow { top: 148px; width: 39px; }
  .logo-mark { padding: 45px 0 32px; }
  .three { grid-template-columns: 1fr; gap: 25px; padding: 0 32px; max-width: none; }
  .card-body { padding: 35px 20px 40px; }
  .card-title { text-align: center; }
  .card-excerpt { white-space: normal; line-height: 14px; letter-spacing: .1em; }
  .card-excerpt br { display: none; }
  .highlights { display: block; padding-top: 92px; }
  .hl-intro { padding: 0 17px; }
  .hl-h { line-height: 47px; min-height: 94px; margin-bottom: 49px; }
  .hl-grid { display: block; padding: 51px 32px 0; }
  .hl { padding: 0 0 30px; }
  .hl img { aspect-ratio: 3 / 2; }
  .hl-title { left: 0; right: 0; aspect-ratio: 3 / 2; }
  .stories { font-size: 50px; line-height: 70px; margin-top: 40px; padding: 0; }
  .stories + .logo-mark { padding-top: 86px; }
  .about-img { width: 100%; }
  .about-img img { aspect-ratio: 356 / 445; }
  .about-txt { position: static; width: auto; margin: 0 10px; padding: 74px 0 60px; display: block; }
  .about-txt .inside { width: auto; max-width: none; }
  .about-txt h3 { font-size: 50px; line-height: 63px; margin-bottom: 51px; }

  /* cabeçalhos de página */
  .page-head { padding: 23px 17px 0; margin-bottom: 45px; }
  .page-head h1 { font-size: 42px; line-height: 42px; }
  .page-head .sub { line-height: 19px; }
  .journal-head { margin-bottom: 120px; }
  .testi-head { padding: 73px 42px 0; margin-bottom: 45px; }
  .testi-head h1.didot { line-height: 41px; min-height: 82px; }

  /* texto corrido */
  .text-col, .post-content { font-size: 18px; line-height: 23.4px; }
  .text-col h3 { font-size: 12.73px; line-height: 70px; margin: 0 0 23.4px; }
  .text-col { padding-top: 120px; }
  .testi-head + .text-col { padding-top: 0; }
  .page-banner img { height: auto; aspect-ratio: 1166 / 342; }
  .banner-title { margin-top: 30px; padding: 0 17px; }
  .banner-title img { aspect-ratio: 1166 / 228; height: auto; }
  .banner-title h1 { position: static; transform: none; color: #000; text-align: center; margin-top: 58px; }
  .contact-text { padding-top: 108px; }
  .contact-form { padding-left: 0; padding-right: 0; }
  .contact-form .f-grid { grid-template-columns: 1fr; gap: 0; }
  .slides-block { height: 100vh; }

  /* posts */
  .post-hero img { max-width: none !important; }
  .post-hero figcaption { width: 57%; }
  .post-cat { display: none; }
  .post-hero h1 { font-size: 25px; line-height: 30px; letter-spacing: .15em; }
  .post-content { padding-top: 110px; font-size: 16px; }
  .with-slides .post-hero { margin-top: 30px; }
  .post-content h2, .post-content h3 { font-size: 18px; line-height: 1.4; }
  .post-content blockquote { padding-left: 20px; }
  .gal { gap: 9px; }
  .post-meta { flex-direction: column; gap: 20px; }
  .post-tags { text-align: left; }
  .post-tags ul { justify-content: flex-start; }
  .share { justify-content: flex-start; gap: 20px; }
  .c-head { width: 100%; }
  .c-head h3 { font-size: 30px; line-height: 30px; }
  .c-fields { grid-template-columns: 1fr; gap: 0; }
  .comment-form { margin-top: 60px; }
  .c-note { margin-top: 30px; }
  .post-nav { margin-bottom: 60px; }
  .pn-label { font-size: 12px; line-height: 17px; gap: 10px; }
  .pn-arrow { width: 30px; }
  .pn-title { display: none; }
  .comments + .post-nav { margin-top: 40px; }

  /* galerias */
  .g-head { display: block; padding-top: 30px; margin-bottom: 38px; }
  .g-head h1 { font-size: 25px; line-height: 25px; }
  .g-nav { justify-content: center; padding-top: 41px; }
  .g-cols { display: block; }
  .g-col figure { margin-bottom: 10px; }
  .g-col figure.empty { display: block; min-height: 1px; margin-bottom: 9px; }
  .g-desc { padding-top: 20px; }
  .g-desc + .post-nav { margin-top: 90px; }

  /* blog */
  .blog-grid { padding: 15px 32px 0; }
  .masonry, .masonry.js { display: block; }
  .masonry .card { margin-bottom: 14px; }
  .pagination { padding-top: 110px; }

  /* journal */
  .journal { gap: 0; padding: 0 32px; }
  .big-card { margin-bottom: 94px; overflow: visible; }
  .big-card .big-img img { aspect-ratio: 326 / 250; }
  .big-hover { position: static; opacity: 1; background: none; padding: 19px 0 0 !important; display: block; }
  .big-hover .kicker { font-size: 15px; margin-bottom: 22px; }
  .big-hover h3 { font-size: 20px; line-height: 25.5px; margin: 0; }
  .big-hover .read-more { display: none; }

  /* mosaicos */
  .mosaic, .mosaics.gap .mosaic { height: auto; margin-bottom: 0; }
  .m-big, .m-img, .m-text { position: relative; left: auto; top: auto; right: auto; width: auto; height: auto; }
  .m-big { margin: 0 15px; aspect-ratio: 1; }
  .m-over { padding: 0 20px; }
  .m-over h3 { font-size: 25px; line-height: 31px; margin-bottom: 0; }
  .m-img { display: block; }
  .m-txt { width: auto; padding: 81px 20px 97px; }
  .m-txt .kicker { margin-bottom: 33px; }
  .m-txt h3 { font-size: 25px; line-height: 31px; margin-bottom: 0; }
  .m-img .m-pic { width: 100%; aspect-ratio: 1; }
  .m-text { padding: 110px 19px 50px; display: block; }
  .m-text .kicker { margin-bottom: 23px; }
  .m-text h3 { line-height: 29.5px; margin-bottom: 24px; }
}

@media (max-width: 900px) {
  .hero-claim { top: calc(148px + 50vh); }
  .claim { font-size: 26px; line-height: 34px; }
  .claim-en { font-size: 15px; margin: 10px 0 24px; }
  .how { padding-top: 80px; }
  .how-h { font-size: 28px; line-height: 36px; }
  .how-grid, .quotes { grid-template-columns: 1fr; gap: 20px; }
  .quotes { padding-top: 60px; }
}
