/*
 * PH Takvim — publicholidays.tr tasarımı (Saatli Maarif yaprak takvimi).
 * Tüm kurallar .ph kapsayıcısıyla sınırlıdır; Divi'nin geri kalanını etkilemez.
 */
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-sans-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Anton"; src: url("fonts/anton-400.woff") format("woff"); font-weight: 400; font-display: swap; }
.ph {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #1f2328;
  --muted: #59626d;
  --rule: #dfe2e6;
  --soft: #f4f5f7;
  --red: #c8141c;
  --red-ink: #b0121a;
  --red-soft: #fdeceb;
  --band: #c8141c;
  --band-ink: #ffffff;
  --ok: #1d6f46; --ok-soft: #e4f3ea;
  --wait: #8a4f00; --wait-soft: #fdf1dc;
  --leaf-paper: #ffffff; --leaf-ink: #1f2328;
  --focus: #1a5fd0;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --text: "Fira Sans", -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}
.ph *, .ph *::before, .ph *::after { box-sizing: border-box; min-width: 0; }
.ph { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); font-feature-settings: "lnum" 1, "kern" 1; overflow-x: clip; }
.ph img, .ph svg { max-width: 100%; }
.ph a { color: var(--red-ink); text-underline-offset: 3px; }
.ph a:hover { text-decoration-thickness: 2px; }
.ph :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.ph h1, .ph h2, .ph h3 { line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
.ph h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 60px); letter-spacing: .005em; line-height: 1.02; }
.ph h2 { font-size: clamp(22px, 2.6vw, 27px); font-weight: 600; margin-top: 1.8em; }
.ph h3 { font-size: 19px; font-weight: 600; }
.ph p { margin: 0 0 1em; }
.ph .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph .skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; border-radius: 4px; }
.ph .skip:focus { top: 8px; }
.ph .wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(4vw, 16px); }
.ph .content { padding-bottom: 56px; }
.ph .content > * { max-width: 860px; }
.ph .narrow > * { max-width: 740px; }
.ph .muted { color: var(--muted); }
.ph .site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.ph .header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.ph .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; }
.ph .logo-mark { width: 26px; height: 30px; flex: none; }
.ph .logo-tld { color: var(--red-ink); }
.ph .main-nav { display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.ph .main-nav::-webkit-scrollbar { display: none; }
.ph .main-nav a { flex: none; color: var(--ink); text-decoration: none; padding: 10px 11px; border-radius: 6px; font-size: 15.5px; white-space: nowrap; }
.ph .main-nav a:hover { background: var(--soft); }
.ph .main-nav a[aria-current="page"] { color: var(--red-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.ph .main-nav .lang { border: 1px solid var(--rule); margin-left: 6px; padding: 6px 10px; font-weight: 600; font-size: 13.5px; }
.ph .band-paper { background: var(--band); color: var(--band-ink); }
.ph .hero { padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 60px); }
.ph .hero-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-areas: "leaf title" "leaf more"; column-gap: clamp(28px, 6vw, 72px); row-gap: 4px; }
.ph .hero .leaf { grid-area: leaf; align-self: center; }
.ph .hero-title { grid-area: title; align-self: end; }
.ph .hero-more { grid-area: more; align-self: start; }
.ph .hero h1 { color: var(--band-ink); margin-bottom: .3em; }
.ph .hero .lead { font-size: 20px; line-height: 1.45; max-width: 36ch; }
.ph .hero a { color: var(--band-ink); }
.ph .hero .crumbs ol { color: rgba(255,255,255,.85); }
.ph .hero .crumbs a { color: var(--band-ink); }
.ph .kicker { font-weight: 600; opacity: .9; margin-bottom: .6em; }
.ph .next-line { font-size: 18px; }
.ph .next-line a { font-weight: 600; }
.ph .quick { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.ph .quick a { display: flex; flex-direction: column; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; min-height: 44px; }
.ph .quick a:hover { background: rgba(255,255,255,.1); }
.ph .q-k { font-size: 13.5px; opacity: .85; }
.ph .q-v { font-weight: 600; }
.ph .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ph .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; background: var(--red); color: #fff; border: 2px solid var(--red); font: inherit; font-weight: 600; cursor: pointer; }
.ph .hero .btn { background: #fff; color: #b0121a; border-color: #fff; }
.ph .hero .btn-ghost, .ph .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.ph .btn:hover { filter: brightness(1.05); }
.ph .leaf { margin: 0; width: 100%; max-width: 280px; color: var(--leaf-ink); background: var(--leaf-paper); border-radius: 4px; position: relative; transform: rotate(-1.6deg); box-shadow: 0 2px 0 rgba(0,0,0,.12), 0 24px 40px -22px rgba(0,0,0,.6); }
.ph .leaf::before { content: ""; position: absolute; inset: auto 6px -6px 6px; height: 6px; background: rgba(255,255,255,.55); border-radius: 0 0 4px 4px; z-index: -1; }
.ph .leaf-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #1f2328; color: #fff; padding: 9px 14px; border-radius: 4px 4px 0 0; font-weight: 600; letter-spacing: .06em; font-size: 15px; }
.ph .leaf-hole { width: 10px; height: 10px; border-radius: 50%; background: var(--band); box-shadow: inset 0 1px 2px rgba(0,0,0,.5); flex: none; }
.ph .leaf-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 16px 18px; border-top: 2px dashed #c9cdd2; }
.ph .leaf-num { font-family: var(--display); font-size: 128px; line-height: 1.02; color: #c8141c; font-variant-numeric: tabular-nums; }
.ph .leaf-day { font-weight: 600; font-size: 21px; margin-top: -2px; }
.ph .leaf-name { color: var(--leaf-ink) !important; font-size: 17px; line-height: 1.3; margin-top: 6px; text-decoration-color: #c8141c; }
.ph .leaf-range { font-size: 14.5px; color: #59626d; margin-top: 2px; }
.ph .leaf-range:empty, .ph .leaf-note:empty { display: none; }
.ph .leaf-count { margin-top: 12px; background: #fdeceb; color: #a3101a; font-weight: 600; padding: 4px 12px; border-radius: 999px; font-size: 15px; }
.ph .leaf-note { margin-top: 8px; font-size: 13.5px; color: #59626d; }
.ph .hero-sm { padding: 28px 0 36px; }
.ph .hero-sm .leaf-num { font-size: 104px; }
.ph .page-head { padding-top: 8px; }
.ph .page-head .lead { font-size: 19px; color: var(--ink); max-width: 62ch; }
.ph .page-head h1 { margin-top: .2em; }
.ph .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 20px 0 6px; font-size: 14.5px; color: var(--muted); }
.ph .crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.ph .crumbs a { color: inherit; }
.ph .hero .crumbs ol { margin-top: 0; }
.ph .stats { display: flex; flex-wrap: wrap; gap: 0; margin: 8px 0 18px; border: 1px solid var(--rule); border-radius: 8px; width: fit-content; max-width: 100%; }
.ph .stats div { padding: 10px 18px; border-left: 1px solid var(--rule); }
.ph .stats div:first-child { border-left: 0; }
.ph .stats dt { font-size: 13.5px; color: var(--muted); }
.ph .stats dd { margin: 0; font-weight: 600; font-size: 19px; }
.ph .year-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ph .year-nav a, .ph .year-nav span { padding: 6px 12px; border-radius: 6px; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 600; }
.ph .year-nav span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ph .callout { background: var(--red-soft); padding: 12px 16px; border-radius: 8px; }
.ph .lead-sm { font-size: 18px; }
.ph .year-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ph .year-num { font-family: var(--display); font-weight: 400; color: var(--red); font-size: 1.6em; line-height: 1; }
.ph .table-wrap { overflow-x: auto; margin: 8px 0 6px; }
.ph table.holidays { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ph table.holidays caption { text-align: left; color: var(--muted); padding-bottom: 6px; }
.ph table.holidays th { text-align: left; font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); padding: 6px 10px 8px; }
.ph table.holidays td { border-bottom: 1px solid var(--rule); padding: 10px; vertical-align: middle; }
.ph table.holidays tr.is-past td { color: var(--muted); }
.ph table.holidays tr.is-past .mini { opacity: .45; }
.ph .cd { display: flex; align-items: center; gap: 12px; }
.ph .d-text { display: flex; flex-direction: column; line-height: 1.3; }
.ph .d-text time { font-weight: 600; white-space: nowrap; }
.ph .d-day { color: var(--muted); font-size: 15px; }
.ph .c-name a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }
.ph .c-name .note { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.ph .c-dur { white-space: nowrap; text-align: right; }
.ph .dur { font-weight: 600; display: block; }
.ph .chip { display: inline-block; font-size: 13px; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); margin-top: 3px; white-space: nowrap; }
.ph .chip-off { background: var(--red-soft); color: var(--red-ink); }
.ph .table-note { font-size: 14.5px; color: var(--muted); }
.ph .mini { flex: none; width: 46px; border-radius: 5px; overflow: hidden; display: grid; text-align: center; background: var(--paper); box-shadow: 0 0 0 1px var(--rule), 0 2px 0 var(--rule); }
.ph .mini-m { background: #1f2328; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 18px; }
.ph .mini-d { font-family: var(--display); font-size: 23px; line-height: 30px; color: var(--red); }
.ph .mini.is-half .mini-d { background: linear-gradient(180deg, transparent 50%, var(--red-soft) 50%); }
.ph .ad-row td { padding: 0; border-bottom: 0; }
.ph .dur-m { display: none; }
.ph .bridge-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 22px; }
.ph .bridge { border-top: 1px solid var(--rule); padding-top: 16px; }
.ph .bridge-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.ph .bridge-title { margin: 0; font-size: 19px; }
.ph .bridge-sum { margin: 0; }
.ph .bridge-sum strong { color: var(--red-ink); }
.ph .bridge-leave { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.ph .strip { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ph .strip li { width: 48px; min-height: 58px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; border: 1px solid var(--rule); background: var(--paper); position: relative; }
.ph .s-wd { font-size: 12px; font-weight: 600; opacity: .85; }
.ph .s-dn { font-family: var(--display); font-size: 21px; }
.ph .s-tag { font-size: 10.5px; font-weight: 600; }
.ph .strip .s-holiday, .ph .sw.s-holiday { background: var(--red); border-color: var(--red); color: #fff; }
.ph .strip .s-half, .ph .sw.s-half { background: linear-gradient(180deg, var(--paper) 50%, var(--red-soft) 50%); border-color: var(--red); color: var(--ink); }
.ph .strip .s-half .s-dn { color: var(--red-ink); }
.ph .strip .s-weekend, .ph .sw.s-weekend { background: var(--soft); color: var(--muted); }
.ph .strip .s-leave, .ph .strip .s-leave-half, .ph .sw.s-leave { border: 2px dashed var(--ink); background: var(--paper); }
.ph .strip .s-leave-half { background: linear-gradient(180deg, var(--paper) 50%, var(--red-soft) 50%); }
.ph .strip-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.ph .strip-legend li { display: inline-flex; align-items: center; gap: 6px; }
.ph .sw { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--rule); display: inline-block; }
.ph .leave-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.ph .leave-list li { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; }
.ph .badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-right: 6px; }
.ph .badge-ok { background: var(--ok-soft); color: var(--ok); }
.ph .badge-wait { background: var(--wait-soft); color: var(--wait); }
.ph .count { font-weight: 600; color: var(--red-ink); white-space: nowrap; }
.ph .faq .qa { border-bottom: 1px solid var(--rule); }
.ph .faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 600; position: relative; }
.ph .faq summary::-webkit-details-marker { display: none; }
.ph .faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 24px; font-weight: 400; color: var(--red); }
.ph .faq details[open] summary::after { content: "−"; }
.ph .qa-a { padding: 0 0 14px; max-width: 68ch; }
.ph .sources { margin-top: 36px; padding-top: 8px; border-top: 2px solid var(--ink); font-size: 15px; }
.ph .sources h2 { font-size: 18px; margin-top: .8em; }
.ph .sources ul { padding-left: 18px; }
.ph .src-pub { color: var(--muted); }
.ph .updated { color: var(--muted); }
.ph .related ul, .ph .plain { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ph .plain { display: grid; gap: 6px; }
.ph .related a { display: inline-block; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 6px; text-decoration: none; color: var(--ink); }
.ph .related a:hover { border-color: var(--red); }
.ph .big-links a { font-size: 19px; font-weight: 600; }
.ph .more-years { margin-top: 28px; }
.ph .prose { max-width: 68ch; }
.ph .prose h2 { font-size: 22px; }
.ph .kunye { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.ph .kunye dt { color: var(--muted); }
.ph .kunye dd { margin: 0; }
.ph mark.todo { background: var(--wait-soft); color: var(--wait); padding: 0 4px; border-radius: 3px; }
.ph .copy-box { border: 1px solid var(--rule); border-radius: 10px; padding: 16px; margin: 8px 0 20px; }
.ph .copy-box label { font-weight: 600; display: block; margin-bottom: 6px; }
.ph .copy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ph .copy-row input { flex: 1 1 260px; min-height: 44px; font: 16px var(--text); padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--soft); color: var(--ink); }
.ph .ad { margin: 24px 0; min-height: 280px; background: var(--soft); border-radius: 6px; padding: 4px 0 8px; text-align: center; }
.ph .ad-label { display: block; font-size: 12px; color: var(--muted); }
@media (min-width: 761px) {
.ph .ad { min-height: 120px; } }

.ph .en-h h3 { margin-bottom: .2em; }
.ph .en-h { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.ph .site-footer { background: #1f2328; color: #d9dde2; padding: 40px 0 28px; margin-top: 24px; font-size: 15px; }
.ph .site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.ph .site-footer h2 { font-size: 15px; color: #fff; margin: 0 0 8px; }
.ph .site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ph .foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ph .disclaimer { margin-top: 28px; color: #b4bbc4; max-width: 80ch; }
.ph .copy { color: #b4bbc4; margin: 0; }
.ph .foot-links a { margin-right: 14px; }
@media (max-width: 760px) {
.ph { font-size: 16.5px; }
.ph .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "leaf" "more"; row-gap: 22px; }
.ph .hero .leaf { justify-self: center; max-width: 250px; }
.ph .leaf-num { font-size: 104px; }
.ph .hero .lead { font-size: 18px; }
.ph .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph .header-row { min-height: 0; padding-top: 10px; padding-bottom: 4px; gap: 6px; }
.ph .main-nav { width: 100%; margin: 0 -8px; }
.ph table.holidays th:last-child, .ph table.holidays td.c-dur { text-align: right; }
.ph table.holidays td { padding: 9px 6px; }
.ph .cd { gap: 9px; }
.ph .mini { width: 40px; }
.ph .mini-d { font-size: 20px; line-height: 26px; }
.ph .d-text time { white-space: normal; }
.ph .strip li { width: 40px; min-height: 52px; }
.ph .s-dn { font-size: 18px; }
}

@media (max-width: 600px) {
.ph table.has-dur-m th:last-child, .ph table.has-dur-m td.c-dur { display: none; }
.ph .dur-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; font-size: 14px; color: var(--muted); }
.ph .dur-m .dur { display: inline; font-weight: 600; color: var(--ink); }
.ph .dur-m .chip { margin-top: 0; }
}

@media (max-width: 420px) {
.ph .d-day { font-size: 14px; }
.ph .c-name .note { font-size: 13.5px; }
.ph .stats div { padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
.ph * { scroll-behavior: auto !important; transition: none !important; } }

@media print {
.ph .site-header, .ph .site-footer, .ph .ad, .ph .actions, .ph .quick, .ph .skip, .ph .year-nav { display: none !important; }
.ph .band-paper { background: none; color: #000; }
.ph .hero h1, .ph .hero a { color: #000; }
.ph .leaf { transform: none; box-shadow: none; border: 1px solid #000; }
.ph { font-size: 12pt; }
}



/* Divi ile çakışmaları sıfırla */
.ph { font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--paper); font-feature-settings: "lnum" 1, "kern" 1; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.ph p { padding-bottom: 0; }
.ph h1, .ph h2, .ph h3, .ph h4 { padding-bottom: 0; color: inherit; font-family: var(--text); }
.ph h1 { font-family: var(--display); }
.ph ul, .ph ol { line-height: inherit; }
.ph table { border: 0; margin: 0; }
.ph a:not(.btn) { font-weight: inherit; }
.ph-main { background: var(--paper); }
.ph .band-paper h1, .ph.band-paper h1 { color: var(--band-ink); }

/* Divi'nin varsayılan üst menüsü ve alt bilgisi yerine PH Takvim'inkiler */
.ph-chrome-on #top-header, .ph-chrome-on #main-header, .ph-chrome-on #main-footer, .ph-chrome-on .et_pb_scroll_top { display: none !important; }
.ph-chrome-on #page-container { padding-top: 0 !important; margin-top: 0 !important; }
.ph-chrome-on #et-main-area, .ph-chrome-on #main-content { background: #fff; }
.ph-chrome-on #main-content .container:before { display: none; }
.ph-chrome .site-footer { margin-top: 0; }
