* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.site-header {
    background: #222;
    color: #fff;
    padding: 20px;
}
.site-header .logo img {
    max-height: 40px;
    height: auto;
    width: auto;
}
.main-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.main-navigation .menu li a {
    color: #fff;
    text-decoration: none;
}

/*** Seção Hero ***/
.hero {
    position: relative;
    background-image: url('/wp-content/themes/wp-metalrey/assets/images/hero_05.jpg'); 
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Fundo escuro semi-transparente para leitura melhor */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    display: block;
}

.hero h2 {
    margin-bottom: 30px;
    display: block;
}

.hero-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #e6b800;
}

/*** Seção Linha de Produtos ***/
.products {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.products h2 {
    font-size: 32px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 3px solid #f2c811; /* Linha decorativa amarelo ouro, ajuste a cor se quiser */
    display: inline-block;
    padding-bottom: 10px;    
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 33.33%; /* Antes era 100% */
    box-sizing: border-box;
    padding: 10px;
}

.carousel-item img {
    width: 100%;    
    height: 491px;           /* Altura fixa */
    object-fit: cover;       /* Faz com que a imagem preencha sem distorcer */    
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave nas imagens */    
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/*** Seção Tudo para seu Projeto ***/
.metalrey-section {
    background: #f9f9f9;
    padding: 56px 0 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;  
}

#div-metalrey-section {
    text-align: center;
    margin-bottom: 3rem;
}

.title {
    font-size: 32px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 3px solid #f2c811; /* Linha decorativa amarelo ouro, ajuste a cor se quiser */
    display: inline-block;
    padding-bottom: 10px;    
}

.subtitle {
  font-size: 1.50rem;
  color: #5e5e5e;
  margin-bottom: 1.5em;
  font-weight: 400;
}

.lista-centralizada-wrap {    
    width: 70vw;        /* ocupa toda a largura da tela */  
    display: block;      /* ou flex, mas block também funciona */  
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 auto 40px auto;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);    
}

.features-grid {  
  list-style: none;
  padding: 0;
  margin: 0 auto;                 /* centraliza horizontalmente */
  max-width: 650px;               /* ajuste o valor até ficar como você quer */
  width: 100%;                    /* responsivo */  
}

.features-grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  color: #333;
  margin-bottom: 10px;
  margin-left: 10px;

}

.icon-check {
  flex-shrink: 0;
  margin-top: 0.1em; /* Ajuste para alinhar meio do texto */
}

.features-grid li:hover {
  background: #eceff1;
  color: #26895c;
}

.icon-check {
  display: flex;
  align-items: center;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 22px 0;
  }
  .features-grid li {
    font-size: 1rem;
  }
}

/* Container do card */
/* Container principal em duas colunas */
.cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.card-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.process-step {
    background: #f8f9fa;
    color: #333;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    counter-increment: step-counter;
    border-left: 4px solid #34A853;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    background: #fff;
}

.process-step:before {
    content: counter(step-counter);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #34A853;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
}

.process-step:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid #34A853;
    border-bottom: 2px solid #34A853;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.process-step:hover:after {
    opacity: 1;
}          

.card-container {
    counter-reset: step-counter;
    margin-top: 20px;
}

#div-form-contato {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

#div-form-contato h2 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
}

/* Simulação do formulário para demonstração */
.form-placeholder {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px dashed rgba(255,255,255,0.3);
}

@media (max-width: 480px) {
    .services-section {
        margin-bottom: 30px;
        padding: 20px;
    }
    
    .service-item {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .card-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .process-step {
        font-size: 1rem;
        margin: 20px 0;
    }
}

/*** Formulário de contato ***/
/* Estilos para campos de formulário */
#div-form-contato input,
#div-form-contato textarea,
#div-form-contato select {
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

#div-form-contato input:focus,
#div-form-contato textarea:focus,
#div-form-contato select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.2);
}

#div-form-contato .wpcf7-submit {
    background: #34A853;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

#div-form-contato .wpcf7-submit:hover {
    background: #28a745;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 168, 83, 0.3);
}

/*** Seção Localização ***/
.location-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 2rem;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.location-info {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.location-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #34A853, #28a745);
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #34A853, #28a745);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.info-title {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 600;
}

.address-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.address-item:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.address-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.address-content {
    flex: 1;
}

.address-label {
    font-weight: 600;
    color: #34A853;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.address-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

.map-section {
    background: #f7fafc;
    padding: 40px 24px;
    text-align: center;
    position: relative;
}

.map-container {
    width: 100%;
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.google-maps-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.google-maps-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(72, 187, 120, 0.3);
}

.google-maps-btn:active {
    transform: translateY(0);
}

.directions-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 480px) {
    .container {
        margin: 0;
        border-radius: 0;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 20px;
    }

    .map-section {
        padding: 32px 20px;
    }

    .map-container iframe {
        height: 250px;
    }

    .address-details {
        padding: 16px;
    }

    .google-maps-btn {
        padding: 14px 28px;
        font-size: 15px;
    }  

}

