/*
Theme Name: OMT Theme One
Theme URI: https://omatogrosso.com
Author: O Mato Grosso
Author URI: https://omatogrosso.com
Description: Tema profissional ultra leve e responsivo para o portal O Mato Grosso. Inspirado nos melhores portais de notícias do Brasil (G1, R7, Metrópoles) com design moderno, tipografia jornalística e performance otimizada.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omt-theme
Tags: news, portal, responsive, lightweight, accessibility-ready
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #1C5426;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Primary palette */
  --omt-primary: #1C5426;
  --omt-primary-dark: #143D1C;
  --omt-primary-light: #2A7A38;
  --omt-primary-ultra-light: #E8F5E9;
  --omt-primary-alpha-10: rgba(28, 84, 38, 0.1);
  --omt-primary-alpha-20: rgba(28, 84, 38, 0.2);

  /* Neutral palette */
  --omt-black: #0D0D0D;
  --omt-dark: #1a1a1a;
  --omt-gray-900: #212121;
  --omt-gray-800: #333333;
  --omt-gray-700: #424242;
  --omt-gray-600: #555555;
  --omt-gray-500: #757575;
  --omt-gray-400: #9e9e9e;
  --omt-gray-300: #bdbdbd;
  --omt-gray-200: #e0e0e0;
  --omt-gray-100: #f0f0f0;
  --omt-gray-50: #f5f5f5;
  --omt-white: #ffffff;

  /* Accent */
  --omt-accent: #C79E5B;

  /* Alert colors */
  --omt-urgente: #D32F2F;
  --omt-urgente-bg: #FFEBEE;
  --omt-ao-vivo: #E53935;
  --omt-destaque: #FF6F00;

  /* Typography */
  --font-headline: 'Merriweather', 'Georgia', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-meta: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 840px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Header height */
  --header-height: 60px;
  --topbar-height: 36px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.25;
  color: var(--omt-dark);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--omt-gray-700);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LAYOUT
   ============================================ */
.omt-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.omt-grid {
  display: grid;
  gap: var(--space-lg);
}

.omt-grid--main {
  grid-template-columns: 1fr;
}

@media (min-width: 1280px) {
  .omt-grid--main {
    grid-template-columns: 1fr 320px;
  }
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.omt-progress-bar {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--omt-accent), var(--omt-primary), var(--omt-accent));
  transition: background var(--transition-normal);
}

.omt-progress-bar.is-scrolling {
  background: var(--omt-primary);
}

.omt-progress-bar__fill {
  height: 100%;
  width: 0;
  background: var(--omt-accent);
}

/* ============================================
   TOP BAR (Mobile Only — date, weather, social)
   ============================================ */
.omt-topbar {
  background: var(--omt-primary-dark);
  color: var(--omt-white);
  font-size: 0.72rem;
  font-family: var(--font-meta);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

/* Hide topbar on desktop */
@media (min-width: 1280px) {
  .omt-topbar {
    display: none;
  }
}

.omt-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.omt-topbar__info-mobile {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0.95;
}

.omt-topbar__info-mobile-col1,
.omt-topbar__info-mobile-col2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.omt-topbar__time {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.omt-topbar__greeting {
  font-size: 0.6rem;
  color: var(--omt-accent);
  line-height: 1;
}

.omt-topbar__info-mobile-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 var(--space-xs);
}

.omt-topbar__date {
  font-weight: 500;
  font-size: 0.6rem;
  line-height: 1;
  white-space: nowrap;
}

.omt-topbar__weather {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 0.6rem;
  line-height: 1;
}

.omt-topbar__weather svg {
  width: 10px;
  height: 10px;
}

.omt-topbar__social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.omt-topbar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--omt-white);
  transition: background var(--transition-fast);
}

.omt-topbar__social a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--omt-white);
}

/* ============================================
   HEADER
   ============================================ */
.omt-header {
  background: var(--omt-white);
  border-bottom: 3px solid var(--omt-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal), padding var(--transition-normal);
}

.omt-header.is-scrolled {
  box-shadow: var(--shadow-lg);
}

.omt-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--space-md);
  transition: padding var(--transition-normal);
}

