/**
 * Observatorio de TO - Editorial Base
 * Versao: 1.4.0 (C6.2 — hero carousel + namespace fix)
 */

:root {
    --oto-primary:    #07556a;
    --oto-dark:       #103641;
    --oto-accent:     #1c9292;
    --oto-soft:       #eef5f6;
    --oto-border:     #dbe6e8;
    --oto-muted:      #61777d;
    --oto-bg:         #ffffff;
    --oto-text:       #12333d;

    --to-main:        var(--oto-primary);
    --to-petroleo:    var(--oto-primary);
    --to-dark:        var(--oto-dark);
    --to-accent:      var(--oto-accent);
    --to-soft:        var(--oto-soft);
    --to-suave:       var(--oto-soft);
    --to-borda:       var(--oto-border);
    --to-border:      var(--oto-border);
    --to-muted:       var(--oto-muted);
    --to-tinta:       var(--oto-text);

    --oto-space-1:  4px;
    --oto-space-2:  8px;
    --oto-space-3:  12px;
    --oto-space-4:  16px;
    --oto-space-5:  20px;
    --oto-space-6:  24px;
    --oto-space-7:  32px;
    --oto-space-8:  40px;
    --oto-space-9:  48px;
    --oto-space-10: 64px;
    --oto-space-11: 80px;

    --oto-container:      1200px;
    --oto-gutter:         24px;
    --oto-gutter-mobile:  16px;
    --oto-radius:         4px;
    --oto-radius-lg:      10px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:focus-visible {
    outline: 2px solid var(--oto-accent);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.oto-container {
    width: min(var(--oto-container), calc(100% - var(--oto-gutter) * 2));
    margin-inline: auto;
}

.oto-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--oto-gutter);
}

.oto-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--oto-gutter);
}

.oto-divider {
    border: 0;
    border-top: 1px solid var(--oto-border);
    margin: var(--oto-space-7) 0;
}

.oto-card {
    border: 1px solid var(--oto-border);
    border-radius: var(--oto-radius);
}

.oto-card-accent {
    border: 1px solid var(--oto-border);
    border-top: 3px solid var(--oto-primary);
    border-radius: var(--oto-radius);
}

.oto-transition {
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.oto-meta,
.oto-date {
    font-size: 12px;
    line-height: 1;
    color: var(--oto-muted);
}

.oto-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--oto-accent);
}

.oto-small {
    font-size: 0.8125em;
    line-height: 1.4;
}

@media (max-width: 782px) {
    .oto-container {
        width: calc(100% - var(--oto-gutter-mobile) * 2);
    }
    .oto-grid-2,
    .oto-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   HEADER EDITORIAL — BUILD B
   =================================================== */

/* --- Nivel 1: Barra de marca --- */

.site-header .row-wrap.row-two {
    background: var(--to-petroleo);
}

.site-header .bb-bldr-row.layout-two {
    min-height: 56px !important;
}

.site-branding {
    min-height: 48px !important;
    padding-left: 48px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.site-branding::before {
    width: 36px !important;
    height: 36px !important;
}

.site-title,
.site-title a {
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
    color: #fff !important;
}

.site-description {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- Nivel 2: Navegacao --- */

.site-header .row-wrap.row-three {
    background: #fff !important;
    box-shadow: none !important;
}

.site-header .bb-bldr-row.layout-three {
    min-height: 44px !important;
}

#masthead #site-navigation .menu > li > a {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #123d49 !important;
    padding: 14px 16px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: color 0.15s ease !important;
}

#masthead #site-navigation .menu > li > a:hover {
    color: #087c85 !important;
    background: transparent !important;
}

#masthead #site-navigation .current-menu-item > a,
#masthead #site-navigation .current_page_item > a {
    color: #087c85 !important;
    border-bottom: 2px solid #087c85 !important;
    background: transparent !important;
}

/* --- Sticky (CSS puro, apenas nav) --- */

.site-header .row-wrap.row-three.row-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow 0.2s ease;
}

