/*
Theme Name: Paulista Blog PRO
Author: Andrew
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #f9fafc;
  color: #111;
  line-height: 1.6;
}

.container {
  width: 1200px;
  max-width: 92%;
  margin: auto;
}

/* HERO */

.hero {
  padding: 100px 0 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #64748b;
}

/* LAYOUT */

.container.grid > div{
    display: contents;
}

.container.grid{
    display: grid;
    grid-template-columns: 1fr 1fr 320px;
    gap: 40px;
}

/* sidebar fixa na coluna 3 */
.sidebar{
    grid-column: 3;
    grid-row: 2;
}

/* POST CARD */

.post-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  margin-bottom: 40px;
  transition: 0.3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.post-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.post-content {
  padding: 30px;
}

.post-content h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.post-content a {
  text-decoration: none;
  color: #0f172a;
}

.post-content p {
  color: #64748b;
  margin-bottom: 15px;
}

.read-more {
  color: #2563eb;
  font-weight: 600;
}

/* SIDEBAR */

.sidebar .widget p{
    color:#000;
	font-size: 22px;
}

.widget {
  background: #fff;
  text-decoration:none;
  color: #000;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  margin-bottom: 30px;
}

.widget a{
	text-decoration: none;
	color: #000
}

/* FOOTER */

footer {
  margin-top:100px;
  background:#0f172a;
  color:#fff;
  text-align:center;
}

.footer-widget ul li{
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
	margin-bottom: 5px;
	width: 30%;
}

/* PARTE SUPERIOR DO FOOTER */

.footer-top{
    background:#c4944a;
    padding:60px 0;
}

/* CONTAINER DOS WIDGETS */

.footer-widgets{
    display:grid;
    grid-template-columns:250px 1fr;
    padding:20px;
    align-items:flex-start;
    text-align:left;
}

/* IMAGEM */

.footer-widgets img{
    max-width:200px;
    height:auto;
}

/* CATEGORIAS */

.footer-widgets ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-widgets li{
    border-bottom:1px solid rgba(0,0,0,0.2);
    padding:5px 0;
}

.footer-widgets a{
    text-decoration:none;
    color:#fff;
    font-size:14px;
}

.footer-widgets a:hover{
    text-decoration:none;
    color:#60a5fa;
    font-size:14px;
	transition: color 0.4s ease;
}

/* COPYRIGHT */

.footer-bottom{
    background:#000;
    color:#fff;
    text-align:center;
    padding:20px;
    border-top:1px solid rgba(255,255,255,0.1);
}

p{
	color:#fff;
	font-size: 13px;
}

/* RESPONSIVO */

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* HEADER CENTRALIZADO */

header {
  background:#0f172a;
  padding:35px 0;
  text-align:center;
}

.header-center {
  display:flex;
  flex-direction:column;
  align-items:center;
}

.logo img {
  height: auto;
  max-width: 350px;
  width: auto;
  display: block;
}

.menu-center ul {
  list-style:none;
  display:flex;
  gap:40px;
  padding:0;
  margin:0;
}

.menu-center a {
  text-decoration:none;
  color:#ffffff;
  font-weight:500;
  font-size:16px;
}

.menu-center a:hover {
  color:#60a5fa;
  transition: color 0.4s ease;

}

input{
	border: solid 1px #aeaeae;
	border-radius: 10px;
	padding: 8px;
}

.wp-block-search__button{
	background: #0f172a;
    border-radius: 5px;
    color: #fff;
    padding: 10px;	
	font-size: 16px;
}