/*
Theme Name: Starzbet Locationet
Theme URI: https://locationet.com/
Author: Locationet Editorial
Description: Starzbet odaklı hızlı ve erişilebilir yayın teması.
Version: 1.1.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: starzbet-locationet
*/

:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --surface: #131519;
  --surface-strong: #191c21;
  --text: #f5f6f7;
  --muted: #aeb4bd;
  --subtle: #7f8792;
  --line: #2a2f37;
  --accent: #ff7900;
  --accent-strong: #ff921e;
  --accent-ink: #1a0d00;
  --focus: #ffb057;
  --danger: #ff6464;
  --radius: 6px;
  --container: 1180px;
  --reading: 760px;
  --header: 72px;
  --shadow: 0 18px 48px rgb(0 0 0 / 0.28);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-strong);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(11 12 14 / 0.94);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img,
.custom-logo {
  width: 168px;
  height: 48px;
  object-fit: contain;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul,
.footer-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.primary-nav a,
.footer-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--accent-strong);
}

.button,
.wp-block-button__link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.button:active,
.wp-block-button__link:active {
  transform: translateY(1px);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: var(--surface-strong);
  color: var(--text);
}

.mobile-menu {
  display: none;
  justify-self: end;
}

.mobile-menu summary {
  min-width: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mobile-menu-panel nav ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mobile-menu-panel nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
}

.page-shell {
  min-height: 60vh;
}

