/* D — Calm Academic Guide. Layout chrome on existing HTML. Tracking hooks unchanged. */

:root {
  --ab-bg: #f6f8fb;
  --ab-ink: #172033;
  --ab-heading: #102a43;
  --ab-muted: #44546a;
  --ab-blue: #1f5f8f;
  --ab-green: #20836f;
  --ab-green-dark: #176857;
  --ab-navy: #123e63;
  --ab-border: #e5e9ef;
  --ab-white: #ffffff;
  --ab-soft: #eef6fb;
  --ab-soft-green: #eef9f5;
  --ab-max: 1120px;
  --highlight-color: #1f5f8f;
}

/* Temel gorsel davranisi: mobilde tasmayi onler, en-boy oranini korur.
   Duz "img" secicisi oldugu icin .img-fluid ve html.d-guide ... img gibi
   ozgullugu daha yuksek kurallari ezmez. */
img {
  max-width: 100%;
  height: auto;
}

html.d-skin,
html {
  background: var(--ab-bg);
}

.header,
#footer-bar,
#preloader,
#menu-main,
#menu-call,
html.d-skin .menu,
html.d-skin .menu-hider,
html.d-skin [hidden] {
  display: none !important;
  pointer-events: none !important;
}

html.d-skin a[href] {
  cursor: pointer;
}

body.theme-light,
body {
  background: var(--ab-bg) !important;
  color: var(--ab-ink) !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
}

body,
h1,
h2,
h3,
h4,
p,
a,
span,
li,
input,
textarea,
button {
  font-family: "Source Sans 3", "Segoe UI", sans-serif !important;
}

html.d-skin body {
  display: block;
  padding-bottom: 5rem;
}

html.d-skin body > .container {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  html.d-skin body {
    padding-bottom: 0;
  }
}

html.d-skin body,
html.d-skin #page,
html.d-skin .header {
  width: 100% !important;
  max-width: none !important;
}

html.d-skin #page {
  background: var(--ab-bg) !important;
  padding-top: 0 !important;
  min-height: 100vh;
}

html.d-skin .page-content,
html.d-skin .page-content.mt-6,
html.d-skin .page-content.mt-4 {
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html.d-skin .page-content:not(.d-article) {
  max-width: none;
}

html.d-skin .page-content.d-article {
  max-width: var(--ab-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* —— Sticky header —— */
.d-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--ab-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.d-chrome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  max-width: var(--ab-max);
  margin: 0 auto;
  padding: 0 1rem;
}

.d-brand {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ab-navy) !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.d-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .d-nav {
    display: flex;
  }
  .d-menu-btn {
    display: none !important;
  }
  .d-menu-wrap {
    display: none;
  }
}

.d-nav-item {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #344054 !important;
  text-decoration: none !important;
}

.d-nav-item:hover,
.d-nav-item.is-active {
  background: var(--ab-soft);
  color: var(--ab-navy) !important;
}

.d-nav-item--wa {
  background: var(--ab-soft-green);
  color: #126b55 !important;
}

.d-nav-item--stack {
  display: block;
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  font-size: 1rem;
}

.d-langs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0.35rem 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.d-langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  color: #344054 !important;
  text-decoration: none !important;
}

.d-langs a:hover {
  text-decoration: underline !important;
}

.d-menu-wrap {
  position: relative;
}

.d-menu-wrap summary {
  list-style: none;
}

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

.d-menu-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #cfd8e3;
  border-radius: 12px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.d-menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ab-navy);
  border-radius: 2px;
}

.d-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 42, 67, 0.28);
  pointer-events: none;
}

.d-menu-wrap[open] .d-sheet {
  pointer-events: auto;
}

.d-menu-wrap:not([open]) .d-sheet {
  display: none !important;
  pointer-events: none !important;
}

.d-sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  box-sizing: border-box;
  width: min(100%, 420px);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--ab-border);
  padding: 1.25rem 1rem 2rem;
  overflow: auto;
}

html[dir="rtl"] .d-sheet-panel {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid var(--ab-border);
}

.d-sheet-title {
  margin: 0 0 1rem;
  padding-right: 2rem;
  font-weight: 800;
  color: var(--ab-navy);
}

.d-sheet-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.d-sheet-nav .d-langs {
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--ab-border);
}

.d-sheet-nav .d-nav-item,
.d-sheet-nav .d-btn {
  box-sizing: border-box;
  min-height: 44px;
}

