/*
Theme Name: Sabiha Sengul
Theme URI: https://sabihasengul.com
Author: Sabiha Sengul
Description: Custom theme for Klinik Psikolog Sabiha Şengül, built to the project's Figma design system.
Version: 2.0.22
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sabiha-sengul
*/

/* ==========================================================================
   0. Fonts
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* colors */
  --cream: #F7F2EC;
  --cream-alt: #EFE9E1;
  --surface: #F7F5F1;
  --ink: #242321;
  --ink-70: rgba(36, 35, 33, 0.7);
  --ink-muted: #716568;
  --maroon: #5C2033;
  --maroon-dark: #2A1219;
  --on-maroon: #FFFCF9;
  --on-dark: #F7F2EC;
  --on-dark-muted: rgba(247, 242, 236, 0.5);
  --card-border: #D9C2C7;
  --card-border-dark: rgba(147, 102, 117, 0.5);
  --placeholder-bg: #D9D9D9;
  --divider: rgba(113, 101, 104, 0.25);
  --divider-strong: rgba(113, 101, 104, 0.5);
  --rule-on-light: rgba(92, 32, 51, 0.5);
  --rule-on-dark: rgba(247, 242, 236, 0.5);
  --divider-accent: rgba(92, 32, 51, 0.5);
  --blush: #936675;
  --ring-bg: rgba(217, 194, 199, 0.25);
  --gradient-page-hero: linear-gradient(105deg, #FFFCF9 0%, #F7F2EC 100%);
  --gradient-cta: linear-gradient(123deg, #936675 0%, #5C2033 50%, #936675 100%);

  /* motion */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.3, 1);
  --duration-fast: 180ms;
  --duration-base: 500ms;

  /* type */
  --font-sans: 'Inter', Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* layout */
  --container-width: 1280px;
  --container-pad: 40px;
  --radius-card: 20px;
  --radius-button: 8px;
  --shadow-card: 5px 5px 10px 0px rgba(36, 35, 33, 0.15);
  --shadow-photo: 5px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--card-border); }
h1, h2, h3, h4, .wp-block-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/*
 * Motion — subtle scroll reveal (JS adds [data-reveal] + toggles
 * .is-visible; see assets/js/main.js). Placed early in the cascade, before
 * any component-level hover rules, so a hover transform (e.g. .hs-card:hover)
 * always wins over the reveal's resting transform at equal specificity.
 */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   3. Layout & reusable components
   ========================================================================== */

.hs-section { width: 100%; }
.hs-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/*
 * The core Group block wraps its children in an extra
 * `.wp-block-group__inner-container` div. Collapse that wrapper (and the
 * Group itself) out of the box model so the grid rules below — which target
 * `.wp-block-group__inner-container` — see the real children directly.
 */
.hs-about__grid, .hs-services__grid, .hs-areas__grid, .hs-contact__grid {
  display: contents;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.hs-on-dark .eyebrow { color: var(--on-dark); }

/*
 * Section label: a short rule line on each side of the eyebrow text,
 * vertically centered on the text's own line box (line-height:1 on
 * .eyebrow keeps that box tight so the centering reads correctly).
 */
.hs-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.hs-eyebrow-row .rule-line {
  flex-shrink: 0;
  width: 50px;
  height: 1px;
  background: var(--rule-on-light);
}
.hs-on-dark .hs-eyebrow-row .rule-line { background: var(--rule-on-dark); }

.hs-section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}
.hs-section-head h2 {
  font-size: 32px;
  line-height: 36px;
  font-weight: 600;
}
.hs-section-head p {
  margin-top: 20px;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-70);
}
.hs-on-dark .hs-section-head p { color: var(--on-dark-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-button);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: opacity var(--duration-fast) ease, background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.btn:hover { opacity: 0.85; }
.btn-fill { background: var(--maroon); color: var(--on-maroon); }
.btn-outline { background: transparent; color: var(--maroon); border: 1px solid var(--maroon); }
.hs-btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.link-arrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--maroon);
}
.hs-on-dark .link-arrow { color: var(--on-dark); }

.hs-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 40px;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.hs-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 10px 16px 0px rgba(36, 35, 33, 0.18);
}
.hs-on-dark .hs-card {
  background: transparent;
  border-color: var(--card-border-dark);
}
.hs-on-dark .hs-card:hover {
  box-shadow: none;
}