.hero {
  min-height: min(700px, calc(100dvh - 112px));
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: 58px;
  padding-block: 56px 64px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-breadcrumb {
  margin: 0 0 20px;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.hero-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.hero-breadcrumb a:hover {
  color: var(--text);
}

.hero-breadcrumb-separator {
  color: var(--subtle);
}

.hero-breadcrumb-current {
  color: var(--accent-strong);
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1,
.post-header h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 strong,
.accent {
  color: var(--accent-strong);
}

.hero-lead {
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.microcopy {
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 13px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.quick-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.quick-facts-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-fact {
  padding: 24px 28px;
}

.quick-fact + .quick-fact {
  border-left: 1px solid var(--line);
}

.quick-fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.quick-fact span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-block: 94px;
}

.section-compact {
  padding-block: 70px;
}

.section-muted {
  border-block: 1px solid rgb(255 255 255 / 0.06);
  background: var(--surface);
}

.section h2,
.page-content h2,
.entry-content h2 {
  margin: 0 0 22px;
  font-size: clamp(31px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.section h3,
.page-content h3,
.entry-content h3 {
  margin: 34px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-intro {
  max-width: 68ch;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 18px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 64px;
}

.split-feature picture,
.split-feature img,
.editorial-image img {
  width: 100%;
}

.split-feature img,
.editorial-image img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 28px;
}

.check-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.check-item strong {
  display: block;
  margin-bottom: 4px;
}

.check-item span {
  color: var(--muted);
  font-size: 15px;
}

.step-list {
  counter-reset: steps;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0 64px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.step-item {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.step-item::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 900;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.step-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-map {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 16px;
}

.product-panel {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.product-panel:first-child {
  grid-row: span 2;
  min-height: 476px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--accent);
  color: var(--accent-ink);
}

.product-panel h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.product-panel p {
  margin: 0;
  color: var(--muted);
}

.product-panel:first-child p {
  color: #4a2500;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-card a {
  text-decoration: none;
}

.article-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
}

.article-card h2,
.article-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.article-card-meta,
.post-meta {
  margin-bottom: 10px;
  color: var(--subtle);
  font-size: 13px;
}

.article-card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 850;
}

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-strong);
  font-size: 25px;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 70ch;
  margin: 0 0 22px;
  color: var(--muted);
}

.cta-band {
  padding-block: 70px;
  border-block: 1px solid var(--line);
  background: var(--surface-strong);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-inner h2 {
  max-width: 18ch;
  margin: 0;
}

.cta-inner p {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--muted);
}

.page-hero,
.post-header {
  padding-block: 76px 52px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.post-header h1 {
  max-width: 19ch;
}

.page-hero p,
.post-deck {
  max-width: 66ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.breadcrumbs {
  margin-bottom: 22px;
  color: var(--subtle);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--muted);
}

.page-content,
.entry-content {
  width: min(calc(100% - 40px), var(--reading));
  margin-inline: auto;
  padding-block: 70px 92px;
}

.entry-content > :first-child,
.page-content > :first-child {
  margin-top: 0;
}

.entry-content p,
.page-content p {
  margin: 0 0 1.25em;
}

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.35em;
}

.entry-content li + li,
.page-content li + li {
  margin-top: 0.5em;
}

.entry-content a,
.page-content a {
  color: var(--accent-strong);
  font-weight: 700;
}

.entry-content .button:not(.button-secondary),
.page-content .button:not(.button-secondary),
.entry-content .wp-block-button__link,
.page-content .wp-block-button__link {
  color: var(--accent-ink);
}

.entry-content blockquote,
.page-content blockquote {
  margin: 36px 0;
  padding: 10px 0 10px 26px;
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-size: 20px;
}

.entry-content table,
.page-content table {
  display: block;
  width: 100%;
  margin: 36px 0;
  overflow-x: auto;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 15px;
}

.entry-content caption,
.page-content caption {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  text-align: left;
}

.entry-content th,
.entry-content td,
.page-content th,
.page-content td {
  min-width: 170px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th,
.page-content th {
  color: var(--text);
  background: var(--surface);
}

.article-visual {
  width: min(calc(100% - 40px), 1040px);
  margin: 48px auto 0;
}

.article-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc,
.article-toc {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.toc strong,
.article-toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc ol,
.article-toc ul {
  margin: 0;
}

.generated-section,
.generated-faq,
.generated-conclusion {
  scroll-margin-top: calc(var(--header) + 24px);
}

.generated-section + .generated-section,
.generated-faq,
.generated-conclusion {
  margin-top: 56px;
}

.generated-section h2,
.generated-faq h2,
.generated-conclusion h2 {
  font-size: 32px;
  line-height: 1.2;
}

.generated-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 24px;
  margin: 38px 0 48px;
  padding: 24px 0;
  border-block: 1px solid var(--line);
}

.generated-cta strong {
  font-size: 20px;
}

.generated-cta p {
  grid-column: 1;
  margin: 0;
  color: var(--muted);
}

.generated-cta .button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.table-scroll {
  max-width: 100%;
  margin: 36px 0;
  overflow-x: auto;
}

.entry-content .table-scroll table {
  display: table;
  min-width: 640px;
  margin: 0;
  overflow: visible;
}

.check-list li::marker {
  color: var(--accent);
}

.generated-faq .faq-list {
  max-width: none;
}

.note {
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.note strong {
  color: var(--accent-strong);
}

.home-link-panel {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.posts-shell {
  padding-block: 70px 96px;
}

.pagination {
  margin-top: 40px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination span {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
}

.pagination .current {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.empty-state {
  max-width: 680px;
  padding-block: 80px;
}

.empty-state h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.empty-state p {
  color: var(--muted);
}

.site-footer {
  padding-block: 64px 28px;
  border-top: 1px solid var(--line);
  background: #090a0c;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) 1fr;
  gap: 72px;
  padding-bottom: 46px;
}

.footer-brand img {
  width: 168px;
  height: 48px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-links h2 {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .primary-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 34px;
  }

  .product-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-panel:first-child {
    grid-row: auto;
    grid-column: span 2;
    min-height: 300px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .container,
  .page-content,
  .entry-content,
  .article-visual {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand img,
  .custom-logo,
  .footer-brand img {
    width: 147px;
    height: 42px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 46px 54px;
  }

  .hero h1,
  .page-hero h1,
  .post-header h1 {
    max-width: 100%;
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-media {
    order: -1;
  }

  .quick-facts-inner,
  .check-grid,
  .step-list,
  .article-grid,
  .footer-top,
  .footer-links,
  .cta-inner,
  .split-feature,
  .product-map {
    grid-template-columns: 1fr;
  }

  .quick-fact {
    padding-inline: 0;
  }

  .quick-fact + .quick-fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding-block: 70px;
  }

  .section-compact {
    padding-block: 56px;
  }

  .split-feature,
  .step-list,
  .footer-top {
    gap: 34px;
  }

  .product-panel:first-child {
    grid-column: auto;
    min-height: 250px;
  }

  .cta-inner {
    gap: 12px;
  }

  .page-hero,
  .post-header {
    padding-block: 54px 40px;
  }

  .page-content,
  .entry-content {
    padding-block: 54px 72px;
  }

  .generated-section h2,
  .generated-faq h2,
  .generated-conclusion h2 {
    font-size: 29px;
  }

  .generated-cta {
    grid-template-columns: 1fr;
  }

  .generated-cta p,
  .generated-cta .button {
    grid-column: 1;
    grid-row: auto;
  }

  .generated-cta .button {
    justify-self: start;
    margin-top: 8px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .button,
  .wp-block-button__link {
    width: 100%;
  }

  .hero h1,
  .page-hero h1,
  .post-header h1 {
    font-size: 37px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .hero-actions,
  .generated-cta,
  .home-link-panel {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  a {
    color: #111;
  }
}
