/*
Theme Name: HEAD Derneği
Theme URI: https://www.hematolojiegitimarastirma.org/
Author: HEAD
Description: Hematoloji Eğitim ve Araştırma Derneği için Wix görünümüne sadık, taşınabilir WordPress teması.
Version: 1.0.53
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: head-dernegi
*/

@font-face { font-family: 'HEAD Poppins'; src: url('assets/fonts/poppins-semibold.woff2') format('woff2'); font-style: normal; font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'HEAD Poppins'; src: url('assets/fonts/poppins-bold.woff2') format('woff2'); font-style: normal; font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'HEAD Poppins'; src: url('assets/fonts/poppins-bold-italic.woff2') format('woff2'); font-style: italic; font-weight: 700; font-display: swap; }
@font-face { font-family: 'HEAD Avenir'; src: url('assets/fonts/avenir-light-latin.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'HEAD Avenir'; src: url('assets/fonts/avenir-light-ext.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+100-12B,U+12E-130,U+132-137,U+139-149,U+14C-151,U+154-15F,U+162-177,U+179-17C; }

:root {
  --head-navy: #29275c;
  --head-navy-dark: #17152f;
  --head-red: #b02027;
  --head-coral: #ed474b;
  --head-lime: #b7d12b;
  --head-ink: #272727;
  --head-muted: #6d6d73;
  --head-surface: #f5f5f7;
  --head-white: #fff;
  --head-max: 1180px;
  --head-shadow: 0 14px 38px rgba(21, 19, 50, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--head-ink);
  background: #fff;
  font-family: Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.head-wrap { width: min(calc(100% - 40px), var(--head-max)); margin-inline: auto; }
.head-skip-link { position: fixed; left: 12px; top: -100px; z-index: 9999; background: #fff; padding: 10px 14px; color: var(--head-navy); }
.head-skip-link:focus { top: 12px; }

.site-header { height: 78px; background: #fff; position: relative; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.07); }
.site-header__inner { height: 100%; display: flex; align-items: stretch; justify-content: space-between; }
.site-branding { display: flex; align-items: center; padding: 8px 0; }
.site-branding img { width: 236px; max-height: 63px; object-fit: contain; object-position: left center; }
.site-branding__text { color: var(--head-red); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.header-actions { display: flex; align-items: stretch; margin-right: calc((100vw - min(100vw - 40px, var(--head-max))) / -2); }
.congress-link { display: grid; place-items: center; padding: 0 24px; color: #fff; background: var(--head-red); font-size: 15px; }
.menu-toggle { display: flex; align-items: center; gap: 13px; border: 0; color: #fff; background: var(--head-navy); padding: 0 28px; cursor: pointer; }
.menu-toggle__lines { width: 32px; height: 22px; position: relative; border-block: 3px solid currentColor; }
.menu-toggle__lines::after { content: ""; position: absolute; top: 7px; left: 0; width: 100%; border-top: 3px solid currentColor; }
.site-nav { position: fixed; inset: 78px 0 auto; z-index: 45; background: rgba(23,21,47,.98); color: #fff; transform: translateY(-120%); transition: transform .24s ease; }
.admin-bar .site-nav { top: 110px; }
.site-nav.is-open { transform: translateY(0); }
.site-nav ul { width: min(calc(100% - 40px), var(--head-max)); margin: 0 auto; padding: 24px 0; display: flex; justify-content: flex-end; gap: 34px; list-style: none; }
.site-nav a { font-weight: 600; }
.site-nav a:hover, .site-nav a:focus-visible { color: #dce86f; }

.hero { min-height: 446px; color: #fff; display: grid; place-items: center; text-align: center; background: var(--head-navy-dark) center/cover no-repeat; position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24,17,47,.28); }
.hero__content { padding: 50px 20px; max-width: 1000px; }
.hero__date { font: 600 clamp(24px, 2.5vw, 36px)/1.2 Poppins, "Segoe UI", sans-serif; margin: 0 0 24px; }
.hero h1 { margin: 0; font: 700 clamp(38px, 5.3vw, 72px)/.98 Poppins, "Segoe UI", sans-serif; letter-spacing: -.025em; }
.hero__venue { margin: 24px 0 18px; color: var(--head-lime); font: italic 700 clamp(22px, 2.4vw, 32px)/1.15 Poppins, sans-serif; }
.head-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 42px; padding: 9px 18px; border: 1px solid currentColor; color: inherit; transition: background .2s, color .2s, border-color .2s; }
.head-button::after { content: "\2192"; }
.head-button:hover, .head-button:focus-visible { background: #fff; color: var(--head-navy); border-color: #fff; }
.head-button--red { background: var(--head-red); border-color: var(--head-red); color: #fff; }
.head-button--red:hover { background: var(--head-navy); color: #fff; border-color: var(--head-navy); }

.home-panels { display: grid; grid-template-columns: 1.25fr .72fr 1.15fr; min-height: 305px; }
.home-panel { padding: 60px clamp(30px, 6vw, 88px); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.home-panel h2 { margin: 0 0 18px; font: 600 clamp(26px,2.2vw,34px)/1.2 Poppins, sans-serif; }
.home-panel p { margin: 0 0 28px; max-width: 410px; }
.home-panel--about { background: var(--head-navy); }
.home-panel--news { background: var(--head-coral); }
.home-panel--image { min-height: 305px; background: #eee center/cover no-repeat; }
.home-panel--meetings { grid-column: 1 / span 2; background: #ececed; color: var(--head-navy); }
.home-panel--meetings-image { background-position: center; }

.section { padding: 76px 0; }
.section--surface { background: var(--head-surface); }
.section-title { margin: 0 0 34px; color: var(--head-navy); font: 700 clamp(31px,4vw,52px)/1.1 Poppins, sans-serif; }
.section-title::after { content: "."; color: var(--head-red); }
.news-grid, .event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.content-card { background: #fff; box-shadow: var(--head-shadow); min-width: 0; }
.content-card__image { aspect-ratio: 16/9; background: #ddd center/cover no-repeat; overflow: hidden; }
.content-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.content-card:hover .content-card__image img { transform: scale(1.025); }
.content-card__body { padding: 25px; }
.content-card__meta { color: var(--head-red); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; }
.content-card h2, .content-card h3 { color: var(--head-navy); font: 600 21px/1.3 Poppins, sans-serif; margin: 8px 0 12px; }
.content-card p { margin: 0; color: var(--head-muted); }
.section-action { margin-top: 34px; }

.page-banner { min-height: 295px; display: grid; place-items: end start; color: #fff; background: var(--head-navy) center/cover no-repeat; position: relative; isolation: isolate; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(21,19,50,.6); }
.page-banner h1 { margin: 0; padding: 56px 0; font: 700 clamp(36px,5vw,64px)/1 Poppins, sans-serif; }
.page-banner h1::after { content: "."; color: var(--head-red); }
.prose { max-width: 880px; color: #3c3c43; }
.prose h2 { color: var(--head-navy); font: 700 34px/1.15 Poppins, sans-serif; text-transform: uppercase; }
.prose a { color: var(--head-red); text-decoration: underline; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,8vw,110px); align-items: start; }
.board-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }
.board-card { text-align: center; }
.board-card img, .board-card__placeholder { width: 100%; aspect-ratio: .88; object-fit: cover; background: #e9e9ee; }
.board-card h3 { margin: 15px 0 2px; color: var(--head-navy); font: 600 18px/1.3 Poppins,sans-serif; }
.board-card p { margin: 0; color: var(--head-red); font-size: 14px; text-transform: uppercase; }

.single-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 50px; }
.single-title { color: var(--head-navy); font: 700 clamp(34px,4vw,52px)/1.08 Poppins,sans-serif; }
.single-featured { width: 100%; max-height: 620px; object-fit: cover; margin: 25px 0 34px; }
.single-meta { color: var(--head-red); font-weight: 700; }
.single-sidebar { background: var(--head-surface); padding: 28px; align-self: start; position: sticky; top: 100px; }
.single-sidebar dt { color: var(--head-red); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.single-sidebar dd { margin: 0 0 16px; color: var(--head-navy); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d8d8de; }
.pagination .current { color: #fff; background: var(--head-red); border-color: var(--head-red); }

.site-footer { color: #fff; background: var(--head-navy-dark); }
.quote-band { padding: 48px 0; text-align: center; background: var(--head-navy); }
.quote-band blockquote { margin: 0; font: 600 clamp(24px,3vw,38px)/1.25 Poppins,sans-serif; }
.quote-band cite { display: block; margin-top: 10px; font-style: normal; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr; gap: 70px; padding: 60px 0 38px; }
.footer-main h2, .footer-main h3 { margin-top: 0; font-family: Poppins,sans-serif; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.45); color: #fff; background: transparent; padding: 11px 12px; }
.contact-form textarea { min-height: 115px; resize: vertical; }
.contact-form button { justify-self: start; border: 1px solid #fff; color: #fff; background: transparent; padding: 10px 24px; cursor: pointer; }
.contact-form__status { grid-column: 1/-1; margin: 0; padding: 10px 12px; background: rgba(255,255,255,.1); }
.contact-form__honeypot { position: absolute !important; left: -9999px !important; }
.contact-form__consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 9px !important; }
.contact-form__consent input { width: auto; margin-top: 4px; }
.contact-form__consent a { color: #fff; text-decoration: underline; }
.contact-details h3 { margin-bottom: 8px; color: #fff; font-size: 17px; }
.contact-details p { margin: 0 0 25px; }
.social-links { display: flex; gap: 14px; margin-top: 20px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); text-align: center; font-size: 13px; }

@media (max-width: 900px) {
  .header-actions { margin-right: -20px; }
  .congress-link { display: none; }
  .home-panels { grid-template-columns: 1fr 1fr; }
  .home-panel--about, .home-panel--news { padding: 45px 35px; }
  .home-panel--image { grid-row: span 1; }
  .home-panel--meetings { grid-column: auto; }
  .news-grid, .event-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .board-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .head-wrap { width: min(calc(100% - 30px), var(--head-max)); }
  .site-header { height: 74px; }
  .site-branding img { width: min(205px, 58vw); }
  .menu-toggle { width: 72px; padding: 0; justify-content: center; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .site-nav { top: 74px; }
  .admin-bar .site-nav { top: 120px; }
  .site-nav ul { width: 100%; padding: 22px; flex-direction: column; gap: 15px; }
  .hero { min-height: 470px; }
  .hero__content { padding: 42px 18px; }
  .hero__date { font-size: 23px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(35px,11.5vw,50px); overflow-wrap: anywhere; }
  .hero__venue { font-size: 22px; }
  .home-panels { grid-template-columns: 1fr; }
  .home-panel { min-height: 270px; padding: 45px 28px; }
  .home-panel--image { min-height: 300px; order: 2; }
  .home-panel--news { order: 3; }
  .home-panel--meetings { order: 4; }
  .home-panel--meetings-image { order: 5; }
  .section { padding: 56px 0; }
  .news-grid, .event-grid, .board-grid, .about-split { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .page-banner { min-height: 225px; }
  .footer-main { gap: 42px; }
}
