/* Green Day blog, article and legal pages + the "latest articles" strip on the home page.
   Follows the home page: square corners, no shadows, 1px hairlines, Geist 400 headings with tight tracking,
   small green labels, text CTAs (theme .c-cta). */
:root {
  --gd-ink: var(--color-text, #21272a);
  --gd-muted: #64686a;
  --gd-line: rgba(33, 39, 42, .16);
  --gd-green: var(--color-accent, #4caf50);
  --gd-green-d: #2e7d32;
  --gd-fs-body: clamp(16px, calc(10px + .55vw), 19px);
}
.gd-blog-page { background: var(--color-bg, #f4f4f4); }
.gd-blog-page main { color: var(--gd-ink); }
.gd-blog-page .c-header .menu-item.current-menu-item > a { color: var(--gd-green); }
.gd-blog-page main *, .gd-latest *, .gd-contact * { border-radius: 0 !important; }

/* labels and headings */
.gd-eyebrow { margin: 0 0 1.2rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gd-green); }
.gd-h2 { margin: 0; font-size: clamp(1.9rem, 2.8vw, 2.9rem); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; }
.gd-muted { color: var(--gd-muted); margin: 1rem 0 0; max-width: 32ch; line-height: 1.55; font-size: .95rem; }

.gd-crumbs { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; margin-bottom: 2.4rem; font-size: .8rem; color: var(--gd-muted); }
.gd-crumbs a { color: inherit; text-decoration: none; }
.gd-crumbs a:hover { color: var(--gd-ink); }
.gd-crumbs > span:last-child { color: var(--gd-ink); }

/* ---------- index hero ---------- */
.gd-bhero { padding: clamp(9rem, 15vw, 13rem) 0 clamp(3rem, 5vw, 4.5rem); }
.gd-bhero__title { margin: 0; max-width: 16ch; font-size: clamp(2.8rem, 6.4vw, 6.6rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.gd-bhero__title em { font-style: normal; color: var(--gd-green); }
.gd-bhero__foot { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem; align-items: end; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--gd-line); }
.gd-bhero__intro { margin: 0; max-width: 50ch; font-size: clamp(1rem, 1.15rem, 1.25rem); line-height: 1.55; color: var(--gd-muted); }
.gd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; }
.gd-stats div { display: flex; flex-direction: column-reverse; padding-top: .8rem; border-top: 1px solid var(--gd-line); }
.gd-stats dt { font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: 1; letter-spacing: -.04em; }
.gd-stats dd { margin: 0 0 .6rem; font-size: .72rem; color: var(--gd-green); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ---------- filters ---------- */
.gd-blist { padding-bottom: clamp(4.5rem, 8vw, 7.5rem); }
.gd-filters { display: flex; flex-wrap: wrap; gap: 0 2rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--gd-line); }
.gd-filter { appearance: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--gd-muted); padding: .9rem 0; font: inherit; font-size: .92rem; cursor: pointer; transition: color .2s, border-color .2s; }
.gd-filter span { margin-left: .3em; font-size: .78em; color: var(--gd-green); vertical-align: super; }
.gd-filter:hover { color: var(--gd-ink); }
.gd-filter.is-active { color: var(--gd-ink); border-bottom-color: var(--gd-ink); }

/* ---------- cards (like the home page publication / people cards) ---------- */
.gd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 3vw, 3.5rem) var(--grid-gutter, 2.67rem); }
.gd-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.gd-card[hidden] { display: none; }
.gd-card__link { position: absolute; inset: 0; z-index: 2; }
.gd-card__link:focus-visible { outline: 2px solid var(--gd-green); outline-offset: 4px; }
/* 16:9 like the covers, cropped from the top-left only: two covers carry the Green Day logo in the bottom-right corner (owner, 30 Oct 2026). */
.gd-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #e2e4e5; }
.gd-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; transform-origin: right bottom; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.gd-card:hover .gd-card__media img { transform: scale(1.04); }
.gd-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 1.1rem; }
.gd-card__num { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--gd-line); font-size: .72rem; color: var(--gd-green); letter-spacing: .04em; }
.gd-card__num span:last-child { color: var(--gd-muted); }
.gd-card__cat { margin: 0 0 .6rem; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gd-green); }
.gd-card__cat b { color: var(--gd-ink); font-weight: 600; }
.gd-card__title { margin: 0 0 .8rem; font-size: clamp(1.2rem, 1.45vw, 1.55rem); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; transition: color .2s; }
.gd-card__excerpt { margin: 0 0 1.4rem; font-size: .9rem; line-height: 1.55; color: var(--gd-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gd-card__cta { align-self: flex-start; margin-top: auto; }
.gd-card:hover .gd-card__title { color: var(--gd-green-d); }

/* featured: image left, text between two hairlines (like "Ticaret güvenle ilerler") */
.gd-card--feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--grid-gutter, 2.67rem); margin-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.gd-card--feature .gd-card__media { aspect-ratio: 16 / 9; }
.gd-card--feature .gd-card__body { justify-content: center; padding: 2rem 0; border-top: 1px solid var(--gd-line); border-bottom: 1px solid var(--gd-line); }
.gd-card--feature .gd-card__num { border-bottom: 0; padding-bottom: 0; }
.gd-card--feature .gd-card__title { font-size: clamp(1.8rem, 2.8vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; }
.gd-card--feature .gd-card__excerpt { font-size: 1rem; -webkit-line-clamp: 4; max-width: 46ch; }
.gd-card--feature .gd-card__cta { margin-top: .6rem; }

/* ---------- quick answers / FAQ ---------- */
.gd-quick { padding: clamp(4.5rem, 8vw, 7.5rem) 0; border-top: 1px solid var(--gd-line); }
.gd-quick__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--grid-gutter, 2.67rem); align-items: start; }
.gd-quick__inner > div:first-child { position: sticky; top: 8rem; }
.gd-qas { border-top: 1px solid var(--gd-ink); }
.gd-qa { border-bottom: 1px solid var(--gd-line); }
.gd-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font-size: clamp(1.02rem, 1.2vw, 1.22rem); letter-spacing: -.015em; }
.gd-qa summary::-webkit-details-marker { display: none; }
.gd-qa summary i { flex: none; position: relative; width: 14px; height: 14px; }
.gd-qa summary i::before, .gd-qa summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--gd-ink); transition: transform .3s; }
.gd-qa summary i::after { transform: rotate(90deg); }
.gd-qa[open] summary i::after { transform: rotate(0); }
.gd-qa[open] summary, .gd-qa summary:hover { color: var(--gd-green-d); }
.gd-qa > div { padding: 0 3rem 1.5rem 0; color: var(--gd-muted); line-height: 1.65; font-size: clamp(15px, calc(9px + .5vw), 17px); }
.gd-qa > div p { margin: 0 0 1rem; font-size: inherit; }

