/*
Theme Name: RTP Distribuição Internacional
Theme URI: https://media.rtp.pt/distribuicao
Author: RTP
Author URI: https://www.rtp.pt
Description: Tema para o site de Distribuição Internacional da RTP — Bootstrap 5
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: rtp-distribuicao
*/

/* ==========================================================================
   Custom Properties (Design Tokens from Figma)
   ========================================================================== */
:root {
  --rtp-bg: #f7fafc;
  --rtp-dark: #1a1a1a;
  --rtp-text: #52545e;
  --rtp-specs: #2a2a2a;
  --rtp-topbar: #404040;
  --rtp-footer: #263238;
  --rtp-glass-nav: rgba(247, 250, 252, 0.1);
  --rtp-glass-card: rgba(255, 255, 255, 0.24);
  --rtp-glass-channel: rgba(247, 250, 252, 0.1);
  --rtp-border-zone: #cdd7fe;
  --rtp-input-border: #d7d8da;
  --rtp-radius-sm: 12px;
  --rtp-radius-md: 16px;
  --rtp-radius-lg: 24px;
  --rtp-radius-xl: 32px;
}

/* ==========================================================================
   Base overrides (on top of Bootstrap)
   ========================================================================== */
body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--rtp-dark);
  background-color: #f7fafc;
  overflow-x: hidden;
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
  height: 40px;
  background-color: var(--rtp-topbar);
}

.topbar__link {
  font-weight: 700;
  font-size: 14px;
  line-height: 105%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rtp-bg);
}

.topbar__link:hover {
  color: #fff;
}

/* ==========================================================================
   Header — Figma: absolute layout, bg 1440×798 starting at y:40
   Total header visual height: 40 (topbar) + 798 (bg) = 838px
   But content extends to y:619 (channels bottom = 459+160)
   We use 675px as the header height (where Frame 48/main starts)
   ========================================================================== */
.header {
  width: 100%;
  height: 635px; /* 675 - 40 (topbar) */
  margin: 0 auto;
  overflow: visible;
}

.header__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 798px;
  z-index: 0;
  overflow: hidden;
}

.header__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header__content {
  z-index: 1;
}

/* Title — Figma: x:413, y:245 from frame top. Since topbar=40, offset from header top = 245-40=205 */
.header__title {
  position: absolute;
  top: 205px;
  left: 50%;
  transform: translateX(-50%);
  width: 615px;
  max-width: calc(100% - 48px);
  font-weight: 700;
  font-size: 56px;
  line-height: 105%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--rtp-bg);
}

/* Header variant: Canal — Figma: title at y:197, font:40px, header shorter (no channels) */
.header--canal {
  height: 272px; /* 312 (Frame 48 y) - 40 (topbar) */
}

.header--canal .header__title {
  top: 157px; /* y:197 - topbar:40 */
  font-size: 40px;
  width: 615px;
}

/* ==========================================================================
   Channels — Figma: x:135, y:459 from frame top → 459-40=419 from header top
   width:1170, row, gap:20, align:flex-end, each card height:160
   Each card has a gradient overlay for the brand color
   ========================================================================== */
.channels {
  position: absolute;
  top: 419px;
  left: 50%;
  transform: translateX(-50%);
  width: 1170px;
  max-width: calc(100% - 48px);
}