.d-sheet-nav .d-btn {
  width: 100%;
  margin-top: 0.5rem;
}

body.d-sheet-open {
  overflow: hidden;
}

/* —— Buttons —— */
.d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none !important;
}

.d-btn--primary {
  background: var(--ab-green);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(32, 131, 111, 0.18);
}

.d-btn--primary:hover {
  background: var(--ab-green-dark);
}

.d-btn--secondary {
  background: #fff;
  color: var(--ab-navy) !important;
  border: 1px solid #cfd8e3;
}

.d-btn--secondary:hover {
  background: var(--ab-soft);
}

/* —— Home hero (homepage only) —— */
.d-hero {
  border-bottom: 1px solid var(--ab-border);
  background: linear-gradient(135deg, #f9fcff 0%, #eef6fb 60%, #eef9f5 100%);
  padding: 1.5rem 0 1.75rem;
}

.d-hero-grid,
.d-pills,
.d-konular,
.d-footer-grid,
.d-article {
  max-width: var(--ab-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.d-hero-grid {
  display: grid;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .d-hero-grid {
    grid-template-columns: 1.7fr 0.7fr;
  }
}

.d-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ab-blue);
}

.d-hero h1 {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ab-heading) !important;
  text-align: left !important;
}

.d-lead {
  margin: 0.5rem 0 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ab-muted);
}

.d-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

@media (max-width: 639px) {
  .d-hero-ctas .d-btn {
    width: 100%;
  }
}

.d-hero-photo {
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(31, 95, 143, 0.15);
  background: #fff;
}

.d-hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

/* —— Pills —— */
.d-pills {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.d-pills h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #183b56 !important;
}

.d-pills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d-pills li {
  border: 1px solid var(--ab-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #344054;
}

/* —— Bento + groups —— */
.d-konular {
  padding-bottom: 2.5rem;
  scroll-margin-top: 5.5rem;
}

.d-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .d-bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .d-bento {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }

  .d-bento-card {
    min-height: 17rem;
  }
}

.d-bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--ab-border);
  border-radius: 20px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(31, 58, 88, 0.05);
  overflow: hidden;
}

.d-bento-card:hover {
  border-color: #cde9df;
  box-shadow: 0 16px 36px rgba(31, 58, 88, 0.1);
}

.d-bento-card--blue {
  background: radial-gradient(420px circle at 100% 0%, #eef6fb, #fff 58%);
}
.d-bento-card--green {
  background: radial-gradient(420px circle at 100% 0%, #eef9f5, #fff 58%);
}
.d-bento-card--amber {
  background: radial-gradient(420px circle at 100% 0%, #fff8e8, #fff 58%);
}

.d-bento-ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  border: 1px solid var(--ab-border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ab-blue);
  margin-bottom: 0.75rem;
}
.d-bento-ico svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.d-bento-card--green .d-bento-ico {
  color: var(--ab-green);
}
.d-bento-card--amber .d-bento-ico {
  color: #9b6b13;
}

.d-ico {
  width: 1.25rem;
  height: 1.25rem;
}

.d-bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ab-navy) !important;
}

.d-bento-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #667085;
}

.d-bento-cta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ab-green);
}

.d-groups {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .d-groups {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .d-groups {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.d-groups h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ab-navy) !important;
}

.d-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.d-group-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--ab-border);
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #244f70 !important;
  text-decoration: none !important;
}

.d-group-list a:hover {
  border-color: #cde9df;
  background: var(--ab-soft-green);
}

@media (hover: hover) and (pointer: fine) {
  .d-bento-card:hover {
    transform: translateY(-2px);
  }

  .d-group-list a:hover {
    transform: translateY(-1px);
  }
}

.d-group-list a span {
  color: var(--ab-green);
  opacity: 0.7;
}

/* —— Inner article: one white paper, no homepage hero —— */
.d-article {
  margin: 0 auto;
  background: transparent;
  border: none;
  padding: 2rem 1rem 3rem !important;
  max-width: var(--ab-max);
  box-shadow: none;
}

@media (min-width: 640px) {
  .d-article {
    padding: 2.5rem 1.25rem 3rem !important;
  }
}

html.d-guide .d-article > main {
  display: block;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: 20px;
  padding: 2rem 1.25rem 2.5rem;
  box-shadow: none;
}

