/*
Theme Name: Giu Rovai
Theme URI: https://www.giurovai.com.br
Author: Fabio Gil - Crônicas Visuais Storytelling com Design
Author URI: https://www.fabiogil.com.br
Description: Este tema foi desenvolvido sobmedida para a guia de turismo Giu Rovai. Este tema possui boas práticas de arquitetura de informação favorecendo a experiência do usuário e está otimizada para SEO.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: giurovai
Tags: blog, portfolio
*/

  /**
   * Remove the border on images inside links in IE 10.
   */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
/** ???? */


  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
/** ???? */
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }


/* 2. Theme Specific CSS */
  
  img {
    border-style: none;
  }


/* Containers */

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 575px) {
    .container {
        padding: var(--wpdevs-light-padding);
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding-right: 15px;
        padding-left: 15px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* --- IMAGEM DE FUNDO DA SESSÃO HERO --- */

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('img/hero-bg.jpg'); /* Ajuste o caminho e nome do arquivo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh; /* Ajusta a altura da sessão */
    display: flex;
    align-items: center;
    color: #fff; /* Garante que o texto fique legível */
}

.hero-como-funciona {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('img/Conchas-descobertas-e-surpresas-uma-refeicao-no-Piedra-Lima.jpg'); /* Ajuste o caminho e nome do arquivo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh; /* Ajusta a altura da sessão */
    display: flex;
    align-items: center;
    color: #fff; /* Garante que o texto fique legível */
}


@media (max-width: 768px) {
    .hero {
        background-position: 20% center; /* Ajusta o foco da foto no mobile */
        min-height: 60vh;
    }
}


/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --primary: #333333;
    --accent: #d4a373;
    --light-bg: #fdfaf6;
    --white: #ffffff;
    --gray: #777777;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    margin: 30px 0 0;
}

/* --- HEADER & DROPDOWNS --- */
.main-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    padding: 10px 0;
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--accent); }

.menu-item-has-children { position: relative; }
.arrow { font-size: 0.6rem; margin-left: 3px; }

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    padding: 15px 0;
    border-top: 2px solid var(--accent);
    display: none; 
    visibility: hidden;
}

.sub-menu li { width: 100%; }
.sub-menu a {
    text-transform: none;
    padding: 8px 20px;
    display: block;
    font-size: 0.9rem;
}

.menu-item-has-children:hover .sub-menu { display: block; visibility: visible;}

/* --- HERO --- */
.hero {
    padding: 120px 0;
    background-color: var(--light-bg);
    text-align: center;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--gray); margin-bottom: 40px; max-width: 700px; margin-inline: auto; }

.hero-btns { display: flex; gap: 15px; justify-content: center; }

/* --- BOTÕES --- */
.btn {
    padding: 15px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--accent); }