.channels__link {
  height: 160px;
  border-radius: var(--rtp-radius-md);
  background: var(--rtp-glass-channel);
  backdrop-filter: blur(20px);
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient overlays per channel — from Figma Rectangle 11 fills */
.channels__link::before {
  content: '';
  position: absolute;
  top: -58px;
  left: -1px;
  width: 278px;
  height: 219px;
  border-radius: 0;
  z-index: 0;
}

.channels__link--mundo::before {
  background: linear-gradient(184deg, rgba(0, 116, 255, 0) 12%, rgba(1, 96, 209, 1) 100%);
}

.channels__link--noticias::before {
  background: linear-gradient(184deg, rgba(19, 28, 37, 0) 12%, rgba(19, 28, 37, 1) 100%);
}

.channels__link--africa::before {
  background: linear-gradient(184deg, rgba(166, 25, 50, 0) 12%, rgba(166, 25, 50, 1) 100%);
}

.channels__link--acores::before {
  background: linear-gradient(184deg, rgba(78, 174, 6, 0) 12%, rgba(78, 174, 6, 1) 100%);
}

.channels__link:hover {
  transform: scale(1.02);
}

.channels__logo {
  position: relative;
  z-index: 1;
  max-width: 167px;
  height: 40px;
  object-fit: contain;
}

/* ==========================================================================
   Nav Main — Figma: x:136, y:72 from frame top → 72-40=32 from header top
   1170px wide, padding:34px 32px, radius:16
   bg rgba(247,250,252,0.1), blur(24px), justify:space-between
   Inner structure: [items gap:32] ["|" gap:56] [lang gap:16]
   ========================================================================== */
.nav-main {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 1170px;
  max-width: calc(100% - 48px);
  padding: 28px 32px;
  border-radius: var(--rtp-radius-md);
  background: var(--rtp-glass-nav);
  backdrop-filter: blur(24px);
  justify-content: space-between;
  align-items: center;
}

.nav-main__list {
  gap: 32px;
}

.nav-main__right {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-main__lang {
  gap: 16px;
}

.nav-main__separator {
  display: block;
  width: 1px;
  height: 14px;
  background-color: var(--rtp-bg);
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
}

.nav-main__list .nav-main__item a,
.nav-main__item a, .menu-item a {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rtp-bg);
  text-decoration: none;
  transition: opacity 0.2s;
  position: relative;
}

.nav-main__item a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Active state: bold text + 4px dot below — Figma: Ellipse 2, 4×4, #F7FAFC, y:60 */
.nav-main__item--active a,
.nav-main__list .nav-main__item--active a,
.nav-main__list .current-menu-item a,
.nav-main__list .current_page_item a {
  font-weight: 700;
}
.nav-main__item--active a::after,
.nav-main__list .nav-main__item--active a::after,
.nav-main__list .current-menu-item a::after,
.nav-main__list .current_page_item a::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #f7fafc;
}

.nav-main__lang-link {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--rtp-bg);
  text-decoration: none;
  position: relative;
}

.nav-main__lang-link--active {
  font-weight: 700;
}

.nav-main__lang-link--active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #f7fafc;
}

/* ==========================================================================
   Nav Toggle (tablet/mobile) — positioned top-right of header
   ========================================================================== */
