/* AFDES Civic Academy — Presidential vs. Parliamentary Systems */
.aca-systems-module {
    --system-pres: #0f6f9a;
    --system-parl: #9a7630;
}

.aca-systems-module .aca-system-mini-svg,
.aca-systems-module .aca-system-panel-svg,
.aca-systems-module .aca-system-insight-svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: currentColor;
}

.aca-systems-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 0 72px;
    background: linear-gradient(90deg, rgba(15,111,154,.035) 0 50%, rgba(154,118,48,.035) 50% 100%), linear-gradient(180deg,#fff,#fbfdfe);
}
.aca-systems-hero::after { content:""; position:absolute; left:50%; top:0; bottom:0; width:1px; background:linear-gradient(180deg,transparent,rgba(11,36,55,.08),transparent); }
.aca-systems-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr); gap:clamp(42px,7vw,92px); align-items:center; }
.aca-systems-hero h1 { margin:12px 0 18px; color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.7rem,6vw,5rem); letter-spacing:-.05em; line-height:.98; }
.aca-systems-hero p { max-width:790px; margin:0; color:#536879; font-size:1.1rem; line-height:1.72; }
.aca-systems-hero .academy-btn { margin-top:28px; }

.aca-systems-hero-compare { display:grid; grid-template-columns:1fr 52px 1fr; gap:18px; align-items:center; }
.aca-systems-hero-compare > strong { display:grid; width:52px; height:52px; place-items:center; border:1px solid #d4dee5; border-radius:50%; background:#fff; color:#7b8d9b; font-size:.7rem; letter-spacing:.08em; }
.aca-system-mini { display:grid; min-height:220px; justify-items:center; align-content:center; gap:10px; border-top:2px solid currentColor; border-bottom:1px solid #d9e2e8; background:rgba(255,255,255,.76); color:var(--system-pres); text-align:center; }
.aca-system-mini--parliamentary { color:var(--system-parl); }
.aca-system-mini > span { width:62px; height:62px; }
.aca-system-mini b { color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:1.05rem; }
.aca-system-mini i { width:1px; height:28px; background:currentColor; }
.aca-system-mini small { color:#64798a; font-size:.72rem; font-weight:850; }

.aca-systems-compare { padding-top:44px; padding-bottom:70px; }
.aca-systems-heading h2 { margin:7px 0 10px; color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:clamp(2rem,3.6vw,3rem); letter-spacing:-.04em; }
.aca-systems-heading p { max-width:880px; margin:0; color:#607283; line-height:1.7; }
.aca-systems-dimension-tabs { display:flex; flex-wrap:wrap; gap:7px; margin-top:28px; }
.aca-system-dimension { border:1px solid #d7e1e8; background:#fff; padding:9px 12px; color:#667b8d; cursor:pointer; font:inherit; font-size:.72rem; font-weight:850; transition:.18s ease; }
.aca-system-dimension:hover, .aca-system-dimension.is-active { border-color:var(--academy-navy); background:var(--academy-navy); color:#fff; }

.aca-system-question { display:grid; grid-template-columns:170px 1fr; gap:18px; margin-top:26px; border-top:1px solid var(--academy-border); border-bottom:1px solid var(--academy-border); padding:16px 0; }
.aca-system-question span { color:#82929f; font-size:.62rem; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.aca-system-question strong { color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:1rem; }

.aca-systems-columns { display:grid; grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr); gap:24px; margin-top:34px; align-items:stretch; }
.aca-system-panel { min-width:0; border-top:3px solid currentColor; padding-top:24px; color:var(--system-pres); }
.aca-system-panel--parliamentary { color:var(--system-parl); }
.aca-system-panel-head { display:flex; gap:16px; align-items:center; }
.aca-system-panel-head > span { width:54px; height:54px; }
.aca-system-panel-head small { color:#80909d; font-size:.62rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.aca-system-panel-head h2 { margin:3px 0 0; color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:2rem; }
.aca-system-structure { display:grid; min-height:190px; align-content:center; justify-items:center; gap:10px; margin:26px 0 24px; border-top:1px solid #e0e7ec; border-bottom:1px solid #e0e7ec; background:linear-gradient(180deg,#fff,#fbfcfd); color:#667b8d; }
.aca-system-structure > span { width:1px; height:22px; background:currentColor; opacity:.7; }
.aca-system-people, .aca-system-parliament, .aca-system-government { min-width:120px; border:1px solid #cfdbe3; background:#fff; padding:9px 12px; color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; text-align:center; }
.aca-system-pair { display:grid; grid-template-columns:1fr 1fr; gap:20px; width:90%; }
.aca-system-pair b { border:1px solid #cfdbe3; background:#fff; padding:10px; color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; text-align:center; }
.aca-system-panel > p { min-height:145px; margin:0; color:#5b6f80; line-height:1.72; animation:acaSystemsIn .24s ease both; }
@keyframes acaSystemsIn { from { opacity:.25; transform:translateY(5px); } to { opacity:1; transform:none; } }
.aca-system-divider { display:grid; place-items:center; }
.aca-system-divider span { writing-mode:vertical-rl; transform:rotate(180deg); color:#9aa8b4; font-size:.6rem; font-weight:900; letter-spacing:.14em; }

.aca-system-insight { display:grid; grid-template-columns:46px 1fr; gap:17px; margin-top:42px; border-top:1px solid var(--academy-border); padding-top:28px; }
.aca-system-insight > span { width:40px; height:40px; color:var(--academy-blue); }
.aca-system-insight strong { color:var(--academy-navy); }
.aca-system-insight p { margin:5px 0 0; color:#607283; line-height:1.68; }

.aca-systems-spectrum { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,.8fr); gap:50px; align-items:center; border-top:1px solid var(--academy-border); padding-top:60px; padding-bottom:64px; }
.aca-systems-spectrum h2 { margin:7px 0 12px; color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.9rem,3.2vw,2.7rem); }
.aca-systems-spectrum p { margin:0; color:#607283; line-height:1.72; }
.aca-systems-spectrum-line { display:grid; grid-template-columns:auto 1fr auto 1fr auto; gap:10px; align-items:center; color:#7a8b99; font-size:.7rem; font-weight:800; }
.aca-systems-spectrum-line i { height:2px; background:linear-gradient(90deg,var(--system-pres),#cfd9e0,var(--system-parl)); }
.aca-systems-spectrum-line b { color:var(--academy-navy); font-family:Georgia,"Times New Roman",serif; font-size:.82rem; }

@media (max-width:1050px) {
    .aca-systems-hero-grid, .aca-systems-spectrum { grid-template-columns:1fr; }
    .aca-systems-hero-compare { max-width:720px; }
}
@media (max-width:760px) {
    .aca-systems-hero { padding:42px 0 54px; background:linear-gradient(180deg,#fff,#fbfdfe); }
    .aca-systems-hero::after { display:none; }
    .aca-systems-hero-compare { grid-template-columns:1fr; }
    .aca-systems-hero-compare > strong { justify-self:center; }
    .aca-system-mini { min-height:160px; }
    .aca-system-question { grid-template-columns:1fr; gap:5px; }
    .aca-systems-columns { grid-template-columns:1fr; }
    .aca-system-divider { display:none; }
    .aca-system-panel > p { min-height:0; }
    .aca-systems-spectrum-line { grid-template-columns:1fr; justify-items:center; }
    .aca-systems-spectrum-line i { width:2px; height:24px; background:linear-gradient(var(--system-pres),var(--system-parl)); }
}