.btn-secondary { border: 1px solid var(--white); color: var(--white); }
.btn-secondary:hover { background: #eee;}

/* --- ABOUT BRIEF --- */
.about-brief { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.img-placeholder { background: #eee; height: 500px; border-radius: 5px; display: flex; align-items: center; justify-content: center; }

/* --- FEATURED SERVICE --- */
.featured-service { background: var(--light-bg); padding: 80px 0; }
.service-card {
    background: var(--white);
    padding: 60px;
    border: 1px solid #eee;
    max-width: 800px;
}
.label { color: var(--accent); font-weight: bold; font-size: 1.8rem; text-transform: uppercase; }
.check-list { list-style: none; margin: 25px 0; }
.check-list li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: bold; }

/* --- CONTENT HUB --- */
.content-hub { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cat-card { text-decoration: none; color: inherit; transition: var(--transition); }
.cat-img { height: 200px; margin-bottom: 15px; border-radius: 4px; text-align: center;}
.cat-card:hover { transform: translateY(-5px); }

/* --- FOOTER --- */
.main-footer { background: #e07a5f; color: var(--white); padding: 80px 0 20px; }
.footer-grid { display: flex; justify-content: space-between; margin-bottom: 60px; }
.white { color: var(--white); }
.footer-nav ul { list-style: none; margin-top: 15px; }
.footer-nav a { color: #ffffff; text-decoration: none; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #e07a5f; padding-top: 20px; text-align: center; font-size: 0.8rem; color: #ffffff; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .nav-menu { display: none; } /* Idealmente aqui entraria um Menu Hamburguer */
    .hero h1 { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
}

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


/* --- ESTILOS GERAIS (Reutilizados) --- */
:root {
    --primary: #333333;
    --accent: #d4a373;
    --light-bg: #fdfaf6;
    --white: #ffffff;
    --gray: #777777;
    --transition: 0.3s ease;
}

body { font-family: 'Montserrat', sans-serif; color: var(--primary); line-height: 1.6; }
h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }
.container { max-width: 1200px; margin: 0 auto 30px; padding: 0 25px; }
.container2 { max-width: 900px; margin: 0 auto 30px; padding: 0 25px; }

/* --- HEADER & CORREÇÃO DROPDOWN (HOVER APENAS) --- */
.main-header { background: var(--white); padding: 20px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--primary); letter-spacing: 2px; }

.nav-menu ul { display: flex; list-style: none; gap: 20px; }
.nav-menu a { text-decoration: none; color: var(--primary); font-size: 0.85rem; font-weight: 500; text-transform: uppercase; }

.menu-item-has-children { position: relative; }
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-top: 2px solid var(--accent);
    
    /* ESCONDER POR PADRÃO */
    display: none; 
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.sub-menu li { width: 100%; }
.sub-menu a { text-transform: none; padding: 10px 20px; display: block; font-size: 0.9rem; }

/* ATIVAR APENAS NO HOVER */
.menu-item-has-children:hover .sub-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- ESTILOS ESPECÍFICOS: GASTRONOMIA --- */
.breadcrumbs { padding: 30px 0 10px; font-size: 0.75rem; text-transform: uppercase; color: var(--gray); letter-spacing: 1px; }
.breadcrumbs a { color: var(--gray); text-decoration: none; }
.breadcrumbs span { color: var(--accent); font-weight: bold; }

.category-header { padding: 40px 0; }
.category-header h1 { font-size: 3rem; margin-bottom: 10px; }
.category-header p { font-size: 1.2rem; color: var(--gray); max-width: 700px; }

.content-filters { display: flex; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { 
    padding: 10px 25px; border-radius: 30px; border: 1px solid #ddd; 
    background: transparent; cursor: pointer; transition: var(--transition);
    font-size: 0.85rem; font-weight: 500;
}
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* GRID LAYOUT */
.main-content-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }

.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.post-card { background: var(--white); border: 1px solid #eee; border-radius: 4px; transition: var(--transition); }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.post-img { height: 200px; border-bottom: 1px solid #eee; }
.post-text { padding: 25px; }
.category-label { color: var(--accent); font-size: 0.7rem; font-weight: bold; text-transform: uppercase; display: block; margin-bottom: 10px; }
.post-text h2 { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.2; }
.post-text p { font-size: 0.9rem; color: var(--gray); margin-bottom: 20px; }
.read-more { font-weight: bold; font-size: 0.8rem; text-decoration: underline; }

/* SIDEBAR */
.sidebar .cta-sidebar { 
    background: var(--light-bg); padding: 40px; border: 1px dashed var(--accent); 
    text-align: center; border-radius: 4px; position: sticky; top: 120px;}
.cta-sidebar h4 { margin-bottom: 15px; }
.cta-sidebar p { font-size: 0.9rem; margin-bottom: 25px; }

.btn-primary { 
    background: var(--primary); color: var(--white); padding: 12px 25px; 
    text-decoration: none; border-radius: 2px; display: inline-block; font-weight: 600;
}

.sidebar-info { margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; }
.sidebar-info h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.sidebar-info ul { list-style: none; }
.sidebar-info li { margin-bottom: 10px; font-size: 0.9rem; }

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .main-content-layout { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .sidebar .cta-sidebar { position: static; }
    .category-header h1 { font-size: 2.2rem; }
}

/* --- CONFIGURAÇÃO MOBILE (Abaixo de 900px) --- */
/* --- RESET DO BOTÃO (DESKTOP) --- */
.mobile-menu-toggle {
    display: none; /* Escondido no computador */
}


/* --- VERSÃO MOBILE (Abaixo de 900px) --- */
@media (max-width: 900px) {
    
    /* 1. Mostra o botão hambúrguer */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100; /* Acima de tudo */
        padding: 10px;
    }

    .mobile-menu-toggle .bar {
        width: 25px;
        height: 2px;
        background-color: #333;
        transition: 0.3s;
    }

    /* 2. Esconde o menu padrão e prepara para lateral */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Totalmente fora da tela à direita */
        width: 80%;
        max-width: 300px;

        /* ESTAS REGRAS SÃO AS QUE PERMITEM O SCROLL: */
        height: 100vh;           /* Faz o menu ter a altura total da tela */
        overflow-y: auto;        /* Ativa o scroll vertical se o conteúdo for longo */
        padding-bottom: 50px;    /* Espaço extra no final para não cortar o último item */

        background: #fff;
        z-index: 1000;
        padding: 100px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block; /* Garante que ele exista, mas está fora da tela */
        
        /* Suaviza o scroll em iPhones */
        -webkit-overflow-scrolling: touch;

        
    }

    /* 3. Quando o menu recebe a classe .active via JS */
    .nav-menu.active {
        right: 0; /* Entra na tela */
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0px;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    /* 4. Submenus (Dropdowns) no Mobile - Agora sempre visíveis */
.sub-menu {
    position: static;
    display: block;      /* Mudado de none para block para ficar sempre visível */
    opacity: 1;          /* Garante visibilidade */
    visibility: visible; /* Garante visibilidade */
    width: 100%;
    box-shadow: none;
    padding-left: 20px;
    transform: none;
    border-top: none;    /* Opcional: remove a linha grossa do desktop no mobile */
}

/* Você pode remover ou comentar a regra do .menu-item-has-children.open .sub-menu, 
pois ela não será mais necessária já que ele já começa aberto }*/
.menu-item-has-children.open .sub-menu {
    display: block; 


    /* 5. Overlay (Fundo escurecido) */
    .menu-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
}

/* Esconde por padrão 
.sub-menu {
    display: none;
    opacity: 0;
    visibility: hidden;*/
    /* ... seus outros estilos de posicionamento ... */
}

/* Mostra apenas quando a classe .open está ativa (via clique) 
.menu-item-has-children.open > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0); */ /* Se estiver usando animação */


/* IMPORTANTE: Remova o :hover do Desktop se você quer apenas o CLIQUE */
/* .menu-item-has-children:hover .sub-menu { display: block; }  <-- REMOVA OU COMENTE ESTA LINHA */

/* Hero & Conteúdo COMO FUNCIONA */
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 40px;
}

.intro-text {
    font-size: 1.4rem;
    color: var(--muted);
    max-width: 800px;
    margin-bottom: 60px;
}

.biography {
    column-count: 2;
    column-gap: 60px;
    max-width: 1000px;
}

/* Processo - Cards */
.process-intro { margin-bottom: 80px; }
.label { color: var(--accent); font-weight: bold; font-size: 0.8rem; text-transform: uppercase; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
}

.step-no {
    display: block;
    font-size: 2rem;
    color: #555;
    margin-bottom: 15px;
}

.step-card h3 { margin-bottom: 15px; }
.step-card p { color: var(--muted); font-size: 1rem; }

@media (max-width: 768px) {
    .main-header { flex-direction: column; align-items: center; gap: 30px; }
    h1 { font-size: 2.2rem; }
    .biography { column-count: 1; }
    .steps-grid { grid-template-columns: 1fr; }
}

/*INÍCIO DO CSS EXTRA GEMINI*/

.widget-wrapper { margin: 0 auto;}

/*INÍCIO DO CSS DO CURSO DE WP***** INNER PAGES *****************/

/* ==========================================================================
   SEÇÃO DE COMENTÁRIOS (comments.php)
   ========================================================================== */

.comments-area {
    margin: 50px auto;
    max-width: 800px;
    font-family: sans-serif;
    color: #333;
}

.comments-area h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* --- Lista de Comentários --- */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Estilo para respostas (aninhadas) */
.comment-list .children {
    list-style: none;
    margin-left: 40px; /* Recuo para o estilo 'escadinha' */
    margin-top: 20px;
}

/* --- Cabeçalho do Comentário (Avatar e Nome) --- */
.comment-body {
    position: relative;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-meta img.avatar {
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.comment-author b.fn {
    font-size: 1.1rem;
    font-style: normal;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #888;
    margin-left: 10px;
}

.comment-metadata a {
    color: #888;
    text-decoration: none;
}

/* --- Conteúdo do Texto --- */
.comment-content {
    line-height: 1.6;
    font-size: 1rem;
    color: #444;
}

.reply {
    margin-top: 15px;
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.comment-reply-link:hover {
    background: #555;
}

/* --- Formulário de Resposta (comment_form) --- */
#respond {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 50px;
}

#reply-title {
    font-size: 1.5rem;
    margin-top: 0;
}

.comment-form p {
    margin-bottom: 15px;
}

.comment-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que o padding não estoure a largura */
    font-size: 1rem;
}

.comment-form textarea {
    height: 150px;
    resize: vertical;
}

/* Botão de Enviar */
.comment-form .submit {
    background: #0073aa; /* Cor padrão WordPress ou a sua marca */
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form .submit:hover {
    background: #005177;
}

/* Mensagem de comentários fechados */
.no-comments {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 20px;
}

/* Responsividade */
@media (max-width: 600px) {
    .comment-list .children {
        margin-left: 20px;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-metadata {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Pagination */
.giurovai-pagination{
    display: flex;
    justify-content: space-between;
}
.pages{
    margin-top: 20px;
}
.nav-links{
    margin-top: 40px;
}
.nav-links .page-numbers{
    padding: 10px 15px;
    display: inline-block;
    background: var( --wpdevs-gray3 );
}
.nav-links .current{
    background-color: #000000;
    color: #ffffff;
}
.nav-links .next,
.nav-links .prev{
    background-color: transparent;
}
.nav-links .prev{
    padding-left: 0;
}

/* Container dos posts em Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Cria 2 colunas iguais */
    gap: 30px; /* Espaço entre os posts */
    margin-bottom: 40px;
}

/* Ajuste para celulares (fica 1 por linha em telas pequenas) */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilização básica do card (opcional) */
.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.post-img {
    height: 250px;
    width: 100%;
}

.post-text {
    padding: 20px;
}

/* Container que segura as duas colunas */
.main-layout-wrapper {
    display: flex;
    gap: 40px; /* Espaço entre o blog e a sidebar */
    align-items: flex-start;
}

/* Coluna dos posts (75% da largura) */
.blog-main-content {
    flex: 3;
}

/* Coluna da Sidebar (25% da largura) */
.blog-sidebar {
    flex: 1;
    position: sticky; /* Opcional: faz a sidebar seguir o scroll */
    top: 20px;
}

/* Grid de 2 posts por linha dentro da coluna principal */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Ajustes para Celular */
@media (max-width: 992px) {
    .main-layout-wrapper {
        flex-direction: column; /* No celular, sidebar vai para baixo */
    }
    
    .blog-sidebar {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr; /* 1 post por linha no celular */
    }
}

/* Container Geral da Sidebar */
.blog-sidebar {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Sombra suave */
}

/* Estilização dos Widgets (cada bloco da sidebar) */
.blog-sidebar .widget, 
.blog-sidebar section {
    margin-bottom: 35px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.blog-sidebar .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Títulos da Sidebar (h4 e h3 para o fallback) */
.blog-sidebar h4, 
.blog-sidebar h3 {
    font-size: 1.2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Linha decorativa abaixo do título */
.blog-sidebar h4::after, 
.blog-sidebar h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #ff5a5f; /* Cor de destaque (pode trocar pela cor do seu logo) */
}

/* Links na Sidebar */
.blog-sidebar a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.blog-sidebar a:hover {
    color: #ff5a5f; /* Cor ao passar o mouse */
    padding-left: 5px; /* Efeito de deslocamento lateral */
}

/* Listas (comum em widgets de Categorias, Posts Recentes, etc) */
.blog-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 0.95rem;
}

.blog-sidebar ul li:last-child {
    border-bottom: none;
}

/* Widget de Texto / Fallback (p e h3) */
.blog-sidebar .widget p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* Container principal */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 10px;
    flex-wrap: wrap;
}

/* Estilo comum para todos os itens (links e span da página atual) */
.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

/* Links (quando passa o mouse) */
.pagination-wrapper a.page-numbers:hover {
    background-color: #ff5a5f; /* Cor de destaque */
    border-color: #ff5a5f;
    color: #fff;
}

/* Página Atual (o span gerado pelo WordPress) */
.pagination-wrapper .page-numbers.current {
    background-color: #333; /* Cor neutra para a página ativa */
    color: #fff;
    border-color: #333;
    cursor: default;
}

/* Estilo para os "..." (dots) */
.pagination-wrapper .page-numbers.dots {
    border: none;
    background: transparent;
    color: #999;
}

/* Ajuste específico para Anterior/Próximo */
.pagination-wrapper .prev, 
.pagination-wrapper .next {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .pagination-wrapper .page-numbers {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 0.8rem;
    }
}

/*Página Sobre - Giu Rovai*/

/* Variáveis de Design - Giu Rovai */
:root {
    --color-primary: #bc4b21; /* Terracota Lima */
    --color-text: #1a1a1a;
    --color-muted: #555555;
    --color-bg-alt: #fcfaf8;
    --font-serif: 'Playfair Display', serif; /* Certifique-se de carregar no functions.php */
    --font-sans: 'Inter', sans-serif;
    --container-width: 1100px;
}

.sobre-giu {
    padding-top: 60px;
}

/* Hero Section */
.sobre-hero {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.sobre-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--color-text);
}

.lead {
    font-size: 1.35rem;
    color: var(--color-muted);
    max-width: 750px;
    line-height: 1.6;
}

/* Grid de Conteúdo */
.sobre-content {
    padding: 100px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.text-column p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-text);
}

.quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 30px;
    margin: 50px 0;
    color: var(--color-muted);
}

/* Sidebar Info */
.sticky-box {
    background: var(--color-bg-alt);
    padding: 40px;
    position: sticky;
    top: 40px;
    border-radius: 4px;
}

.sticky-box h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.check-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.btn-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-primary);
    transition: opacity 0.3s;
}