.nav-toggle {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 76px;
  background: rgba(247, 250, 252, 0.15);
  backdrop-filter: blur(24px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.nav-toggle:focus {
  box-shadow: none;
}

/* ==========================================================================
   Mobile Menu — Figma: node 251:5971
   Overlay: rgba(0,0,0,0.2) fullscreen
   Panel: x:24, y:61, 345×613, radius:20, bg rgba(42,93,139,0.85), blur(56px)
   ========================================================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.mobile-menu__panel {
  position: absolute;
  top: 61px;
  left: 24px;
  width: 345px;
  max-width: calc(100% - 48px);
  height: 613px;
  border-radius: 20px;
  background: rgba(42, 93, 139, 0.85);
  backdrop-filter: blur(56px);
  overflow: hidden;
}

.mobile-menu__close {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
  width: 281px;
  margin: 0 auto;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu__item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
}

.mobile-menu__item a {
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #f7fafc;
  text-decoration: none;
}

.mobile-menu__item--active a,
.mobile-menu__list .current-menu-item a,
.mobile-menu__list .current_page_item a {
  font-weight: 700;
}

.mobile-menu__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 30px;
}

.mobile-menu__lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu__lang-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  width: 100%;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-align: center;
  color: #f7fafc;
  text-decoration: none;;
}

.mobile-menu__lang-link--active {
  color: #F6FAFC;
  color: color(display-p3 0.9686 0.9804 0.9882);
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
}

/* ==========================================================================
   Hero (decorative background behind satellites)
   Figma: y:702 within Frame 48, 1440×670, overlapped by glass card
   Layers: glow ellipses + image + gradient fade to bg color
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 670px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Glow effect behind image — Figma: Ellipse 7, #6486A3, opacity:0.2, blur:300px */
.hero::before {
  content: '';
  position: absolute;
  top: 197px;
  left: 18px;
  width: 1404px;
  height: 592px;
  border-radius: 50%;
  background: #6486A3;
  opacity: 0.2;
  filter: blur(300px);
  z-index: 0;
  pointer-events: none;
}

/* Gradient fade to background — Figma: Rectangle 14, y:325, gradient to #F7FAFC */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 345px;
  background: linear-gradient(
    180deg,
    rgba(247, 250, 252, 0) 0%,
    rgba(247, 250, 252, 0.3) 50%,
    rgba(247, 250, 252, 1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Site Main — Figma: Frame 48, y:675, 1440×2657, radius:32 32 0 0
   ========================================================================== */
.site-main {
  margin: 0 auto;
  background-color: var(--rtp-bg)!important;
  border-radius: var(--rtp-radius-xl) var(--rtp-radius-xl) 0 0;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Satellites Section — wrapper for hero + glass card
   ========================================================================== */
.satellites-section {
  position: relative;
  overflow: visible;
}

/* ==========================================================================
   Satellites glass card — Figma: Frame 43 (251:4451)
   1170×1397, radius:32, fill: rgba(255,255,255,0.24), backdrop-filter: blur(150px)
   Positioned over the hero — the glassmorphism effect comes from blurring
   the hero image + glow ellipses behind it
   ========================================================================== */
.satellites {
  position: relative;
  z-index: 2;
  max-width: 1170px;
  width: 100%;
  margin: -112px auto 0;
  padding: 72px 0 0;
  border-radius: var(--rtp-radius-xl);
  background: rgba(255, 255, 255, 0.24);
}

.satellites__map {
  max-width: 972px;
  width: 100%;
  height: auto;
  aspect-ratio: 972 / 486;
  margin-left: auto;
  margin-right: auto;
}

.satellites__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Layout below map — Figma: zones at x:0, info at x:396, gap:118px between columns */
.satellites .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 100px;
  gap: 0;
  column-gap: 118px;
  margin-top: 0 !important;
}

.satellites .row > .col-12.col-md-4.col-lg-3 {
  flex: 0 0 278px;
  width: 278px;
  max-width: 100%;
  padding: 0;
}

.satellites .row > .col-12.col-md-8.col-lg-9 {
  flex: 1 1 0;
  min-width: 0;
  max-width: 575px;
  padding: 0;
}

/* ==========================================================================
   Zones — Figma: width:278, column, gap:24, padding:40px 0
   Each zone item: padding:16px 0 32px
   ========================================================================== */
.zones {
  padding: 40px 0;
}

.zones__list {
  gap: 24px !important;
}

.zones__list .zones__item button,
.zones__list .zones__item .zones__link {
  font-weight: 300;
  font-size: 24px;
  line-height: 115%;
  letter-spacing: -0.02em;
  color: var(--rtp-text);
  padding: 16px 0 32px;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 0;
  background: none;
  text-decoration: none;
  display: block;
}
.zones__list .zones__item  a.zones__link:hover{
  font-weight: 700;
  color: var(--rtp-dark);
  padding: 16px 32px 32px;
  border-bottom: 1px solid var(--rtp-border-zone);
}
.zones__list .zones__item--active button,
.zones__list .zones__item--active .zones__link {
  font-weight: 700;
  color: var(--rtp-dark);
  padding: 16px 32px 32px;
  border-bottom: 1px solid var(--rtp-border-zone);
}

.zones__select {
  border: 1px solid var(--rtp-input-border);
  border-radius: 80px;
  padding: 16px 28px 16px 24px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--rtp-text);
}

/* ==========================================================================
   Satellite Info
   ========================================================================== */
/* ==========================================================================
   Satellite Info — Figma: Frame 35 (251:4452)
   x:496, y:558, width:575, column, gap:32, padding:56px 0
   Children order: title → specs (w:330) → emissions (row, gap:20, w:476) → map (476×259)
   ========================================================================== */
.satellite-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 56px 0 152px;
  max-width: 575px;
}

.satellite-info__zone-title {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.02em;
  color: var(--rtp-dark);
}

/* 1. Title — Figma: bold 20px/120% #1A1A1A */
.satellite-info__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 120%;
  color: var(--rtp-dark);
}

/* 2. Specs — Figma: width:330, each row = "Label: Value", 18px/160% */
.satellite-info__specs {
  max-width: 330px;
  margin: 0;
}

.satellite-info__spec-row {
  display: flex;
}

.satellite-info__specs dt {
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  color: #2a2a2a;
}

.satellite-info__specs dt::after {
  content: ':\00a0';
}

.satellite-info__specs dd {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #2a2a2a;
  margin: 0;
}

/* 3. Emissions — Figma: Frame 49, row, gap:20, width:476 */
.satellite-info__emissions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-width: 476px;
}

.satellite-info__emission-block h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: #2a2a2a;
  margin: 0;
}

.satellite-info__pids {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #2a2a2a;
}

/* 4. Coverage map — Figma: 476×259, radius:16 */
.satellite-info__coverage {
  max-width: 476px;
  height: 259px;
  border-radius: var(--rtp-radius-md);
  overflow: hidden;
  margin: 0;
}