.icon-badge {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: rgba(92, 32, 51, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform var(--duration-fast) ease;
}
.hs-card:hover .icon-badge {
  transform: scale(1.08);
}
.icon-badge.is-small {
  width: 50px;
  height: 50px;
  background: var(--maroon);
}
.icon-badge.is-medium {
  width: 60px;
  height: 60px;
  background: var(--maroon);
}
.icon-badge.is-ringed {
  width: 80px;
  height: 80px;
  background: var(--ring-bg);
  border: 0.5px solid var(--rule-on-light);
}
.icon-badge img { width: 45px; height: 45px; }
.icon-badge.is-small img { width: 26px; height: 26px; }
.icon-badge.is-medium img { width: 30px; height: 30px; }
.icon-badge.is-ringed img { width: 50px; height: 50px; }

/* ==========================================================================
   4. Site header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--divider-strong);
}
.site-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1;
}
.site-branding__logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}
.site-branding__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-branding__kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.24px;
  color: var(--ink);
}
.site-branding__name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}
.site-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(36, 35, 33, 0.25);
  border-radius: var(--radius-button);
  padding: 9px 12px;
}
.site-nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  margin: 4px 0;
}
.site-nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--duration-fast) ease;
}
.site-nav a:hover { color: var(--maroon); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--maroon);
}
.site-header .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .site-nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--divider);
    padding: 20px var(--container-pad) 28px;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 480px) {
  .site-branding { gap: 10px; }
  .site-branding__logo { width: 40px; height: 40px; }
  .site-branding__name { font-size: 18px; }
  .site-branding__kicker { display: none; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.hs-hero {
  background: linear-gradient(105deg, var(--cream) 0%, var(--cream-alt) 100%);
  text-align: center;
}
.hs-hero .hs-container { padding-top: 70px; padding-bottom: 70px; }
.hs-hero h1 {
  font-weight: 400;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.hs-hero h1 em, .hs-hero h1 i { font-style: italic; color: var(--maroon); }
.hs-hero__lead {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}
.hs-hero .hs-btn-row { justify-content: center; margin-top: 40px; }

/* Round portrait above the eyebrow: photo with a thin ring around it. */
.hs-hero__portrait {
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  padding: 9px;
  box-sizing: border-box;
  border: 1px solid var(--divider-accent);
  border-radius: 50%;
}
.hs-hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.hs-hero__portrait + .hs-eyebrow-row { margin-bottom: 28px; }
@media (max-width: 600px) {
  .hs-hero__portrait { width: 128px; height: 128px; padding: 7px; margin-bottom: 24px; }
  .hs-hero__portrait + .hs-eyebrow-row { margin-bottom: 24px; }
}

/* ==========================================================================
   6. Hakkımda (About)
   ========================================================================== */

.hs-about { background: var(--surface); border-top: 1px solid var(--divider); }
.hs-about .hs-container { padding-top: 88px; padding-bottom: 88px; }
.hs-about__grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  gap: 40px;
}
.hs-about__photo {
  border: 0.5px solid rgba(36, 35, 33, 0.25);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-photo);
  overflow: hidden;
  aspect-ratio: 250 / 357;
}
.hs-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.hs-about__body { text-align: center; }
.hs-about__body h2 {
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 24px;
}
.hs-about__body > p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 22px;
  color: var(--ink);
}
.hs-about__credentials-divider {
  max-width: 600px;
  height: 1px;
  margin: 24px auto;
  background: var(--divider);
}
.hs-about__credentials {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.hs-about__credential { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hs-about__credential img { width: 20px; height: 20px; margin-bottom: 8px; }
.hs-about__credential .cred-degree { font-size: 14px; color: var(--ink); }
.hs-about__credential .cred-school { font-size: 14px; font-weight: 600; color: var(--ink); }
.hs-about__credential .cred-field { font-size: 14px; font-style: italic; color: var(--ink); }
.hs-about__body .link-arrow { display: inline-block; margin-top: 20px; }

@media (max-width: 900px) {
  .hs-about__grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .hs-about__photo { width: 200px; margin: 0 auto; }
  .hs-about__credentials { gap: 40px; flex-wrap: wrap; }
}

/* ==========================================================================
   7. Hizmetler (Services)
   ========================================================================== */

.hs-services { border-top: 1px solid var(--divider); }
.hs-services .hs-container { padding-top: 88px; padding-bottom: 88px; }
.hs-services__grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.hs-services__grid .hs-card { text-align: center; }
.hs-services__grid h3 {
  font-size: 24px;
  color: var(--maroon);
  margin-bottom: 16px;
}
.hs-services__grid p {
  font-size: 16px;
  line-height: 26px;
  color: var(--ink);
}
.hs-services__grid .link-arrow { display: inline-block; margin-top: 16px; }

@media (max-width: 700px) {
  .hs-services__grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. Çalışma Alanları (Areas) — dark
   ========================================================================== */

.hs-areas { background: var(--maroon-dark); border-top: 1px solid var(--divider); }
.hs-areas .hs-container { padding-top: 88px; padding-bottom: 88px; }
.hs-areas__grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hs-areas__card {
  text-align: left;
  padding: 28px 24px;
}
.hs-areas__card > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hs-areas__card .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.hs-areas__card-text { flex: 1; min-width: 0; }
.hs-areas__card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--on-dark);
  margin-bottom: 8px;
}
.hs-areas__card p {
  font-size: 15px;
  line-height: 21px;
  color: var(--on-dark);
  opacity: 0.5;
}
.hs-areas .link-arrow { display: block; text-align: center; margin-top: 40px; }

@media (max-width: 1000px) {
  .hs-areas__grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hs-areas__grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. İletişim (Contact intro + info cards)
   ========================================================================== */

.hs-contact .hs-container { padding-top: 88px; padding-bottom: 88px; }
.hs-contact__intro { text-align: center; }
.hs-contact__intro .hs-btn-row { justify-content: center; margin-top: 32px; margin-bottom: 56px; }
.hs-contact__grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hs-contact__card { text-align: center; padding: 32px 24px; }
.hs-contact__card h3 {
  font-size: 24px;
  color: var(--maroon);
  margin-bottom: 12px;
}
.hs-contact__card p, .hs-contact__card a { font-size: 16px; line-height: 26px; color: var(--ink); }

@media (max-width: 900px) {
  .hs-contact__grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hs-contact__grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. Office / location
   ========================================================================== */

.hs-office { border-top: 1px solid var(--divider); }
.hs-office .hs-container { padding-top: 88px; padding-bottom: 88px; }
.hs-office__intro { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.hs-office__placeholder {
  width: 100%;
  aspect-ratio: 1280 / 400;
  background: var(--placeholder-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.hs-office__placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hs-office__address {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-muted);
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer { background: var(--maroon-dark); color: var(--on-dark); border-top: 1px solid var(--divider); }
.site-footer .hs-container { padding-top: 64px; padding-bottom: 32px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.site-footer__brand-kicker {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 2.4px;
  color: var(--on-dark-muted);
  margin-bottom: 8px;
}
.site-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--on-dark);
}
.site-footer__brand-tag {
  margin-top: 16px;
  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  max-width: 330px;
}
.site-footer__col-title {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col a, .site-footer__col span {
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.28px;
}
.site-footer__col a { transition: opacity var(--duration-fast) ease; }
.site-footer__col a:hover { opacity: 0.8; }
/* Instagram strip above the footer */
.hs-instagram { background: var(--surface); border-top: 1px solid rgba(36, 35, 33, 0.1); padding: 64px 0 72px; }
.hs-instagram .hs-section-head { margin-bottom: 32px; }
.hs-instagram .hs-section-head p { margin-top: 12px; }
.hs-instagram .hs-section-head a { color: var(--maroon); font-weight: 500; }
.hs-instagram__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.hs-instagram__tile {
  position: relative;
  display: block;
  flex: 0 1 calc((100% - 60px) / 4);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--placeholder-bg);
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.hs-instagram__tile:hover { transform: translateY(-4px); box-shadow: 5px 10px 16px 0px rgba(36, 35, 33, 0.18); }
.hs-instagram__tile > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-instagram__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hs-instagram__badge img { width: 18px; height: 18px; }
.hs-instagram__cta { justify-content: center; margin-top: 32px; }
.hs-instagram__cta .btn { text-align: center; line-height: 1.4; }
@media (max-width: 700px) {
  .hs-instagram { padding: 56px 0 64px; }
  .hs-instagram__grid { gap: 12px; }
  .hs-instagram__tile { flex-basis: calc((100% - 12px) / 2); border-radius: 14px; }
  .hs-instagram__badge { top: 8px; right: 8px; width: 28px; height: 28px; }
  .hs-instagram__badge img { width: 15px; height: 15px; }
  .hs-instagram__cta { margin-top: 28px; }
}

/* Site editor block (required by the health-promotion regulation) */
.site-footer__editor { margin-top: 24px; font-size: 13px; line-height: 21px; letter-spacing: 0.26px; color: rgba(247, 242, 236, 0.85); }
.site-footer__editor p { margin: 0 0 4px; }
.site-footer__editor strong { font-weight: 600; color: var(--on-dark); }
.site-footer__editor a { font-size: 13px; font-weight: 300; }
.site-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.site-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer__social img { width: 20px; height: 20px; }
/*
 * Full-bleed divider: centers a 100vw line under an element that itself
 * sits inside the padded, max-width .hs-container — so the line reaches
 * the true left/right edges of the section while the element's own
 * content stays aligned with the rest of the footer.
 */
.site-footer__bottom, .site-footer__disclaimer {
  position: relative;
}
.site-footer__bottom::before, .site-footer__disclaimer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(247, 242, 236, 0.14);
}
.site-footer__bottom {
  padding-top: 19px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
}
.site-footer__legal { display: flex; gap: 24px; font-size: 13px; color: var(--on-dark-muted); }
.site-footer__legal a { transition: color var(--duration-fast) ease; }
.site-footer__legal a:hover { color: var(--on-dark); }
.site-footer__copyright { font-size: 13px; font-weight: 500; }
.site-footer__disclaimer {
  margin-top: 19px;
  padding-top: 19px;
  font-size: 13px;
  color: var(--on-dark-muted);
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   12. Generic page / blog templates
   ========================================================================== */

.hs-page-header { border-bottom: 1px solid rgba(36, 35, 33, 0.1); background: var(--surface); }
.hs-page-header .hs-container { padding: 64px var(--container-pad); text-align: center; }
.hs-page-header h1 { font-size: clamp(32px, 5vw, 48px); }
.hs-page-header .hs-eyebrow-date { margin-top: 16px; font-size: 14px; color: var(--ink-muted); }

.hs-page-content { padding: 64px var(--container-pad) 96px; }
.hs-page-content .hs-container { max-width: 800px; }
.hs-page-content p { font-size: 16px; line-height: 26px; color: var(--ink); margin-bottom: 24px; }
.hs-page-content h2 { font-size: 28px; margin: 40px 0 16px; }
.hs-page-content h3 { font-size: 22px; margin: 32px 0 14px; }
.hs-page-content ul, .hs-page-content ol { margin: 0 0 24px 22px; }
.hs-page-content li { font-size: 16px; line-height: 26px; color: var(--ink); list-style: disc; margin-bottom: 8px; }
.hs-page-content ol li { list-style: decimal; }
.hs-page-content a { color: var(--maroon); border-bottom: 1px solid var(--card-border); }
.hs-page-content img { margin: 24px 0; border-radius: var(--radius-card); }
/* Author byline (article header) and author box (article end) */
.hs-blog-hero__byline { margin: 20px 0 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.hs-blog-hero__byline strong { color: var(--ink); font-weight: 600; }
.hs-blog-hero__byline-label { margin-right: 2px; }
.hs-author { background: var(--surface); border-top: 1px solid var(--divider); padding: 56px 0 64px; }
.hs-author .hs-container { max-width: 1000px; }
.hs-author__card {
  padding: 36px 40px;
  background: var(--on-maroon);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}
.hs-author__head { display: flex; align-items: center; gap: 24px; }
.hs-author__photo {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 1px solid var(--card-border);
  background: var(--placeholder-bg);
}
.hs-author__id { flex: 1; min-width: 0; }
.hs-author__eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.8px; line-height: 1; color: var(--blush); margin-bottom: 8px; }
.hs-author__name { font-size: 28px; line-height: 34px; font-weight: 700; margin: 0; }
.hs-author__title { margin: 2px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.hs-author__btn { flex: none; border-radius: 10px; font-size: 15px; font-weight: 600; padding: 12px 24px; }
.hs-author__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}
.hs-author__fact { margin: 0; }
.hs-author__fact dt { font-size: 12px; font-weight: 700; letter-spacing: 1.6px; line-height: 1; color: var(--maroon); margin: 0 0 10px; }
.hs-author__fact dd { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink); }
.hs-author__meta { margin-top: 28px; padding: 16px 22px; background: var(--cream-alt); border-radius: 16px; }
.hs-author__dates { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 15px; line-height: 24px; color: var(--ink); }
.hs-author__dates-text { display: flex; flex-wrap: wrap; gap: 0 12px; }
.hs-author__cal { flex: none; margin-top: 2px; color: var(--maroon); }
.hs-author__dot { color: var(--ink-muted); }
.hs-author__note { margin: 6px 0 0; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
@media (max-width: 700px) {
  .hs-author { padding: 40px 0 48px; }
  .hs-author__card { padding: 24px 20px; border-radius: 22px; }
  .hs-author__head { flex-wrap: wrap; gap: 16px; }
  .hs-author__photo { width: 80px; height: 80px; }
  .hs-author__name { font-size: 24px; line-height: 30px; }
  .hs-author__btn { width: 100%; }
  .hs-author__facts { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; padding-top: 24px; }
  .hs-author__meta { padding: 14px 16px; }
  .hs-author__dates-text { flex-direction: column; }
  .hs-author__dot { display: none; }
}

/* "Diğer yazılar" under the author box */
.hs-related { background: var(--cream); border-top: 1px solid var(--divider); padding: 64px 0 80px; }
.hs-related__heading { font-size: 32px; line-height: 38px; margin: 0 0 32px; }
.hs-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hs-related__card { color: inherit; }
.hs-related__card .hs-blog-card__media { display: block; }
.hs-related__body { display: flex; flex: 1; flex-direction: column; padding: 22px 26px 28px; }
.hs-related__cat { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; line-height: 1; text-transform: uppercase; color: var(--blush); margin-bottom: 12px; }
.hs-related__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-serif, inherit);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
}
.hs-related__card:hover .hs-related__title { color: var(--maroon); }
@media (max-width: 900px) {
  .hs-related__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 620px) {
  .hs-related { padding: 44px 0 56px; }
  .hs-related__heading { font-size: 26px; line-height: 32px; margin-bottom: 24px; }
  .hs-related__grid { grid-template-columns: 1fr; gap: 20px; }
  .hs-related__body { padding: 18px 20px 22px; }
}

/* Tables in articles: quiet, editorial comparison table */
.hs-page-content .wp-block-table { margin: 32px 0; overflow-x: auto; }
.hs-page-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  font-size: 16px;
  line-height: 24px;
}
.hs-page-content .wp-block-table th,
.hs-page-content .wp-block-table td {
  padding: 14px 20px 14px 0;
  border: 0;
  border-bottom: 1px solid var(--divider);
  text-align: left;
  vertical-align: top;
  color: var(--ink);
}
.hs-page-content .wp-block-table thead th {
  font-weight: 600;
  color: var(--maroon);
  border-bottom: 1px solid var(--maroon);
}
.hs-page-content .wp-block-table tfoot td,
.hs-page-content .wp-block-table tfoot th { border-bottom: 0; border-top: 1px solid var(--maroon); font-weight: 600; }
.hs-page-content .wp-block-table tbody tr:last-child td { border-bottom: 1px solid var(--divider); }
.hs-page-content .wp-block-table.is-style-stripes { border: 0; }
.hs-page-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--ring-bg); }
.hs-page-content .wp-block-table.is-style-stripes th,
.hs-page-content .wp-block-table.is-style-stripes td { padding-left: 16px; padding-right: 16px; }
.hs-page-content .wp-block-table figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-muted); text-align: left; }
@media (max-width: 560px) {
  .hs-page-content .wp-block-table table { font-size: 15px; line-height: 22px; }
  .hs-page-content .wp-block-table th,
  .hs-page-content .wp-block-table td { padding: 12px 12px 12px 0; }
}