.site-header .row-wrap.row-three.row-sticky.stuck {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* --- Mobile (<768px) --- */

@media (max-width: 767px) {
    .site-header .bb-bldr-row.layout-two {
        min-height: 52px !important;
    }

    .site-branding {
        min-height: 40px !important;
        padding-left: 44px !important;
    }

    .site-branding::before {
        width: 28px !important;
        height: 28px !important;
    }

    .site-title,
    .site-title a {
        font-size: 16px !important;
    }

    .site-header .bb-bldr-row.layout-three {
        min-height: 44px !important;
    }

    #masthead #site-navigation .menu > li > a {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
}

/* --- Tablet (768-1024px) --- */

@media (min-width: 768px) and (max-width: 1024px) {
    .site-header .bb-bldr-row.layout-two {
        min-height: 52px !important;
    }

    .site-branding {
        min-height: 44px !important;
        padding-left: 46px !important;
    }

    .site-branding::before {
        width: 32px !important;
        height: 32px !important;
    }

    .site-title,
    .site-title a {
        font-size: 18px !important;
    }

    #masthead #site-navigation .menu > li > a {
        font-size: 12px !important;
        padding: 12px 12px !important;
    }
}

/* ===================================================
   OTO-OPENING — C6.2 (hero carousel + namespace fix)
   =================================================== */

/* --- Namespace: .oto-home beats custom_css_479 (0,4,0 vs 0,3,0) --- */

/* Desktop (>900px): Grid 55/45 */

body.home.page.oto-home .oto-opening {
    display: grid !important;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr) !important;
    gap: var(--oto-space-4) !important;
    align-items: start !important;
    margin: 0 0 var(--oto-space-7) !important;
    padding: 0 0 var(--oto-space-7) !important;
    border-bottom: 2px solid var(--to-dark) !important;
}

body.home.page.oto-home .oto-opening > * {
    min-width: 0 !important;
}

/* ===================================================
   HERO CAROUSEL — C6.2
   =================================================== */

/* --- Container --- */

body.home.page.oto-home .oto-hero-carousel {
    position: relative !important;
    overflow: hidden !important;
    border-radius: var(--oto-radius-lg) !important;
}

body.home.page.oto-home .oto-hero-carousel--static {
    overflow: visible !important;
}

/* --- Track (carousel only) --- */

body.home.page.oto-home .oto-hero-carousel__track {
    position: relative !important;
}

/* --- Slide --- */

body.home.page.oto-home .oto-hero-carousel__slide {
    display: none !important;
}

body.home.page.oto-home .oto-hero-carousel__slide.oto-carousel-active {
    display: block !important;
}

/* --- Link (anchor wrapping image + content) --- */

body.home.page.oto-home .oto-hero-carousel__link {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
}

body.home.page.oto-home .oto-hero-carousel__link:hover {
    color: inherit !important;
}

/* --- Image --- */

body.home.page.oto-home .oto-hero-carousel__image {
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: var(--oto-radius-lg) !important;
}