.omt-header.is-scrolled .omt-header__inner {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.omt-header__left,
.omt-header__right {
  display: flex;
  align-items: center;
  flex: 1;
}

.omt-header__left {
  justify-content: flex-start;
  gap: var(--space-md);
}

.omt-header__right {
  justify-content: flex-end;
  gap: var(--space-sm);
}

.omt-header__center {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
}

/* Logo */
.omt-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.omt-logo img,
.omt-logo svg,
.omt-logo__img {
  height: 60px;
  width: auto;
  transition: height var(--transition-normal);
}

.omt-header.is-scrolled .omt-logo img,
.omt-header.is-scrolled .omt-logo svg,
.omt-header.is-scrolled .omt-logo__img {
  height: 52px;
}

@media (max-width: 1279px) {

  .omt-logo img,
  .omt-logo svg,
  .omt-logo__img {
    height: 48px;
  }

  .omt-header.is-scrolled .omt-logo img,
  .omt-header.is-scrolled .omt-logo svg,
  .omt-header.is-scrolled .omt-logo__img {
    height: 42px;
  }
}

.omt-logo__text {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 900;
  color: var(--omt-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  transition: font-size var(--transition-normal);
}

.omt-header.is-scrolled .omt-logo__text {
  font-size: 1.6rem;
}

@media (max-width: 1279px) {
  .omt-logo__text {
    font-size: 1.6rem;
  }

  .omt-header.is-scrolled .omt-logo__text {
    font-size: 1.4rem;
  }
}

.omt-logo__text span {
  display: block;
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--omt-gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: font-size var(--transition-normal);
}

.omt-header.is-scrolled .omt-logo__text span {
  font-size: 0.52rem;
}

/* Desktop: Greeting, Time, Date, Weather */
.omt-header__info {
  display: none;
  align-items: center;
  gap: var(--space-md);
  white-space: nowrap;
  font-family: var(--font-meta);
}

@media (min-width: 1280px) {
  .omt-header__info {
    display: flex;
  }
}

.omt-header__info-col1,
.omt-header__info-col2 {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.omt-header__info-col1 {
  align-items: flex-end;
}

.omt-header__time {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--omt-dark);
  line-height: 1;
}

.omt-header__greeting {
  color: var(--omt-primary);
  font-weight: 700;
  font-size: 0.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.omt-header__info-sep {
  width: 1px;
  height: 24px;
  background: var(--omt-gray-200);
  margin: 0 4px;
}

.omt-header__date-text {
  color: var(--omt-gray-600);
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1;
}

.omt-header__weather {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--omt-gray-500);
  font-size: 0.65rem;
  line-height: 1;
}

.omt-header__weather-icon {
  display: flex;
  align-items: center;
}

.omt-header__weather-icon svg {
  width: 12px;
  height: 12px;
}

/* Search — Minimal Style (always visible) */
.omt-search-btn-minimal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--omt-dark);
  cursor: pointer;
  border-radius: 50%;
  transition: all var(--transition-fast);
  z-index: 2; /* To sit on top of the expanding input */
  position: relative;
}

.omt-search-btn-minimal:hover {
  background: var(--omt-primary-alpha-10);
  color: var(--omt-primary);
}

/* Header Search - Desktop Expandable */
.omt-header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.omt-header-search__input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: none;
  background: var(--omt-primary-alpha-10);
  color: var(--omt-dark);
  font-size: 0.9rem;
  border-radius: 20px;
  outline: none;
  transition: width 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
  position: absolute;
  right: 0; 
  padding-right: 36px; /* Space for the button */
  pointer-events: none;
  z-index: 1;
}

.omt-header-search.is-active .omt-header-search__input {
  width: 200px;
  padding: 8px 40px 8px 16px; 
  opacity: 1;
  pointer-events: auto;
}

.omt-header-search.is-active .omt-search-btn-minimal {
  background: transparent; /* No hover bg when active, or keep it, up to design */
  color: var(--omt-primary);
}

/* Mobile Search Bar (Below Header) */
.omt-mobile-search-bar {
  display: none;
  background: var(--omt-white);
  padding: 10px 15px;
  border-bottom: 1px solid var(--omt-gray-200);
}