.satellite-info__coverage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   About — Figma: Frame 46, x:332, y:0, width:774, column, gap:96, padding:112px 0 56px
   ========================================================================== */
.about {
  padding: 112px 0 56px;
  max-width: 774px;
  width: 100%;
  margin: 0 auto;
}

.about__block {
  margin-bottom: 96px;
}

.about__block:last-child {
  margin-bottom: 0;
}

.about__block h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--rtp-dark);
  margin-bottom: 16px;
}

.about__block p {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-text);
}

/* ==========================================================================
   Page: Canal — Figma: node 344:3383
   ========================================================================== */

/* Intro — Figma: Frame 51, row, gap:20, width:774, within Frame 59 padding-top:72px */
.canal-intro {
  padding: 72px 0 0;
  margin-bottom: 96px;
}

.canal-intro__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 774px;
  width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}

.canal-intro__logo {
  width: 278px;
  height: 156px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
}

.canal-intro__logo-img {
  max-width: 167px;
  height: 40px;
  object-fit: contain;
}

.canal-intro__desc {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-dark);
  max-width: 476px;
}

/* Content — Figma: Frame 50, column, align-items:center, gap:40, fill width (1170px) */
.canal-content {
  padding: 0;
}

.canal-content .container-xl {
  max-width: 1170px;
  padding: 0;
}

.canal-content__block {
  max-width: 774px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.canal-content__block + .canal-content__video {
  margin-top: 40px;
}

.canal-content__block h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--rtp-dark);
  margin-bottom: 16px;
}

.canal-content__block p {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-text);
}

/* Video — Figma: Group 1, fill width (1170px), height:655, radius:24 */
.canal-content__video {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto 40px;
}

.canal-content__video-placeholder {
  width: 100%;
  height: 0;
  padding-bottom: 56%; /* ~16:9 aspect ratio (655/1170 = 56%) */
  border-radius: var(--rtp-radius-lg);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.canal-content__video-placeholder iframe,
.canal-content__video-placeholder video,
.canal-content__video-placeholder > div {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
}

.canal-content__play {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.canal-content__distribution {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-text);
  max-width: 774px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* Info — Figma: Frame 52, column, gap:24, width:774 */
.canal-info {
  padding: 96px 0 0;
}

.canal-info__wrapper {
  max-width: 774px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.canal-info__col.contacto {
    display: inline-block;
}

.canal-info h2 {
  font-weight: 700;
  font-size: 24px;
  color: var(--rtp-dark);
  margin-bottom: 24px;
}

/* Grid — Figma: Frame 57, row, gap:20, 3 equal columns */
.canal-info__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.canal-info__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.canal-info__col dl {
  margin: 0;
}

.canal-info__col dt {
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-text);
}

.canal-info__col dd {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-text);
  margin: 0;
}

/* Button — Figma: Frame 59, border:1px #1A1A1A, radius:80, padding:12px 24px */
.btn-outline {
  display: inline;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--rtp-dark);
  border-radius: 80px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rtp-dark);
  background: none;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--rtp-dark);
  color: var(--rtp-bg);
}

/* Other channels — Figma: Frame 53, row, gap:20, padding:24px 0, width:1170, height:160 */
.canal-others {
  padding: 96px 0;
}

.canal-others .container-xl {
  max-width: 1170px;
  padding: 0 24px;
}

.canal-others__list {
  padding: 24px 0;
  flex-wrap: wrap;
}

