/* Al-Andalus timeline: generated by tools/andalus_build.py from content/al-andalus/. Do not edit by hand. */
#andalus{--bg:#060a06;--panel:#0d150f;--text:#edf5ee;--muted:#a2b4a4;--green:#50c878;--gold:#d4af37;--line:#28372c}
#andalus a{color:inherit;text-decoration:none}
#andalus a:focus-visible{outline:2px solid var(--green);outline-offset:5px}
#andalus .layout{max-width:1600px;margin:auto;display:grid;grid-template-columns:265px minmax(0,1fr)}
#andalus .rail{position:sticky;top:106px;height:calc(100vh - 106px);padding:32px 25px 20px 35px;border-right:1px solid var(--line);display:flex;flex-direction:column}
#andalus .back{color:var(--muted);font-size:13px;margin-bottom:30px}
#andalus .eyebrow{font:11px/1.6 'DM Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--green)}
#andalus .rail .eyebrow{font-size:9px;margin-bottom:20px}
#andalus .rail nav{border-left:1px solid #324337;margin-left:4px}
#andalus .rail nav a{display:block;position:relative;font-size:12px;line-height:1.4;color:var(--muted);padding:0 0 17px 18px;transition:color .2s}
#andalus .rail nav a span{display:block;font:10px/1.6 'DM Mono',monospace;color:#a5b1a6}
#andalus .rail nav a:before{content:'';position:absolute;left:-4px;top:5px;background:#28372c;border:1px solid #728877;width:7px;height:7px;border-radius:50%}
#andalus .rail nav a[aria-current]{color:var(--green)}
#andalus .rail nav a[aria-current]:before{background:var(--green);box-shadow:0 0 15px #50c87880;border-color:var(--green)}
#andalus .rail-bottom{margin-top:auto;font-size:10px;color:var(--muted)}
#andalus .rail-bottom>span{color:var(--green)}
#andalus .track{height:2px;background:var(--line);margin:10px 0}
#andalus .track div{height:100%;background:var(--green);width:0}
#andalus .rail-bottom small{font-size:10px}
#andalus .tl-main{min-width:0}
#andalus .hero{position:relative;overflow:hidden;min-height:690px;padding:65px 7% 28px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at 100% 55%,#243a25 0%,#0c180f 40%,#080e0a 75%)}
#andalus .hero-copy{position:relative;z-index:1;max-width:640px}
#andalus .range{display:block;color:#b8bea4;font:10px 'DM Mono',monospace;letter-spacing:.12em;margin:30px 0 22px}
#andalus h1,#andalus h2,#andalus h3{font-family:Outfit,Arial,sans-serif;font-weight:500;line-height:1.08;letter-spacing:-.035em}
#andalus h1{font-size:clamp(48px,5.3vw,80px);margin:0 0 25px}
#andalus h1 em{color:var(--green);font-style:normal}
#andalus .hero p:not(.eyebrow){max-width:490px;font-size:15px;color:#bdcbbf;line-height:1.85}
#andalus .start{display:inline-flex;gap:35px;padding:11px 23px;border:1px solid #4f7659;border-radius:30px;font-size:13px;margin-top:20px;background:#101e14}
#andalus .start span{color:var(--green)}
#andalus .hero-bottom{margin-top:54px;position:relative;display:flex;justify-content:space-between;font:9px 'DM Mono',monospace;letter-spacing:.12em;color:#acb9a8;gap:15px}
#andalus .arch{position:absolute;right:-85px;top:75px;width:470px;height:630px;border:1px solid #a78d4938;border-radius:250px 250px 0 0;transform:rotate(7deg);background:repeating-linear-gradient(90deg,transparent 0 45px,#a78d4909 46px 47px)}
#andalus .arch div{position:absolute;inset:25px;border:1px solid #a78d4940;border-radius:250px 250px 0 0}
#andalus .arch div:nth-child(2){inset:55px}
#andalus .arch div:nth-child(3){inset:90px;background:linear-gradient(130deg,#446e3c33,transparent 65%)}
#andalus .intro{padding:60px 9%;border-bottom:1px solid var(--line)}
#andalus .intro>p:not(.eyebrow){max-width:730px;font-size:19px;line-height:1.65}
#andalus .intro p.quiet{color:var(--muted);font-size:14px}
#andalus .faiths{display:flex;flex-wrap:wrap;gap:25px;margin-top:30px;font-size:11px;color:#c7d0c4}
#andalus .faiths span:before{content:'●';color:var(--green);margin-right:9px}
#andalus .faiths span:nth-child(2):before{color:var(--gold)}
#andalus .faiths span:nth-child(3):before{color:#a5bff0}
#andalus .chapters{padding:0 9%}
#andalus .chapter{position:relative;padding:65px 0 40px;border-bottom:1px solid var(--line);scroll-margin-top:0}
#andalus .chapter-top{display:flex;justify-content:space-between;align-items:center;gap:14px}
#andalus .date{font:28px Outfit,Arial;color:var(--green)}
#andalus .kind{border:1px solid #3c5442;color:#b1c8b7;padding:3px 12px;border-radius:25px;font-size:10px}
#andalus .conflict .date{color:#dfa78d}
#andalus .conflict .kind{border-color:#624638;color:#dfb59d}
#andalus .memory .date{color:var(--gold)}
#andalus h2{font-size:clamp(32px,3.8vw,52px);max-width:720px;margin:25px 0}
#andalus .lead{font-size:17px;line-height:1.9;color:#c4d0c7;max-width:740px}
#andalus .story{background:linear-gradient(110deg,#15241a,#0d160f);border-left:2px solid #4f8b61;padding:28px 32px;margin:30px 0 32px;border-radius:0 12px 12px 0}
#andalus .story h3{font-size:24px;letter-spacing:-.02em;margin:12px 0}
#andalus .story p{color:#b6c7ba;font-size:14px;line-height:1.9;margin-bottom:0}
#andalus .conflict .story{border-color:#ae8065;background:linear-gradient(110deg,#221c15,#11140e)}
#andalus .memory .story{border-color:var(--gold)}
#andalus .chapter-foot{display:flex;gap:18px;color:#809b88;font:10px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.09em}
#andalus .chapter-foot span{color:#a3b6a8}
#andalus .ending{padding:75px 9%;background:radial-gradient(at 0% 100%,#173a20,#0c150e 70%)}
#andalus .ending h2{color:var(--green)}
#andalus .ending p:not(.eyebrow){max-width:650px;color:#b6c7ba}
#andalus .ending a{display:inline-block;margin-top:22px;font-size:13px;border-bottom:1px solid var(--green)}
#andalus .sources{padding:60px 9%}
#andalus .sources h2{font-size:32px}
#andalus .sources p:not(.eyebrow){font-size:13px;color:var(--muted);max-width:650px}
#andalus .sources a{display:block;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;color:#b5c8b8}
#andalus .sources a:hover{color:var(--green)}
@media(min-width:1500px){#andalus .hero{min-height:760px}}
@media(max-height:800px) and (min-width:761px){#andalus .rail{padding-top:20px}
#andalus .back{margin-bottom:15px}
#andalus .rail .eyebrow{margin-bottom:10px}
#andalus .rail nav a{padding-bottom:11px}
#andalus .rail-bottom small{display:none}}
@media(max-width:1000px){#andalus .layout{grid-template-columns:215px minmax(0,1fr)}
#andalus .rail{padding-left:20px;padding-right:15px}
#andalus .hero{padding:48px 7% 28px}
#andalus .arch{right:-250px}
#andalus .hero-bottom{font-size:8px}}
@media(max-width:760px){#andalus .layout{display:block}
#andalus .rail{top:104px;height:auto;z-index:4;background:#0b120df7;padding:10px 16px;border-right:0;border-bottom:1px solid var(--line)}
#andalus .back,#andalus .rail>.eyebrow,#andalus .rail-bottom{display:none}
#andalus .rail nav{display:flex;overflow-x:auto;border:0;gap:8px;margin:0;scrollbar-width:thin}
#andalus .rail nav a{padding:7px 12px;flex:0 0 auto;border:1px solid var(--line);border-radius:7px;font-size:10px}
#andalus .rail nav a:before{display:none}
#andalus .rail nav a span{font-size:9px}
#andalus .hero{min-height:690px;padding:42px 7% 25px}
#andalus .hero h1{font-size:52px}
#andalus .hero-copy>p:not(.eyebrow){font-size:15px}
#andalus .hero-bottom{flex-direction:column;gap:12px}
#andalus .range{font-size:8px}
#andalus .intro,#andalus .ending,#andalus .sources{padding:42px 7%}
#andalus .chapters{padding:0 7%}
#andalus .chapter{padding-top:42px}
#andalus .chapter-top{align-items:start}
#andalus .date{font-size:25px}
#andalus .kind{font-size:9px}
#andalus .lead{font-size:16px}
#andalus .story{padding:22px}
#andalus .story p{font-size:14px}
#andalus .faiths{gap:12px;font-size:10px}
#andalus .arch{right:-300px;opacity:.7}}
@media(prefers-reduced-motion:reduce){}
#andalus .achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:32px 0}
#andalus .achievement-grid>div{padding:24px 20px;border:1px solid #426145;border-radius:12px;background:linear-gradient(150deg,#1a2d1c,#0c140e)}
#andalus .achievement-grid span{font:13px 'DM Mono',monospace;color:var(--gold)}
#andalus .achievement-grid h3{font-size:23px;margin:18px 0}
#andalus .achievement-grid p{font-size:13px;color:#bccbbb}
#andalus .inline-source{font-size:11px;color:var(--muted);line-height:1.6}
#andalus .inline-source a{text-decoration:underline;text-underline-offset:3px}
#andalus .date-bridge{display:grid;grid-template-columns:1fr 30px 1fr;gap:18px;align-items:center;border-block:1px solid #4d684f;padding:26px 0;margin:30px 0}
#andalus .date-bridge span{font:12px 'DM Mono',monospace;color:var(--gold)}
#andalus .date-bridge h3{font-size:24px;margin:12px 0}
#andalus .date-bridge p{font-size:13px;color:var(--muted);margin:0}
#andalus .route-options{padding:8px 0 20px}
#andalus .route-options h3{font-size:28px}
#andalus .route-options dt{font-size:16px;color:var(--green);margin-top:20px}
#andalus .route-options dd{margin:6px 0 0;font-size:14px;color:#b6c7ba}
#andalus .historical-note{font-size:13px;color:var(--muted);border-left:1px solid var(--gold);padding-left:20px}
#andalus .rail nav{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#344e3c transparent;min-height:0}
#andalus .rail-bottom{padding-top:15px}
#andalus .rail nav a{padding-bottom:12px}
@media(max-width:760px){#andalus .achievement-grid{grid-template-columns:1fr}
#andalus .date-bridge{grid-template-columns:1fr}
#andalus .date-bridge>span{transform:rotate(90deg);width:20px}
#andalus .rail nav{overflow-y:hidden}
#andalus .rail nav a{padding:7px 12px}
#andalus .inline-source{overflow-wrap:anywhere}}
@media(max-height:800px) and (min-width:761px){#andalus .rail nav a{padding-bottom:8px}}
#andalus .rule-key{display:flex;flex-direction:column;gap:5px;margin:-10px 0 18px;font-size:9px;line-height:1.5;color:var(--muted)}
#andalus .rule-key span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:7px;background:var(--green)}
#andalus .rule-key span+span:before{background:var(--gold)}
#andalus .rail nav{border-left:0;padding-left:5px;margin-left:0}
#andalus .rail nav a{border-left:2px solid var(--green);color:#b4d6bf;padding-left:17px}
#andalus .rail nav a.era-spanish{border-color:var(--gold);color:#d5cba9}
#andalus .rail nav a.era-transition{border-image:linear-gradient(var(--green),var(--gold)) 1;color:#d5cba9}
#andalus .rail nav a:before{left:-5px;background:var(--green);border-color:var(--green);box-shadow:0 0 0 3px var(--bg)}
#andalus .rail nav a.era-spanish:before{background:var(--gold);border-color:var(--gold)}
#andalus .rail nav a.era-transition:before{background:linear-gradient(135deg,var(--green) 50%,var(--gold) 50%);border-color:var(--gold)}
#andalus .rail nav a.era-spanish[aria-current],#andalus .rail nav a.era-transition[aria-current]{color:var(--gold)}
#andalus .rail nav a.era-spanish[aria-current]:before{background:var(--gold);border-color:var(--gold);box-shadow:0 0 12px #d4af3777}
#andalus .rule-change{padding:1px 0 12px 17px;border-left:2px solid var(--gold);font:8px/1.6 'DM Mono',monospace;letter-spacing:.04em;color:var(--gold)}
@media(max-height:800px) and (min-width:761px){#andalus .rule-key{margin:-3px 0 10px;gap:2px}
#andalus .rail .eyebrow{margin-bottom:8px}
#andalus .rail nav a{padding-bottom:7px}
#andalus .rule-change{padding-bottom:8px}}
@media(max-width:760px){#andalus .rule-key{display:none}
#andalus .rail nav{padding-left:0;align-items:stretch}
#andalus .rail nav a{border-left:1px solid var(--line);border-bottom:2px solid var(--green);padding:7px 12px}
#andalus .rail nav a.era-spanish{border-color:var(--line);border-bottom-color:var(--gold)}
#andalus .rail nav a.era-transition{border-image:none;border-left-color:var(--line);border-bottom-color:var(--gold)}
#andalus .rule-change{display:flex;align-items:center;flex:0 0 110px;border-left:0;padding:4px 9px;font-size:8px}}
#andalus .kind{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}
#andalus .kind svg,#andalus .story-key svg{width:16px;height:16px;flex-shrink:0}
#andalus .story-key{display:flex;gap:16px 24px;flex-wrap:wrap;padding:25px 9%;border-bottom:1px solid var(--line);background:#0c140f}
#andalus .story-key>span{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#b5c7b8}
#andalus .story-key>span:nth-child(3){color:#dfb59d}
#andalus .story-key>span:nth-child(4){color:var(--gold)}
#andalus .water-grid,#andalus .science-grid{grid-template-columns:repeat(2,1fr)}
#andalus .chapter-context{font-size:12px;color:var(--muted)}
#andalus .water-flow{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:22px;border:1px solid #3c5442;border-radius:12px;color:#c2dac8;font-size:12px}
#andalus .water-flow b{color:var(--green)}
#andalus .historical-note{font-size:13px;color:var(--muted);line-height:1.85}
#andalus .water-chapter .date,#andalus .water-chapter .kind{color:#8ad0c5}
#andalus .water-chapter .achievement-grid>div{background:linear-gradient(145deg,#122b24,#0c140e)}
@media(max-width:760px){#andalus .water-grid,#andalus .science-grid{grid-template-columns:1fr}
#andalus .water-flow{flex-direction:column;gap:8px}
#andalus .water-flow b{transform:rotate(90deg)}
#andalus .story-key{padding:22px 7%;gap:12px 18px}
#andalus .kind{font-size:9px;gap:5px}
#andalus .kind svg{width:14px;height:14px}}
#andalus .conflict .legal-context{border-color:var(--green);background:linear-gradient(110deg,#15291b,#0d160f)}
#andalus .legal-context p+p,#andalus .chapter .story p+p{margin-top:16px}
#andalus .history-detail{margin:28px 0;border:1px solid var(--line);border-radius:12px;background:#0d160f}
#andalus .history-detail summary{cursor:pointer;padding:20px 24px;font-size:14px;color:#c1d9c7}
#andalus .history-detail>div{padding:0 24px 20px}
#andalus .history-detail>div>p{font-size:14px;color:var(--muted);line-height:1.85}
#andalus .history-detail>div>.inline-source{font-size:11px}
#andalus .people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:35px 0}
#andalus .person{padding:28px;border:1px solid #334b39;border-radius:14px;background:linear-gradient(145deg,#14231a,#0b120d);display:flex;flex-direction:column}
#andalus .person-mark{font:500 42px/1 Outfit,Arial;color:var(--gold);width:58px;height:58px;border:1px solid #66592e;border-radius:50%;display:grid;place-items:center;margin-bottom:22px}
#andalus .person-meta{font:9px/1.8 'DM Mono',monospace;letter-spacing:.035em;color:#b2c6b7}
#andalus .person h3{font-size:29px;margin:8px 0 18px}
#andalus .person h4{font-size:17px;line-height:1.4;color:var(--green);letter-spacing:0;margin:0 0 10px}
#andalus .person>p:not(.person-meta),#andalus .person details p{font-size:14px;line-height:1.85;color:#b9cbbf}
#andalus .person details{margin:12px 0 22px;padding-top:16px;border-top:1px solid var(--line)}
#andalus .person summary{cursor:pointer;color:#d2dfd5;font-size:12px}
#andalus .person-source{margin-top:auto;font-size:10px;line-height:1.7;color:#b5c7ba;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#andalus .golden-age{border-left-color:var(--gold);background:linear-gradient(110deg,#242517,#111c12)}
#andalus .golden-age h3{font-size:29px}
#andalus .people-chapter>.chapter-top .kind{color:var(--gold)}
@media(max-width:760px){#andalus .people-grid{grid-template-columns:1fr}
#andalus .person{padding:24px}
#andalus .person h3{font-size:28px}
#andalus .golden-age h3{font-size:25px}}
#andalus .faith-mark{font:36px/1 Georgia,serif;color:var(--gold);width:56px;height:56px;display:grid;place-items:center;border:1px solid #66592e;border-radius:50%;margin-bottom:15px}
#andalus .person-life{font:11px/1.8 'DM Mono',monospace;color:#dbc784;margin:4px 0 8px}
#andalus .people-in-period{margin:40px 0}
#andalus .people-in-period .people-grid{margin-top:18px}
#andalus .people-grid:has(>.person:only-child){grid-template-columns:minmax(0,1fr)}
#andalus .profile-key{font-size:11px;color:var(--muted);padding:20px 9% 0;line-height:1.8}
#andalus .invention-panel{margin:40px 0}
#andalus .invention-panel>h3{font-size:32px}
#andalus .legend{border-left-color:var(--gold);background:linear-gradient(110deg,#282314,#10170e)}
#andalus .legend .eyebrow{color:var(--gold)}
#andalus .tariq-profile{margin:30px 0}
#andalus .person>p.person-life{font-size:11px;color:#dbc784}
#andalus .golden-age{scroll-margin-top:120px}
@media(max-width:760px){#andalus .profile-key{padding-inline:7%}
#andalus .invention-panel>h3{font-size:27px}}
#andalus /* Editorial rhythm: generous chapter spacing,#andalus quieter sources,#andalus clear profile hierarchy. */
.chapters{padding-inline:8%}
#andalus .chapter{padding-top:78px;padding-bottom:48px}
#andalus .chapter>.lead{max-width:740px}
#andalus .people-in-period{margin:52px 0 40px;padding-top:28px;border-top:1px solid #304535}
#andalus .people-grid{gap:24px}
#andalus .person{padding:30px;gap:0}
#andalus .person-heading{padding-bottom:23px;margin-bottom:22px;border-bottom:1px solid #314638}
#andalus .person-heading h3{display:flex;align-items:baseline;gap:11px;font-size:27px;line-height:1.2;margin:0 0 14px}
#andalus .faith-inline{font-family:Georgia,serif;font-size:24px;line-height:1;flex-shrink:0;color:var(--gold)}
#andalus .person .person-life{margin:0 0 7px;font-size:10px;color:#dacb9b}
#andalus .person .person-meta{margin:0;color:#a7beae;font-size:9px}
#andalus .achievement-label{display:flex;align-items:center;gap:8px;color:var(--gold);font:9px 'DM Mono',monospace;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
#andalus .achievement-label svg{width:23px;height:23px;flex-shrink:0}
#andalus .person h4{color:#e2eee5;font-size:20px;line-height:1.35;margin:0 0 14px}
#andalus .subject-badge{align-self:start;display:inline-flex;gap:8px;align-items:center;color:#96d0aa;border:1px solid #35563f;border-radius:30px;font-size:10px;line-height:1.5;padding:5px 11px;margin-bottom:8px}
#andalus .subject-badge>span{font-size:15px}
#andalus .person>p:not(.person-meta){margin-top:14px}
#andalus .person details{margin-top:18px}
#andalus .person-source{padding-top:14px}
#andalus .museum-figure{margin:38px 0 46px;border:1px solid #3e4b37;border-radius:14px;overflow:hidden;background:#0e150f}
#andalus .museum-figure img{display:block;width:100%;height:auto;max-height:590px;object-fit:contain;background:#eee9df}
#andalus .architecture-photo img{object-fit:cover;object-position:center 54%;max-height:520px}
#andalus .object-photo img{height:430px;object-fit:contain}
#andalus .museum-figure figcaption{padding:19px 24px;color:#a8bcaf;font-size:11px;line-height:1.8}
#andalus .museum-figure figcaption strong{color:#d7e4da}
#andalus .museum-figure figcaption a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
#andalus .rights-milestones{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin:35px 0}
#andalus .rights-milestones>div,#andalus .community-grid>article{border:1px solid #3d513e;border-radius:14px;padding:28px;background:linear-gradient(135deg,#14271a,#0c140f)}
#andalus .rights-milestones>div>span{color:var(--gold);font:24px Outfit,Arial}
#andalus .rights-milestones h3{font-size:24px;line-height:1.2}
#andalus .rights-milestones p,#andalus .community-grid p:not(.eyebrow){font-size:14px;line-height:1.9;color:#b9cdbf}
#andalus .community-grid{display:grid;grid-template-columns:1fr;gap:24px;margin:36px 0}
#andalus .community-grid h3{font-size:32px;margin:18px 0}
#andalus .community-grid a{display:inline-block;color:var(--green);border-bottom:1px solid #50c87870;font-size:12px;margin-top:16px}
#andalus .modern-chapter .kind{color:#b5d8bd}
#andalus .modern-chapter .date{color:var(--gold)}
#andalus .golden-age{margin-top:38px}
#andalus .rail nav a{padding-bottom:14px}
#andalus .inline-source{max-width:740px;margin-block:10px}
@media(min-width:1400px){#andalus .layout{grid-template-columns:285px minmax(0,1fr)}
#andalus .chapters{padding-inline:9%}
#andalus .person{padding:34px}}
@media(max-width:1000px){#andalus .person-heading h3{font-size:24px}
#andalus .person{padding:24px}
#andalus .people-grid{gap:18px}}
@media(max-width:760px){#andalus .chapters{padding-inline:7%}
#andalus .chapter{padding-top:48px;padding-bottom:34px}
#andalus .person-heading h3{font-size:26px}
#andalus .people-in-period{margin:36px 0 30px}
#andalus .rights-milestones{grid-template-columns:1fr}
#andalus .museum-figure{margin:28px 0}
#andalus .museum-figure img,#andalus .object-photo img{max-height:400px;height:auto}
#andalus .museum-figure figcaption{padding:16px 20px}
#andalus .community-grid>article{padding:24px}
#andalus .community-grid h3{font-size:28px}
#andalus .rail nav a{padding:7px 12px}}
#andalus .heritage-feature{margin:48px 0 35px;padding:34px;border:1px solid #526044;border-radius:14px;background:linear-gradient(135deg,#1d2a1b,#0e1710);scroll-margin-top:120px}
#andalus .heritage-feature>h3{font-size:36px;line-height:1.15;margin:18px 0 24px}
#andalus .heritage-feature>.lead{font-size:16px;line-height:1.9}
#andalus .building-milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0}
#andalus .building-milestones>div{border-top:1px solid #788449;padding-top:18px}
#andalus .building-milestones span{font:13px 'DM Mono',monospace;color:var(--gold)}
#andalus .building-milestones h4{font:500 19px/1.35 Outfit,Arial;color:#e2eee5;margin:14px 0}
#andalus .building-milestones p{font-size:13px;color:var(--muted);line-height:1.8}
#andalus .music-elements{display:flex;flex-wrap:wrap;gap:12px 22px;margin:28px 0;font-size:12px;color:#c3d8c9}
#andalus .music-elements b{color:var(--gold);font-size:20px;margin-right:7px}
#andalus .flamenco-feature{background:linear-gradient(135deg,#262418,#101a11)}
@media(max-width:1000px){#andalus .building-milestones{grid-template-columns:1fr}}
@media(max-width:760px){#andalus .heritage-feature{padding:24px;margin-top:32px}
#andalus .heritage-feature>h3{font-size:29px}}
/* ── Site fit (andalus_build.py) ── */
#andalus{background:var(--bg);color:var(--text);font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.75;}
#andalus a{color:inherit;text-decoration:none;}
#andalus .chapter,#andalus .hero,#andalus .intro,#andalus .sources,#andalus .ending{scroll-margin-top:110px;}
@media(max-width:760px){#andalus .chapter,#andalus .hero,#andalus .intro,#andalus .sources,#andalus .ending{scroll-margin-top:160px;}}
#andalus .tl-lang{display:none;}
html:not([data-lang="es"]):not([data-lang="pt"]) #andalus .tl-lang[data-tl="en"],
html[data-lang="es"] #andalus .tl-lang[data-tl="es"],
html[data-lang="pt"] #andalus .tl-lang[data-tl="pt"]{display:block;}
/* Where you are: the current chapter in the rail is marked by more than colour
   (a red dot ringed in white, bold white text, a tinted band and a "you are
   here" note for screen readers via aria-current). */
#andalus .rail nav a[aria-current]{color:#fff;font-weight:700;background:linear-gradient(90deg,rgba(206,17,38,.18),rgba(206,17,38,0) 85%);border-radius:0 8px 8px 0;}
#andalus .rail nav a[aria-current] span{color:#f4c7cc;}
#andalus .rail nav a[aria-current]:before{left:-7px;top:3px;width:13px;height:13px;background:#ce1126;border:2px solid #fff;box-shadow:0 0 0 4px rgba(206,17,38,.35);}
#andalus .rail nav a[aria-current]:after{content:'';position:absolute;right:6px;top:50%;width:0;height:0;margin-top:-5px;border:5px solid transparent;border-right-color:#fff;}
@media(max-width:760px){
  #andalus .rail nav a[aria-current]{background:#3a0d13;border-color:#ce1126;border-width:2px;padding-left:24px;}
  #andalus .rail nav a[aria-current]:before{display:block;left:8px;top:50%;margin-top:-5px;width:10px;height:10px;border-width:2px;box-shadow:none;}
  #andalus .rail nav a[aria-current]:after{display:none;}
}
/* Image credits: small and quiet */
#andalus figcaption small,#andalus figcaption .credit{font-size:11px;line-height:1.5;color:#8aa08e;}
#andalus .museum-figure figcaption a{color:#8aa08e;text-decoration:none;}
#andalus .museum-figure figcaption a:hover{color:var(--gold);text-decoration:underline;}