.hs-blog-index { padding: 64px var(--container-pad) 96px; }
.hs-blog-index .hs-container { max-width: 800px; display: grid; gap: 48px; }
.hs-blog-index__item { padding-top: 24px; border-top: 1px solid rgba(36, 35, 33, 0.15); }
.hs-blog-index__item .hs-eyebrow-date { font-size: 13px; color: var(--ink-muted); margin-bottom: 12px; }
.hs-blog-index__item h2 { font-size: 26px; }
.hs-blog-index__item h2 a:hover { color: var(--maroon); }
.hs-blog-index__item p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--ink-70); }
.hs-blog-index__item .link-arrow { display: inline-block; margin-top: 16px; }

.hs-pagination { display: flex; justify-content: space-between; margin-top: 24px; font-size: 14px; font-weight: 500; }
.hs-pagination a { border-bottom: 1px solid var(--card-border); }
.hs-pagination a:hover { color: var(--maroon); }

.hs-no-results { padding: 96px var(--container-pad); text-align: center; color: var(--ink-muted); }

/* ==========================================================================
   13. Responsive container padding
   ========================================================================== */

@media (max-width: 900px) {
  :root { --container-pad: 28px; }
}
@media (max-width: 560px) {
  :root { --container-pad: 20px; }
}

/* ==========================================================================
   14. Inner pages (Hakkımda, Hizmetler) — components scoped to these two
   templates only. Nothing here is referenced by the homepage.
   ========================================================================== */