.omt-mobile-search-bar.is-active {
  display: block;
}

.omt-mobile-search-bar form {
  display: flex;
  width: 100%;
}

.omt-mobile-search-bar input {
  width: 100%;
  border: none;
  background: var(--omt-primary-alpha-10);
  padding: 10px 15px;
  border-radius: 20px;
  outline: none;
  color: var(--omt-dark);
  font-size: 1rem;
}

@media (max-width: 767px) {
  .omt-header-search__input {
    display: none; /* Desktop input hidden on mobile, button stays visible */
  }
}

/* Desktop: Social Icons in Header */
.omt-header__social {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: var(--space-sm);
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .omt-header__social {
    display: flex;
  }
}

.omt-header__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--omt-gray-500);
  transition: all var(--transition-fast);
}

.omt-header__social a:hover {
  background: var(--omt-primary-alpha-10);
  color: var(--omt-primary);
}

/* Hamburger */
.omt-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.omt-hamburger:hover {
  background: var(--omt-gray-100);
}

.omt-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--omt-gray-700);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.omt-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.omt-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.omt-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1280px) {
  .omt-hamburger {
    display: none;
  }
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */
.omt-nav {
  background: var(--omt-primary);
  position: relative;
  z-index: 999;
}

.omt-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

.omt-nav__list {
  display: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1280px) {
  .omt-nav__list {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .omt-nav__list::-webkit-scrollbar {
    display: none;
  }
}

.omt-nav__list .menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
}

.omt-nav__list .menu-item>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 0.5rem;
  color: var(--omt-white);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.omt-nav__list .menu-item>a:hover,
.omt-nav__list .menu-item.current-menu-item>a {
  background: rgba(255, 255, 255, 0.15);
  color: var(--omt-white);
}

/* Dropdown */
.omt-nav__list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--omt-white);
  border-top: 3px solid var(--omt-primary);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 100;
  padding: var(--space-xs) 0;
}

.omt-nav__list .menu-item:hover>.sub-menu {
  display: block;
  animation: omt-fadeDown 0.2s ease;
}

.omt-nav__list .sub-menu .menu-item>a {
  color: var(--omt-gray-800);
  font-size: 0.8rem;
  text-transform: none;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
}

.omt-nav__list .sub-menu .menu-item>a:hover {
  background: var(--omt-primary-ultra-light);
  color: var(--omt-primary);
}

@keyframes omt-fadeDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile nav overlay */
.omt-mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: var(--omt-white);
  z-index: 10000;
  transition: left var(--transition-normal);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.omt-mobile-nav.is-open {
  left: 0;
}

.omt-mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid var(--omt-gray-200);
  background: var(--omt-primary);
}

.omt-mobile-nav__close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--omt-white);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.omt-mobile-nav__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.omt-mobile-nav__title {
  color: var(--omt-white);
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
}

.omt-mobile-nav .menu-item>a {
  display: block;
  padding: 0.8rem var(--space-md);
  color: var(--omt-gray-800);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--omt-gray-100);
  transition: background var(--transition-fast);
}

.omt-mobile-nav .menu-item>a:hover {
  background: var(--omt-primary-ultra-light);
  color: var(--omt-primary);
}

.omt-mobile-nav .sub-menu {
  background: var(--omt-gray-50);
}

.omt-mobile-nav .sub-menu .menu-item>a {
  padding-left: calc(var(--space-md) + var(--space-md));
  font-size: 0.85rem;
  color: var(--omt-gray-600);
}

/* Mobile nav overlay bg */
.omt-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.omt-mobile-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Mobile search panel */
.omt-mobile-search {
  display: none;
  padding: var(--space-md);
  background: var(--omt-white);
  border-bottom: 1px solid var(--omt-gray-200);
}

.omt-mobile-search.is-open {
  display: block;
  animation: omt-fadeDown 0.2s ease;
}

.omt-search-form--mobile {
  max-width: 100%;
}

.omt-search-form--mobile .omt-search-form__submit {
  width: auto;
  border-radius: 100px;
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--font-body);
}

/* ============================================
   BREAKING NEWS TICKER
   ============================================ */