body.home.page.oto-home .oto-hero-carousel__image img {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

@media (prefers-reduced-motion: reduce) {
    body.home.page.oto-home .oto-hero-carousel__image img {
        transition: none !important;
    }
}

body.home.page.oto-home .oto-hero-carousel__link:hover .oto-hero-carousel__image img {
    transform: scale(1.02) !important;
}

/* --- Content --- */

body.home.page.oto-home .oto-hero-carousel__content {
    padding: var(--oto-space-4) 0 0 !important;
}

/* Kicker */
body.home.page.oto-home .oto-hero-carousel__kicker {
    margin-bottom: var(--oto-space-1) !important;
}

body.home.page.oto-home .oto-hero-carousel__kicker .oto-kicker {
    color: var(--to-petroleo) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

/* Title */
body.home.page.oto-home .oto-hero-carousel__title {
    margin: 0 0 var(--oto-space-3) !important;
    font-size: clamp(36px, 3.1vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    color: var(--to-tinta) !important;
    text-wrap: balance !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.home.page.oto-home .oto-hero-carousel__title span {
    color: inherit !important;
}

/* Excerpt (deck) */
body.home.page.oto-home .oto-hero-carousel__excerpt {
    margin: 0 0 var(--oto-space-2) !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: var(--to-muted) !important;
    max-width: 580px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Date */
body.home.page.oto-home .oto-hero-carousel__date {
    font-size: 12px !important;
    color: var(--to-muted) !important;
}

/* --- Arrows --- */

body.home.page.oto-home .oto-hero-carousel__arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 40px !important;
    height: 40px !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--to-tinta) !important;
    font-size: 22px !important;
    line-height: 40px !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: background 0.15s ease, box-shadow 0.15s ease !important;
    padding: 0 !important;
}

body.home.page.oto-home .oto-hero-carousel__arrow:hover {
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

body.home.page.oto-home .oto-hero-carousel__arrow--prev {
    left: 12px !important;
}

body.home.page.oto-home .oto-hero-carousel__arrow--next {
    right: 12px !important;
}

/* --- Indicators --- */

body.home.page.oto-home .oto-hero-carousel__indicators {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: var(--oto-space-3) 0 0 !important;
}

body.home.page.oto-home .oto-hero-carousel__dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--oto-border) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: background 0.15s ease !important;
}

body.home.page.oto-home .oto-hero-carousel__dot--active {
    background: var(--oto-primary) !important;
}

body.home.page.oto-home .oto-hero-carousel__dot:hover {
    background: var(--oto-muted) !important;
}

/* ===================================================
   SECONDARY CARDS — C6.2
   =================================================== */

body.home.page.oto-home .oto-secondary-rendered {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--oto-space-3) !important;
}

/* --- Card --- */

body.home.page.oto-home .oto-secondary-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-height: 0 !important;
    flex: 1 1 0 !important;
    overflow: hidden !important;
    border-radius: var(--oto-radius-lg) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    color: inherit !important;
}

body.home.page.oto-home .oto-secondary-card:hover {
    color: inherit !important;
}

/* Card image (fills card) */

body.home.page.oto-home .oto-secondary-card__image {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

body.home.page.oto-home .oto-secondary-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

/* Card hover scale */

@media (prefers-reduced-motion: no-preference) {
    body.home.page.oto-home .oto-secondary-card:hover .oto-secondary-card__image img {
        transform: scale(1.02) !important;
        transition: transform 0.3s ease !important;
    }
}

/* Card gradient overlay */

body.home.page.oto-home .oto-secondary-card::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .78) 0%,
        rgba(0, 0, 0, .35) 45%,
        rgba(0, 0, 0, 0) 72%
    ) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Card content */

body.home.page.oto-home .oto-secondary-card__content {
    position: relative !important;
    z-index: 2 !important;
    padding: 0 20px 20px !important;
}

/* Card kicker */

body.home.page.oto-home .oto-secondary-card__kicker {
    margin-bottom: var(--oto-space-1) !important;
}

