:root {
  --azar-navy: #071421;
  --azar-deep: #0b1b2a;
  --azar-ink: #122333;
  --azar-muted: #667485;
  --azar-soft: #f5f8fa;
  --azar-line: rgba(18, 35, 51, 0.12);
  --azar-teal: #13c7b5;
  --azar-teal-deep: #0a8f85;
  --azar-gold: #d7ae64;
  --azar-white: #ffffff;
  --azar-radius-lg: 28px;
  --azar-radius-md: 20px;
  --azar-shadow: 0 24px 80px rgba(7, 20, 33, 0.12);
  --azar-shadow-soft: 0 14px 45px rgba(7, 20, 33, 0.08);
  --azar-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--azar-ink);
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 0%, rgba(19, 199, 181, 0.12), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(215, 174, 100, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fafb 46%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--azar-teal-deep); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.screen-reader-text,
.skip-link {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link:focus {
  background: var(--azar-white);
  clip: auto !important;
  clip-path: none;
  color: var(--azar-ink);
  display: block;
  height: auto;
  left: 1rem;
  padding: .75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
  border-radius: 12px;
  box-shadow: var(--azar-shadow-soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 20, 33, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.has-scrolled { box-shadow: 0 20px 40px rgba(7, 20, 33, 0.18); }
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand-link {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--azar-white);
  letter-spacing: .02em;
}
.custom-logo-link img { max-height: 54px; width: auto; }
.brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  letter-spacing: .06em;
  color: var(--azar-teal);
}
.brand-descriptor {
  margin-top: .28rem;
  color: rgba(255,255,255,.78);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 700;
}
.primary-navigation {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.menu {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.05rem;
}
.menu a {
  color: rgba(255, 255, 255, .82);
  font-size: .94rem;
  font-weight: 700;
}
.menu a:hover,
.current-menu-item > a { color: var(--azar-teal); }
.menu-toggle { display: none; }

.button,
.wp-block-button__link,
.search-submit,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover,
.wp-block-button__link:hover,
.search-submit:hover,
input[type="submit"]:hover { transform: translateY(-1px); }
.button-primary,
.search-submit,
input[type="submit"],
.wp-block-button__link {
  color: #04111c;
  background: linear-gradient(135deg, var(--azar-teal), #7bf5e8);
  box-shadow: 0 12px 30px rgba(19, 199, 181, .28);
}
.button-primary:hover,
.search-submit:hover,
input[type="submit"]:hover { color: #04111c; box-shadow: 0 18px 42px rgba(19, 199, 181, .36); }
.button-secondary {
  color: var(--azar-ink);
  background: #ffffff;
  border-color: var(--azar-line);
  box-shadow: var(--azar-shadow-soft);
}
.button-light { background: var(--azar-white); color: var(--azar-navy); }
.button-ghost-light { color: var(--azar-white); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }
.header-cta { white-space: nowrap; }

.blog-hero,
.archive-hero,
.single-hero {
  position: relative;
  overflow: hidden;
  color: var(--azar-white);
  background:
    radial-gradient(circle at 15% 10%, rgba(19, 199, 181, .28), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(215, 174, 100, .2), transparent 28%),
    linear-gradient(135deg, var(--azar-navy), #0f2638 62%, #071421);
}
.blog-hero::after,
.archive-hero::after,
.single-hero::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 560px;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--azar-teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .75rem;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: inherit;
}
.blog-hero h1,
.archive-hero h1,
.single-hero h1 {
  max-width: 850px;
  margin-top: 1rem;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  font-weight: 900;
}
.single-hero h1 { font-size: clamp(2.35rem, 5.5vw, 4.8rem); }
.blog-hero p,
.archive-hero p,
.single-excerpt {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 1.1rem 0 0;
}
.hero-actions,
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }
.hero-card {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--azar-radius-lg);
  background: rgba(255,255,255,.08);
  box-shadow: 0 30px 90px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.score-card {
  padding: 1.3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #dffbf8);
  color: var(--azar-navy);
}
.score-card span { display: block; color: var(--azar-muted); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.score-card strong { display: block; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1; margin-top: .45rem; }
.hero-tags { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; padding: 0; margin: 1rem 0 0; }
.hero-tags li {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-radius: 18px;
  padding: .9rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  font-weight: 800;
}

.archive-hero { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.archive-hero h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); }
.archive-description { color: rgba(255,255,255,.74); font-size: 1.08rem; }
.content-section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.azar-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--azar-line);
  border-radius: var(--azar-radius-md);
  box-shadow: var(--azar-shadow-soft);
}
.post-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--azar-shadow); border-color: rgba(19, 199, 181, .26); }
.post-card-image {
  display: block;
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 20% 20%, rgba(19,199,181,.28), transparent 32%),
    linear-gradient(135deg, #10263a, #071421);
  overflow: hidden;
}
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.image-placeholder { display: block; width: 100%; height: 100%; background:
  linear-gradient(135deg, rgba(19,199,181,.28), rgba(215,174,100,.18)),
  linear-gradient(135deg, #0d2335, #071421); }
.post-card-body { padding: 1.2rem; }
.post-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; color: var(--azar-muted); font-size: .82rem; font-weight: 800; }
.post-meta-row > span + span::before { content: "·"; margin-right: .7rem; color: var(--azar-muted); }
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: .25rem .65rem;
  background: rgba(19, 199, 181, .12);
  color: var(--azar-teal-deep);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.post-card-title { font-size: clamp(1.2rem, 2.2vw, 1.55rem); margin-top: .85rem; }
.post-card-title a:hover { color: var(--azar-teal-deep); }
.post-card-excerpt { color: var(--azar-muted); }
.post-card-excerpt p { margin: .45rem 0 0; }
.read-more { display: inline-flex; margin-top: 1rem; font-weight: 900; color: var(--azar-teal-deep); }

.widget-area { display: grid; gap: 1rem; position: sticky; top: 100px; }
.widget { padding: 1.2rem; }
.widget-title,
.widget h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.widget li a { color: var(--azar-muted); font-weight: 700; }
.widget li a:hover { color: var(--azar-teal-deep); }
.sidebar-cta { background: linear-gradient(135deg, #ffffff, #f2fffd); }
.sidebar-cta p { color: var(--azar-muted); }
.search-form { display: flex; gap: .5rem; align-items: stretch; width: 100%; }
.search-form label { flex: 1; }
.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--azar-line);
  border-radius: 999px;
  padding: .8rem 1rem;
  background: #ffffff;
  color: var(--azar-ink);
  outline: none;
}
textarea { border-radius: 18px; }
.search-field:focus,
input:focus,
textarea:focus { border-color: var(--azar-teal); box-shadow: 0 0 0 4px rgba(19,199,181,.13); }
.search-submit { min-height: 46px; padding-inline: 1rem; }

.single-hero { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.single-meta { margin-bottom: .8rem; color: rgba(255,255,255,.74); }
.author-line { margin-top: 1.35rem; color: rgba(255,255,255,.74); font-weight: 700; }
.featured-media-wrap { margin-top: -2.5rem; position: relative; z-index: 2; }
.featured-media { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--azar-radius-lg); box-shadow: var(--azar-shadow); }
.azar-prose {
  margin-top: clamp(2rem, 5vw, 4rem);
  color: #26394a;
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
}
.azar-prose > * { margin-top: 0; margin-bottom: 1.25rem; }
.azar-prose h2,
.azar-prose h3,
.azar-prose h4 { color: var(--azar-navy); margin-top: 2.2rem; }
.azar-prose h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.azar-prose h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.azar-prose a { color: var(--azar-teal-deep); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.azar-prose blockquote {
  margin-inline: 0;
  padding: 1.3rem 1.5rem;
  border-left: 4px solid var(--azar-teal);
  background: #f2fffd;
  border-radius: 0 18px 18px 0;
  color: var(--azar-navy);
  font-weight: 700;
}
.azar-prose table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; }
.azar-prose th,
.azar-prose td { border: 1px solid var(--azar-line); padding: .8rem; text-align: left; }
.azar-prose th { background: #effaf8; }
.entry-footer,
.post-navigation-card,
.single-inline-cta { margin-top: 2rem; }
.tag-list { display: flex; gap: .5rem; flex-wrap: wrap; color: var(--azar-muted); font-weight: 800; }
.tag-list a { background: #edf6f5; color: var(--azar-teal-deep); padding: .35rem .7rem; border-radius: 999px; }
.post-navigation-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.post-navigation-card > div {
  min-height: 80px;
  padding: 1rem;
  border: 1px solid var(--azar-line);
  border-radius: 18px;
  background: #ffffff;
  font-weight: 800;
}
.post-navigation-card > div:last-child { text-align: right; }
.single-inline-cta { padding: 1.4rem; background: linear-gradient(135deg, #ffffff, #f2fffd); }
.single-inline-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.single-inline-cta p { color: var(--azar-muted); }

.comments-area { margin-top: 3rem; }
.comment-list { padding-left: 1.2rem; }
.comment-list .comment-body {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--azar-line);
  border-radius: 18px;
  background: #ffffff;
}
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label { display: block; font-weight: 800; margin-bottom: .35rem; }

.azar-pagination { margin-top: 2rem; }
.azar-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.azar-pagination a,
.azar-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: .5rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--azar-line);
  background: #ffffff;
  font-weight: 800;
}
.azar-pagination .current { background: var(--azar-navy); color: var(--azar-white); }
.no-results { padding: 2rem; }

.azar-site-cta { padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--azar-radius-lg);
  color: var(--azar-white);
  background:
    radial-gradient(circle at 20% 10%, rgba(19, 199, 181, .3), transparent 30%),
    linear-gradient(135deg, var(--azar-navy), #10283a);
  box-shadow: var(--azar-shadow);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 780px; font-size: clamp(2rem, 5vw, 4rem); }
.cta-panel p { max-width: 680px; color: rgba(255,255,255,.75); font-size: 1.1rem; }
.site-footer { background: var(--azar-navy); color: rgba(255,255,255,.74); padding: 4rem 0 1.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-brand p { max-width: 380px; margin-top: 1rem; }
.footer-logo .brand-mark { font-size: 2rem; }
.footer-logo .brand-descriptor { color: rgba(255,255,255,.66); }
.footer-column h3 { color: var(--azar-white); font-size: 1rem; margin-bottom: .9rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-column a { color: rgba(255,255,255,.72); }
.footer-column a:hover { color: var(--azar-teal); }
.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: var(--azar-white);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.response-note { color: var(--azar-teal); font-weight: 800; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.72); }

.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--azar-muted); font-size: .88rem; margin-top: .4rem; }
.gallery-caption { color: var(--azar-muted); }
.bypostauthor { display: block; }
.alignleft { float: left; margin: .5rem 1rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1rem; }
.aligncenter { margin-left: auto; margin-right: auto; }

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    align-items: center;
    justify-content: center;
    color: var(--azar-white);
  }
  .menu-toggle-bars,
  .menu-toggle-bars::before,
  .menu-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    content: "";
  }
  .menu-toggle-bars::before { position: absolute; top: -6px; }
  .menu-toggle-bars::after { position: absolute; top: 6px; }
  .primary-navigation {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(7,20,33,.98);
    box-shadow: var(--azar-shadow);
  }
  .primary-navigation.is-open { display: flex; }
  .menu { align-items: stretch; flex-direction: column; gap: .2rem; }
  .menu a { display: block; padding: .65rem .4rem; }
  .header-cta { width: 100%; }
  .hero-grid,
  .layout-with-sidebar,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .widget-area { position: static; }
}
@media (max-width: 720px) {
  .azar-container,
  .azar-container.narrow { width: min(calc(100% - 28px), var(--azar-container)); }
  .header-inner { min-height: 70px; }
  .posts-grid,
  .post-navigation-card { grid-template-columns: 1fr; }
  .post-navigation-card > div:last-child { text-align: left; }
  .hero-tags { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .blog-hero h1, .archive-hero h1, .single-hero h1 { letter-spacing: -.06em; }
  .footer-bottom { flex-direction: column; }
}