@media (min-width: 640px) {
  html.d-guide .d-article > main {
    padding: 2.5rem 2.5rem 2.75rem;
  }
}

html.d-guide .d-article .container-fluid,
html.d-guide .d-article .content.mt-2,
html.d-guide .d-article .content.mb-2,
html.d-guide .d-article .content.mb-3,
html.d-guide .d-article .content.mt-2.mb-2 {
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

html.d-guide .d-article .card,
html.d-guide .d-article .card-style {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 0 1.25rem !important;
  overflow: visible !important;
}

html.d-guide .d-article .card-style > .content,
html.d-guide .d-article .card > .content,
html.d-guide .d-article .card-body {
  margin: 0 !important;
  padding: 0 !important;
}

html.d-guide .d-article h1,
html.d-guide .d-article h2,
html.d-guide .d-article h3,
html.d-guide .d-article h4,
html.d-guide .d-article .card-title {
  color: #183b56 !important;
  text-align: left !important;
}

html.d-guide .d-article h1 {
  max-width: 40rem;
  margin: 0 0 0.6rem !important;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  color: #102a43 !important;
}

html.d-guide .d-article h1 + p {
  max-width: 40rem;
  margin-bottom: 0.65rem !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #44546a !important;
  font-weight: 400 !important;
}

html.d-guide .d-article h2,
html.d-guide .d-article .card-title {
  font-size: clamp(1.25rem, 2vw, 1.7rem) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin: 2rem 0 1rem !important;
}

html.d-guide .d-article > main > :first-child h2,
html.d-guide .d-article > main > :first-child .card-title {
  margin-top: 0 !important;
}

html.d-guide .d-article h3:not(.h4):not(.h5):not(.h6) {
  font-size: 1.05rem !important;
  margin: 1.25rem 0 0.5rem !important;
}

html.d-guide .d-article p,
html.d-guide .d-article .card-text,
html.d-guide .d-article .content p,
html.d-guide .d-article li {
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  line-height: 1.72 !important;
  color: #172033;
  text-align: left !important;
}

@media (max-width: 767px) {
  html.d-guide .d-article .content p:not(.d-medical-note):not(.d-eyebrow):not(.d-author-name):not(.d-author-role):not(.d-author-place),
  html.d-guide .d-article .card-body p:not(.d-medical-note):not(.d-eyebrow):not(.d-author-name):not(.d-author-role):not(.d-author-place),
  html.d-guide .d-article .card-text:not(.d-medical-note),
  html.d-guide .d-article .content li,
  html.d-guide .d-article .card-body li,
  html.d-skin .d-footer p {
    font-size: 1rem !important;
  }
}

html.d-guide .d-article .text-center,
html.d-guide .d-article .justify-text {
  text-align: left !important;
}

html.d-guide .d-article .color-aqua-light {
  color: #44546a !important;
  font-weight: 400 !important;
}

html.d-guide .d-article a:not(.d-btn):not(.btn) {
  color: var(--ab-blue);
}

html.d-guide .d-article .cta-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0.35rem 0 1.25rem !important;
  padding-bottom: 1.15rem !important;
  border-bottom: 1px solid var(--ab-border) !important;
}

html.d-guide .d-article .cta-box .cta-msg {
  display: none;
}

html.d-guide .d-article .cta-box .content.py-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

html.d-guide .d-article a.btn i,
html.d-guide .d-article .btn i {
  display: none !important;
}

html.d-guide .d-article a.btn,
html.d-guide .d-article .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  min-width: 0;
  border-radius: 12px !important;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(32, 131, 111, 0.18) !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

@media (max-width: 639px) {
  html.d-guide .d-article a.btn,
  html.d-guide .d-article .btn {
    width: 100%;
  }
}

html.d-guide .d-article a.btn.bg-blue-dark,
html.d-guide .d-article a.btn.bg-red-dark,
html.d-guide .d-article a.btn.bg-yellow-dark,
html.d-guide .d-article a.btn[href^="tel:"],
html.d-guide .d-article a.btn[data-menu="menu-call"] {
  background: #fff !important;
  color: var(--ab-navy) !important;
  border: 1px solid #cfd8e3 !important;
  box-shadow: none !important;
}

html.d-guide .d-article a.btn.bg-green-dark,
html.d-guide .d-article a.btn.bg-green-light,
html.d-guide .d-article a.btn[href*="wa.me"] {
  background: var(--ab-green) !important;
  color: #fff !important;
  border: none !important;
}

