/*
Theme Name: SEO Brand Theme
Theme URI: https://example.invalid/seo-brand-theme
Author: SEO Core
Description: Hızlı, erişilebilir ve mobile-first marka siteleri için blok tema.
Version: 0.2.1
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: seo-brand-theme
*/

body {
  --brand-primary: var(--wp--preset--color--brand, #183b68);
  --brand-accent: var(--wp--preset--color--accent, #1d70b8);
  --surface: #fff;
  --surface-muted: #f3f6fa;
  --text-primary: #17283e;
  --text-secondary: #526176;
  --border: #dce3ec;
  --success: #216b4c;
  --warning: #805d16;
  margin: 0;
  background: #f8fafc;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 4px;
}
a {
  color: var(--brand-accent);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--brand-primary);
}
h1,
h2,
h3 {
  color: var(--text-primary);
  text-wrap: balance;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(32px, 4vw, 48px);
}
h2 {
  font-size: clamp(26px, 2.5vw, 30px);
}
h3 {
  font-size: 21px;
}
img,
video {
  max-width: 100%;
  height: auto;
}
.wp-site-blocks > * {
  margin-block-start: 0;
}
.seo-container,
.seo-page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.seo-page-shell {
  padding-block: 40px 64px;
  min-height: 55vh;
}
.seo-reading-shell {
  max-width: 780px;
}
.seo-skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  transform: translateY(-160%);
  background: var(--surface);
  padding: 12px 20px;
  z-index: 10;
}
.seo-skip-link:focus {
  transform: none;
}
.seo-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.seo-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 17px;
}
.seo-brand-name {
  color: var(--brand-primary);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.seo-brand-tagline {
  display: block;
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 12px;
}
.seo-desktop-nav {
  display: none;
}
.seo-nav-list,
.seo-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.seo-nav-list a {
  display: block;
  padding: 11px 10px;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.seo-nav-list a:hover {
  background: var(--surface-muted);
  color: var(--brand-primary);
}
.seo-mobile-nav {
  margin-left: auto;
}
.seo-mobile-nav summary {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.seo-mobile-nav[open] {
  width: 100%;
}
.seo-mobile-nav[open] summary {
  width: fit-content;
  margin-left: auto;
}
.seo-mobile-nav .seo-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding-top: 12px;
}
.seo-eyebrow {
  margin: 0 0 14px;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.seo-home-intro h1 {
  max-width: 810px;
  margin: 0;
}
.seo-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
}
.seo-address-section,
.seo-category-section {
  margin-top: 36px;
}
.seo-section-heading {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.seo-address-grid,
.seo-category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.seo-address-card,
.seo-category-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  background: var(--surface);
}
.seo-address-current {
  border-top: 3px solid var(--brand-primary);
}
.seo-address-next {
  background: var(--surface-muted);
}
.seo-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
}
.seo-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: '';
  flex-shrink: 0;
}
.seo-status[data-state='verified'] {
  color: var(--success);
}
.seo-status[data-state='unverified'] {
  color: var(--warning);
}
.seo-address-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}
.seo-address-next h3 {
  font-size: 20px;
}
.seo-address-card p {
  max-width: 60ch;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.seo-address-next p {
  font-size: 14px;
}
.seo-button {
  display: inline-block;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid var(--brand-primary);
  border-radius: 8px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.seo-button:hover {
  color: #fff;
  background: #122d4e;
}
.seo-category-heading {
  margin-bottom: 20px;
}
.seo-category-heading h2 {
  margin: 0 0 8px;
}
.seo-category-heading p {
  margin: 0;
  color: var(--text-secondary);
}
.seo-category-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.seo-category-card:hover {
  border-color: var(--brand-accent);
}
.seo-category-number {
  color: var(--text-secondary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.seo-category-card h3 {
  margin: 10px 0;
  font-size: 19px;
}
.seo-category-card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
}
.seo-category-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
}
.seo-home-content {
  max-width: 780px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}
.wp-block-post-content {
  overflow-wrap: anywhere;
}
.wp-block-post-content :where(h2, h3, h4) {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
}
.wp-block-post-content :where(ul, ol) {
  padding-left: 1.5em;
}
.wp-block-post-content li + li {
  margin-top: 0.4em;
}
.wp-block-post-content blockquote {
  margin: 28px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--brand-accent);
  background: var(--surface-muted);
}
.wp-block-post-content :where(pre, .wp-block-table) {
  max-width: 100%;
  overflow-x: auto;
}
.wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.wp-block-post-content :where(th, td) {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}
.wp-block-post-content th {
  background: var(--surface-muted);
}
.wp-block-post-date,
.wp-block-post-terms,
.wp-block-term-description {
  color: var(--text-secondary);
  font-size: 14px;
}
.wp-block-post-featured-image {
  overflow: hidden;
  border-radius: 14px;
}
.seo-archive .wp-block-post-template {
  display: grid;
  gap: 20px;
}
.seo-archive .wp-block-post-template > li {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  min-width: 0;
}
.seo-archive .wp-block-post-title {
  font-size: 24px;
}
.seo-archive .wp-block-query-no-results {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-secondary);
  background: var(--surface);
}
.seo-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.seo-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding-block: 36px;
}
.seo-footer-grid > div:first-child,
.seo-footer-grid > nav:last-child {
  grid-column: 1 / -1;
}
.seo-footer-grid > nav:last-child ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.seo-footer-grid h2 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0;
}
.seo-footer-grid p {
  max-width: 32ch;
  color: var(--text-secondary);
  font-size: 13px;
}
.seo-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
}
.seo-footer-links a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}
.seo-footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
}
.seo-footer-bottom p {
  margin: 0;
}
.seo-age-mark {
  flex-shrink: 0;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 700;
}
@media (min-width: 48rem) {
  .seo-page-shell {
    padding-block: 56px 72px;
  }
  .seo-address-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
  .seo-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-footer-grid {
    grid-template-columns: 1.25fr 1fr 1fr 0.85fr;
    gap: 24px;
  }
  .seo-footer-grid > div:first-child,
  .seo-footer-grid > nav:last-child {
    grid-column: auto;
  }
  .seo-footer-grid > nav:last-child ul {
    display: block;
  }
  .seo-archive .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .seo-desktop-nav {
    display: block;
  }
  .seo-desktop-nav .seo-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
  }
  .seo-mobile-nav {
    display: none;
  }
}