body.home.page.oto-home .oto-secondary-card__kicker .oto-kicker {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

/* Card title */

body.home.page.oto-home .oto-secondary-card__title {
    margin: 0 0 var(--oto-space-1) !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Card date */

body.home.page.oto-home .oto-secondary-card__date {
    font-size: 12px !important;
    color: rgba(255, 255, 255, .80) !important;
}

/* ===================================================
   RESPONSIVE — C6.2
   =================================================== */

/* --- @1200px: container max --- */

@media (max-width: 1200px) {
    body.home.page.oto-home .oto-hero-carousel__title {
        font-size: clamp(34px, 3.2vw, 40px) !important;
    }
}

/* --- @976px: hero title clamp --- */

@media (max-width: 976px) {
    body.home.page.oto-home .oto-hero-carousel__title {
        font-size: clamp(32px, 3.4vw, 38px) !important;
    }

    body.home.page.oto-home .oto-hero-carousel__excerpt {
        font-size: 16px !important;
    }

    body.home.page.oto-home .oto-secondary-card__title {
        font-size: clamp(20px, 2.1vw, 22px) !important;
    }
}

/* --- @861px: opening grid breakpoint --- */

@media (max-width: 861px) {
    body.home.page.oto-home .oto-opening {
        grid-template-columns: 1fr !important;
        gap: var(--oto-space-6) !important;
    }

    body.home.page.oto-home .oto-hero-carousel__title {
        font-size: clamp(30px, 3.6vw, 36px) !important;
    }

    body.home.page.oto-home .oto-hero-carousel__excerpt {
        font-size: 16px !important;
    }
}

/* --- @860px: secondary mobile threshold --- */

@media (max-width: 860px) {
    body.home.page.oto-home .oto-secondary-rendered {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: var(--oto-space-4) !important;
    }

    body.home.page.oto-home .oto-secondary-card {
        min-height: 250px !important;
        flex: none !important;
    }

    body.home.page.oto-home .oto-secondary-card__title {
        font-size: 20px !important;
    }
}

/* --- @735px: mobile adjustments --- */

@media (max-width: 735px) {
    body.home.page.oto-home .oto-opening {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--oto-space-6) !important;
        margin-top: var(--oto-space-5) !important;
        padding-bottom: var(--oto-space-6) !important;
    }

    body.home.page.oto-home .oto-hero-carousel__title {
        font-size: 30px !important;
        line-height: 1.08 !important;
        letter-spacing: -0.02em !important;
        -webkit-line-clamp: none !important;
        overflow: visible !important;
    }

    body.home.page.oto-home .oto-hero-carousel__excerpt {
        font-size: 16px !important;
        -webkit-line-clamp: none !important;
        overflow: visible !important;
    }

    body.home.page.oto-home .oto-secondary-rendered {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--oto-space-4) !important;
    }

    /* Secondary card: mobile layout (no overlay) */

    body.home.page.oto-home .oto-secondary-card {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        min-height: 0 !important;
        flex: none !important;
        overflow: visible !important;
        border-radius: var(--oto-radius-lg) !important;
        background: transparent !important;
    }

    body.home.page.oto-home .oto-secondary-card::after {
        display: none !important;
    }

    body.home.page.oto-home .oto-secondary-card__image {
        position: static !important;
        margin: 0 0 var(--oto-space-2) !important;
        overflow: hidden !important;
        border-radius: var(--oto-radius-lg) !important;
    }

    body.home.page.oto-home .oto-secondary-card__image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        object-fit: cover !important;
        position: static !important;
    }

    body.home.page.oto-home .oto-secondary-card__content {
        position: static !important;
        padding: 0 !important;
    }

    body.home.page.oto-home .oto-secondary-card__kicker {
        margin-bottom: var(--oto-space-1) !important;
    }

    body.home.page.oto-home .oto-secondary-card__kicker .oto-kicker {
        color: var(--to-petroleo) !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
    }

    body.home.page.oto-home .oto-secondary-card__title {
        position: static !important;
        font-size: 19px !important;
        line-height: 1.18 !important;
        color: var(--to-tinta) !important;
        -webkit-line-clamp: 3 !important;
    }

    body.home.page.oto-home .oto-secondary-card__date {
        position: static !important;
        font-size: 12px !important;
        color: var(--to-muted) !important;
    }

    /* Border between cards on mobile */
    body.home.page.oto-home .oto-secondary-card + .oto-secondary-card {
        padding-top: var(--oto-space-4) !important;
        border-top: 1px solid var(--to-borda) !important;
    }

    /* Arrows on mobile */
    body.home.page.oto-home .oto-hero-carousel__arrow {
        width: 34px !important;
        height: 34px !important;
        font-size: 18px !important;
        line-height: 34px !important;
    }

    body.home.page.oto-home .oto-hero-carousel__arrow--prev {
        left: 8px !important;
    }

    body.home.page.oto-home .oto-hero-carousel__arrow--next {
        right: 8px !important;
    }
}

