/* AHG Seçim: styles of the election page and the projects page. Self-contained, so it does not depend on the theme's classes. */
:root{--ahgs-burgundy:#942839;--ahgs-burgundy-dark:#75202d;--ahgs-ink:#20232b;--ahgs-muted:#62636b;--ahgs-line:#dedcdd;--ahgs-paper:#f7f6f5;--ahgs-rose:#f7eef0;--ahgs-serif:Georgia,'Times New Roman',serif;--ahgs-sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
/* Base rules carry no weight (:where), like the theme's plain element rules, so every page rule below overrides them. */
:where(.election){font:400 16px/1.7 var(--ahgs-sans);text-align:left;-webkit-font-smoothing:antialiased}
:where(.election) *,:where(.election) *::before,:where(.election) *::after{box-sizing:border-box}
:where(.election) img{max-width:100%;height:auto}
:where(.election) a{color:inherit;text-decoration:none;text-underline-offset:4px}
:where(.election) a:hover{color:var(--ahgs-burgundy)}
:where(.election,.project-groups,.project-cta) h2,:where(.election,.project-groups,.project-cta) h3,:where(.election,.project-groups,.project-cta) h4{margin:0 0 .65em;line-height:1.16;text-wrap:balance;font-family:var(--ahgs-serif);font-weight:400;letter-spacing:-.035em;overflow-wrap:break-word;text-transform:none}
:where(.election) p{margin:0 0 1.15em}
:where(.election,.project-cta) :focus-visible{outline:3px solid var(--ahgs-burgundy);outline-offset:5px}
.ahgs-container{width:min(1200px,calc(100% - 96px));margin-inline:auto}
.ahgs-eyebrow{display:block;color:var(--ahgs-burgundy);font:600 11px/1.7 var(--ahgs-sans);letter-spacing:.16em;text-transform:uppercase;margin:0 0 16px}
.ahgs-link{display:inline-flex;align-items:center;gap:18px;color:var(--ahgs-burgundy);font-size:13px;font-weight:550;line-height:1.5;min-height:36px}
.ahgs-link:hover{text-decoration:underline}
.ahgs-link span[aria-hidden]{font-size:19px;line-height:1}
.ahgs-button{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:48px;padding:12px 24px;border:1px solid var(--ahgs-burgundy);border-radius:2px;background:var(--ahgs-burgundy);color:#fff;font:550 13px/1.5 var(--ahgs-sans);text-decoration:none;cursor:pointer;transition:color .16s,background-color .16s,border-color .16s}
.ahgs-button:hover{background:var(--ahgs-burgundy-dark);color:#fff;border-color:var(--ahgs-burgundy-dark)}
.ahgs-button--white{background:#fff;color:var(--ahgs-burgundy);border-color:#fff}
.ahgs-button--white:hover{background:var(--ahgs-rose);color:var(--ahgs-burgundy);border-color:var(--ahgs-rose)}
.ahgs-button--outline{background:transparent;color:var(--ahgs-burgundy)}
/* Election landing layer: a campaign page over the home page until the visitor moves on (see includes/front.php). */
.election{display:none}
.ahg-election-open,.ahg-election-open body{overflow:hidden}
.ahg-election-open .election{display:block;position:fixed;inset:0;z-index:1000;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:white;color:var(--ahgs-ink)}
.election:focus{outline:0}
/* Logged-in editors: start below the WordPress toolbar instead of under it. */
.ahg-election-open body.admin-bar .election{top:32px}
@media(max-width:782px){.ahg-election-open body.admin-bar .election{top:46px}}
.election__top{position:sticky;top:0;z-index:2;background:rgba(255,255,255,.95);border-bottom:1px solid var(--ahgs-line)}
@supports((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.election__top{background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px)}}
.election__bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}
.election__logo{display:block;width:auto;height:64px;max-width:none;margin-left:-4px}
.election__skip{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 20px;border:1px solid var(--ahgs-line);border-radius:999px;background:white;color:var(--ahgs-ink);font:550 13px/1.4 var(--ahgs-sans);cursor:pointer}
.election__skip:hover{background:var(--ahgs-rose);border-color:var(--ahgs-rose);color:var(--ahgs-burgundy)}
.election__hero{padding-block:clamp(40px,7vw,88px) clamp(52px,7vw,88px);background:linear-gradient(180deg,var(--ahgs-paper) 0%,white 100%)}
.election__hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(36px,6vw,88px);align-items:center}
.election__title{font-size:clamp(40px,5.6vw,80px);line-height:1.04;letter-spacing:-.045em;margin:0 0 24px}
.election__text{font-size:clamp(17px,1.5vw,20px);line-height:1.65;color:var(--ahgs-muted);max-width:560px;margin:0 0 32px}
.election__text strong,.election__text b{color:var(--ahgs-ink);font-weight:600}
.election__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 30px;margin-bottom:40px}
.election__facts{display:flex;flex-wrap:wrap;align-items:center;gap:16px 34px;padding-top:24px;border-top:1px solid var(--ahgs-line);max-width:640px}
.election__facts dl{display:flex;flex-wrap:wrap;gap:16px 34px;margin:0}
.election__facts dt{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ahgs-muted)}
.election__facts dd{margin:0;font:400 19px/1.35 var(--ahgs-serif)}
.election__facts dd strong{color:var(--ahgs-burgundy);font-weight:400}
.election__calendar{gap:10px}
.election__calendar svg{flex:none}
.election__portrait{justify-self:end;width:100%;max-width:440px;margin:0;padding:12px;background:white;border:1px solid var(--ahgs-line);box-shadow:0 30px 60px -36px rgba(32,35,43,.45)}
.election__portrait-img{aspect-ratio:1142/1600;overflow:hidden;background:var(--ahgs-paper)}
.election__portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.election__portrait figcaption{display:flex;flex-direction:column;padding:14px 4px 2px;font-size:14px;line-height:1.5}
.election__portrait figcaption strong{font-weight:600}
.election__portrait figcaption span{color:var(--ahgs-muted)}
.election__section{padding-block:clamp(56px,8vw,104px)}
.election__heading{font-size:clamp(32px,3.6vw,50px);margin:0 0 16px}
.election__subheading{font-size:clamp(24px,2.4vw,30px);margin:48px 0 20px}
.election__lead{font-size:18px;line-height:1.7;color:var(--ahgs-muted);max-width:640px;margin:0}
.election__reasons{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,80px);align-items:start}
.election__reason-list{display:grid;gap:36px;margin:0;padding:0;list-style:none}
.election__reason-list li{padding:4px 0 4px 28px;border-left:3px solid var(--ahgs-burgundy)}
.election__reason-list h4{font-size:25px;margin:0 0 8px}
.election__reason-list p{margin:0;color:var(--ahgs-muted)}
.election__quote{background:var(--ahgs-paper);padding-block:clamp(56px,8vw,96px)}
.election__quote blockquote{max-width:900px;margin:0 auto;text-align:center}
.election__quote p{margin:0;font:400 clamp(28px,3.4vw,46px)/1.25 var(--ahgs-serif);letter-spacing:-.03em;text-wrap:balance}
.election__quote cite{display:block;margin-top:22px;font-style:normal;font-size:15px;color:var(--ahgs-muted)}
.election__group-text{margin:-8px 0 0;color:var(--ahgs-muted)}
.election__people{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:34px 20px;margin:26px 0 0;padding:0;list-style:none}
@media(max-width:1100px){.election__people{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:860px){.election__people{grid-template-columns:repeat(3,minmax(0,1fr))}}
.election__person-photo{display:grid;place-items:center;aspect-ratio:4/5;margin-bottom:14px;overflow:hidden;background:var(--ahgs-rose)}
.election__person-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.election__person-photo span{font:400 46px/1 var(--ahgs-serif);color:var(--ahgs-burgundy)}
.election__person-name{margin:0 0 4px;font:400 19px/1.25 var(--ahgs-serif);letter-spacing:-.02em}
.election__person-role{margin:0 0 8px;font-size:13px;line-height:1.5;color:var(--ahgs-muted)}
.election__person-quote{margin:0 0 8px;font-size:14px;line-height:1.6}
.election__bio summary{cursor:pointer;color:var(--ahgs-burgundy);font-size:13px;font-weight:550}
.election__bio div{padding-top:8px;font-size:14px;line-height:1.7}
.election__bio div p{margin:0 0 .8em}
.election__bio-label{margin:0;color:var(--ahgs-burgundy);font-size:13px;font-weight:550}
.election__bio .election__bio-more{padding-top:0}
.election__bio-more[hidden],.election__bio-toggle[hidden]{display:none}
.election__bio-toggle{display:inline-block;margin:0;padding:6px 0;border:0;background:none;color:var(--ahgs-burgundy);font:550 14px/1.4 var(--ahgs-sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.election__bio-toggle::after{content:"↓";display:inline-block;margin-left:8px}
.election__bio-toggle[aria-expanded="true"]::after{content:"↑"}
.election__bio-toggle:focus-visible{outline:2px solid var(--ahgs-burgundy);outline-offset:3px}
.election__soon{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:28px 0 0;color:var(--ahgs-muted)}
.election__soon span{display:inline-flex;padding:6px 14px;border-radius:999px;background:var(--ahgs-rose);color:var(--ahgs-burgundy);font:600 11px/1.5 var(--ahgs-sans);letter-spacing:.14em;text-transform:uppercase}
.election__team{border-top:1px solid var(--ahgs-line)}
#election-projects{background:var(--ahgs-paper)}
.election__projects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:32px 0 0;padding:0;list-style:none;background:var(--ahgs-line);border:1px solid var(--ahgs-line)}
.election__projects a{display:flex;flex-direction:column;height:100%;padding:26px 24px 28px;background:white;transition:background-color .2s ease}
.election__projects a:hover{background:var(--ahgs-rose);color:inherit}
.election__no{margin-bottom:18px;font:600 12px/1 var(--ahgs-sans);letter-spacing:.14em;color:var(--ahgs-burgundy)}
.election__projects h4{margin:0 0 10px;font-size:21px;line-height:1.25}
.election__projects a:hover h4{color:var(--ahgs-burgundy)}
.election__projects p{margin:0;font-size:14px;line-height:1.65;color:var(--ahgs-muted)}
.election__groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:28px 40px;align-items:start}
.election__group{min-width:0}
.election__group:only-child{grid-column:1/-1}
.election__group:only-child ul{columns:3 260px;column-gap:40px}
.election__group h4{margin:0 0 10px;font:600 12px/1.5 var(--ahgs-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ahgs-burgundy)}
.election__group ul{margin:0;padding:0;list-style:none}
.election__group li{border-top:1px solid var(--ahgs-line);break-inside:avoid}
.election__group li a{display:block;padding:10px 0;font-size:14.5px;line-height:1.5}
.election__more{margin:36px 0 0}
.election__brochure{padding-block:clamp(56px,8vw,96px);background:var(--ahgs-rose)}
.election__brochure-grid{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.election__brochure-cover{display:grid;place-items:center;width:clamp(130px,16vw,200px);aspect-ratio:210/297;overflow:hidden;background:white;border:1px solid var(--ahgs-line);box-shadow:0 24px 40px -28px rgba(32,35,43,.5)}
.election__brochure-cover img{display:block;width:100%;height:100%;object-fit:cover}
.election__brochure-cover span{font:600 13px/1 var(--ahgs-sans);letter-spacing:.2em;color:var(--ahgs-burgundy)}
.election__brochure .election__soon span{background:white}
.election__brochure-actions{margin:28px 0 0}
.election__file{font-size:11px;letter-spacing:.06em;opacity:.8}
.election__meet{border-top:1px solid var(--ahgs-line)}
.election__meet-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(32px,6vw,80px);align-items:end}
.election__meet-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.election__meet-actions ul{margin:0;padding:0;list-style:none}
.election__volunteer{padding-block:44px;background:var(--ahgs-burgundy);color:white}
.election__volunteer-grid{display:flex;align-items:center;justify-content:space-between;gap:24px 48px}
.election__volunteer h3{margin:0 0 6px;color:white;font-size:clamp(26px,2.6vw,36px)}
.election__volunteer p{margin:0;max-width:640px;color:#ffffffd9}
.election__volunteer .ahgs-button{flex:none}
.election__volunteer :focus-visible{outline-color:white}
.election__content{padding-block:clamp(44px,6vw,76px);border-top:1px solid var(--ahgs-line)}
.election__content .entry-content{max-width:820px}
.election__footer{display:flex;justify-content:center;padding-block:36px 48px}
main[tabindex="-1"]:focus{outline:0}
@media(max-width:1100px){.election__projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.election__hero-grid,.election__reasons,.election__meet-grid{grid-template-columns:minmax(0,1fr)}.election__portrait{justify-self:start;max-width:min(380px,100%)}.election__meet-grid{align-items:start}}
@media(max-width:560px){.election__bar{min-height:70px}.election__logo{height:52px}.election__skip{padding-inline:14px;font-size:12px}.election__title{font-size:40px}.election__text{font-size:16px}.election__actions .ahgs-button{flex:1 1 auto}.election__projects{grid-template-columns:minmax(0,1fr)}.election__brochure-grid{grid-template-columns:minmax(0,1fr)}.election__people{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}.election__person-name{font-size:18px}.election__volunteer-grid{flex-direction:column;align-items:flex-start}.election__quote p{font-size:27px}}
@media(forced-colors:active){.election__projects a,.election__portrait,.election__brochure-cover{border:1px solid CanvasText}.election__soon span{border:1px solid CanvasText}}
@media print{.election{display:none!important}}
/* Projects category page (includes/projects.php). */
.project-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 40px}
.project-chips a{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;border:1px solid var(--ahgs-line);border-radius:999px;font-size:13px;font-weight:500}
.project-chips a:hover{background:var(--ahgs-rose);border-color:var(--ahgs-rose);color:var(--ahgs-burgundy)}
.project-chips span{font-size:11px;color:var(--ahgs-muted)}
.project-group{padding-bottom:48px}
.project-group+.project-group{padding-top:48px;border-top:1px solid var(--ahgs-line)}
.project-group__header{max-width:760px;margin-bottom:24px}
.project-group__header h2{margin:0 0 10px}
.project-group__header p{margin:0;font-size:17px;color:var(--ahgs-muted)}
.project-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--ahgs-line)}
.project-list li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:20px;padding:24px 0;border-bottom:1px solid var(--ahgs-line)}
.project-list__no{font:600 13px/2.1 var(--ahgs-sans);letter-spacing:.14em;color:var(--ahgs-burgundy)}
.project-list h3{margin:0 0 8px;font-size:24px}
.project-list h3 a:hover{color:var(--ahgs-burgundy)}
.project-list p{max-width:820px;margin:0;font-size:15px;line-height:1.7;color:var(--ahgs-muted)}
.project-cta{display:flex;align-items:center;justify-content:space-between;gap:24px 48px;margin-top:56px;padding:36px 40px;background:var(--ahgs-burgundy);color:white}
.project-cta h2{margin:0 0 6px;color:white;font-size:clamp(26px,2.6vw,34px)}
.project-cta p{margin:0;color:#ffffffd9}
.project-cta .ahgs-button{flex:none}
@media(max-width:560px){.project-chips{margin-bottom:28px}.project-list li{grid-template-columns:34px minmax(0,1fr);gap:12px;padding-block:20px}.project-list h3{font-size:20px}.project-cta{flex-direction:column;align-items:flex-start;padding:28px 24px}}

/* President: one wide card above the lists. */
.election__president{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:start;margin:26px 0 0;padding:clamp(20px,3vw,28px);background:var(--ahgs-paper);border:1px solid var(--ahgs-line)}
.election__president .election__person-photo{margin:0}
.election__president .election__person-name{font-size:clamp(24px,2.4vw,32px);margin-bottom:8px}
.election__president .election__person-role{font-size:15px}
.election__president .election__person-quote{font:400 clamp(19px,1.8vw,23px)/1.45 var(--ahgs-serif);letter-spacing:-.02em;margin:14px 0}
.election__president .election__bio div{max-width:720px;font-size:15px}
@media(max-width:560px){.ahgs-container{width:calc(100% - 36px)}.election__president{grid-template-columns:minmax(0,1fr)}.election__president .election__person-photo{max-width:260px}}
@media(max-width:1100px) and (min-width:861px){.ahgs-container{width:calc(100% - 64px)}}
@media(max-width:860px) and (min-width:561px){.ahgs-container{width:calc(100% - 40px)}}