.hs-page-hero {
  background: var(--gradient-page-hero);
  text-align: center;
  border-top: 1px solid var(--divider-strong);
}
.hs-page-hero .hs-container { padding-top: 70px; padding-bottom: 70px; }
.hs-page-hero__title {
  font-weight: 400;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.hs-page-hero__title em, .hs-page-hero__title i { font-style: italic; color: var(--maroon); }
.hs-page-hero__lead {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: 20px;
  line-height: 32px;
  color: var(--ink);
}
.hs-page-hero .hs-btn-row { justify-content: center; margin-top: 40px; }

/* Anchor tab row — quick links to the sections further down the page */
.hs-anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}
.hs-anchor-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--maroon);
  padding-left: 24px;
  position: relative;
  transition: opacity var(--duration-fast) ease;
}
.hs-anchor-tabs a:first-child { padding-left: 0; }
.hs-anchor-tabs a:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 14px;
  height: 1px;
  background: var(--rule-on-light);
}
.hs-anchor-tabs a:hover { opacity: 0.75; }
.hs-anchor-tabs img { width: 18px; height: 18px; }

@media (max-width: 700px) {
  .hs-anchor-tabs { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hs-anchor-tabs a:not(:first-child)::before { display: none; }
  .hs-anchor-tabs a { padding-left: 0; }
}

/* Hakkımda hero: portrait, one-line title, thesis line, pill links.
   The portrait itself is added by inc/hero.php. */
.hs-page-hero--profile .hs-container { padding-top: 56px; padding-bottom: 64px; }
.hs-page-hero--profile .hs-hero__portrait { margin-bottom: 24px; }
.hs-page-hero--profile .hs-hero__portrait + .hs-eyebrow-row { margin-bottom: 14px; }
.hs-page-hero--profile .hs-page-hero__title { font-size: clamp(30px, 5vw, 56px); line-height: 1.1; }
.hs-page-hero--profile .hs-page-hero__lead { margin-top: 28px; }
.hs-page-hero--profile .hs-btn-row { margin-top: 32px; }
.hs-page-hero--profile + .hs-inner-section { border-top: 1px solid var(--divider); }

.hs-hero-thesis {
  max-width: 720px;
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}
.hs-hero-thesis .kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.hs-hero-thesis__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 28px;
  color: var(--maroon);
}