/* --- @343px: small mobile --- */

@media (max-width: 343px) {
    body.home.page.oto-home .oto-hero-carousel__title {
        font-size: 26px !important;
    }

    body.home.page.oto-home .oto-secondary-card__title {
        font-size: 17px !important;
    }
}

/* ===================================================
   OTO-NOW — BUILD C2/C3
   =================================================== */

body.home.page.oto-home .oto-now {
	background: transparent !important;
	border-left: 0 !important;
	border-top: 2px solid var(--oto-primary) !important;
	padding: 20px 0 0 !important;
	margin: 16px 0 32px !important;
}

body.home.page.oto-home .oto-now > h2 {
	font-size: 20px !important;
	font-weight: 700 !important;
	margin: 0 0 14px !important;
	padding-bottom: 8px !important;
	border-bottom: 1px solid var(--oto-border) !important;
	color: var(--oto-text) !important;
	letter-spacing: -0.3px !important;
}

body.home.page.oto-home .oto-now .wp-block-post {
	grid-template-columns: 52px minmax(0, 1fr) !important;
	gap: 10px !important;
	padding: 10px 0 !important;
}

body.home.page.oto-home .oto-now .wp-block-post-date {
	font-size: 12px !important;
	color: var(--oto-primary) !important;
	font-weight: 600 !important;
}

body.home.page.oto-home .oto-now .wp-block-post-title {
	font-size: 15px !important;
	line-height: 1.25 !important;
}

/* --- Tablet (768-1024px) --- */

@media (min-width: 768px) and (max-width: 1024px) {
	body.home.page.oto-home .oto-now {
		border-top: 2px solid var(--oto-primary) !important;
		padding: 18px 0 0 !important;
		margin-bottom: 28px !important;
	}

	body.home.page.oto-home .oto-now .wp-block-post {
		grid-template-columns: 48px minmax(0, 1fr) !important;
		gap: 8px !important;
		padding: 9px 0 !important;
	}
}

/* --- Mobile (<768px) --- */

@media (max-width: 767px) {
	body.home.page.oto-home .oto-now {
		margin-top: 12px !important;
		margin-bottom: 24px !important;
	}

	body.home.page.oto-home .oto-now > h2 {
		font-size: 18px !important;
		margin-bottom: 10px !important;
		padding-bottom: 6px !important;
	}

	body.home.page.oto-home .oto-now .wp-block-post {
		grid-template-columns: 44px minmax(0, 1fr) !important;
		gap: 8px !important;
		padding: 8px 0 !important;
	}

	body.home.page.oto-home .oto-now .wp-block-post-title {
		font-size: 14px !important;
		line-height: 1.28 !important;
	}
}

/* OTO-NOW COMPACT — C3 */

body.home.page.oto-home .oto-now {
	margin: 14px 0 24px !important;
}

body.home.page.oto-home .oto-now > h2 {
	margin-bottom: 10px !important;
	padding-bottom: 6px !important;
}

body.home.page.oto-home .oto-now .wp-block-post {
	padding: 8px 0 !important;
}

@media (max-width: 767px) {
	body.home.page.oto-home .oto-now {
		margin-top: 10px !important;
		margin-bottom: 20px !important;
	}
}

/* ===================================================
   OTO-SECTIONS — BUILD C3/C4
   =================================================== */

body.home.page.oto-home .oto-sections .oto-section-label {
	font-size: 22px !important;
	margin-bottom: 24px !important;
	padding-bottom: 10px !important;
}

body.home.page.oto-home .oto-sections .wp-block-column > h2 {
	font-size: 16px !important;
	font-weight: 700 !important;
	margin-bottom: 8px !important;
	padding-bottom: 6px !important;
	border-bottom: 2px solid var(--oto-primary) !important;
	letter-spacing: -0.2px !important;
}

body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:first-child .wp-block-post-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.22 !important;
}

body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:first-child {
	padding-top: 4px !important;
}