.omt-ticker {
  background: var(--omt-urgente);
  color: var(--omt-white);
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.omt-ticker__label {
  background: var(--omt-black);
  color: var(--omt-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.omt-ticker__label::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 18px 8px;
  border-color: transparent transparent transparent var(--omt-black);
}

.omt-ticker__scroll {
  display: flex;
  animation: omt-ticker-scroll 30s linear infinite;
  padding-left: var(--space-md);
}

.omt-ticker__item {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  padding-right: 3rem;
}

.omt-ticker__item a {
  color: var(--omt-white);
}

.omt-ticker__item a:hover {
  text-decoration: underline;
  color: var(--omt-white);
}

@keyframes omt-ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   HERO SECTION (Featured Posts Grid)
   ============================================ */
.omt-hero {
  padding: var(--space-lg) 0;
}

.omt-hero__grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .omt-hero__grid {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
  }

  .omt-hero__main {
    grid-row: 1 / 3;
  }
}

/* Main hero card */
.omt-hero__main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--omt-black);
  min-height: 380px;
}

.omt-hero__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform var(--transition-slow);
}

.omt-hero__main:hover .omt-hero__main-img {
  transform: scale(1.03);
}

.omt-hero__main-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--omt-white);
}

.omt-hero__main-content .omt-category-badge {
  margin-bottom: var(--space-sm);
}

.omt-hero__main-content h2 {
  font-size: 1.6rem;
  color: var(--omt-white);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .omt-hero__main-content h2 {
    font-size: 2rem;
  }
}

.omt-hero__main-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Secondary hero cards */
.omt-hero__secondary {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--omt-black);
  min-height: 180px;
}

.omt-hero__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform var(--transition-slow);
}

.omt-hero__secondary:hover img {
  transform: scale(1.03);
}

.omt-hero__secondary-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: var(--omt-white);
}

.omt-hero__secondary-content h3 {
  font-size: 1rem;
  color: var(--omt-white);
  line-height: 1.3;
}

/* ============================================
   CATEGORY BADGE
   ============================================ */
.omt-category-badge {
  display: inline-block;
  background: var(--omt-primary);
  color: var(--omt-white);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-meta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  transition: background var(--transition-fast);
}

.omt-category-badge:hover {
  background: var(--omt-primary-light);
  color: var(--omt-white);
}

.omt-category-badge--urgente {
  background: var(--omt-urgente);
}

.omt-category-badge--destaque {
  background: var(--omt-destaque);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.omt-section-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--omt-gray-200);
  position: relative;
}

.omt-section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--omt-primary);
}

.omt-section-header h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--omt-primary);
  white-space: nowrap;
}

.omt-section-header a.omt-see-all {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--omt-primary);
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.omt-section-header a.omt-see-all:hover {
  opacity: 0.7;
}

/* ============================================
   NEWS CARD
   ============================================ */
.omt-card {
  background: var(--omt-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.omt-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.omt-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.omt-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.omt-card__image .omt-category-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
}

.omt-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.omt-card__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-sm);
  color: var(--omt-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.omt-card__title a {
  color: inherit;
}

.omt-card__title a:hover {
  color: var(--omt-primary);
}

.omt-card__excerpt {
  font-size: 0.85rem;
  color: var(--omt-gray-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.omt-card__meta {
  font-size: 0.72rem;
  color: var(--omt-gray-400);
  font-family: var(--font-meta);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.omt-card__meta svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

/* Horizontal card variant */
.omt-card--horizontal {
  flex-direction: row;
}

.omt-card--horizontal .omt-card__image {
  width: 140px;
  min-width: 140px;
  aspect-ratio: auto;
}

@media (min-width: 768px) {
  .omt-card--horizontal .omt-card__image {
    width: 180px;
    min-width: 180px;
  }
}

.omt-card--horizontal .omt-card__body {
  padding: var(--space-sm) var(--space-md);
  justify-content: center;
}

.omt-card--horizontal .omt-card__title {
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
}

.omt-card--horizontal .omt-card__excerpt {
  display: none;
}

/* Card grid layouts */
.omt-cards-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .omt-cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .omt-cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .omt-cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .omt-cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .omt-cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   LATEST POSTS / LIST STYLE
   ============================================ */
.omt-latest-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.omt-latest-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--omt-gray-100);
}

.omt-latest-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.omt-latest-item__number {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--omt-primary-alpha-20);
  line-height: 1;
  flex-shrink: 0;
  min-width: 32px;
}

.omt-latest-item__content {
  flex: 1;
}

.omt-latest-item__title {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-xs);
  color: var(--omt-dark);
}

