/* Theme: Kamra es Koret Naplo - Editorial WordPress Magazine Layout */
:root {
  --wp-bg: #FAF8F5;
  --wp-surface: #FFFFFF;
  --wp-alt: #F2EEE7;
  --wp-primary: #234E3E;
  --wp-primary-hover: #193A2E;
  --wp-accent: #B85D3B;
  --wp-text: #222624;
  --wp-muted: #5E6460;
  --wp-border: #E0D9CE;
}

body {
  background-color: var(--wp-bg);
  color: var(--wp-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.72;
  font-size: 16px;
}

h1, h2, h3, h4, .entry-title, .site-title, .widget-title {
  font-family: Georgia, "Times New Roman", serif;
  color: #18221E;
  line-height: 1.32;
}

a {
  color: var(--wp-primary);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}
a:hover {
  color: var(--wp-accent);
}

.top-utility-bar {
  background: #1B3B2F;
  color: #E5ECE9;
  font-size: 0.84rem;
  padding: 0.42rem 0;
}
.top-utility-bar a {
  color: #E5ECE9;
  margin-left: 1rem;
}
.top-utility-bar a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.site-header {
  background: var(--wp-surface);
  border-bottom: 1px solid var(--wp-border);
  box-shadow: 0 2px 10px rgba(24, 34, 30, 0.03);
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 0;
}
.site-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.site-title a {
  color: #18221E;
}
.site-description {
  margin: 0;
  font-size: 0.86rem;
  color: var(--wp-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.main-navigation {
  border-top: 1px solid #EFEAE1;
  background: var(--wp-surface);
}
.main-navigation .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.main-navigation .nav-list li a {
  display: block;
  padding: 0.78rem 1rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: #2B332F;
  border-bottom: 3px solid transparent;
}
.main-navigation .nav-list li a:hover,
.main-navigation .nav-list li a.current-menu-item {
  color: var(--wp-primary);
  border-bottom-color: var(--wp-accent);
  background: #FCFBF9;
}

.featured-banner {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}
.cat-badge {
  display: inline-block;
  background: #E6EFEA;
  color: var(--wp-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.68rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.hentry {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  padding: 1.65rem;
  margin-bottom: 1.5rem;
}
.entry-title {
  font-size: 1.42rem;
  margin-bottom: 0.55rem;
}
.single-post .entry-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.entry-meta {
  font-size: 0.85rem;
  color: var(--wp-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.entry-summary p {
  color: #3A403D;
  margin-bottom: 1rem;
}
.read-more-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--wp-accent);
}
.read-more-link:hover {
  color: var(--wp-primary);
  text-decoration: underline;
}

.entry-content h2 {
  font-size: 1.48rem;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #ECE6DC;
}
.entry-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}
.entry-content p, .entry-content ul, .entry-content ol {
  margin-bottom: 1.15rem;
}
.entry-figure {
  margin: 1.25rem 0 1.6rem;
  background: var(--wp-alt);
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  overflow: hidden;
}
.entry-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.entry-figure figcaption {
  padding: 0.55rem 0.9rem;
  font-size: 0.83rem;
  color: var(--wp-muted);
  background: #F7F4EE;
  border-top: 1px solid var(--wp-border);
}

.wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: 0.94rem;
}
.wp-block-table th, .wp-block-table td {
  border: 1px solid var(--wp-border);
  padding: 0.68rem 0.85rem;
  text-align: left;
}
.wp-block-table th {
  background: #EFECE5;
  font-weight: 700;
  color: #1D2622;
}
.wp-block-table tr:nth-child(even) td {
  background: #FCFBF8;
}

.wp-block-quote {
  border-left: 4px solid var(--wp-accent);
  background: #F6F2EB;
  padding: 1rem 1.25rem;
  margin: 1.4rem 0;
  font-style: italic;
  color: #353B38;
  border-radius: 0 6px 6px 0;
}

.widget-area .widget {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  padding: 1.35rem;
  margin-bottom: 1.4rem;
}
.widget-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--wp-primary);
}
.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget ul li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #F0ECE3;
  font-size: 0.93rem;
}
.widget ul li:last-child {
  border-bottom: none;
}
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}
.tag-cloud-link {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  background: var(--wp-alt);
  border: 1px solid var(--wp-border);
  border-radius: 4px;
  font-size: 0.83rem;
  color: #36403B;
}
.tag-cloud-link:hover {
  background: var(--wp-primary);
  color: #FFFFFF;
  border-color: var(--wp-primary);
}

.breadcrumb-trail {
  font-size: 0.86rem;
  color: var(--wp-muted);
  margin-bottom: 1.15rem;
  padding: 0.55rem 0.9rem;
  background: #F3EFE7;
  border-radius: 6px;
}

.author-bio-box {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #F4F0E8;
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 2rem;
}
.author-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wp-primary);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.comments-area {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  padding: 1.6rem;
  margin-top: 1.75rem;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.comment-body {
  padding: 1rem 0;
  border-bottom: 1px solid #EEE9DF;
}
.comment-meta {
  font-size: 0.85rem;
  color: var(--wp-muted);
  margin-bottom: 0.35rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.45rem 0.88rem;
  margin-right: 0.3rem;
  border: 1px solid var(--wp-border);
  background: var(--wp-surface);
  border-radius: 5px;
  font-weight: 600;
}
.pagination .page-numbers.current {
  background: var(--wp-primary);
  color: #FFFFFF;
  border-color: var(--wp-primary);
}

.site-footer {
  background: #1B2923;
  color: #D2DCD7;
  padding: 3rem 0 1.75rem;
  margin-top: 3rem;
  font-size: 0.92rem;
}
.site-footer h4 {
  color: #FFFFFF;
  font-size: 1.08rem;
  margin-bottom: 1rem;
}
.site-footer a {
  color: #C7D6CF;
}
.site-footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.83rem;
  color: #9FB0A8;
}

.cookie-notice-bar {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--wp-border);
  box-shadow: 0 10px 32px rgba(0,0,0,0.14);
  border-radius: 10px;
  padding: 1.1rem 1.35rem;
  z-index: 1050;
  display: none;
}
.cookie-notice-bar.is-visible {
  display: block;
}

@media (max-width: 767px) {
  .hentry, .featured-banner, .comments-area { padding: 1.2rem; }
  .single-post .entry-title { font-size: 1.55rem; }
}