/* Pill links to the sections further down */
.hs-anchor-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}
.hs-anchor-pills a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  transition: border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.hs-anchor-pills a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--maroon);
}
.hs-anchor-pills a:hover { border-color: var(--divider-accent); color: var(--maroon); }

@media (max-width: 600px) {
  .hs-page-hero--profile .hs-container { padding-top: 44px; padding-bottom: 52px; }
  .hs-hero-thesis { margin-top: 22px; padding-top: 18px; }
  .hs-anchor-pills { margin-top: 36px; }
  .hs-hero-thesis__title { font-size: 18px; line-height: 26px; }
  .hs-anchor-pills { gap: 10px; }
  .hs-anchor-pills a { padding: 12px 18px; }
}

/* Section wrapper backgrounds/paddings reused across both inner pages */
.hs-inner-section { padding-top: 88px; padding-bottom: 88px; }
.hs-inner-section.is-alt { background: var(--cream-alt); }
.hs-inner-section.is-dark { background: var(--maroon-dark); }
.hs-inner-section.is-bordered-top { border-top: 1px solid var(--divider); }

/*
 * 3-across variant of the homepage's .hs-services__grid, for Hakkımda's
 * "Mesleki Çalışmaları" (3 cards). Scoped with an extra modifier class so
 * the homepage's own 2-card grid is untouched.
 */