.omt-latest-item__title a:hover {
  color: var(--omt-primary);
}

.omt-latest-item__meta {
  font-size: 0.72rem;
  color: var(--omt-gray-400);
  font-family: var(--font-meta);
}

/* ============================================
   SIDEBAR
   ============================================ */
.omt-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.omt-widget {
  background: var(--omt-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.omt-widget__title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--omt-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--omt-gray-200);
  position: relative;
}

.omt-widget__title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--omt-primary);
}

/* Thumbnail list widget */
.omt-thumb-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.omt-thumb-item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--omt-gray-100);
  transition: background var(--transition-fast);
}

.omt-thumb-item:last-child {
  border-bottom: none;
}

.omt-thumb-item:hover {
  background: var(--omt-gray-50);
}

.omt-thumb-item__img {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.omt-thumb-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omt-thumb-item__info {
  flex: 1;
  min-width: 0;
}

.omt-thumb-item__info h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--omt-gray-800);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.omt-thumb-item__info span {
  font-size: 0.68rem;
  color: var(--omt-gray-400);
  font-family: var(--font-meta);
}

/* Category tags widget */
.omt-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.omt-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.3rem 0.7rem;
  background: var(--omt-gray-50);
  border: 1px solid var(--omt-gray-200);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--omt-gray-700);
  transition: all var(--transition-fast);
}

.omt-category-tag:hover {
  background: var(--omt-primary-ultra-light);
  border-color: var(--omt-primary);
  color: var(--omt-primary);
}

.omt-category-tag span {
  font-size: 0.65rem;
  color: var(--omt-gray-400);
  font-weight: 400;
}

/* Newsletter widget */
.omt-widget--newsletter {
  background: linear-gradient(135deg, var(--omt-primary-dark), var(--omt-primary));
  color: var(--omt-white);
}

.omt-widget--newsletter .omt-widget__title {
  color: var(--omt-white);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.omt-widget--newsletter .omt-widget__title::after {
  background: var(--omt-accent);
}

.omt-newsletter__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.omt-newsletter__form {
  display: flex;
  gap: var(--space-sm);
}

.omt-newsletter__form input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--omt-white);
  font-size: 0.82rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.omt-newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.omt-newsletter__form input:focus {
  border-color: var(--omt-accent);
}

.omt-newsletter__form button {
  padding: 0.5rem 1rem;
  background: var(--omt-accent);
  color: var(--omt-dark);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.omt-newsletter__form button:hover {
  background: #d4af6a;
}

.omt-newsletter__msg {
  font-size: 0.78rem;
  color: var(--omt-accent);
  margin-top: var(--space-sm);
  font-weight: 600;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.omt-section {
  padding: var(--space-xl) 0;
}

.omt-section--gray {
  background: var(--omt-gray-50);
}

.omt-section--white {
  background: var(--omt-white);
}

/* ============================================
   SINGLE POST
   ============================================ */
.omt-single {
  background: var(--omt-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.omt-single__header {
  padding: var(--space-xl) var(--space-xl) 0;
}

.omt-single__category {
  margin-bottom: var(--space-sm);
}

.omt-single__title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
  .omt-single__title {
    font-size: 2.2rem;
  }
}

.omt-single__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: var(--omt-gray-500);
  font-family: var(--font-meta);
  padding-bottom: calc(var(--space-md) / 2);
}

.omt-single__meta strong {
  color: var(--omt-dark);
  font-weight: 600;
}

.omt-single__featured-image {
  margin: var(--space-lg) 0;
}

.omt-single__featured-image img {
  width: 100%;
  border-radius: 0;
}

.omt-single__featured-image figcaption {
  font-size: 0.78rem;
  color: var(--omt-gray-500);
  padding: var(--space-sm) var(--space-xl);
  font-style: italic;
}

.omt-single__content {
  padding: 0 var(--space-xl) var(--space-xl);
  max-width: var(--container-narrow);
}

.omt-single__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  color: var(--omt-gray-800);
}

.omt-single__content h2 {
  font-size: 1.4rem;
  margin: var(--space-xl) 0 var(--space-md);
  padding-top: var(--space-md);
}

.omt-single__content h3 {
  font-size: 1.2rem;
  margin: var(--space-lg) 0 var(--space-md);
}

.omt-single__content blockquote {
  border-left: 4px solid var(--omt-primary);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--omt-primary-ultra-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--omt-gray-700);
}