.btn-link:hover {
    opacity: 0.7;
}

/* Responsividade UX */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sobre-hero h1 {
        font-size: 2.5rem;
    }
}

/* Página de Contato - Giu Rovai */

.contato-hero {
    padding: 80px 0 60px;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 100px;
}

/* Estilização do Formulário */
.form-wrapper {
    background: #fff;
}

.custom-form .form-group {
    margin-bottom: 25px;
}

.custom-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.custom-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.custom-form input, 
.custom-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.custom-form input:focus, 
.custom-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-submit {
    background: var(--color-text);
    color: #fff;
    padding: 18px 40px;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--color-primary);
}

/* Sidebar de Informações */
.info-card {
    margin-bottom: 50px;
}

.info-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-muted);
}

.info-item a {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}

.btn-social {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary);
}

/* Ajustes Mobile */
@media (max-width: 850px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .custom-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contato-hero h1 {
        font-size: 2.5rem;
    }
}

/* Container dos Filtros */
.content-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os filtros na página */
    gap: 12px;
    margin: 30px 0 50px 0;
    padding: 0 10px;
}

/* Estilo Base dos Botões de Filtro */
.filter-btn {
    display: inline-block;
    padding: 10px 22px;
    background-color: #f8f8f8;
    color: #444;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #e0e0e0;
    border-radius: 50px; /* Estilo "pílula" (pill button) */
    transition: all 0.3s ease;
}