html.d-guide .d-article .bg-danger,
html.d-guide .d-article .card-style.bg-danger,
html.d-guide .d-article .ameliyat-oneri-kutu {
  background: #eef6fb !important;
  border: 1px solid #d7e9f6 !important;
  border-radius: 16px !important;
  padding: 1.15rem 1.25rem !important;
  margin: 1.25rem 0 !important;
}

html.d-guide .d-article .bg-danger .card-title,
html.d-guide .d-article .bg-danger .card-text,
html.d-guide .d-article .bg-danger .text-white,
html.d-guide .d-article .bg-danger h2,
html.d-guide .d-article .bg-danger p {
  color: #1d2939 !important;
  background: transparent !important;
}

html.d-guide .d-article [style*="fef3c7"],
html.d-guide .d-article [style*="FEF3C7"] {
  background: #fff8e8 !important;
  border: 1px solid #f0dfb6 !important;
  border-radius: 16px !important;
  padding: 1.15rem 1.25rem !important;
  margin: 1.25rem 0 !important;
}

html.d-guide .d-article .kitapcik-notu {
  background: #eef6fb !important;
  border: 1px solid #d7e9f6 !important;
  border-radius: 16px !important;
  padding: 1rem 1.15rem !important;
  margin: 1.25rem 0 !important;
  text-align: left !important;
  color: #1d2939 !important;
}

html.d-guide .d-article img {
  border-radius: 16px;
}

html.d-guide .d-article .faq-zebra,
html.d-guide .d-article .accordion {
  border: 1px solid var(--ab-border) !important;
  border-radius: 14px !important;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}

html.d-guide .d-article .accordion-item {
  border: none !important;
  border-bottom: 1px solid var(--ab-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
}

html.d-guide .d-article .accordion-button {
  background: #fff !important;
  color: #244f70 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  text-align: left !important;
}

/* —— Footer + mobile bar —— */
.d-footer {
  background: #102a43;
  color: #dce6ef;
}

.d-footer-grid {
  display: grid;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .d-footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.d-footer h2 {
  margin: 0;
  font-size: 1.125rem;
  color: #fff !important;
}

.d-footer p {
  margin: 0.5rem 0 0;
  color: #c4d1dc;
}

.d-footer a {
  color: #d9f3ec !important;
  text-decoration: none !important;
}

.d-mobilebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem 0.65rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--ab-border);
}

@media (min-width: 768px) {
  .d-mobilebar {
    display: none;
  }
}

.d-mobilebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 800;
  text-decoration: none !important;
}

.d-mobilebar-call {
  background: var(--ab-soft);
  color: var(--ab-navy) !important;
}

.d-mobilebar-wa {
  background: var(--ab-green);
  color: #fff !important;
}

/* —— Leftover homepage blocks (reviews / projects) —— */
html.d-skin .d-home #hasta-yorumlari,
html.d-skin .d-home .alp-projects {
  max-width: var(--ab-max);
  margin: 0 auto 1.5rem !important;
  padding: 0 1rem;
}

html.d-skin .d-home #hasta-yorumlari h2,
html.d-skin .d-home .alp-projects-title {
  color: #183b56 !important;
  font-weight: 800;
}