.omt-single__content ul,
.omt-single__content ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.omt-single__content ul {
  list-style: disc;
}

.omt-single__content ol {
  list-style: decimal;
}

.omt-single__content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--omt-gray-800);
}

.omt-single__content img {
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.omt-single__content a {
  color: var(--omt-primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--omt-primary-alpha-20);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition-fast);
}

.omt-single__content a:hover {
  text-decoration-color: var(--omt-primary);
}

/* Share / Tags */
.omt-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--omt-gray-100);
}

.omt-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--omt-gray-600);
  background: var(--omt-gray-100);
  border-radius: 100px;
  transition: all var(--transition-fast);
}

.omt-tag:hover {
  background: var(--omt-primary-ultra-light);
  color: var(--omt-primary);
}

/* ============================================
   PAGINATION
   ============================================ */
.omt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xl) 0;
}

/* WP gera nav.navigation > div.nav-links — precisa herdar o flex */
.omt-pagination .navigation,
.omt-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  width: 100%;
}

.omt-pagination a,
.omt-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.omt-pagination a {
  background: var(--omt-white);
  color: var(--omt-gray-700);
  box-shadow: var(--shadow-sm);
}

.omt-pagination a:hover {
  background: var(--omt-primary);
  color: var(--omt-white);
  box-shadow: var(--shadow-md);
}

.omt-pagination span.current {
  background: var(--omt-primary);
  color: var(--omt-white);
}

/* ============================================
   FOOTER
   ============================================ */
.omt-footer {
  background: var(--omt-gray-900);
  color: var(--omt-gray-300);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
}

.omt-footer__categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.omt-footer__categories a {
  font-size: 0.95rem;
  font-weight: 400; /* Removido negrito, agora fonte fina */
  text-transform: uppercase;
  color: var(--omt-gray-300); /* Cor base um pouco mais suave que o branco puro */
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.omt-footer__categories a:hover {
  color: var(--omt-white); /* Hover agora é branco */
}

.omt-footer__sep {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: var(--space-md) 0;
}

.omt-footer__middle {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
  .omt-footer__middle {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.omt-footer__middle-left {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.omt-footer__middle-left a {
  font-size: 0.8rem; /* Aumentado levemente */
  font-weight: 600;
  text-transform: uppercase;
  color: var(--omt-gray-300);
}

.omt-footer__link-gold {
  color: var(--omt-accent) !important;
}

.omt-footer__middle-right .omt-footer__notice {
  font-size: 0.8rem; /* Aumentado de 0.7rem */
  color: var(--omt-gray-500);
  margin: 0;
  text-align: left;
  line-height: 1.4;
  white-space: nowrap; /* Impede quebra de linha */
}

@media (min-width: 1024px) {
  .omt-footer__middle-right {
    flex-shrink: 0;
    text-align: right;
  }
  .omt-footer__middle-right .omt-footer__notice {
    text-align: right;
  }
}

.omt-footer__bottom {
  background: var(--omt-black);
  padding: var(--space-md) 0;
}

.omt-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .omt-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.omt-footer__bottom-left .omt-footer__copyright {
  font-size: 0.8rem; /* Aumentado de 0.7rem */
  color: var(--omt-gray-300);
}

.omt-footer__bottom-right a {
  font-size: 0.8rem; /* Aumentado de 0.7rem */
  color: var(--omt-gray-500);
}

.omt-footer__bottom-right a:hover {
  color: var(--omt-white);
}

/* ============================================
   ARCHIVE/CATEGORY PAGE
   ============================================ */
.omt-archive-header {
  background: var(--omt-primary);
  color: var(--omt-white);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-lg);
}

.omt-archive-header h1 {
  font-size: 1.6rem;
  color: var(--omt-white);
}

.omt-archive-header p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* ============================================
   COMMENTS
   ============================================ */
.omt-comments {
  padding: var(--space-xl);
  background: var(--omt-white);
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.omt-comments h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
}

.omt-comments .comment {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--omt-gray-100);
}

.omt-comments .comment-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--omt-dark);
}