.hs-services__grid.is-cols-3 > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .hs-services__grid.is-cols-3 > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hs-services__grid.is-cols-3 > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* Large detail cards (Hizmetler service breakdown) */
.hs-detail-grid { display: contents; }
.hs-detail-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.hs-detail-card { text-align: center; }
.hs-detail-card .icon-badge { margin-left: auto; margin-right: auto; }
.hs-detail-card h3 {
  font-size: 24px;
  color: var(--maroon);
  margin-bottom: 16px;
}
.hs-detail-card p {
  font-size: 15px;
  line-height: 21px;
  color: var(--ink);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 800px) {
  .hs-detail-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* Vertical-divided text columns — dark variant (Hizmetler süreç, italic serif
   titles) and light variant (Hakkımda mesleki gelişim, maroon serif titles) */
.hs-process-columns {
  display: grid;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--divider-strong);
}
.hs-inner-section.is-dark .hs-process-columns { border-top-color: rgba(247, 242, 236, 0.2); }
.hs-process-columns__item {
  padding: 32px 28px;
  border-left: 1px solid var(--divider-accent);
  text-align: center;
}
.hs-process-columns__item:first-child { border-left: none; }
.hs-process-columns__item h3 {
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--blush);
  margin-bottom: 12px;
}
.hs-process-columns__item p {
  font-size: 13px;
  line-height: 20px;
  color: var(--on-dark);
}
.hs-inner-section:not(.is-dark) .hs-process-columns__item h3 {
  color: var(--maroon);
  font-style: normal;
}
.hs-inner-section:not(.is-dark) .hs-process-columns__item p {
  color: var(--ink);
  font-size: 15px;
  line-height: 21px;
}
.hs-process-columns.has-2 { grid-template-columns: repeat(2, 1fr); }
.hs-process-columns.has-3 { grid-template-columns: repeat(3, 1fr); }
.hs-process-columns.has-4 { grid-template-columns: repeat(4, 1fr); }

/* Boxed variant — Hakkımda's Mesleki Gelişim: the same divided-columns
   component, framed in one thin outer border instead of a full-width top
   rule, and pulled in closer under the section intro. */
.hs-process-columns.is-boxed {
  border-top: none;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  margin-top: 40px;
}
.hs-process-columns.is-boxed .hs-process-columns__item { padding: 28px 24px; }
/* Süpervizyon carries more text than Türk Psikologlar Derneği, so give it a
   bit more room. Scoped to a min-width so it never fights the shared
   .has-2 mobile collapse below. */
@media (min-width: 901px) {
  .hs-process-columns.is-boxed.has-2 { grid-template-columns: 1.4fr 1fr; }
}

/* Hakkımda — Mesleki Gelişim: Katılım Belgeleri & Sertifikalar. Same tinted
   callout box already used for the Akademik Geçmişi's Yüksek Lisans Tezi
   (.hs-thesis), reused here for a second "supporting detail" callout. */
.hs-certificates-box {
  background: var(--ring-bg);
  border: 0.5px solid var(--rule-on-light);
  border-radius: 15px;
  padding: 32px 40px;
  margin-top: 24px;
}
.hs-certificates-box h3 {
  text-align: center;
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 24px;
}
.hs-certificate-item { margin-top: 18px; }
.hs-certificate-item:first-child { margin-top: 0; }
.hs-certificate-item p {
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
}
.hs-certificate-item p strong { font-weight: 600; }
.hs-certificate-item__detail {
  margin-top: 6px;
  font-style: italic;
  font-size: 13px;
  line-height: 19px;
  color: var(--ink-muted);
}

.hs-process-note {
  max-width: 1000px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
}
.hs-on-dark .hs-process-note { color: var(--on-dark); }
.hs-process-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}
.hs-on-dark .hs-process-cta { color: var(--on-dark); }