html.d-skin .card,
html.d-skin .card-style {
  border-radius: 16px !important;
  border: 1px solid var(--ab-border) !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html.d-skin .d-article .card,
html.d-skin .d-article .card-style {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0.75rem !important;
}

html.d-skin .star-rating {
  color: #e2b93b;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border-radius: 12px !important;
  border-color: #cfd8e3 !important;
}

.accordion-button,
.accordion-item {
  border-color: var(--ab-border) !important;
  border-radius: 12px !important;
}

@media only screen and (min-width: 1440px) {
  html.d-skin body,
  html.d-skin .header,
  html.d-skin #page {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Readable text on the light article skin */
html.d-guide .d-article .text-white:not(.btn):not(.d-btn),
html.d-guide .d-article .color-white:not(.btn):not(.d-btn),
html.d-guide .d-article .bg-danger li,
html.d-guide .d-article .bg-danger .color-white,
html.d-guide .d-article .kirmizi-kutu,
html.d-guide .d-article .kirmizi-kutu :is(p, li, h2, h3, h4, h5, .card-title, .card-text),
html.d-guide .d-article .ameliyat-oneri-kutu,
html.d-guide .d-article .ameliyat-oneri-kutu :is(p, li, h2, h3, .card-title, .card-text),
html.d-guide .d-article .cilt-isaretleri-banner,
html.d-guide .d-article .cilt-isaretleri-banner :is(p, i),
html.d-guide .d-article .bg-fade-blue-dark,
html.d-guide .d-article .bg-fade-blue-dark :is(p, h2, h3, h4, h5, .card-title, .card-text, .card-subtitle) {
  color: #1d2939 !important;
}

html.d-guide .d-article a.text-white,
html.d-guide .d-article a.color-white {
  color: var(--ab-blue) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.d-guide .d-article .kirmizi-kutu,
html.d-guide .d-article .ameliyat-oneri-kutu,
html.d-guide .d-article .cilt-isaretleri-banner,
html.d-guide .d-article .bg-fade-blue-dark {
  background: #eef6fb !important;
  border: 1px solid #d7e9f6 !important;
  border-radius: 16px !important;
}

html.d-guide .d-article .accordion .bg-highlight,
html.d-guide .d-article .accordion .card-style {
  background: #f4f8fc !important;
  border: 1px solid #d7e4f0 !important;
  border-radius: 12px !important;
  margin-bottom: 0.45rem !important;
}

html.d-guide .d-article .accordion .card-style:nth-child(even) {
  background: #f3faf7 !important;
  border-color: #d5ebe3 !important;
}

html.d-guide .d-article .accordion .color-white,
html.d-guide .d-article .accordion h5,
html.d-guide .d-article .accordion .bg-theme,
html.d-guide .d-article .accordion .collapse {
  color: #123e63 !important;
  background: transparent !important;
}

html.d-guide .d-article .d-medical-note {
  margin: 0.2rem 0 0.85rem !important;
  max-width: 46rem;
  font-size: 0.8125rem !important;
  line-height: 1.45 !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em;
  color: #5c6b7c !important;
  text-align: left !important;
}

html.d-guide .d-article .d-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0.15rem 0 1.15rem !important;
  padding: 0.75rem !important;
  background: #fff !important;
  border: 1px solid var(--ab-border) !important;
  border-radius: 16px !important;
}

html.d-guide .d-article .d-author img {
  width: 148px;
  height: 186px;
  flex: 0 0 148px;
  object-fit: cover;
  object-position: 22% 14%;
  border-radius: 12px !important;
  margin: 0 !important;
}

html.d-guide .d-article .d-author[data-shot="portrait"] img {
  object-position: center 12%;
}

html.d-guide .d-article .d-author p {
  margin: 0 !important;
  text-align: left !important;
}

html.d-guide .d-article .d-author-name {
  color: #102a43 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

html.d-guide .d-article .d-author-role {
  margin-top: 0.2rem !important;
  color: var(--ab-blue) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

html.d-guide .d-article .d-author-place {
  margin-top: 0.12rem !important;
  color: #44546a !important;
  font-size: 0.88rem !important;
}

@media (max-width: 639px) {
  html.d-guide .d-article .d-author {
    align-items: stretch;
  }

  html.d-guide .d-article .d-author img {
    width: 112px;
    height: 140px;
    flex-basis: 112px;
  }
}

html.d-guide .d-article .d-related {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem !important;
  margin: 0.35rem 0 1.35rem !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

@media (min-width: 768px) {
  html.d-guide .d-article .d-related[data-n="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html.d-guide .d-article .d-related[data-n="4"],
  html.d-guide .d-article .d-related[data-n="5"],
  html.d-guide .d-article .d-related[data-n="6"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html.d-guide .d-article .d-related > [class*="col"] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: none !important;
}

html.d-guide .d-article .d-related .card,
html.d-guide .d-article .d-related .card-style {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid var(--ab-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

html.d-guide .d-article .d-related a {
  color: inherit;
  text-decoration: none !important;
}

html.d-guide .d-article .d-related img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  margin: 0 !important;
}

html.d-guide .d-article .d-related .card:has(img.topic-card),
html.d-guide .d-article .d-related .card-style:has(img.topic-card) {
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  box-shadow: none !important;
}

html.d-guide .d-article .d-related img.topic-card {
  display: block;
  border: none !important;
  aspect-ratio: 1070 / 1470 !important;
  object-fit: contain !important;
  border-radius: 22px !important;
}

html.d-guide .d-article .d-related .card:has(img.topic-card) .p-2,
html.d-guide .d-article .d-related .card:has(img.topic-card) .text-center {
  display: none !important;
}

html.d-guide .d-article .d-related .p-2,
html.d-guide .d-article .d-related .text-center {
  padding: 0.7rem 0.65rem 0.85rem !important;
  text-align: center !important;
}

html.d-guide .d-article .d-related .font-title,
html.d-guide .d-article .d-related .responsive-font,
html.d-guide .d-article .d-related .p-2 a,
html.d-guide .d-article .d-related .text-truncate-2 {
  display: block;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: #123e63 !important;
  text-align: center !important;
  margin: 0 !important;
}

html.d-guide .d-article .d-qa {
  background: #f4f8fc !important;
  border: 1px solid #d7e4f0 !important;
  border-radius: 16px !important;
  padding: 0.95rem 1.1rem !important;
  margin: 0 0 0.7rem !important;
}

html.d-guide .d-article .d-qa--alt {
  background: #f3faf7 !important;
  border-color: #d5ebe3 !important;
}

html.d-guide .d-article .d-qa :is(h4, p, .card-title, .card-text) {
  color: #172033 !important;
}

html.d-guide .d-article .d-fact {
  border-radius: 14px !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid #d7e4f0 !important;
  background: #f4f8fc !important;
}

html.d-guide .d-article .d-fact--1 {
  background: #f3faf7 !important;
  border-color: #d5ebe3 !important;
}

html.d-guide .d-article .d-fact--2 {
  background: #fff8ee !important;
  border-color: #f0dfb6 !important;
}

html.d-guide .d-article .d-fact strong {
  color: #123e63;
}

html.d-guide .d-article .hero-gorsel-orta,
html.d-guide .d-article .page-img-wrap {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

html.d-guide .d-article .hero-gorsel-orta img,
html.d-guide .d-article .page-img-wrap img,
html.d-guide .d-article img.card-img-top {
  display: block;
  width: 100% !important;
  max-width: 680px !important;
  height: auto !important;
  max-height: 420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain;
}

html.d-guide .d-article .d-cyst-figure {
  display: grid;
  gap: 0.85rem;
  margin: 0.4rem 0 1.25rem;
}

@media (min-width: 768px) {
  html.d-guide .d-article .d-cyst-figure {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

html.d-guide .d-article .d-cyst-figure img,
html.d-guide .d-article .d-cyst-figure svg {
  width: 100%;
  height: auto;
  max-height: 360px;
  border-radius: 16px;
  border: 1px solid var(--ab-border);
  background: #f7fbfd;
}

html.d-guide .d-article .d-cyst-caption {
  margin: 0.4rem 0 0 !important;
  font-size: 0.875rem !important;
  color: #44546a !important;
}

html.d-guide .d-article .d-cyst-types {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

html.d-guide .d-article .d-cyst-types > li {
  background: #fff;
  border: 1px solid var(--ab-border);
  border-left: 4px solid #1f5f8f;
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

html.d-guide .d-article .d-cyst-types > li:nth-child(3n + 2) {
  border-left-color: #20836f;
  background: #f4fbf8;
}

html.d-guide .d-article .d-cyst-types > li:nth-child(3n) {
  border-left-color: #b7791f;
  background: #fffaf2;
}

html.d-guide .d-article .d-cyst-types span {
  color: #123e63 !important;
}

@media (prefers-reduced-motion: reduce) {
  html.d-skin *,
  html.d-skin *::before,
  html.d-skin *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .d-bento-card:hover,
  .d-group-list a:hover {
    transform: none !important;
  }
}

/* YouTube facade: poster until the visitor presses play. */
.responsive-iframe > .yt-facade,
.video-responsive > .yt-facade,
.ratio > .yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0e1520;
}

.yt-facade__btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.yt-facade__btn img,
html.d-guide .d-article .yt-facade__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  display: block;
}

.yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 12px;
  background: #ff0033;
  pointer-events: none;
}

.yt-facade__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

.yt-facade__btn:hover .yt-facade__play,
.yt-facade__btn:focus-visible .yt-facade__play {
  box-shadow: 0 0 0 4px #fff;
}

.yt-facade__btn:focus-visible {
  outline: 3px solid #1f5f8f;
  outline-offset: -3px;
}

.responsive-iframe > iframe,
.video-responsive > iframe,
.ratio > iframe {
  border: 0;
}