/* ---------- article ---------- */
.gd-progress { position: fixed; z-index: 120; inset: 0 0 auto 0; height: 2px; pointer-events: none; }
.gd-progress span { display: block; height: 100%; background: var(--gd-green); transform-origin: 0 50%; transform: scaleX(0); }
.gd-post__head { padding-top: clamp(9rem, 14vw, 12rem); }
.gd-post__title { margin: 0 0 1.6rem; max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 4.8rem); font-weight: 400; line-height: 1.03; letter-spacing: -.04em; }
.gd-post__meta { display: flex; flex-wrap: wrap; gap: .6em; margin: 0; padding-top: 1rem; border-top: 1px solid var(--gd-line); font-size: .85rem; color: var(--gd-muted); }
.gd-post__cover { margin: clamp(2rem, 4vw, 3.5rem) auto 0; }
.gd-post__cover img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 70vh; object-fit: cover; object-position: right bottom; }
.gd-post__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--grid-gutter, 2.67rem); padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.gd-post__aside { position: relative; }
.gd-toc { position: sticky; top: 7.5rem; max-width: 300px; }
.gd-toc__title { margin: 0 0 .8rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gd-green); }
.gd-toc__title--sp { margin-top: 2.2rem; }
.gd-toc ol, .gd-legal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gd-line); }
.gd-toc li, .gd-legal-list li { border-bottom: 1px solid var(--gd-line); }
.gd-toc a, .gd-legal-list a { display: block; padding: .6rem 0; color: var(--gd-muted); font-size: .86rem; line-height: 1.35; text-decoration: none; transition: color .2s, padding .25s; }
.gd-toc a:hover, .gd-legal-list a:hover { color: var(--gd-ink); }
.gd-toc a.is-active, .gd-legal-list a.is-current { color: var(--gd-ink); padding-left: .9rem; box-shadow: inset 2px 0 0 var(--gd-green); }
.gd-share { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin-top: 2.2rem; }
.gd-share .gd-toc__title { width: 100%; }
.gd-share__btn { appearance: none; border: 0; background: none; padding: .3rem 0; font: inherit; font-size: .86rem; color: var(--gd-ink); cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--gd-ink); }
.gd-share__btn:hover { color: var(--gd-green-d); border-color: var(--gd-green); }