.omt-comments .comment-meta {
  font-size: 0.75rem;
  color: var(--omt-gray-400);
  margin-bottom: var(--space-sm);
}

.omt-comments .comment-content p {
  font-size: 0.9rem;
  color: var(--omt-gray-700);
  margin-bottom: var(--space-sm);
}

/* Comment form */
.omt-comments .comment-form input[type="text"],
.omt-comments .comment-form input[type="email"],
.omt-comments .comment-form input[type="url"],
.omt-comments .comment-form textarea {
  width: 100%;
  border: 2px solid var(--omt-gray-200);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  margin-bottom: var(--space-md);
  outline: none;
  transition: border-color var(--transition-fast);
}

.omt-comments .comment-form input:focus,
.omt-comments .comment-form textarea:focus {
  border-color: var(--omt-primary);
  box-shadow: 0 0 0 3px var(--omt-primary-alpha-10);
}

.omt-comments .comment-form .submit {
  background: var(--omt-primary);
  color: var(--omt-white);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.7rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.omt-comments .comment-form .submit:hover {
  background: var(--omt-primary-dark);
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.omt-search-results__header {
  background: var(--omt-gray-50);
  padding: var(--space-xl) 0;
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--omt-gray-200);
}

.omt-search-results__header h1 {
  font-size: 1.3rem;
}

.omt-search-results__header h1 span {
  color: var(--omt-primary);
}

/* ============================================
   404 PAGE
   ============================================ */
.omt-404 {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}

.omt-404 h1 {
  font-size: 5rem;
  color: var(--omt-primary-alpha-20);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.omt-404 h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.omt-404 p {
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

.omt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--omt-primary);
  color: var(--omt-white);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.omt-btn:hover {
  background: var(--omt-primary-dark);
  color: var(--omt-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   UTILITIES
   ============================================ */
.omt-text-center {
  text-align: center;
}

.omt-mt-0 {
  margin-top: 0;
}

.omt-mb-0 {
  margin-bottom: 0;
}

.omt-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.omt-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--omt-primary);
  color: var(--omt-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 500;
}

.omt-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.omt-back-to-top:hover {
  background: var(--omt-primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   LOADING / SKELETON
   ============================================ */
@keyframes omt-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.omt-skeleton {
  background: linear-gradient(90deg, var(--omt-gray-100) 25%, var(--omt-gray-200) 50%, var(--omt-gray-100) 75%);
  background-size: 200% 100%;
  animation: omt-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================
   WORDPRESS SPECIFIC OVERRIDES
   ============================================ */
.wp-block-image {
  margin: var(--space-lg) 0;
}

.wp-block-image img {
  border-radius: var(--radius-md);
}

.wp-block-quote {
  border-left: 4px solid var(--omt-primary);
  padding: var(--space-md) var(--space-lg);
  background: var(--omt-primary-ultra-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.wp-block-separator {
  border: none;
  border-top: 2px solid var(--omt-gray-200);
  margin: var(--space-xl) 0;
}

.alignwide {
  max-width: calc(var(--container-max) + 2rem);
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

  .omt-topbar,
  .omt-header,
  .omt-nav,
  .omt-ticker,
  .omt-sidebar,
  .omt-footer,
  .omt-back-to-top,
  .omt-mobile-nav,
  .omt-mobile-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .omt-single__content {
    max-width: 100%;
    padding: 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* ============================================
   COMMENT FORM CUSTOM LAYOUT
   ============================================ */
.omt-comments .comment-form {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2%;
  margin-top: var(--space-md);
}

.omt-comments .comment-form > * {
  flex: 1 1 100%;
}

@media (min-width: 640px) {
  .omt-comments .comment-form .omt-col-50 {
    flex: 1 1 49%;
  }
}