:root {
  --be-bg: #f6f7f8;
  --be-surface: #ffffff;
  --be-ink: #171a1f;
  --be-muted: #5e6670;
  --be-line: #e6e8ee;
  --be-accent: #0e7a62;
  --be-accent-soft: #e7f4ef;
  --be-accent-ink: #08382d;
  --be-shadow: 0 12px 32px rgba(23, 26, 31, 0.05);
  --be-radius: 22px;
  --be-sans: "Outfit", "Segoe UI", sans-serif;
  --be-serif: "Fraunces", Georgia, serif;
  --be-wrap: 1120px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--be-bg);
  color: var(--be-ink);
  font-family: var(--be-sans);
  font-size: 17px;
  line-height: 1.55;
}

img, video, svg { max-width: 100%; height: auto; }
img, video { display: block; }
iframe, embed, object { max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.be-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--be-ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  z-index: 80;
}
.be-skip:focus { top: 12px; }

.be-shell { min-height: 100vh; max-width: 100%; }

.be-wrap {
  width: min(var(--be-wrap), calc(100% - 32px));
  margin-inline: auto;
  min-width: 0;
}

.be-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--be-line);
  backdrop-filter: blur(16px);
}

.be-header-bar {
  width: min(var(--be-wrap), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
}

.be-topics {
  width: min(var(--be-wrap), calc(100% - 32px));
  margin: 0 auto 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  max-width: 100%;
}
.be-topics::-webkit-scrollbar { display: none; }
.be-topic {
  flex: none;
  text-decoration: none;
  border: 1px solid var(--be-line);
  background: var(--be-bg);
  color: var(--be-ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.84rem;
  font-weight: 600;
}
.be-topic.is-current,
.be-topic:hover {
  background: var(--be-accent);
  border-color: var(--be-accent);
  color: #fff;
}

.be-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.be-header .custom-logo,
.be-header .custom-logo-link,
.be-mark { display: none; }
.be-brand-text { display: flex; flex-direction: column; min-width: 0; }
.be-brand-text strong {
  font-family: var(--be-serif);
  font-size: 1.2rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.be-brand-text em {
  font-style: normal;
  color: var(--be-muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 28ch;
}

.be-nav { margin-left: auto; }
.be-menu,
.be-footer-links,
.be-cat-list,
.be-recent,
.be-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.be-menu { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.be-menu a {
  text-decoration: none;
  color: var(--be-ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.be-menu a:hover,
.be-menu .current-menu-item > a,
.be-menu .current_page_item > a {
  background: var(--be-accent-soft);
  color: var(--be-accent-ink);
}
.be-menu .sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid var(--be-line);
  border-radius: 16px;
  padding: 8px;
  min-width: 180px;
  box-shadow: var(--be-shadow);
}
.be-menu li { position: relative; }
.be-menu li:hover > .sub-menu,
.be-menu li:focus-within > .sub-menu { display: block; }

.be-nav-toggle {
  display: none;
  border: 1px solid var(--be-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  gap: 8px;
  align-items: center;
}
.be-burger,
.be-burger::before,
.be-burger::after {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--be-ink);
  border-radius: 2px;
  position: relative;
}
.be-burger::before,
.be-burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.be-burger::before { top: -5px; }
.be-burger::after { top: 5px; }

.be-header-search { flex: none; }
.be-search { display: flex; gap: 6px; min-width: 0; max-width: 100%; }
.be-search input {
  width: 160px;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--be-line);
  background: var(--be-bg);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--be-ink);
}
.be-search input:focus {
  outline: 2px solid var(--be-accent);
  outline-offset: 1px;
}
.be-search button,
.be-submit,
.comment-form .submit {
  border: 0;
  background: var(--be-accent);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}
.be-search button:hover,
.be-submit:hover { filter: brightness(0.95); }

.be-wrap { padding-bottom: 64px; }

.be-hero { display: block; margin: 8px 0 22px; min-width: 0; }
.be-hero-main .be-cover { aspect-ratio: 21 / 8; }
.be-sidebar .widget_search,
.be-sidebar .wp-block-search,
.be-sidebar .be-widget:has(.wp-block-search),
.be-sidebar .be-widget:has(.be-search) { display: none; }
.be-home-main { min-width: 0; }
.be-guncel { margin: 0 0 8px; }
.be-hero-main,
.be-card,
.be-hero-item,
.be-widget,
.be-empty,
.be-author-box,
.be-step,
.be-comments,
.be-page .be-prose,
.be-article-head {
  background: var(--be-surface);
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius);
  min-width: 0;
  max-width: 100%;
}

.be-hero-main { overflow: hidden; display: flex; flex-direction: column; }
.be-hero-side { display: flex; flex-direction: column; gap: 12px; }
.be-hero-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  align-items: start;
}
.be-hero-thumb {
  display: block;
  width: 84px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.be-hero-item h2 {
  font-family: var(--be-serif);
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  width: 100%;
}
.be-hero-copy,
.be-hero-item > div { min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.be-hero-item h2 a,
.be-card-title a,
.be-hero-title a { text-decoration: none; }
.be-hero-item h2 a:hover,
.be-card-title a:hover,
.be-hero-title a:hover { color: var(--be-accent-ink); }
.be-hero-thumb .be-cover { aspect-ratio: 1; border-radius: 16px; }
.be-hero-title {
  font-family: var(--be-serif);
  font-weight: 680;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0;
  width: 100%;
  overflow-wrap: anywhere;
}

.be-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.be-card-media { display: block; overflow: hidden; text-decoration: none; color: inherit; min-width: 0; }
.be-card-body,
.be-hero-main .be-card-body {
  position: relative;
  z-index: 1;
  background: var(--be-surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.be-card-body { padding: 16px 16px 18px; }
.be-hero-main .be-card-body { padding: 18px 20px 22px; }
.be-card-title {
  font-family: var(--be-serif);
  font-size: 1.28rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin: 0;
  width: 100%;
  overflow-wrap: anywhere;
}

.be-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f1;
}
.be-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.be-cover-fallback {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 16px;
  min-width: 0;
  background-color: #f3f7f5;
  background-image: radial-gradient(rgba(14, 122, 98, 0.22) 1.1px, transparent 1.1px);
  background-size: 14px 14px;
}
.be-cover-letter {
  font-family: var(--be-serif);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--be-accent);
}
.be-cover-fallback em {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--be-accent-ink);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.be-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: static;
}
.be-pill,
.be-tagcloud a,
.be-post-tags a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
  background: var(--be-accent-soft);
  color: var(--be-accent-ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.be-eyebrow {
  margin: 0 0 6px;
  color: var(--be-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.be-excerpt { color: var(--be-muted); margin: 0; }
.be-meta, .be-updated {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--be-muted);
  font-size: 0.82rem;
}
.be-meta time { color: var(--be-muted); }

.be-layout {
  display: grid;
  gap: 22px;
  align-items: start;
  min-width: 0;
}
.be-layout > * { min-width: 0; }
.be-grid { display: grid; gap: 16px; min-width: 0; }
.be-section-title,
.be-band h2,
.be-archive-head h1,
.be-article-head h1,
.be-empty h1,
.be-empty h2 {
  font-family: var(--be-serif);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.be-section-title { font-size: 1.45rem; margin: 8px 0 14px; }

.be-sidebar { display: flex; flex-direction: column; gap: 14px; }
.be-rail { display: flex; flex-direction: column; gap: 14px; }
.be-widget { padding: 16px; }
.be-widget-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--be-muted);
}
.be-cat-list li,
.be-recent li,
.be-footer-links li { margin: 0; }
.be-cat-list a,
.be-recent a,
.be-footer-links a {
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--be-line);
  min-width: 0;
  overflow-wrap: anywhere;
}
.be-cat-list a:hover,
.be-recent a:hover,
.be-footer-links a:hover { color: var(--be-accent-ink); }
.be-recent time { display: block; color: var(--be-muted); font-size: 0.78rem; }
.be-tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.be-widget .be-search input { width: 100%; }

.be-band { margin-top: 36px; }
.be-band-head {
  display: flex;
  justify-content: space-between;
  gap: 12px 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.be-band-head h2 {
  margin: 0;
  font-size: 1.7rem;
  min-width: 0;
  flex: 1 1 12rem;
  overflow-wrap: anywhere;
}
.be-band-head p { color: var(--be-muted); margin: 6px 0 0; max-width: 62ch; }
.be-textlink {
  text-decoration: none;
  color: var(--be-accent-ink);
  background: #fff;
  border: 1px solid var(--be-line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  white-space: nowrap;
}

.be-archive-head { margin: 18px 0 22px; max-width: 760px; }
.be-archive-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 8px; }
.be-archive-desc { color: var(--be-muted); font-size: 1.05rem; }
.be-archive-desc p { margin: 0; }

.be-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--be-muted);
  font-size: 0.85rem;
  margin: 18px 0 8px;
}
.be-crumbs a { color: var(--be-accent-ink); text-decoration: none; }
.be-crumbs .is-current {
  color: var(--be-ink);
  max-width: 42ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.be-article-head {
  padding: 22px 22px 8px;
  border-bottom: 0;
  border-radius: var(--be-radius) var(--be-radius) 0 0;
  margin-top: 8px;
}
.be-article-head h1 {
  font-size: clamp(1.8rem, 4.4vw, 3.2rem);
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.be-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  padding-bottom: 16px;
}
.be-author-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
}
.be-avatar { border-radius: 999px; }
.be-article-cover { margin: 0; }
.be-article-cover .be-cover-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 0 0 var(--be-radius) var(--be-radius);
  border: 1px solid var(--be-line);
  border-top: 0;
}

.be-article-grid { display: grid; gap: 22px; margin-top: 22px; align-items: start; }
.be-prose {
  background: #fff;
  border: 1px solid var(--be-line);
  border-radius: var(--be-radius);
  padding: 8px 22px 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  min-width: 0;
  overflow-wrap: anywhere;
}
.be-prose iframe,
.be-prose .wp-block-embed,
.be-prose .wp-block-embed__wrapper,
.be-prose table,
.be-prose pre { max-width: 100%; }
.be-prose > *:first-child { margin-top: 18px; }
.be-prose h2,
.be-prose h3 {
  font-family: var(--be-serif);
  letter-spacing: -0.03em;
  line-height: 1.2;
  scroll-margin-top: 96px;
}
.be-prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.be-prose h3 { font-size: 1.3rem; }
.be-prose a { color: var(--be-accent-ink); }
.be-prose img,
.be-prose figure { border-radius: 16px; }
.be-prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--be-accent);
  color: var(--be-ink);
  font-family: var(--be-serif);
  font-size: 1.25rem;
  line-height: 1.35;
}
.be-prose pre,
.be-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}
.be-prose pre {
  background: #171a1f;
  color: #f4f7f6;
  padding: 16px;
  border-radius: 16px;
  overflow: auto;
}
.be-prose :not(pre) > code {
  background: var(--be-accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}
.be-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  display: block;
  overflow-x: auto;
}
.be-prose th,
.be-prose td {
  border-bottom: 1px solid var(--be-line);
  text-align: left;
  padding: 8px 6px;
}
.be-prose-page { max-width: none; }