/* Responsividade */
@media (max-width: 768px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .location-info {
        padding: 2rem;
    }
    
    .location-section {
        padding: 0 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-info,
.map-container {
    animation: fadeInUp 0.6s ease forwards;
}

.map-container {
    animation-delay: 0.2s;
}

/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #48bb78, #38a169, #2f855a);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 500px;
}

.logo-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #48bb78;
}

.company-name {
    font-size: 16px;
    color: #a0aec0;
    font-weight: 500;
}

.tagline {
    font-size: 14px;
    color: #cbd5e0;
    line-height: 1.4;
    margin-top: 12px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 600px;
    width: 100%;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #48bb78, #38a169);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(72, 187, 120, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.contact-title {
    font-size: 12px;
    font-weight: 600;
    color: #48bb78;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 14px;
    color: white;
    font-weight: 500;
    line-height: 1.3;
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value a:hover {
    color: #48bb78;
}

.address-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 500px;
}

.address-title {
    font-size: 16px;
    font-weight: 600;
    color: #48bb78;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.address-icon {
    width: 18px;
    height: 18px;
    fill: #48bb78;
}

.address-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.address-line {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 6px;
    line-height: 1.3;
}

.address-line:last-child {
    margin-bottom: 0;
}

.address-line strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.copyright {
    font-size: 14px;
    color: #a0aec0;
    line-height: 1.6;
}

.cnpj {
    font-size: 13px;
    color: #718096;
    margin-top: 6px;
}