@media (max-width: 900px) {
  .hs-process-columns.has-3, .hs-process-columns.has-4 { grid-template-columns: repeat(2, 1fr); }
  .hs-process-columns__item:nth-child(2) { border-left: none; }
}
@media (max-width: 560px) {
  .hs-process-columns.has-2, .hs-process-columns.has-3, .hs-process-columns.has-4 { grid-template-columns: 1fr; }
  .hs-process-columns__item { border-left: none !important; border-top: 1px solid var(--divider-accent); }
  .hs-inner-section.is-dark .hs-process-columns__item { border-top-color: rgba(247, 242, 236, 0.2); }
  .hs-process-columns__item:first-child { border-top: none; }
}

/* Dark icon+text columns (Hakkımda: BDT / Psikodinamik Yönelim) */
.hs-icon-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 56px;
}
.hs-icon-columns__item {
  text-align: center;
  padding: 0 40px;
  border-left: 1px solid var(--divider-accent);
}
.hs-icon-columns__item:first-child { border-left: none; }
.hs-icon-columns__item .icon-badge { margin-left: auto; margin-right: auto; }
.hs-icon-columns__item h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--on-dark);
  margin-bottom: 12px;
}
.hs-icon-columns__item p {
  font-size: 15px;
  line-height: 21px;
  color: var(--on-dark);
  opacity: 0.7;
  max-width: 420px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .hs-icon-columns { grid-template-columns: 1fr; gap: 48px; }
  .hs-icon-columns__item { border-left: none; }
}

/* Photo + text comparison (Hizmetler: Yüz Yüze / Online) */
.hs-compare-media { display: contents; }
.hs-compare-media > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 40px;
}
.hs-compare-media__photo {
  width: 100%;
  aspect-ratio: 600 / 300;
  border-radius: var(--radius-card);
  border: 0.5px solid rgba(36, 35, 33, 0.25);
  box-shadow: var(--shadow-photo);
  overflow: hidden;
  margin-bottom: 24px;
}
.hs-compare-media__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hs-compare-media__photo.is-tall-subject img { object-position: center 82%; }
.hs-compare-media__col { border-left: 1px solid var(--divider-accent); padding-left: 32px; }
.hs-compare-media__col:first-child { border-left: none; padding-left: 0; }
.hs-compare-media__eyebrow {
  display: block;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: var(--blush);
  margin-bottom: 8px;
}
.hs-compare-media__col h3 {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.hs-compare-media__col p {
  font-size: 14px;
  line-height: 22px;
  color: var(--ink);
  max-width: 570px;
}
.hs-compare-media__col .link-arrow { display: inline-block; margin-top: 24px; font-size: 14px; }

@media (max-width: 800px) {
  .hs-compare-media > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 40px; }
  .hs-compare-media__col { border-left: none; padding-left: 0; }
}

/* CTA gradient band shared by both inner pages */
.hs-cta-band {
  background: var(--gradient-cta);
  border-top: 1px solid var(--divider);
  text-align: center;
  padding: 56px 0;
}
.hs-cta-band p {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--on-dark);
  max-width: 800px;
  margin: 0 auto;
}
.hs-cta-band .hs-btn-row { justify-content: center; margin-top: 28px; }
.btn-invert { background: var(--on-maroon); color: var(--maroon); }