.be-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.be-toc a { text-decoration: none; color: var(--be-ink); font-size: 0.92rem; }
.be-toc a:hover { color: var(--be-accent-ink); }
.be-toc .is-sub { padding-left: 12px; }
.be-toc .is-sub a { color: var(--be-muted); }
.be-toc-widget { position: sticky; top: 92px; }
.be-rail .be-sidebar { position: static; }

.be-ad { margin: 16px 0; }
.be-ad .be-widget { background: transparent; }

.be-author-box {
  display: flex;
  gap: 16px;
  padding: 18px;
  margin-top: 22px;
  align-items: center;
}
.be-author-box h2 { margin: 0 0 6px; font-family: var(--be-serif); font-size: 1.4rem; }
.be-author-box h2 a { text-decoration: none; }
.be-author-box p { margin: 0; color: var(--be-muted); }

.be-prevnext {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.be-step {
  text-decoration: none;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.be-step span { color: var(--be-muted); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.be-step strong { font-family: var(--be-serif); font-size: 1.15rem; }

.be-comments { margin-top: 22px; padding: 8px 18px 22px; }
.be-comment { padding: 14px 0; border-bottom: 1px solid var(--be-line); }
.be-comment-head { display: flex; gap: 10px; align-items: center; }
.be-comment-head time { display: block; color: var(--be-muted); font-size: 0.8rem; }
.be-comment-body { margin: 8px 0 0 54px; }
.be-children { margin-left: 28px; }
.be-reply a { text-decoration: none; color: var(--be-accent-ink); font-size: 0.85rem; font-weight: 600; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--be-line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--be-bg);
  margin-bottom: 10px;
}
.be-note { color: var(--be-muted); font-size: 0.9rem; }
.be-reply-title { font-family: var(--be-serif); }

.be-pager { margin-top: 22px; }
.be-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.be-pager .page-numbers {
  text-decoration: none;
  border: 1px solid var(--be-line);
  background: #fff;
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}
.be-pager .page-numbers.current {
  background: var(--be-ink);
  color: #fff;
  border-color: var(--be-ink);
}

.be-empty { padding: 28px 22px; margin: 18px 0; }
.be-empty h1 { font-size: 2.4rem; margin: 0 0 8px; }
.be-empty p { color: var(--be-muted); }
.be-empty .be-search { margin-top: 12px; }
.be-empty .be-search input { width: min(420px, 100%); }

.be-footer {
  width: min(var(--be-wrap), calc(100% - 32px));
  margin: 0 auto 28px;
  background: #fff;
  border: 1px solid var(--be-line);
  border-radius: 28px;
  padding: 22px;
}
.be-footer-grid {
  display: grid;
  gap: 18px;
}
.be-footer-about { color: var(--be-muted); margin: 0; }
.be-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--be-line);
  margin-top: 16px;
  padding-top: 14px;
  color: var(--be-muted);
  font-size: 0.85rem;
}
.be-footer-bar p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--be-accent);
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .be-grid { grid-template-columns: 1fr 1fr; }
  .be-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .be-prevnext { grid-template-columns: 1fr 1fr; }
  .be-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .be-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .be-article-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .be-sidebar { position: sticky; top: 92px; align-self: start; }
}

@media (min-width: 1180px) {
  .be-layout,
  .be-article-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 860px) {
  .be-nav-toggle { display: inline-flex; margin-left: auto; flex: none; }
  .be-nav {
    display: none;
    position: static;
    width: 100%;
    flex: 1 0 100%;
    background: var(--be-bg);
    border-radius: 18px;
    padding: 6px;
  }
  .be-nav.is-open { display: block; }
  .be-menu { flex-direction: column; align-items: stretch; }
  .be-menu .sub-menu { position: static; box-shadow: none; display: block; border: 0; padding-left: 10px; }
  .be-header-bar { flex-wrap: wrap; }
  .be-header-search { width: 100%; }
  .be-header-search .be-search { width: 100%; }
  .be-search input { flex: 1; width: auto; }
  .be-brand { max-width: calc(100% - 96px); }
  .be-brand-text em { display: none; }
  .be-comment-body { margin-left: 0; }
  .be-hero-title { font-size: 1.7rem; }
  .be-prose { padding-inline: 16px; }
}

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