@media (max-width: 1024px) {
    .footer-content {
        gap: 30px;
    }

    .contact-grid {
        max-width: 600px;
    }

    .company-section,
    .address-section {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-content {
        gap: 20px;
    }

    .contact-item {
        padding: 14px;
    }

    .logo {
        font-size: 24px;
    }
}

/* Animação de entrada */
.contact-item {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorias visuais adicionais */
@media (min-width: 1200px) {
    .footer-content {
        max-width: 900px;
    }
    
    .contact-grid {
        max-width: 700px;
    }
}


/** css para aplicar no template page.php **/
.site-page {
    max-width: 1140px; 
    margin: 60px auto;
    padding: 0 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Linha decorativa no topo */
.site-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f2c811, #ffcc00, #e6b800);
}

/* Título da seção (pode ser adicionado via HTML se necessário) */
.site-page::after {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    text-transform: uppercase;
    border-bottom: 3px solid #f2c811;
    padding-bottom: 10px;
    background: white;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 2;
}

/* Espaçamento interno da seção */
.site-page {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Estilização dos parágrafos */
.site-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    text-align: justify;
    padding: 0;
    position: relative;
    width: 100%;
}

.site-page p:last-child {
    margin-bottom: 0;
}

/* Destaque para o nome da empresa */
.site-page strong {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* Responsividade */
@media (max-width: 768px) {
    .site-page {
        margin: 30px 20px;
        padding: 80px 1.5rem 40px 1.5rem;
        border-radius: 10px;
        max-width: none;
    }
    
    .site-page::after {
        font-size: 1.5rem;
        top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .site-page p {
        font-size: 1rem;
        padding: 0;
        text-align: left;
    }
    
    .site-page p:first-child,
    .site-page p:last-child {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .site-page {
        margin: 20px 15px;
        padding: 70px 20px 30px 20px;
        max-width: none;
    }
    
    .site-page::after {
        font-size: 1.2rem;
        top: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .site-page p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0;
    }
    
    .site-page p:first-child::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-page {
    animation: fadeInUp 0.8s ease forwards;
}

.site-page p {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.site-page p:nth-child(1) { animation-delay: 0.2s; }
.site-page p:nth-child(2) { animation-delay: 0.4s; }
.site-page p:nth-child(3) { animation-delay: 0.6s; }


/**
 * ===================================================================
 * CSS para Template de Post Único (.site-single)
 * ===================================================================
 */

/* 1.0 Estrutura Principal do Container
--------------------------------------------- */
.site-single {
    background: #ffffff;
    max-width: 1140px; /* Largura ideal para leitura */
    margin: 60px auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Garante que elementos internos respeitem o border-radius */
}

/* 2.0 Cabeçalho do Post (Título e Meta)
--------------------------------------------- */
.site-single .entry-header {
    padding: 4rem 4rem 2.5rem 4rem;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.site-single .entry-title {
    font-size: 2.8rem; /* Título com bastante impacto */
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.site-single .entry-meta {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-single .entry-meta a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-single .entry-meta a:hover {
    color: #f2c811; /* Cor de destaque da sua marca */
}

.site-single .entry-meta .meta-item {
    margin: 0 10px;
    display: inline-block;
}

/* 3.0 Conteúdo do Post
--------------------------------------------- */
.site-single .entry-content {
    padding: 3rem 4rem;
    color: #333;
    font-size: 1.1rem; /* 17px ou 18px é ótimo para leitura */
    line-height: 1.8;
}

.site-single .entry-content p {
    margin-bottom: 1.5em;
}

.site-single .entry-content h2,
.site-single .entry-content h3,
.site-single .entry-content h4 {
    color: #2c3e50;
    margin-top: 2.5em;
    margin-bottom: 1em;
    line-height: 1.4;
    font-weight: 600;
}

.site-single .entry-content h2 { font-size: 1.8rem; }
.site-single .entry-content h3 { font-size: 1.5rem; }
.site-single .entry-content h4 { font-size: 1.2rem; }

.site-single .entry-content strong {
    font-weight: 700;
    color: #000;
}

.site-single .entry-content a {
    color: #f2c811;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.site-single .entry-content a:hover {
    color: #2c3e50;
    background: #f2c81130; /* Fundo sutil no hover */
}

/* 3.1 Imagens e Mídia */
.site-single .entry-content img,
.site-single .entry-content figure {
    max-width: 100%;
    height: auto;
    margin: 2.5em 0;
    border-radius: 8px;
}

.site-single .entry-content figure {
    text-align: center;
}

.site-single .entry-content figcaption {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.8em;
    font-style: italic;
}

/* Alinhamentos do editor Gutenberg */
.site-single .alignwide {
    max-width: 1100px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.site-single .alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    border-radius: 0;
}


/* 3.2 Listas */
.site-single .entry-content ul,
.site-single .entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 25px;
}

.site-single .entry-content li {
    margin-bottom: 0.5em;
}

/* 3.3 Citações (Blockquote) */
.site-single .entry-content blockquote {
    margin: 2em 0;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-left: 5px solid #f2c811;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
}

.site-single .entry-content blockquote p {
    margin-bottom: 0;
}

/* 3.4 Bloco de Código */
.site-single .entry-content pre {
    background-color: #282c34; /* Fundo escuro para código */
    color: #abb2bf;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2em 0;
    white-space: pre-wrap;
    overflow-x: auto;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
}

/* 4.0 Rodapé do Post (Tags)
--------------------------------------------- */
.site-single .entry-footer {
    padding: 2rem 4rem;
    border-top: 1px solid #e9ecef;
}

.site-single .tags-links a {
    display: inline-block;
    background: #e9ecef;
    color: #555;
    padding: 8px 15px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-single .tags-links a:hover {
    background: #f2c811;
    color: #fff;
}

/* 5.0 Caixa do Autor
--------------------------------------------- */
.site-single .author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 2rem;
    margin: 0 4rem 3rem 4rem;
    border-radius: 8px;
}

.site-single .author-box .author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.site-single .author-box .author-title {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.site-single .author-box .author-bio {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 6.0 Seção de Comentários
--------------------------------------------- */
.site-single .comments-area {
    padding: 2rem 4rem 3rem 4rem;
    border-top: 1px solid #e9ecef;
}

.site-single .comments-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 2em;
}

.site-single .comment-list {
    list-style: none;
    padding: 0;
}

.site-single .comment-body {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.site-single .comment-author {
    font-weight: bold;
    font-size: 1rem;
}

.site-single .comment-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

.site-single .reply a {
    font-size: 0.9rem;
    font-weight: bold;
    color: #f2c811;
    text-decoration: none;
}

/* Formulário de resposta */
.site-single .comment-form input[type="text"],
.site-single .comment-form input[type="email"],
.site-single .comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.site-single .comment-form .form-submit input {
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.site-single .comment-form .form-submit input:hover {
    background: #f2c811;
}


/* 7.0 Animação de Entrada
--------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-single {
    animation: fadeIn 0.6s ease-out forwards;
}


/* 8.0 Responsividade
--------------------------------------------- */
@media (max-width: 900px) {
    .site-single {
        margin: 40px 20px;
    }

    .site-single .entry-header,
    .site-single .entry-content,
    .site-single .entry-footer,
    .site-single .comments-area {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .site-single .author-box {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .site-single .entry-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 540px) {
    .site-single {
        margin: 20px 0;
        border-radius: 0; /* Tela cheia em mobile */
    }

    .site-single .entry-header,
    .site-single .entry-content,
    .site-single .entry-footer,
    .site-single .comments-area {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .site-single .author-box {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .site-single .entry-title {
        font-size: 1.8rem;
    }

    .site-single .entry-content {
        font-size: 1rem;
    }
}