/*
Theme Name: O Taboanense v8
Theme URI: https://otaboanense.com.br/
Author: Flokin Digital
Author URI: https://flokin.com.br
Description: Tema personalizado para o Portal O Taboanense
Version: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: otaboanense-v8
Tags: news, blog, custom-menu, custom-logo, featured-images
*/

/* Design System Variables — Inspired by Notion */
:root {
    /* Colors */
    --color-primary: #0075de;
    --color-primary-hover: #005bab;
    --color-text: rgba(0,0,0,0.95);
    --color-text-secondary: #615d59;
    --color-text-muted: #a39e98;
    --color-bg: #ffffff;
    --color-bg-alt: #f6f5f4;
    --color-bg-dark: #31302e;
    --color-border: rgba(0,0,0,0.1);
    --color-focus: #097fe8;
    --color-badge-bg: #f2f9ff;
    --color-badge-text: #097fe8;

    /* Typography */
    --font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Shadows */
    --shadow-card: rgba(0,0,0,0.04) 0px 4px 18px, rgba(0,0,0,0.027) 0px 2.025px 7.85px, rgba(0,0,0,0.02) 0px 0.8px 2.93px, rgba(0,0,0,0.01) 0px 0.175px 1.04px;
    --shadow-deep: rgba(0,0,0,0.01) 0px 1px 3px, rgba(0,0,0,0.02) 0px 3px 7px, rgba(0,0,0,0.02) 0px 7px 15px, rgba(0,0,0,0.04) 0px 14px 28px, rgba(0,0,0,0.05) 0px 23px 52px;

    /* Borders */
    --border-whisper: 1px solid rgba(0,0,0,0.1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;
}

body {
    font-family: var(--font-family);
}

/* Interactive States */
a[style*="color: var(--color-primary)"] {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a[style*="color: var(--color-primary)"]:hover {
    opacity: 0.8;
}

/* Estilos base serão fornecidos pelo Tailwind CSS */

/* Custom styles for scroll-header */
#main-header {
    transition: height 0.3s ease, padding 0.3s ease;
    /* Add transition to the base header */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); */
    /* Subtle and harmonious shadow */
}

#main-header.scrolled {
    height: 60px;
    /* Adjust as needed for compact height */
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    /* Hide content that overflows due to reduced height */
}

#main-header .header-content {
    transition: opacity 0.3s ease, visibility 0.3s ease, height 0.3s ease;
}

#main-header.scrolled .header-content {
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Ensure the nav menu is visible and styled correctly when scrolled */
#main-header.scrolled nav {
    background-color: #fff;
    /* Ensure background is white */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Add shadow */
    transition: all 0.3s ease;
    /* Add transition for nav properties */
}

.news-text-article p,
.content-blogueiro p {
    margin: 0 0 1rem;
    margin-bottom: 28px;
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.75rem;
    color: rgb(60, 63, 76);

}

.news-text-article p>br {
    display: table;
    background: red;
    height: 100px;
    margin: 0 2em;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

/* Paginação global — usada por otaboanense_render_post_list() em todos os templates */
.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers li {
    list-style: none;
}

.page-numbers a,
.page-numbers span.current {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

.page-numbers a {
    background-color: white;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.page-numbers a:hover {
    background-color: #f9fafb;
}

.page-numbers span.current {
    background-color: rgb(38, 47, 220);
    color: white;
}

.page-numbers .next,
.page-numbers .prev {
    display: inline-flex;
    align-items: center;
}

.page-numbers .dots {
    padding: 0.25rem 0.75rem;
    color: #4b5563;
}