.canal-others__link {
  height: 160px;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.canal-others__link--mundo {
  background:
    linear-gradient(198deg, rgba(0, 118, 255, 0) 23%, rgba(0, 98, 217, 1) 96%),
    rgba(0, 116, 255, 0.5);
}
.canal-others__link--noticias {
  background:
    linear-gradient(198deg, rgba(19, 28, 37, 0) 23%, rgba(19, 28, 37, 1) 96%),
    rgba(19, 28, 37, 0.5);
}
.canal-others__link--africa {
  background:
    linear-gradient(195deg, rgba(166, 25, 50, 0) 23%, rgba(166, 25, 50, 1) 96%),
    rgba(166, 25, 50, 0.5);
}
.canal-others__link--acores {
  background:
    linear-gradient(201deg, rgba(78, 174, 6, 0) 23%, rgba(78, 174, 6, 1) 96%),
    rgba(78, 174, 6, 0.5);
}

/* Logo dentro do card */

.canal-others__link img {
  max-width: 120px;
  height: 30px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Page: Contactos — Figma: node 344:3448 (desktop only)
   Frame 59: width:1170, padding:72px 0 96px, gap:96, align:center
   Frame 64: column, gap:64
   ========================================================================== */
.contact {
  padding: 0;
}

.contact .container-xl {
  max-width: 1170px;
  padding: 0 24px;
}

/* Frame 64: Intro + form, gap:64, padding-top:72 */
.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 774px;
  margin: 0 auto;
  padding: 72px 0 0;
}

/* Intro — Figma: width:774, font:18/160% #1A1A1A, align:center vertically */
.contact__intro {
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: var(--rtp-dark);
  margin: 0;
  max-width: 774px;
}

/* Frame 50: Form + button, column, align:center, gap:40, width:774 */
.contact__form,
.fsform-container {
  display: block;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.fsValidationError{
  display: contents;
}
/* Frame 63: Form fields, column, gap:20 */
.contact__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Frame 46: Name + Email row, gap:20 */
.contact__row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
}

.contact__field {
  flex: 1;
  width: 100%;
}

/* Inputs — Frame 58/59: padding:16px 24px, radius:80, border 1px #D7D8DA */
.contact__input,
.contact__select {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid var(--rtp-input-border);
  border-radius: 80px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--rtp-dark);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact__input::placeholder {
  color: var(--rtp-text);
  font-weight: 500;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  border-color: var(--rtp-dark);
}

/* Subject select — Frame 61: padding:16px 28px 16px 24px */
.contact__select {
  padding: 16px 28px 16px 24px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2352545E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 28px center;
  cursor: pointer;
  color: var(--rtp-text);
}

.contact__select:invalid {
  color: var(--rtp-text);
}

/* Message textarea — Frame 62: padding:16px 28px 16px 24px, radius:16, height:238 */
.contact__textarea {
  width: 100%;
  height: 238px;
  padding: 16px 28px 16px 24px;
  border: 1px solid var(--rtp-input-border);
  border-radius: 16px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--rtp-dark);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact__textarea::placeholder {
  color: var(--rtp-text);
  font-weight: 500;
}

/* Submit button — Frame 58: padding:12px 24px, radius:80, border 1px #1A1A1A */
.contact__submit {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* Visually hidden labels (accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*[data-internal-label="nome"] input { ... }
[data-internal-label="email"] input { ... }*/
[data-internal-label="assunto"] select { 
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--rtp-input-border);
    border-radius: 80px;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--rtp-dark);
    outline: none;
    transition: border-color 0.2s ease;
 }
/*  [data-internal-label="mensagem"] textarea { ... } */


.fsform-container input{
  width: 100%;
  padding: 16px 24px;
  border: 1px solid var(--rtp-input-border);
  border-radius: 80px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--rtp-dark);
  outline: none;
  transition: border-color 0.2s ease;
}
.fsform-container textarea
{
  width: 100%;
  height: 238px;
  padding: 16px 28px 16px 24px;
  border: 1px solid var(--rtp-input-border);
  border-radius: 16px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--rtp-dark);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 48px 0;
  background-color: var(--color-bg);
  background-image: url('https://cdn-images.rtp.pt/common/img/404-dsktp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.error-page__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 972px;
  max-width: calc(100% - 48px);
  text-align: center;
}
.error-page__header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 262px;
}
.error-page__code {
  font-weight: 700;
  font-size: 128px;
  line-height: 125%;
  text-align: center;
  color: #0000FF;
}
.error-page__subtitle {
  font-weight: 600;
  font-size: 20px;
  line-height: 125%;
  text-align: center;
  color: #0000FF;
}
.error-page__description {
  font-weight: 500;
  font-size: 16px;
  line-height: 135%;
  text-align: center;
  color: #000000;
}
.error-page__description a {
  font-weight: 600;
  color: #0000FF;
}
.error-page__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 6px 16px 6px 8px;
  background-color: #0000FF;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.error-page__btn:hover {
  opacity: 0.85;
}
.error-page__btn span {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
}


/* ==========================================================================
   Mobile Channels Grid — Figma: Frame 14 (251:5930)
   2 columns, gap:20, each card ~93px tall, radius:12
   Only visible below lg breakpoint (d-lg-none in HTML)
   ========================================================================== */
.channels-mobile {
  margin-bottom: 56px;
}

.channels-mobile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.channels-mobile__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 93px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* Background colors (solid 50% opacity) */
.channels-mobile__link--mundo {
  background-color: rgba(0, 116, 255, 0.5);
}

.channels-mobile__link--noticias {
  background-color: rgba(19, 28, 37, 0.5);
}