/* Hakkımda — Akademik Geçmişi (photo + credentials + thesis highlight) */
.hs-credentials-block { display: contents; }
.hs-credentials-block > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.hs-credentials-block__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  border: 0.5px solid rgba(36, 35, 33, 0.25);
  box-shadow: var(--shadow-photo);
  overflow: hidden;
}
.hs-credentials-block__photo img { width: 100%; height: 100%; object-fit: cover; }
.hs-credentials-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hs-credential-item { display: flex; align-items: flex-start; gap: 16px; }
.hs-credential-item .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.hs-credential-item .kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.hs-credential-item .school {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.hs-credential-item .field {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--maroon);
  margin-top: 4px;
}
.hs-credential-item .field__years {
  font-weight: 400;
  color: var(--ink-muted);
}
.hs-credentials-block__divider { height: 1px; background: var(--divider); margin: 32px 0; }
.hs-thesis {
  background: var(--ring-bg);
  border: 0.5px solid var(--rule-on-light);
  border-radius: 15px;
  padding: 24px 32px;
}
.hs-thesis .kicker {
  display: block;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.hs-thesis h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 21px;
  margin-bottom: 10px;
}
.hs-thesis p { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

@media (max-width: 900px) {
  .hs-credentials-block > .wp-block-group__inner-container { grid-template-columns: 1fr; }
  .hs-credentials-block__photo { max-width: 350px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hs-credentials-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   15. Blog — listing (home.php) & single article (single.php). Scoped to
   these two templates only; nothing here touches the homepage or inner
   pages built above.
   ========================================================================== */

/* Shared header: reuses .hs-page-hero's title/lead typography (section 14)
   but with the flat surface background measured from the Figma Blog frames,
   instead of that class's own gradient + top divider. No border of its own —
   the divider belongs wherever the surface background actually ends, which
   differs between the listing (right after the hero) and the single article
   (after the featured image, or right here when there is no image). */
.hs-blog-hero {
  background: var(--surface);
  border-top: none;
}
.hs-blog-hero--no-media { border-bottom: 1px solid rgba(36, 35, 33, 0.1); }
.hs-blog-hero__date {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 16px;
}

/* Listing grid */
.hs-blog-grid-section { padding: 88px var(--container-pad) 96px; border-top: 1px solid rgba(36, 35, 33, 0.1); }
.hs-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.hs-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.hs-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 10px 16px 0px rgba(36, 35, 33, 0.18);
}
.hs-blog-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 20 / 11;
  background: var(--placeholder-bg);
}
.hs-blog-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-blog-card__media-placeholder { display: block; width: 100%; height: 100%; }

.hs-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 32px 32px;
}
.hs-blog-card__date {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 12px;
}
.hs-blog-card__title {
  font-size: 24px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hs-blog-card__title a:hover { color: var(--maroon); }
.hs-blog-card__excerpt {
  flex: 1;
  margin-top: 12px;
  font-size: 15px;
  line-height: 20px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hs-blog-card__body .link-arrow { display: inline-block; margin-top: 16px; }

@media (max-width: 900px) {
  .hs-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hs-blog-grid { grid-template-columns: 1fr; }
  .hs-blog-grid-section { padding: 56px var(--container-pad) 72px; }
}

/* Single article */
.hs-article-media { background: var(--surface); padding: 0 var(--container-pad) 64px; border-bottom: 1px solid rgba(36, 35, 33, 0.1); }
.hs-article-media .hs-container { max-width: 1000px; margin: 0 auto; }
.hs-article-media img {
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
}

@media (max-width: 700px) {
  .hs-article-media { padding: 0 var(--container-pad) 48px; }
}

/* ==========================================================================
   16. Inner pages (Çalışma Alanları, İletişim) — components scoped to these
   two templates only, alongside section 14's shared .hs-inner-section /
   .hs-section-head / .hs-cta-band. Nothing here touches the homepage.
   ========================================================================== */

/* Italic highlight word in a dark-section heading (Hakkımda/Hizmetler's
   dark headings don't use this, but the maroon used by .hs-page-hero__title
   em has too little contrast on --maroon-dark, hence blush instead). */
.hs-inner-section.is-dark h2 em, .hs-inner-section.is-dark h2 i { font-style: italic; color: var(--blush); }

/* Çalışma Alanları — 3x3 grid of light, borderless-shadow area cards */
.hs-area-grid { display: contents; }
.hs-area-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.hs-area-card {
  text-align: center;
  padding: 32px 28px;
  background: rgba(217, 194, 199, 0.25);
  border: 0.5px solid var(--rule-on-light);
  border-radius: 15px;
}
.hs-area-card h3 {
  font-size: 24px;
  color: var(--blush);
  margin-bottom: 12px;
}
.hs-area-card p { font-size: 14px; line-height: 18px; color: var(--ink); }

@media (max-width: 900px) {
  .hs-area-grid > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hs-area-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; }
}

/* İletişim — Telefon / E-posta / Instagram cards */
.hs-iletisim-grid { display: contents; }
.hs-iletisim-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hs-iletisim-card { text-align: center; }
.hs-iletisim-card__label {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--blush);
}
.hs-iletisim-card__value { font-size: 20px; margin-top: 12px; margin-bottom: 12px; }
.hs-iletisim-card__value a:hover { color: var(--maroon); }
.hs-iletisim-card p { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

@media (max-width: 700px) {
  .hs-iletisim-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 24px; }
}

/* Map: static preview until the visitor loads Google Maps */
.hs-map-consent {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px 20px;
  background-color: var(--cream-alt);
  background-size: cover;
  background-position: 50% 36%;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.hs-map-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 640px;
  padding: 14px 18px;
  background: rgba(255, 252, 249, 0.95);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(42, 18, 25, 0.12);
}
.hs-map-consent__text { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-muted); text-align: left; }
.hs-map-consent__actions { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hs-map-consent__link { font-size: 13px; color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.hs-map-consent__attr {
  position: absolute;
  right: 8px;
  bottom: 3px;
  font-size: 10px;
  line-height: 14px;
  color: var(--ink-muted);
  text-decoration: none;
}
@media (max-width: 560px) {
  .hs-map-consent { padding: 12px 12px 18px; }
  .hs-map-consent__inner { flex-direction: column; gap: 10px; padding: 12px 14px; text-align: center; }
  .hs-map-consent__text { font-size: 13px; line-height: 19px; text-align: center; }
  .hs-map-consent__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* İletişim — map + Ofis Adresi / Çalışma Saatleri */
.hs-office-grid { display: contents; }
.hs-office-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hs-office-grid__map {
  width: 100%;
  aspect-ratio: 15 / 7;
  background: var(--placeholder-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.hs-office-grid__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) {
  .hs-office__placeholder,
  .hs-office-grid__map { aspect-ratio: auto; height: 320px; }
}
.hs-office-info-item + .hs-office-info-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.hs-office-info-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hs-office-info-item .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.hs-office-info-item .eyebrow { color: var(--blush); white-space: normal; }
.hs-office-info-item p {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 900px) {
  .hs-office-grid > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 32px; }
}
