/*
Theme Name: Ecos da Notícia
Theme URI: https://ecosdanoticia.com.br
Author: Ecos da Notícia
Author URI: https://ecosdanoticia.com.br
Description: Tema FSE para o portal de notícias Ecos da Notícia do Acre. Cobertura completa de política, polícia, cotidiano, esporte e economia acreana.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecosdanoticia
Tags: blog, news, full-site-editing, block-patterns, block-styles, custom-colors, custom-menu, editor-style, featured-images, wide-blocks
*/

/* ============================================
   ECOS DA NOTÍCIA - Styles
   ============================================ */

/* Variables — Bridge to WordPress theme.json presets */
:root {
  --blue: var(--wp--preset--color--blue, #0C4293);
  --yellow: var(--wp--preset--color--yellow, #F9C315);
  --dark-blue: var(--wp--preset--color--dark-blue, #003366);
  --white: var(--wp--preset--color--white, #ffffff);
  --red: var(--wp--preset--color--red, #C20C2C);
  --black: var(--wp--preset--color--black, #1a1a1a);

  --font-condensed: var(--wp--preset--font-family--condensed, 'Encode Sans Condensed', sans-serif);
  --font-sans: var(--wp--preset--font-family--sans, 'Encode Sans', sans-serif);
  --font-dm: var(--wp--preset--font-family--dm, 'DM Sans', sans-serif);

  --container-outer: 1220px;
  --container-inner: 1200px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.ronda a:focus-visible,
.sidebar-nav a:focus-visible,
.sidebar-close:focus-visible,
.top-bar .menu-btn:focus-visible,
.top-bar .search-btn:focus-visible {
  outline-color: var(--yellow);
}

/* Container */
.container {
  max-width: var(--container-outer);
  margin: 0 auto;
  padding: 0 10px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
  width: 100%;
}

/* Top Bar */
.top-bar {
  background: var(--blue);
  width: 100%;
  height: 85px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

/* Menu Button */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: background 0.2s;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 1px;
}

.menu-text {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Logo */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
}

/* Search Button */
.search-btn {
  color: var(--white);
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 4px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Search Bar */
.search-bar {
  background: var(--blue);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.search-bar.active {
  max-height: 60px;
}

.search-bar-inner {
  max-width: var(--container-outer);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 10px 12px;
  gap: 10px;
}

.search-input {
  flex: 1;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.search-input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 0;
}

.search-close {
  color: var(--white);
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation Bar */
.nav-bar {
  background: var(--yellow);
  height: 35px;
}

.nav-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list li {
  position: relative;
}

.nav-list li:not(:last-child)::after {
  content: '|';
  color: rgba(0, 0, 0, 0.4);
  margin: 0 14px;
  font-size: 14px;
}

.nav-list a {
  color: rgba(0, 0, 0, 0.8);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.16px;
  transition: opacity 0.2s;
}

.nav-list a:hover {
  opacity: 0.8;
}

/* ============================================
   AD SECTION
   ============================================ */

.ad-section {
  padding: 25px 0;
  background: var(--white);
}

.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ad-slot img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ad-slot--full {
  margin-bottom: 30px;
}

.ad-label {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured-section {
  padding: 35px 0 40px;
}

.featured-article {
  text-align: center;
}

.featured-link {
  display: block;
}

.featured-tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.featured-title {
  font-family: var(--font-condensed);
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  max-width: 1000px;
  margin: 0 auto;
  text-wrap: balance;
}

.featured-link:hover .featured-title {
  color: var(--blue);
}

/* ============================================
   NEWS GRID SECTION
   ============================================ */

.news-grid-section {
  padding-bottom: 30px;
}

/* 2-column layout: content + sidebar */
.section-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

.section-layout__content {
  min-width: 0;
}

.section-layout__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar ad slots */
.ad-slot--sidebar {
  min-height: 0;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot--300x250 {
  height: 250px;
}

.ad-slot--300x600 {
  height: 600px;
}

/* Top row: side cards + main highlight */
.news-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

.news-top__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-top__main {
  display: flex;
}

/* Trio row: 3 small cards */
.news-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---- Cards ---- */

.card a {
  display: block;
  color: inherit;
}

.card__image {
  overflow: hidden;
  border-radius: 4px;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.card a:hover .card__image img {
  transform: scale(1.05);
}

/* Small card */
.card--small .card__image {
  height: 140px;
}

.card--small .card__title {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-top: 8px;
}

.card--small a:hover .card__title {
  color: var(--blue);
}

/* Main card (center highlight) */
.card--main {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.card--main a {
  position: relative;
  display: block;
  height: 100%;
}

.card--main .card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.card--main .card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  border-radius: 0 0 4px 4px;
}

.card--main .card__title {
  font-family: var(--font-condensed);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

/* ---- News Links Row ---- */

.news-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  margin: 20px 0;
}

.news-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.news-link:hover {
  color: var(--blue);
}

.news-link__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   HOME SECTION 02
   ============================================ */

.section-02 {
  padding-bottom: 40px;
}

.cards-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Tagged card */
.card--tagged .card__image {
  position: relative;
  height: 200px;
}

.card__tag {
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
}

.card--tagged .card__title {
  font-family: var(--font-condensed);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-top: 10px;
  text-wrap: pretty;
}

.card--tagged a:hover .card__title {
  color: var(--blue);
}

/* ============================================
   REUSABLE: Section Heading
   ============================================ */

.section-heading {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--black);
  padding: 8px 0;
  border-top: 3px solid var(--blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-wrap: balance;
}

.section-heading--light {
  color: var(--white);
  border-top-color: var(--white);
}

.section-heading--blue {
  color: var(--blue);
}

.section-heading--green {
  color: #0C9311;
  border-top-color: #0C9311;
}

.section-heading--yellow {
  background: var(--yellow);
  border-top: none;
  padding: 10px 16px;
  color: var(--black);
}

/* ============================================
   HOME SECTION 03
   ============================================ */

.section-03 {
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
}

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 30px;
}

/* Large article (left column) */
.article-large a {
  display: block;
  color: inherit;
}

.article-large__tag {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}

.article-large__title {
  font-family: var(--font-condensed);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 12px;
}

.article-large a:hover .article-large__title {
  color: var(--blue);
}

.article-large__excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 16px;
}

.article-large__image {
  overflow: hidden;
  border-radius: 4px;
}

.article-large__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.article-large a:hover .article-large__image img {
  transform: scale(1.05);
}

/* Horizontal card (center column) */
.card-horizontal a {
  display: flex;
  gap: 14px;
  color: inherit;
}

.card-horizontal__text {
  flex: 1;
}

.card-horizontal__tag {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}

.card-horizontal__title {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.card-horizontal a:hover .card-horizontal__title {
  color: var(--blue);
}

.card-horizontal__image {
  flex-shrink: 0;
  width: 130px;
  height: 90px;
  overflow: hidden;
  border-radius: 4px;
}

.card-horizontal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.three-col__center {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.three-col__center .card-horizontal {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

.three-col__center .card-horizontal:first-child {
  padding-top: 0;
}

/* Most read */
.most-read {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.most-read__title {
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 16px;
}

.most-read__list {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.most-read__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0e0e0;
}

.most-read__number {
  font-family: var(--font-condensed);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.most-read__item a {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
}

.most-read__item a:hover {
  color: var(--blue);
}

/* ============================================
   HOME SECTION 04 - RONDA POLICIAL
   ============================================ */

.section-04 {
  padding-bottom: 0;
}

.ronda {
  background: var(--dark-blue);
  padding: 30px 0 40px;
  border-top: 6px solid var(--yellow);
  border-bottom: 6px solid var(--yellow);
}

.ronda__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 20px;
}

.ronda__center {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.ronda__center .card--tagged a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ronda__center .card--tagged .card__image {
  flex: 1;
  height: auto;
}

.ronda .card--tagged .card__title {
  color: var(--white);
  flex-shrink: 0;
}

.ronda .card--tagged a:hover .card__title {
  color: var(--yellow);
}

.ronda .card--main a:hover .card__title {
  color: var(--yellow);
}

.ronda__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Compact horizontal cards */
.card-horizontal--compact a {
  display: flex;
  gap: 12px;
  color: inherit;
  align-items: flex-start;
}

.card-horizontal--compact .card-horizontal__image {
  width: 90px;
  height: 70px;
  flex-shrink: 0;
}

.card-horizontal--compact .card-horizontal__title {
  font-size: 14px;
  line-height: 1.3;
  color: var(--white);
}

.card-horizontal--compact a:hover .card-horizontal__title {
  color: var(--yellow);
}

/* ============================================
   HOME SECTION 05 - COTIDIANO + ESPORTE
   ============================================ */

.section-05 {
  padding: 30px 0;
}

.category-block {
  margin-bottom: 30px;
}

.category-block:last-child {
  margin-bottom: 0;
}

.cards-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-block .card--tagged .card__title {
  color: var(--blue);
}

.category-block--esporte .card--tagged .card__title {
  color: #0C9311;
}

.category-block--esporte .card--tagged a:hover .card__title {
  color: #0a7a0e;
}

/* ============================================
   HOME SECTION 06 - POLÍTICA
   ============================================ */

.politics-section {
  background: #EEEEEE;
  padding: 30px 0 40px;
}

.politics-section .section-heading {
  border-top: none;
}

.politics-grid {
  display: grid;
  grid-template-columns: 575px 1fr;
  gap: 20px;
}

.politics-grid__image {
  overflow: hidden;
  border-radius: 2px;
}

.politics-grid__image img {
  width: 100%;
  height: 268px;
  object-fit: cover;
  display: block;
}

.politics-featured {
  margin-top: 15px;
}

.politics-featured__title {
  font-family: var(--font-condensed);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

.politics-featured a:hover .politics-featured__title {
  color: var(--blue);
}

.politics-grid__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-content: start;
}

.politics-link {
  display: block;
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--black);
  padding: 15px 15px;
}

.politics-link span {
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
  display: block;
}

.politics-link--bold {
  font-weight: 700;
}

.politics-link:hover {
  color: var(--blue);
}

/* ============================================
   HOME SECTION 07 - MAIS NOTÍCIAS
   ============================================ */

.section-07 {
  padding: 30px 0 40px;
}

.more-news {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
}

.more-news__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.more-news__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Story card (horizontal large) */
.card-story a {
  display: flex;
  gap: 20px;
  color: inherit;
}

.card-story__image {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
}

.card-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.card-story a:hover .card-story__image img {
  transform: scale(1.05);
}

.card-story__text {
  flex: 1;
}

.card-story__tag {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}

.card-story__title {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 10px;
}

.card-story a:hover .card-story__title {
  color: var(--blue);
}

.card-story__excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* Load more button */
.load-more {
  text-align: center;
  margin-top: 30px;
}

.load-more__btn {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--black);
  padding: 12px 40px;
  border: 2px solid var(--black);
  border-radius: 4px;
  transition: all 0.2s;
}

.load-more__btn:hover {
  background: var(--black);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

.footer__top {
  background: #f0f0f0;
  padding: 40px 0 30px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo-img {
  height: 60px;
  width: auto;
}

.footer__info {
  margin-bottom: 20px;
}

.footer__info p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #4d4d4d;
  line-height: 1.6;
}

.footer__legal p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #595959;
}

.footer__bar {
  display: flex;
  height: 12px;
}

.footer__bar-blue {
  flex: 1;
  background: var(--blue);
}

.footer__bar-yellow {
  flex: 1;
  background: var(--yellow);
}

/* ============================================
   SIDEBAR MENU
   ============================================ */

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--dark-blue);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0);
  padding-left: env(safe-area-inset-left, 0);
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-title {
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-close {
  color: var(--white);
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.sidebar-close:hover {
  opacity: 0.7;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
}

.sidebar-nav a {
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* --- Sidebar Search --- */

.sidebar-search {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-search__wrap {
  position: relative;
}

.sidebar-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.sidebar-search__input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  outline: none;
  transition: background 0.2s;
}

.sidebar-search__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-search__input:focus {
  background: rgba(255, 255, 255, 0.18);
}

/* --- Sidebar Submenu --- */

.sidebar-nav__item--has-submenu {
  position: relative;
}

.sidebar-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: none;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-nav__toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav__arrow {
  transition: transform 0.25s ease;
}

.sidebar-nav__toggle[aria-expanded="true"] .sidebar-nav__arrow {
  transform: rotate(90deg);
}

.sidebar-submenu {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.15);
}

.sidebar-submenu.active {
  display: flex;
}

.sidebar-submenu a {
  display: block;
  padding: 12px 20px 12px 36px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
}

.sidebar-submenu a::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

/* --- Sidebar WhatsApp Banner --- */

.sidebar-whatsapp {
  margin: 16px 20px;
  background: #25D366;
  border-radius: 8px;
  padding: 16px;
}

.sidebar-whatsapp__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.sidebar-whatsapp__icon {
  color: var(--white);
}

.sidebar-whatsapp__label {
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sidebar-whatsapp__text {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.sidebar-whatsapp__btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--white);
  color: #25D366;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.sidebar-whatsapp__btn:hover {
  opacity: 0.9;
}

/* --- Sidebar Social --- */

.sidebar-social {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 12px;
  justify-content: center;
}

.sidebar-social__link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sidebar-social__link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb {
  border-bottom: 1px solid #eee;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 15px 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 14px;
}

.breadcrumb__item {
  color: #666;
}

.breadcrumb__item a:hover {
  color: var(--blue);
}

.breadcrumb__item:not(:last-child)::after {
  content: '›';
  margin: 0 10px;
  color: #aaa;
}

.breadcrumb__item--current {
  color: var(--black);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 500px;
}

/* ============================================
   ARTICLE PAGE
   ============================================ */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 30px 0 40px;
}

/* Article Header */
.article-header {
  margin-bottom: 28px;
}

.article-header__tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.article-header__title {
  font-family: var(--font-condensed);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  max-width: 800px;
  text-wrap: balance;
  margin-bottom: 16px;
}

.article-header__meta {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.article-header__separator {
  color: #ccc;
}

.article-header__share {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #555;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.share-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* Article Hero Image */
.article-hero {
  margin-bottom: 30px;
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.article-hero__caption {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-top: 8px;
  line-height: 1.5;
}

.article-hero__credit {
  font-weight: 700;
  color: #666;
  font-style: normal;
}

/* Article Body */
.article-body {
  margin-bottom: 30px;
}

.article-body p {
  font-family: var(--font-dm);
  font-size: 18px;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: var(--font-condensed);
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin: 32px 0 16px;
  border-left: 4px solid var(--blue);
  padding-left: 12px;
}

.article-body h3 {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin: 24px 0 12px;
}

.article-body blockquote {
  border-left: 4px solid var(--yellow);
  padding: 16px 20px;
  background: #f9f9f9;
  font-style: italic;
  margin: 24px 0;
  font-family: var(--font-dm);
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.article-body strong {
  font-weight: 700;
}

.article-body a {
  color: var(--blue);
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  margin: 16px 0 24px;
  padding-left: 24px;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  font-family: var(--font-dm);
  font-size: 18px;
  line-height: 1.8;
  color: var(--black);
  margin-bottom: 8px;
}

.article-body__figure {
  margin: 24px 0;
}

.article-body__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.article-body__figure figcaption {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.5;
}

/* Article Tags */
.article-tags {
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.article-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.article-tags__item {
  display: inline-block;
  background: #f0f0f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}

.article-tags__item:hover {
  background: var(--blue);
  color: var(--white);
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-sidebar .most-read {
  height: auto;
}

.article-sidebar .most-read__list {
  justify-content: flex-start;
  gap: 0;
}

.article-sidebar .most-read__item {
  padding: 12px 0;
}

/* Related News */
.related-news {
  padding: 30px 0 40px;
}

/* ============================================
   BLOG LISTING PAGE
   ============================================ */

.blog-heading {
  margin-top: 30px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  padding-bottom: 40px;
}

.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.blog-item:first-child {
  padding-top: 0;
}

.blog-item a {
  display: flex;
  gap: 20px;
  align-items: center;
  color: inherit;
}

.blog-item__image {
  flex-shrink: 0;
  width: 280px;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
}

.blog-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.blog-item a:hover .blog-item__image img {
  transform: scale(1.05);
}

.blog-item__text {
  flex: 1;
}

.blog-item__meta {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-item__category {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-item__separator {
  color: #ccc;
}

.blog-item__title {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.blog-item a:hover .blog-item__title {
  color: var(--blue);
}

/* ============================================
   SEARCH RESULTS PAGE
   ============================================ */

.search-header {
  padding: 30px 0 24px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.search-header__title {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.search-header__form {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.search-header__input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-header__icon {
  position: absolute;
  left: 14px;
  color: #999;
  pointer-events: none;
}

.search-header__input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  transition: border-color 0.2s;
}

.search-header__input:focus {
  outline: none;
  border-color: var(--blue);
}

.search-header__btn {
  padding: 12px 28px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-header__btn:hover {
  background: #093576;
}

.search-header__count {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #666;
}

.search-header__count strong {
  color: var(--black);
}

.search-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  padding-bottom: 40px;
}

.search-results .blog-item__title mark {
  background: rgba(249, 195, 21, 0.3);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-staff {
  margin: 24px 0;
  list-style: none;
}

.about-staff__item {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.about-staff__item:last-child {
  border-bottom: none;
}

.about-staff__role {
  font-family: var(--font-condensed);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
  font-weight: 700;
  min-width: 160px;
}

.about-staff__name {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--black);
}

.about-map {
  margin: 8px 0 0;
  border-radius: 8px;
  overflow: hidden;
}

.about-map iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* ============================================
   HERO SECTIONS
   ============================================ */

/* --- Hero Estático (Foto + Texto) --- */

.hero-static {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero-static__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: flex-end;
}

.hero-static__content {
  position: relative;
  max-width: 800px;
  padding: 50px 40px 50px 44px;
  border-left: 4px solid var(--yellow);
  margin-left: 60px;
  margin-bottom: 40px;
}

.hero-static__tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.hero-static__title {
  font-family: var(--font-condensed);
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-static__subtitle {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--white);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 600px;
}

.hero-static__cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.hero-static__cta:hover {
  opacity: 0.9;
}

/* --- Hero Slider (Swiper) --- */

.hero-slider {
  background: var(--dark-blue);
  padding: 40px 0 36px;
  overflow: hidden;
}

.hero-slider__header {
  text-align: center;
  margin-bottom: 28px;
}

.hero-slider__label {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 6px;
}

.hero-slider__heading {
  font-family: var(--font-condensed);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.hero-slider__wrapper {
  position: relative;
}

.hero-slider__container {
  position: relative;
}

/* Cards */
.hero-card {
  display: block;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  height: 100%;
}

.hero-card:hover {
  transform: translateY(-4px);
}

.hero-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.hero-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-card:hover .hero-card__image img {
  transform: scale(1.05);
}

.hero-card__body {
  padding: 16px;
}

.hero-card__tag {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue);
  margin-bottom: 8px;
}

.hero-card__title {
  font-family: var(--font-condensed);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.hero-card:hover .hero-card__title {
  color: var(--blue);
}

/* Swiper Navigation */
.hero-slider__prev,
.hero-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, border-color 0.2s;
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.hero-slider__prev {
  left: -22px;
}

.hero-slider__next {
  right: -22px;
}

/* Swiper Pagination */
.hero-slider__pagination {
  text-align: center;
  margin-top: 24px;
}

.hero-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  margin: 0 5px;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
  background: var(--yellow);
  transform: scale(1.2);
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-form {
  margin: 24px 0 32px;
}

.contact-form__group {
  margin-bottom: 16px;
}

.contact-form__label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  margin-bottom: 6px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--black);
  background: #fafafa;
  transition: border-color 0.2s;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.contact-form__textarea {
  height: 160px;
  resize: vertical;
}

.contact-form__btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form__btn:hover {
  opacity: 0.9;
}

/* --- WhatsApp Banners --- */

.contact-whatsapp {
  display: flex;
  gap: 20px;
  margin: 32px 0;
}

.contact-whatsapp__card {
  flex: 1;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-whatsapp__card--direct {
  background: #25D366;
  color: var(--white);
}

.contact-whatsapp__card--group {
  background: var(--blue);
  color: var(--white);
}

.contact-whatsapp__card-title {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-whatsapp__card-text {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
}

.contact-whatsapp__card-btn {
  display: block;
  padding: 12px;
  background: var(--white);
  border-radius: 4px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin-top: auto;
  transition: opacity 0.2s;
}

.contact-whatsapp__card-btn:hover {
  opacity: 0.9;
}

.contact-whatsapp__card--direct .contact-whatsapp__card-btn {
  color: #25D366;
}

.contact-whatsapp__card--group .contact-whatsapp__card-btn {
  color: var(--blue);
}

/* --- Contact Info --- */

.contact-info {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--black);
}

.contact-info__item a {
  color: var(--black);
  transition: color 0.2s;
}

.contact-info__item a:hover {
  color: var(--blue);
}

.contact-info__icon {
  color: var(--blue);
  flex-shrink: 0;
}

/* ============================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================ */

@media (max-width: 1024px) {
  /* Section 01 - News Grid */
  .section-layout {
    grid-template-columns: 1fr;
  }

  .section-layout__sidebar {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .news-top {
    grid-template-columns: 200px 1fr;
  }

  /* Section 03 - 3 columns */
  .three-col {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .three-col__right {
    grid-column: 1 / -1;
  }

  /* Section 04 - Ronda */
  .ronda__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ronda__right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .ronda__right .ad-slot {
    grid-column: 1 / -1;
    width: 100%;
  }

  /* Section 05 - Cotidiano + Esporte */
  .cards-quad {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section 06 - Política */
  .politics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .politics-grid__image img {
    height: 220px;
  }

  .politics-featured__title {
    font-size: 24px;
  }

  /* Section 07 - Mais Notícias */
  .more-news {
    grid-template-columns: 1fr;
  }

  .more-news__sidebar {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .card-story__image {
    width: 220px;
    height: 150px;
  }

  /* Article Page */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  /* Blog Page */
  .blog-layout {
    grid-template-columns: 1fr;
  }

  /* Search Page */
  .search-layout {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE - TABLET SMALL (max 768px)
   ============================================ */

@media (max-width: 768px) {
  /* Header */
  .logo-img {
    height: 36px;
  }

  .nav-list a {
    font-size: 12px;
  }

  .nav-list li:not(:last-child)::after {
    margin: 0 8px;
  }

  /* Featured */
  .featured-title {
    font-size: 36px;
  }

  /* Section 01 */
  .news-top {
    grid-template-columns: 1fr;
  }

  .news-top__side {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .news-trio {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-links {
    grid-template-columns: 1fr;
  }

  /* Section 02 */
  .cards-trio {
    grid-template-columns: 1fr 1fr;
  }

  /* Section 03 */
  .three-col {
    grid-template-columns: 1fr;
  }

  .three-col__center .card-horizontal:first-child {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
  }

  /* Section 04 - Ronda */
  .ronda__grid {
    grid-template-columns: 1fr;
  }

  .ronda__center {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .ronda__right {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  /* Section 06 - Política */
  .politics-grid {
    grid-template-columns: 1fr;
  }

  .politics-grid__links {
    grid-template-columns: 1fr 1fr;
  }

  .politics-link {
    padding: 12px 10px;
    font-size: 16px;
  }

  /* Section 07 */
  .card-story a {
    gap: 14px;
  }

  .card-story__image {
    width: 180px;
    height: 130px;
  }

  .card-story__title {
    font-size: 18px;
  }

  .card-story__excerpt {
    display: none;
  }

  /* Ad slots sidebar */
  .ad-slot--sidebar {
    width: auto;
    max-width: 300px;
  }

  .ad-slot--300x600 {
    display: none;
  }

  /* Article Page */
  .article-header__title {
    font-size: 30px;
  }

  .breadcrumb__item--current {
    max-width: 300px;
  }

  /* Blog Page */
  .blog-item__image {
    width: 200px;
    height: 140px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (max 480px)
   ============================================ */

@media (max-width: 480px) {
  /* Header */
  .top-bar {
    height: 65px;
  }

  .menu-text {
    display: none;
  }

  .logo-img {
    height: 28px;
  }

  .nav-bar {
    height: auto;
  }

  .nav-bar .container {
    padding: 8px 10px;
    overflow-x: auto;
  }

  .nav-list {
    white-space: nowrap;
  }

  .nav-list a {
    font-size: 11px;
  }

  .nav-list li:not(:last-child)::after {
    margin: 0 6px;
  }

  /* Featured */
  .featured-section {
    padding: 20px 0 25px;
  }

  .featured-tag {
    font-size: 12px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }

  .featured-title {
    font-size: 26px;
  }

  /* Section 01 */
  .news-top__side {
    grid-template-columns: 1fr;
  }

  .news-trio {
    grid-template-columns: 1fr;
  }

  /* Section 02 */
  .cards-trio {
    grid-template-columns: 1fr;
  }

  /* Section 03 */
  .card-horizontal__image {
    width: 100px;
    height: 70px;
  }

  .article-large__title {
    font-size: 22px;
  }

  /* Most read */
  .most-read__list {
    gap: 12px;
  }

  /* Section 04 - Ronda */
  .ronda__center {
    grid-template-columns: 1fr;
  }

  .ronda__right {
    grid-template-columns: 1fr;
  }

  .card-horizontal--compact .card-horizontal__image {
    width: 80px;
    height: 60px;
  }

  /* Section 05 */
  .cards-quad {
    grid-template-columns: 1fr;
  }

  /* Section 06 - Política */
  .politics-grid__links {
    grid-template-columns: 1fr;
  }

  .politics-featured__title {
    font-size: 22px;
  }

  .politics-link {
    padding: 10px 0;
    font-size: 15px;
  }

  /* Section 07 */
  .card-story a {
    flex-direction: column;
    gap: 10px;
  }

  .card-story__image {
    width: 100%;
    height: 200px;
  }

  .card-story__excerpt {
    display: none;
  }

  /* Footer */
  .footer__logo-img {
    height: 45px;
  }

  .footer__info p {
    font-size: 13px;
  }

  /* Load more */
  .load-more__btn {
    width: 100%;
    padding: 14px;
  }

  /* Section heading */
  .section-heading {
    font-size: 16px;
  }

  /* Article Page */
  .article-header__title {
    font-size: 26px;
  }

  .article-header__meta {
    font-size: 13px;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
  }

  .article-body blockquote {
    font-size: 15px;
    padding: 12px 16px;
  }

  .article-body h2 {
    font-size: 22px;
  }

  .breadcrumb__item--current {
    max-width: 200px;
  }

  .related-news .cards-quad {
    grid-template-columns: 1fr;
  }

  /* Blog Page */
  .blog-item a {
    flex-direction: column;
    gap: 12px;
  }

  .blog-item__image {
    width: 100%;
    height: 200px;
  }

  .blog-item__title {
    font-size: 18px;
  }

  /* Search Page */
  .search-header__form {
    flex-direction: column;
  }

  .search-header__input {
    font-size: 18px;
  }

  .search-header__btn {
    width: 100%;
    padding: 14px;
  }

  /* Contact Page */
  .contact-whatsapp {
    flex-direction: column;
  }

  .about-staff__item {
    flex-direction: column;
    gap: 4px;
  }

  .about-staff__role {
    min-width: 0;
  }
}

/* ============================================
   CONTENT VISIBILITY
   ============================================ */

.section-02,
.section-03,
.section-04,
.ronda,
.section-05,
.section-06,
.politics-section,
.section-07,
.news-links {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   WORDPRESS FSE OVERRIDES
   ============================================ */

/* Remove default WordPress block margins/padding that conflict with theme layout */
.wp-site-blocks > * + * {
  margin-top: 0;
}

/* Ensure WordPress post images match card patterns */
.wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Query Loop post template grid support */
.wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* WordPress navigation block overrides for nav-bar styling */
.nav-bar .wp-block-navigation__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-bar .wp-block-navigation-item__content {
  color: rgba(0, 0, 0, 0.8);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.16px;
  transition: opacity 0.2s;
}

.nav-bar .wp-block-navigation-item__content:hover {
  opacity: 0.8;
}

/* WordPress post title link styling */
.wp-block-post-title a {
  text-decoration: none;
  color: inherit;
}

.wp-block-post-title a:hover {
  color: var(--blue);
}

/* WordPress post terms (category tags) */
.wp-block-post-terms a {
  text-decoration: none;
}

/* WordPress query pagination styling */
.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 30px 0;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
  font-family: var(--font-condensed);
  font-weight: 700;
}