.gd-post__main { max-width: 780px; min-width: 0; }
.gd-tldr { margin-bottom: 3rem; padding: 1.6rem 1.8rem; background: #21272a; color: #fff; }
.gd-tldr__title { margin: 0 0 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gd-green); }
.gd-tldr ul { margin: 0; padding: 0; list-style: none; counter-reset: tl; }
.gd-tldr li { display: grid; grid-template-columns: 2.2rem 1fr; padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .16); line-height: 1.55; font-size: .98rem; color: rgba(255, 255, 255, .88); counter-increment: tl; }
.gd-tldr li::before { content: counter(tl, decimal-leading-zero); font-size: .72rem; color: var(--gd-green); padding-top: .25em; }

.gd-prose { font-size: var(--gd-fs-body); line-height: 1.72; color: #2b3236; }
.gd-prose > * + * { margin-top: 1.1em; }
.gd-prose .lead { font-size: 1.2em; line-height: 1.55; color: var(--gd-ink); letter-spacing: -.01em; }
.gd-prose h2 { margin: 2.6em 0 .7em; padding-top: .9em; border-top: 1px solid var(--gd-line); font-size: clamp(1.6rem, 2.3vw, 2.3rem); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; color: var(--gd-ink); scroll-margin-top: 7rem; }
.gd-prose h3 { margin: 1.9em 0 .4em; font-size: 1.15em; font-weight: 500; line-height: 1.3; color: var(--gd-ink); }
.gd-prose p, .gd-prose li { margin-bottom: 0; font-size: inherit; line-height: inherit; }
.gd-prose ul { list-style: disc !important; padding-left: 1.25em; }
.gd-prose ol { list-style: decimal !important; padding-left: 1.4em; }
.gd-prose li { display: list-item !important; margin: .45em 0; padding-left: .25em; }
.gd-prose ul li::marker { color: var(--gd-green); }
.gd-prose ol li::marker { color: var(--gd-green); font-size: .9em; }
.gd-prose strong { color: var(--gd-ink); font-weight: 600; }
.gd-prose a { color: var(--gd-ink); text-decoration: underline; text-decoration-color: var(--gd-green); text-underline-offset: 3px; }
.gd-prose a:hover { color: var(--gd-green-d); }
.gd-callout { padding: 1.1rem 1.3rem; background: #fff; border-left: 3px solid var(--gd-green); font-size: .94em; line-height: 1.6; }
.gd-callout--warn { border-left-color: #e0a526; }
.gd-table { overflow-x: auto; border-top: 1px solid var(--gd-ink); -webkit-overflow-scrolling: touch; }
.gd-table table { width: 100% !important; max-width: none !important; margin: 0 !important; table-layout: auto !important; border-collapse: collapse; font-size: .84em; line-height: 1.45; min-width: 520px; background: transparent; }
.gd-table th, .gd-table td { width: auto !important; text-align: left; vertical-align: top; padding: .85em 1em .85em 0; border: 0 !important; border-bottom: 1px solid var(--gd-line) !important; }
.gd-table thead th { font-size: .82em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gd-green); }
.gd-table td:first-child { color: var(--gd-ink); font-weight: 500; }

.gd-post__faq { margin-top: 4.5rem; scroll-margin-top: 7rem; }
.gd-post__faq .gd-h2 { margin-bottom: 1.6rem; }
.gd-about { display: grid; grid-template-columns: 56px 1fr; gap: 1.3rem; margin-top: 4rem; padding: 1.6rem 0; border-top: 1px solid var(--gd-line); border-bottom: 1px solid var(--gd-line); }
.gd-about img { width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 8px; }
.gd-about p { margin: 0 0 .9rem; line-height: 1.6; color: var(--gd-muted); font-size: .95rem; }
.gd-about .gd-about__t { margin-bottom: .35rem; color: var(--gd-ink); font-size: 1.05rem; }

.gd-related, .gd-latest { padding: clamp(4.5rem, 8vw, 7rem) 0; border-top: 1px solid var(--gd-line); }
.gd-related__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.6rem; }

/* ---------- legal pages ---------- */
.gd-dl { border-top: 1px solid var(--gd-ink); }
.gd-dl p { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 1rem; margin: 0 !important; padding: .8rem 0; border-bottom: 1px solid var(--gd-line); font-size: .95em; }
.gd-dl span { color: var(--gd-green); font-size: .78em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-top: .2em; }
.gd-template { padding: 1.6rem 1.8rem; background: #fff; border-left: 3px solid var(--gd-green); font-size: .94em; }
.gd-template p + p { margin-top: .9em; }
mark.gd-todo { background: #fff2b8; color: #6b4e00; padding: 0 .25em; }

/* footer legal links (all pages) */
.gd-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1.2rem; }
.gd-legal a { font-family: Geist, Helvetica, "Helvetica Neue", sans-serif; font-size: .78rem; color: var(--gd-muted); text-decoration: none; }
.gd-legal a:hover { color: var(--gd-ink); }
.c-footer__copyrights { flex-direction: column; align-items: flex-start; }

/* theme sizes inline SVGs to their container; pin ours */
.gd-btn svg, .gd-form__done svg { flex: none; }
.gd-btn svg { width: 20px !important; height: 20px !important; }
.gd-form__done svg { width: 30px !important; height: 30px !important; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-post__layout { grid-template-columns: minmax(0, 1fr); }
  .gd-post__aside { order: 2; }
  .gd-legal-page .gd-post__aside { order: 0; }
  .gd-toc { position: static; max-width: none; }
  .gd-blog-post .gd-toc { display: none; }
  .gd-share { margin-top: 0; }
  .gd-quick__inner { grid-template-columns: minmax(0, 1fr); }
  .gd-quick__inner > div:first-child { position: static; }
}
@media (max-width: 749px) {
  .gd-bhero__foot { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .gd-card--feature { grid-template-columns: minmax(0, 1fr); }
  .gd-grid { grid-template-columns: minmax(0, 1fr); }
  .gd-filters { gap: 0 1.3rem; }
  .gd-related__head { flex-direction: column; align-items: flex-start; }
  .gd-qa > div { padding-right: 0; }
  .gd-tldr { padding: 1.3rem 1.2rem; }
  .gd-dl p { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-card__media img, .gd-qa summary i::after { transition: none; }
}