/* Efeito de Hover */
.filter-btn:hover {
    background-color: #ff5a5f; /* Cor de destaque usada na sidebar */
    border-color: #ff5a5f;
    color: #ffffff;
    transform: translateY(-2px); /* Leve elevação ao passar o mouse */
    box-shadow: 0 4px 10px rgba(255, 90, 95, 0.2);
}

/* Estilo para quando o filtro está "Ativo" (Opcional) */
/* Se você quiser destacar o filtro da página atual, adicione uma lógica no PHP para inserir a classe .active */
.filter-btn.active {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

/* Ajustes para Mobile */
@media (max-width: 600px) {
    .content-filters {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Página 404 - Giu Rovai */

.error-404-page {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-wrapper {
    max-width: 800px;
}

.error-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 20px 0;
    color: var(--color-text);
}

.error-content .lead {
    margin-bottom: 40px;
    color: var(--color-muted);
}

/* Navegação de Recuperação */
.error-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.error-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.error-nav a span {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 2px 6px;
    border-radius: 2px;
}

.error-nav a:hover {
    color: var(--color-primary);
}

/* CTA WhatsApp */
.error-cta p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--color-muted);
}

.btn-whatsapp {
    display: inline-block;
    padding: 15px 35px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .error-nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

/* ==========================================================================
   SEÇÃO DE RECUPERAÇÃO (BUSCA E POSTS) - 404
   ========================================================================== */

.error {
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.error h2 {
    font-family: var(--font-serif); /* Playfair Display */
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 30px;
}

/* Formulário de Busca Nativo do WordPress */
.error .search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 80px;
    position: relative;
}

.error .search-field {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.error .search-field:focus {
    outline: none;
    border-color: var(--color-primary);
}

.error .search-submit {
    background: var(--color-text);
    color: #fff;
    border: none;
    padding: 0 25px;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.error .search-submit:hover {
    background: var(--color-primary);
}

/* Widget de Posts Recentes */
.widget_recent_entries {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

/* Estilização do Título do Widget via PHP (Latest Posts) */
.widget_recent_entries h2 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 20px;
}

.widget_recent_entries ul {
    list-style: none;
    padding-bottom: 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.widget_recent_entries li {
    position: relative;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.widget_recent_entries li a {
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.widget_recent_entries li a:hover {
    color: var(--color-primary);
}

/* Data do Post (se o widget estiver configurado para exibir) */
.post-date {
    display: block;
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ajustes para Mobile */
@media (max-width: 850px) {
    .widget_recent_entries ul {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .error .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .error .search-submit {
        padding: 15px;
    }

    .error .search-field {
        border-right: 1px solid #e0e0e0;
    }
}