.channels-mobile__link--africa {
  background-color: rgba(166, 25, 50, 0.5);
}

.channels-mobile__link--acores {
  background-color: rgba(78, 174, 6, 0.5);
}

/* Gradient overlay */
.channels-mobile__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.channels-mobile__link--mundo::before {
  background: linear-gradient(184deg, rgba(0, 116, 255, 0) 12%, rgba(0, 116, 255, 1) 100%);
}

.channels-mobile__link--noticias::before {
  background: linear-gradient(184deg, rgba(19, 28, 37, 0) 12%, rgba(19, 28, 37, 1) 100%);
}

.channels-mobile__link--africa::before {
  background: linear-gradient(184deg, rgba(166, 25, 50, 0) 12%, rgba(166, 25, 50, 1) 100%);
}

.channels-mobile__link--acores::before {
  background: linear-gradient(184deg, rgba(78, 174, 6, 0) 12%, rgba(78, 174, 6, 1) 100%);
}

.channels-mobile__logo {
  position: relative;
  z-index: 1;
  max-width: 100px;
  height: 24px;
  object-fit: contain;
}
@media (max-width: 768px){
  /* ==========================================================================
   404 Error Page
   ========================================================================== */
.error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 48px 0;
  background-color: var(--color-bg);
  background-image: url('https://cdn-images.rtp.pt/common/img/404-dsktp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.error-page__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 972px;
  max-width: calc(100% - 48px);
  text-align: center;
}
.error-page__header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 262px;
}
.error-page__code {
  font-weight: 700;
  font-size: 128px;
  line-height: 125%;
  text-align: center;
  color: #0000FF;
}
.error-page__subtitle {
  font-weight: 600;
  font-size: 20px;
  line-height: 125%;
  text-align: center;
  color: #0000FF;
}
.error-page__description {
  font-weight: 500;
  font-size: 16px;
  line-height: 135%;
  text-align: center;
  color: #000000;
}
.error-page__description a {
  font-weight: 600;
  color: #0000FF;
}
.error-page__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 6px 16px 6px 8px;
  background-color: #0000FF;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.error-page__btn:hover {
  opacity: 0.85;
}
.error-page__btn span {
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
}

}
/* ==========================================================================
   Footer
   ========================================================================== */
   @media (max-width: 768px) {
    .footer {
      max-width: 1440px;
      margin: 0 auto;
      background-color: var(--rtp-footer);
      min-height: 313px;
    }


  /* Footer */
  .site-footer a{ text-decoration: none;}
  .site-footer { padding: 48px 24px; }
  .site-footer__container { width: 100%; }
  .site-footer__logo { width: 244px; }
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .site-footer__col a {
    font-size: 16px;
    line-height: 155%;
  }
  .site-footer__col a:not(:first-child) { display: none; }
  .site-footer__legal {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .site-footer__policies {
    flex-direction: column;
    gap: 16px;
  }
  .site-footer__policies a { font-size: 14px; }
}


@media (min-width: 992px) {
    .archive-list {
        padding: 0;
    }
}

.uninav-menu-list a {
    color: #90A4AE !important;
}

.site-footer ul {
    padding-left: 0 !important;
}

.site-footer {
    font-family: 'Roboto', sans-serif !important;
    background-color: #263238;
    min-height: 215px;
    color: #90A4AE;
    font-size: 1rem;
    padding: 40px 0;
    text-transform: uppercase;
}

.site-footer a {
    color: inherit;
}

.site-footer-copyright {
    text-transform: none;
}

@media (max-width: 767px) {
    .site-footer-copyright {
        font-size: 0.75rem;
    }
}

.site-footer-nav {
    margin: 1rem -4px;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .site-footer {
        /*padding:70px 0;*/
        font-size: 0.75rem;
    }

    .site-footer-nav {
        font-size: .625rem;
        margin-top: 0;
        margin-bottom: 0;
    }
}

.site-footer-nav a {
    margin: 0 4px;
    text-decoration: none;
}

.logo-rtp-small-white {
    display: inline-block;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .logo-rtp-small-white {
        margin: 0;
        width: 172px;
    }
}

.logo-rtp-small-white img {
    max-width: 100%;
    height: auto;
}

.logo-rtp-small-white span {
    display: none;
}

.footer-menu {
    width: 100%;
    list-style: none;
    margin: 0 -.9375rem 30px;
    padding: 0;
    line-height: 1.75em;
    float: left;
}

.footer-menu > li {
    position: relative;
    float: left;
    min-height: 1px;
    padding-left: .9375rem;
    padding-right: .9375rem;
    width: 100%;
}

.footer-menu li a {
    text-decoration: none;
    color: #FFF;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%;
    letter-spacing: 0.24px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .logo-rtp-small-white {
        float: left;
        max-width: 100%;
    }

    .social-network-horizontal {
        width: 100%;
    }

}

.site-footer-nav a,
.site-footer-copyright {
    font-size: 11px;
}

@media (min-width: 544px) {
    .footer-menu > li {
        width: 50%;
    }

    .footer-menu > li:nth-child(2n+1) {
        clear: left;
    }
}

.footer-menu > li > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
}