body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:not(:first-child) .wp-block-post-title {
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
}

body.home.page.oto-home .oto-sections .wp-block-post-date {
	font-size: 11px !important;
	color: var(--oto-muted) !important;
}

body.home.page.oto-home .oto-sections > .wp-block-columns {
	margin-bottom: 28px !important;
}

body.home.page.oto-home .oto-sections > .wp-block-columns:last-child {
	margin-bottom: 0 !important;
}

body.home.page.oto-home .oto-sections > .wp-block-columns .wp-block-column {
	padding: 0 12px !important;
}

/* --- Tablet (768-1024px) --- */

@media (min-width: 768px) and (max-width: 1024px) {
	body.home.page.oto-home .oto-sections > .wp-block-columns {
		gap: 24px !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column > h2 {
		font-size: 15px !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:first-child .wp-block-post-title {
		font-size: 16px !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:not(:first-child) .wp-block-post-title {
		font-size: 13px !important;
	}
}

/* --- Mobile (<767px) --- */

@media (max-width: 767px) {
	body.home.page.oto-home .oto-sections > .wp-block-columns {
		margin-bottom: 20px !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column {
		margin-bottom: 20px !important;
		padding: 0 !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column > h2 {
		font-size: 15px !important;
		margin-bottom: 6px !important;
		padding-bottom: 5px !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:first-child .wp-block-post-title {
		font-size: 16px !important;
	}

	body.home.page.oto-home .oto-sections .wp-block-column .wp-block-post:not(:first-child) .wp-block-post-title {
		font-size: 14px !important;
	}
}

/* ===================================================
   OTO-AGENDA — BUILD C3/C4
   =================================================== */

body.home.page.oto-home .oto-agenda {
	padding: 20px 28px !important;
}

body.home.page.oto-home .oto-agenda > h2 {
	font-size: 18px !important;
	margin-bottom: 10px !important;
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
	letter-spacing: -0.3px !important;
}

body.home.page.oto-home .oto-agenda .wp-block-post {
	padding: 8px 0 !important;
	gap: 14px !important;
	border-bottom-color: rgba(255,255,255,0.12) !important;
}

body.home.page.oto-home .oto-agenda .wp-block-post-title {
	font-size: 15px !important;
	line-height: 1.3 !important;
}

body.home.page.oto-home .oto-agenda .wp-block-post-date {
	font-size: 11px !important;
	color: rgba(255,255,255,0.6) !important;
}

/* --- Mobile (<767px) --- */

@media (max-width: 767px) {
	body.home.page.oto-home .oto-agenda {
		padding: 18px 16px !important;
	}

	body.home.page.oto-home .oto-agenda > h2 {
		font-size: 16px !important;
		margin-bottom: 8px !important;
	}

	body.home.page.oto-home .oto-agenda .wp-block-post-title {
		font-size: 14px !important;
	}
}

/* ===================================================
   OTO-FOOTER — BUILD C4
   =================================================== */

.oto-footer-site-info {
	padding: 0 !important;
	font-size: inherit !important;
}

.oto-footer-site-info::after {
	content: none !important;
}

.oto-footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr;
	gap: 40px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 24px 32px;
}

.oto-footer-title {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.oto-footer-desc {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255,255,255,0.7);
	margin: 0;
	max-width: 300px;
}

.oto-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.oto-footer-links li {
	margin-bottom: 8px;
}

.oto-footer-links a {
	font-size: 13px;
	color: rgba(255,255,255,0.65);
	text-decoration: none;
	transition: color 0.15s ease;
}

.oto-footer-links a:hover {
	color: #fff;
}

.oto-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 18px 24px;
	text-align: center;
}

.oto-footer-bottom p {
	font-size: 12px;
	color: rgba(255,255,255,0.5);
	margin: 0;
}

/* --- Tablet (768-1024px) --- */

@media (min-width: 768px) and (max-width: 1024px) {
	.oto-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
		padding: 32px 20px 24px;
	}

	.oto-footer-brand {
		grid-column: 1 / -1;
	}
}

/* --- Mobile (<767px) --- */

@media (max-width: 767px) {
	.oto-footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 28px 16px 20px;
	}

	.oto-footer-bottom {
		padding: 14px 16px;
	}
}

/* ===================================================
   F5.2 — FOOTER GLOBAL OBSERVATORIO DE TO
   =================================================== */

.oto-global-footer {
    background: var(--to-petroleo, #164b5b);
    color: #eaf2f3;
    padding: 32px 24px 0;
}

.oto-global-footer__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 40px;
    align-items: start;
}

.oto-global-footer__title {
    display: block;
    margin: 0 0 6px;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.oto-global-footer__tagline {
    display: block;
    margin: 0;
    max-width: 460px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.55;
}

.oto-global-footer__nav {
    text-align: right;
}

.oto-global-footer__heading {
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.oto-global-footer__nav a {
    display: inline-block;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.oto-global-footer__nav a:hover,
.oto-global-footer__nav a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oto-global-footer__nav a + a {
    margin-left: 18px;
}

.oto-global-footer__bottom {
    grid-column: 1 / -1;
    margin: 24px -24px 0;
    padding: 15px 24px;
    background: #0e3440;
    color: rgba(255, 255, 255, .74);
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

/* Legal links group — base layout */
.oto-global-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.oto-global-footer__legal a,
.oto-global-footer__legal .oto-cookie-settings-btn {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.oto-global-footer__legal a:hover,
.oto-global-footer__legal .oto-cookie-settings-btn:hover {
    color: #fff;
}

/* Cookie settings button — base reset (link appearance) */
.oto-global-footer__legal .oto-cookie-settings-btn {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.oto-global-footer__legal .oto-cookie-settings-btn:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.oto-global-footer__legal .oto-cookie-settings-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .oto-global-footer {
        padding: 20px 16px 0;
    }

    .oto-global-footer__inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .oto-global-footer__nav {
        text-align: left;
    }

    .oto-global-footer__nav a {
        margin-right: 16px;
        margin-bottom: 4px;
    }

    .oto-global-footer__nav a + a {
        margin-left: 0;
    }

    .oto-global-footer__bottom {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* --- Mobile compact (<480px) --- */
@media (max-width: 480px) {
    .oto-global-footer {
        padding: 16px 14px 0;
    }

    .oto-global-footer__inner {
        gap: 12px;
    }

    .oto-global-footer__title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .oto-global-footer__tagline {
        font-size: 12px;
        line-height: 1.4;
    }

    .oto-global-footer__heading {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .oto-global-footer__nav {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 12px;
    }

    .oto-global-footer__nav a {
        display: inline;
        font-size: 13px;
        margin: 0;
        line-height: 1.6;
    }

    .oto-global-footer__nav a + a {
        margin-left: 0;
    }

    .oto-global-footer__legal {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 14px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .oto-global-footer__legal a,
    .oto-global-footer__legal .oto-cookie-settings-btn {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
    }

    .oto-global-footer__legal a:hover,
    .oto-global-footer__legal .oto-cookie-settings-btn:hover {
        color: #fff;
    }

    .oto-global-footer__legal .oto-cookie-settings-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        font-family: inherit;
    }

    .oto-global-footer__bottom {
        margin-top: 12px;
        margin-left: -14px;
        margin-right: -14px;
        padding: 10px 14px;
        font-size: 11px;
    }
}

/* ===================================================
   CATEGORY/ARCHIVE COMPACT HEADER
   Remove branding rows to match single article compactness.
   Scoped to body.archive.category only.
   =================================================== */

@media (max-width: 767px) {
    body.archive.category .bb-bldr-row.tablet-layout-five {
        display: none !important;
    }

    body.archive.category .row-wrap.row-two {
        display: none !important;
    }
}

@media (min-width: 768px) {
    body.archive.category .bb-bldr-row.layout-two {
        display: none !important;
    }
}
