/*
Theme Name: Receitas Da Paula - Totalmente Editável
Theme URI: https://receitasdapaula.com.br
Author: Receitas Da Paula
Description: Tema WordPress responsivo fiel à imagem enviada, totalmente editável pelo painel: logo, hero, imagens dos posts, textos da home, newsletter e redes sociais.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.6
Text Domain: receitas-da-paula
*/

:root {
  --orange: #ff5b00;
  --orange2: #ff7a1b;
  --dark: #17100c;
  --cream: #fff7ef;
  --paper: #fffaf5;
  --line: #ead4bd;
  --muted: #75685e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at 9% 8%, rgba(255,91,0,.07), transparent 22%),
    radial-gradient(circle at 92% 15%, rgba(255,91,0,.06), transparent 20%),
    linear-gradient(90deg,#f0dec8 0,#fff8f0 18%,#fff8f0 82%,#dec8ad 100%);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.rdp-wrap {
  width: min(1220px, 96%);
  margin: 36px auto;
  background: rgba(255,250,245,.96);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(73,37,13,.18);
}

.rdp-container { width: min(1120px, 92%); margin: 0 auto; }

.rdp-header {
  background: #fff;
  border-bottom: 5px solid var(--orange);
  position: relative;
  z-index: 20;
}

.rdp-header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rdp-logo img { width: 385px; max-width: 100%; }

.rdp-menu { display: flex; align-items: center; gap: 22px; }
.rdp-menu ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 25px; align-items: center; }
.rdp-menu a { font-size: 15px; font-weight: 700; color: #21160f; }
.rdp-menu a:hover { color: var(--orange); }

.rdp-cta {
  background: linear-gradient(180deg,var(--orange2),var(--orange));
  color: #fff !important;
  padding: 14px 18px;
  border-radius: 5px;
  font-weight: 800 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 #c84900;
}

.rdp-search-icon { font-size: 24px; }
.rdp-toggle { display: none; background: none; border: 0; font-size: 32px; color: #111; }

.rdp-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg,rgba(0,0,0,.04),rgba(0,0,0,.02)),
    var(--rdp-hero-image) left center/50% 100% no-repeat,
    linear-gradient(90deg,#bf8d64,#c99e76);
}

.rdp-hero:after {
  content: "";
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 63%;
  background:
    linear-gradient(90deg,rgba(119,74,38,.18),rgba(127,83,49,.80)),
    repeating-linear-gradient(0deg,rgba(255,255,255,.08) 0 1px,transparent 1px 35px);
}

.rdp-hero-content {
  position: relative;
  z-index: 2;
  margin-left: 45%;
  width: 55%;
  text-align: center;
  color: #fff;
  text-shadow: 0 3px 5px rgba(0,0,0,.35);
  padding: 45px 22px;
}

.rdp-hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  line-height: 1;
  margin: 0 0 8px;
}

.rdp-hero p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 29px;
  font-style: italic;
  font-weight: 700;
  margin: 0 0 24px;
}

.rdp-tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid #d09770;
  border-radius: 5px;
  overflow: hidden;
  text-shadow: none;
  margin-bottom: 22px;
}

.rdp-tabs a {
  min-width: 116px;
  padding: 12px 18px;
  font-weight: 800;
  color: #111;
}