.footer-menu .uninav-menu-title {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.footer-menu .uninav-menu-title > span {
    font-weight: 400;
}

.footer-menu .uninav-menu-list {
    color: #90A4AE;
    line-height: inherit;
}

.footer-menu .uninav-menu-list li {
    margin: 0;
}

.footer-menu-title {
    color: #fff;
}
    .footer-menu .uninav-menu-list li{
      list-style:none;
    }
.social-network-horizontal {
    float: left;
    padding: 0;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .footer-menu > li {
        width: 22%;
    }

    .footer-menu > li:last-child {
        width: 34%;
    }

    .footer-menu > li:nth-child(2n+1) {
        clear: none;
    }

    .social-network-horizontal {
        margin: 70px 0 0;
    }
}

.social-network-horizontal li {
    float: left;
    overflow: hidden;
    list-style: none;
    margin-right: 8px;
}

.social-network-horizontal .icon {
    display: block;
    text-align: left;
    text-indent: -999em;
    width: 48px;
    height: 48px;
    background-size: 48px;
}

.epg-channel-list-maintitle.afternoon,
.epg-channel-list-maintitle.evening,
.epg-channel-list-maintitle.morning,
.epg-channel-list-maintitle.primetime {
    text-indent: 0;
}

@media (min-width: 768px) {
    .social-network-horizontal .icon {
        width: 22px;
        height: 22px;
        background-size: 22px;
    }
}

.social-network-horizontal .icon.facebook {
    background-image: url(//rtp.pt/common/img/assets/social-icon-facebook.svg);
}

.social-network-horizontal .icon.twitter {
    background-image: url(//rtp.pt/common/img/assets/social-icon-twitter.svg);
}

.social-network-horizontal .icon.youtube {
    background-image: url(//rtp.pt/common/img/assets/social-icon-youtube.svg);
}

.social-network-horizontal .icon.flickr {
    background-image: url(//rtp.pt/common/img/assets/social-icon-flickr.svg);
}

.social-network-horizontal .icon.instagram {
    background-image: url(//rtp.pt/common/img/assets/social-icon-instagram.svg);
}

.footer-rtp-classic {
    background-color: #fff;
    padding-top: 1.25rem;
}

.footer-rtp-classic .row > div {
    height: 290px;
    background-size: cover;
    background-position: center top;
    padding: 0;
}

.footer-rtp-classic .row > div img {
    display: none;
}

.footer-rtp-classic .row > div h2 {
    font-size: 1.5rem;
}

.footer-rtp-classic .row > div p {
    font-size: 1.4rem;
    line-height: 1.625rem;
}

.footer-rtp-classic .row > div a {
    width: 100%;
    padding: .93rem;
    position: relative;
    height: 290px;
    display: block;
    color: #fff;
    text-decoration: none;
}

.footer-rtp-classic .row > div a .over-elements {
    position: absolute;
    z-index: 1;
    bottom: 10px;
}

.footer-rtp-classic .row > div a .over-elements h2 {
    line-height: 0.9rem;
}

.footer-rtp-classic .row > div a:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    content: '';
    z-index: 0;
    opacity: 0;
    transition: all 0.3s;
}

.footer-rtp-classic .row > div a:hover:after {
    opacity: 1;
    transition: all 0.6s;
}

.footer-rtp-classic .row > div,
.footer-rtp-classic .row > div.gray {
    background-color: #86949A;
}

.footer-rtp-classic .row > div.gray a:before {
    background-image: none;
    display: none;
}

.footer-rtp-classic .row > div.gray .over-elements {
    bottom: auto;
    top: 20px;
}

.footer-rtp-classic .row > div.gray .over-elements p {
    color: #37474f;
    font-size: 1rem;
    line-height: 1.5rem;
}

.footer-rtp-classic .text-highlight {
    color: inherit;
    background-color: transparent !important;
    padding: 40px 15px 15px !important;
}

.footer-rtp-classic .text-highlight p {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
}

.footer-rtp-classic .text-highlight h2 {
    font-weight: 300;
    font-size: 2rem;
    color: #0074FF;
}

/* ==========================================================================
   Formstack — Override styles to match the theme's contact form
   Target: #fsform-container-6611071 .fsBody
   ========================================================================== */

/* Reset Formstack base */
#fsform-container-6611071 .fsBody,
#fsform-container-6611071 .fsForm {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  background: transparent !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Wrapper de cada campo */
#fsform-container-6611071 .fsField {
  margin-bottom: 20px !important;
}

/* Layout de 2 colunas no topo (Nome + Email lado a lado) */
#fsform-container-6611071 .fsSection {
  display: grid !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#fsform-container-6611071 .fsField[data-field-type="text"],
#fsform-container-6611071 .fsFieldShortAnswer,
#fsform-container-6611071 .fsFieldEmail {
  flex: 1 1 calc(50% - 10px) !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
}

#fsform-container-6611071 .fsFieldSelect,
#fsform-container-6611071 .fsFieldLongAnswer {
  flex: 1 1 100% !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

/* Labels */
#fsform-container-6611071 .fsLabel,
#fsform-container-6611071 .fsRequiredLabel {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  color: var(--rtp-text) !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Inputs de texto e email */
#fsform-container-6611071 .fsFieldShortAnswer input[type="text"],
#fsform-container-6611071 .fsFieldEmail input[type="text"],
#fsform-container-6611071 .fsFieldShortAnswer input[type="email"],
#fsform-container-6611071 input.fsField {
  width: 100% !important;
  padding: 16px 24px !important;
  border: 1px solid var(--rtp-input-border) !important;
  border-radius: 80px !important;
  background: transparent !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  color: var(--rtp-dark) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease !important;
  height: auto !important;
}

/* Select — Assunto */
#fsform-container-6611071 .fsFieldSelect select,
#fsform-container-6611071 select.fsField {
  width: 100% !important;
  padding: 16px 28px 16px 24px !important;
  border: 1px solid var(--rtp-input-border) !important;
  border-radius: 80px !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2352545E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 28px center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  color: var(--rtp-text) !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  height: auto !important;
}

/* Textarea — Mensagem */
#fsform-container-6611071 .fsFieldLongAnswer textarea,
#fsform-container-6611071 textarea.fsField {
  width: 100% !important;
  height: 238px !important;
  padding: 16px 28px 16px 24px !important;
  border: 1px solid var(--rtp-input-border) !important;
  border-radius: 16px !important;
  background: transparent !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  letter-spacing: 0.02em !important;
  color: var(--rtp-dark) !important;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical !important;
  transition: border-color 0.2s ease !important;
}