.rdp-tabs a.active { background: var(--orange); color: #fff; }

.rdp-search-form { display: flex; gap: 0; width: 100%; margin: 0; }
.rdp-hero .rdp-search-form { max-width: 560px; margin: 0 auto; }

.rdp-search-form input {
  flex: 1;
  border: 1px solid #d7c2ad;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
}

.rdp-search-form button {
  width: 58px;
  border: 0;
  background: linear-gradient(180deg,var(--orange2),var(--orange));
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.rdp-benefits { background: #fff; border-bottom: 1px solid #eee; }
.rdp-benefits-inner { display: grid; grid-template-columns: repeat(5,1fr); }
.rdp-benefit {
  padding: 22px 18px;
  border-right: 1px solid #eee;
  display: flex;
  gap: 12px;
  align-items: center;
}
.rdp-benefit:last-child { border-right: 0; }
.rdp-benefit strong { display: block; font-size: 14px; }
.rdp-benefit span { font-size: 12px; color: #555; }
.rdp-benefit .num { font-size: 31px; color: var(--orange); font-weight: 900; }

.rdp-main-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 30px;
  padding-top: 26px;
}

.rdp-section { padding: 0 0 30px; }
.rdp-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  font-size: 24px;
}
.rdp-title:after { content: ""; height: 1px; background: #d8bea5; flex: 1; }
.rdp-title span { border-bottom: 3px solid var(--orange); padding-bottom: 6px; }

.rdp-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.rdp-grid-small { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

.rdp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(55,31,14,.07);
  transition: .25s ease;
}
.rdp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(55,31,14,.14); }

.rdp-thumb { height: 158px; overflow: hidden; background: #eee; }
.rdp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.rdp-card:hover .rdp-thumb img { transform: scale(1.07); }

.rdp-card-body { padding: 14px; }
.rdp-card h2, .rdp-card h3 { font-size: 17px; margin: 0 0 11px; line-height: 1.22; }
.rdp-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #4f4740; font-size: 12px; margin: 8px 0; }

.rdp-button {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  background: linear-gradient(180deg,var(--orange2),var(--orange));
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.rdp-wide-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.rdp-wide {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.rdp-wide img { width: 100%; height: 135px; object-fit: cover; }
.rdp-wide h3 { font-size: 16px; text-align: center; margin: 10px; }
.rdp-wide a { color: var(--orange); font-size: 13px; font-weight: 700; display: block; text-align: center; margin: 0 0 12px; }

.rdp-mini-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.rdp-mini-card img { width: 82px; height: 62px; object-fit: cover; border-radius: 4px; }
.rdp-mini-card strong { font-size: 13px; display: block; margin-bottom: 4px; }
.rdp-mini-card span { font-size: 11px; color: #555; }

.rdp-sidebar-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 16px;
}
.rdp-sidebar-box h3 {
  font-size: 16px;
  margin: 0 0 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  padding-bottom: 6px;
}

.rdp-social { display: flex; gap: 12px; justify-content: center; }
.rdp-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.rdp-cat-list { list-style: none; margin: 0; padding: 0; }
.rdp-cat-list li { border-bottom: 1px solid #eee; padding: 8px 0; font-size: 14px; }

.rdp-newsletter {
  background: #fff3e5;
  padding: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
}
.rdp-newsletter h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 30px; }
.rdp-newsletter form { display: flex; min-width: 360px; }
.rdp-newsletter input { flex: 1; padding: 15px; border: 1px solid var(--line); }
.rdp-newsletter button { border: 0; background: var(--orange); color: #fff; padding: 0 22px; font-weight: 800; }

.rdp-single {
  background: #fff;
  border: 1px solid var(--line);
  margin: 30px auto;
  padding: 30px;
  border-radius: 8px;
}
.rdp-single-feature { width: 100%; max-height: 520px; object-fit: cover; border-radius: 6px; }
.rdp-single h1 { font-family: Georgia, serif; font-size: 42px; margin: 20px 0 10px; }
.rdp-single-content { font-size: 18px; line-height: 1.75; }
.rdp-recipe-box { background: #fff7ef; border-left: 5px solid var(--orange); padding: 18px; margin: 20px 0; }

.rdp-footer {
  background: #2a1b12;
  color: #fff;
  text-align: center;
  padding: 38px 20px;
  margin-top: 30px;
}
.rdp-footer img { width: 285px; margin: 0 auto 10px; filter: brightness(0) invert(1); }
.rdp-footer-menu ul { list-style: none; margin: 18px 0; padding: 0; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

@media(max-width:1050px) {
  .rdp-main-layout { grid-template-columns: 1fr; }
  .rdp-sidebar { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
  .rdp-benefits-inner { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:980px) {
  .rdp-wrap { width: 100%; margin: 0; border-radius: 0; }
  .rdp-header-inner { min-height: 88px; }
  .rdp-logo img { width: 285px; }
  .rdp-toggle { display: block; }
  .rdp-menu {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 30px;
    border-bottom: 4px solid var(--orange);
    box-shadow: 0 16px 30px rgba(0,0,0,.15);
  }
  .rdp-menu.open { display: block; }
  .rdp-menu ul { display: block; }
  .rdp-menu li { border-bottom: 1px solid #eee; padding: 13px 0; }
  .rdp-cta { display: inline-block; margin-top: 14px; }
  .rdp-hero { background: var(--rdp-hero-image) center/cover no-repeat; min-height: 360px; }
  .rdp-hero:after { width: 100%; background: rgba(80,47,22,.62); }
  .rdp-hero-content { margin-left: 0; width: 100%; padding: 48px 18px; }
  .rdp-grid, .rdp-grid-small, .rdp-wide-grid { grid-template-columns: repeat(3,1fr); }
  .rdp-newsletter { display: block; text-align: center; }
  .rdp-newsletter form { min-width: 0; max-width: 560px; margin: 20px auto 0; }
}

@media(max-width:720px) {
  .rdp-container { width: 92%; }
  .rdp-logo img { width: 245px; }
  .rdp-hero h1 { font-size: 32px; }
  .rdp-hero p { font-size: 22px; }
  .rdp-tabs a { min-width: 88px; padding: 10px; }
  .rdp-grid, .rdp-grid-small, .rdp-wide-grid { grid-template-columns: repeat(2,1fr); gap: 13px; }
  .rdp-thumb { height: 135px; }
  .rdp-card h2, .rdp-card h3 { font-size: 16px; }
  .rdp-sidebar { grid-template-columns: 1fr; }
  .rdp-benefits-inner { grid-template-columns: 1fr; }
  .rdp-benefit { border-right: 0; border-bottom: 1px solid #eee; }
}

@media(max-width:480px) {
  .rdp-grid, .rdp-grid-small, .rdp-wide-grid { grid-template-columns: 1fr; }
  .rdp-thumb { height: 210px; }
  .rdp-newsletter form { display: block; }
  .rdp-newsletter input, .rdp-newsletter button { width: 100%; padding: 15px; }
}