/* Focus em todos os campos */
#fsform-container-6611071 input:focus,
#fsform-container-6611071 select:focus,
#fsform-container-6611071 textarea:focus {
  border-color: var(--rtp-dark) !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Botão de submissão */
#fsform-container-6611071 .fsSubmit {
  text-align: center !important;
  margin-top: 20px !important;
  padding: 0 !important;
  background: transparent !important;
}

#fsform-container-6611071 .fsSubmitButton,
#fsform-container-6611071 button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 12px 24px !important;
  border: 1px solid var(--rtp-dark) !important;
  border-radius: 80px !important;
  background: none !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  color: var(--rtp-dark) !important;
  cursor: pointer !important;
  transition: background 0.2s, color 0.2s !important;
  box-shadow: none !important;
}

#fsform-container-6611071 .fsSubmitButton:hover,
#fsform-container-6611071 button[type="submit"]:hover {
  background: var(--rtp-dark) !important;
  color: var(--rtp-bg) !important;
}

/* Erro de validação */
#fsform-container-6611071 .fsValidationError {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #ff3c3c !important;
  margin-top: 4px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* Marca de campo obrigatório */
#fsform-container-6611071 .fsRequiredMarker {
  color: #ff3c3c !important;
  margin-left: 2px !important;
}

/* Ocultar cabeçalho/rodapé do Formstack (logo, branding) */
#fsform-container-6611071 .fsHeaderImage,
#fsform-container-6611071 .fsFooterImage,
#fsform-container-6611071 .fsSectionHeader {
  display: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  #fsform-container-6611071 .fsFieldShortAnswer,
  #fsform-container-6611071 .fsFieldEmail {
    flex: 1 1 100% !important;
  }
}
