/* AMIIN Country Profiles — editorial country microsites, scoped to country pages only. */
.awc-country-document{max-width:1200px;margin:0 auto;padding:0 clamp(12px,2vw,24px) 70px;color:#233f36}
.awc-country-page{font-family:inherit}.awc-country-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 16px;color:#61766b;font-size:.86rem}.awc-country-breadcrumb a{color:#237357;text-decoration:none}
.awc-country-hero{position:relative;isolation:isolate;min-height:325px;display:flex;align-items:center;padding:clamp(28px,5vw,62px);border-radius:24px;overflow:hidden;background:linear-gradient(125deg,#e9f4ef,#f9faf6);border:1px solid #e0ebe5}
.awc-country-hero::after{content:'';position:absolute;right:-50px;bottom:-90px;width:260px;height:260px;pointer-events:none;opacity:.12;background:repeating-conic-gradient(from 22.5deg,#247a60 0deg 12deg,transparent 12deg 24deg);clip-path:polygon(50% 0,65% 30%,85% 15%,70% 35%,100% 50%,70% 65%,85% 85%,65% 70%,50% 100%,35% 70%,15% 85%,30% 65%,0 50%,30% 35%,15% 15%,35% 30%)}
.awc-country-hero-image{position:absolute;inset:0;z-index:-2}.awc-country-cover{width:100%;height:100%;object-fit:cover}.awc-country-has-image::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(13,39,32,.85),rgba(13,39,32,.18))}.awc-country-has-image{color:#fff}.awc-country-has-image p,.awc-country-has-image h1{color:#fff!important}
.awc-country-hero-content{position:relative;z-index:2;max-width:720px}.awc-country-overline{display:block;font-size:.75rem;letter-spacing:.18em;font-weight:750;color:#2a8065}.awc-country-has-image .awc-country-overline{color:#dbf6e6}.awc-country-hero .awc-country-flag{font-size:3.5rem;margin:12px 0}.awc-country-hero h1{font-size:clamp(2.5rem,6vw,4.7rem);margin:5px 0 12px;line-height:1.06}.awc-country-hero p{font-size:1.13rem;line-height:1.6;margin:0}
.awc-country-jump{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 24px}.awc-country-jump a,.awc-country-country-links a{padding:10px 14px;border-radius:999px;border:1px solid #dce8e0;background:#f7faf8;color:#23694f;text-decoration:none;font-size:.86rem;font-weight:650}
.awc-country-intro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.awc-country-page section:not(.awc-country-more){margin-bottom:22px}.awc-country-intro-grid section,.awc-country-market,.awc-country-trends,.awc-country-sources,.awc-country-posts,.awc-country-more{padding:clamp(21px,3vw,34px);border-radius:22px;background:#f7f9f7;border:1px solid #e4ebe5}.awc-country-intro-grid section:nth-child(2){background:#faf8f2}.awc-country-page h2{font-size:clamp(1.4rem,3vw,2rem);letter-spacing:-.025em;margin:8px 0 11px}.awc-country-page p{line-height:1.7;color:#5e7067}.awc-country-page a:focus-visible{outline:3px solid #197457;outline-offset:3px}
.awc-country-trends{background:#fff}.awc-country-chart{background:#fafcfb;border:1px solid #e5ede8;padding:14px;border-radius:18px}.awc-country-chart svg{width:100%;height:auto;display:block}.awc-country-chart-legend{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 2px}.awc-country-chart-legend span{display:flex;align-items:center;gap:6px;color:#425b4e;font-size:.89rem}.awc-country-chart-legend i{width:13px;height:13px;border-radius:50%}.awc-country-footnote{font-size:.79rem!important;color:#66766e!important}
.awc-country-source-grid,.awc-country-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:13px}.awc-country-source-grid a,.awc-country-post-grid a{display:flex;flex-direction:column;gap:9px;border-radius:15px;padding:17px;background:#fff;color:#1f5540;text-decoration:none;border:1px solid #e0ebe4}.awc-country-source-grid a span{font-size:.73rem;letter-spacing:.12em;text-transform:uppercase;color:#557a65}.awc-country-source-grid a small{font-size:.85rem;color:#477d61}.awc-country-post-grid img{width:100%;height:170px;object-fit:cover;border-radius:11px}.awc-country-country-links{display:flex;flex-wrap:wrap;gap:8px}.awc-country-more{margin-top:16px}
@media(max-width:700px){.awc-country-intro-grid{grid-template-columns:1fr}.awc-country-hero{min-height:300px}.awc-country-document{padding-inline:10px}.awc-country-hero{padding:26px 19px}.awc-country-jump{gap:7px}.awc-country-jump a{padding:8px 11px}}
@media(prefers-reduced-motion:reduce){.awc-country-page *{scroll-behavior:auto!important}}

.awc-country-section-photo{margin:-6px -8px 20px;aspect-ratio:16/10;overflow:hidden;border-radius:16px}.awc-country-section-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* Heritage network, limited to historically relevant country profiles */
.awc-country-medinas{padding:clamp(21px,3vw,34px);border-radius:22px;background:linear-gradient(140deg,#faf6ed,#f7faf6);border:1px solid #e7e7dc;margin-bottom:22px}
.awc-country-medinas-resources{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;margin-top:20px}.awc-country-medinas-resources a{display:flex;flex-direction:column;gap:7px;padding:18px;background:#fff;border:1px solid #e4e5d9;border-radius:14px;color:#23563f;text-decoration:none}.awc-country-medinas-resources a span{color:#647769;font-size:.88rem}.awc-country-medinas-notes{border-left:3px solid #9d8250;padding-left:16px;margin-top:16px}
/* 14.46: country microsites return naturally to the published Explora entry. */
.awc-country-more .awc-country-return{
  display:inline-flex;align-items:center;margin-top:19px;padding:12px 17px;border-radius:999px;
  background:#205f4b;color:#fff;text-decoration:none;font-weight:700;
}
.awc-country-more .awc-country-return:hover{background:#154937;color:#fff;}
.awc-country-more .awc-country-return:focus-visible{outline:3px solid #b5974e;outline-offset:3px;}

/* 15.1.70: public country stubs are clearly labelled, compact and responsive. */
.awc-country-status{border:1px solid #d8e8de;border-left:4px solid #2a8663;background:#f0f8f3;color:#224f3a;border-radius:16px;padding:17px 22px;margin:18px 0 24px;overflow-wrap:anywhere}
.awc-country-status strong{font-size:1.06rem}.awc-country-status p{margin:5px 0 0;color:#426c56;line-height:1.5}
.awc-country-intro-grid--single{grid-template-columns:minmax(0,1fr)}
.awc-country-document,.awc-country-page,.awc-country-page *{box-sizing:border-box;min-width:0}
.awc-country-page{overflow-wrap:anywhere}

/* 15.1.71 — Public country introductions + bounded DataHub directory preview. */
.awc-country-directory{padding:clamp(20px,3vw,34px);margin-bottom:22px;border:1px solid #dce9e1;border-radius:22px;background:linear-gradient(135deg,#f2f9f5,#fff)}
.awc-country-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;margin:16px 0}
.awc-country-directory-card{min-width:0;overflow-wrap:anywhere;border:1px solid #e0ebe4;background:#fff;border-radius:14px;padding:16px}
.awc-country-directory-card span{color:#426e59;text-transform:uppercase;letter-spacing:.07em;font-size:.72rem;font-weight:700}
.awc-country-directory-card h3{margin:7px 0 5px;color:#234b39;font-size:1.05rem;line-height:1.35}
.awc-country-directory-card p{margin:0 0 9px;font-size:.87rem}
.awc-country-directory-card a{font-weight:700;color:#256c51;text-decoration:underline;text-underline-offset:3px;font-size:.87rem}
.awc-country-directory-action{display:inline-flex;max-width:100%;padding:11px 16px;border-radius:999px;text-decoration:none;background:#245b47;color:white!important;font-weight:700;white-space:normal}
.awc-country-directory-action:hover,.awc-country-directory-action:focus-visible{background:#184936;color:#fff!important}
.awc-country-page .awc-country-directory p{overflow-wrap:anywhere}

/* 15.1.72 — Open-data country fact sheet, contained within the country page. */
.awc-country-facts{background:linear-gradient(128deg,#f2f8f5,#fff);border:1px solid #dceae2;border-radius:22px;padding:clamp(20px,3vw,34px);margin:0 0 22px;min-width:0;overflow-wrap:anywhere}
.awc-country-facts .awc-country-facts-heading p{max-width:760px;margin:0 0 18px}
.awc-country-facts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px;margin:16px 0}
.awc-country-facts-grid>div{min-width:0;padding:15px;border-radius:13px;border:1px solid #e4ece6;background:#fff}
.awc-country-facts-grid dt{font-size:.79rem;color:#557363;font-weight:650;margin-bottom:5px}
.awc-country-facts-grid dd{font-size:1.08rem;line-height:1.35;font-weight:750;color:#1b4532;margin:0;overflow-wrap:anywhere}
.awc-country-facts .awc-country-footnote{margin:12px 0 0}
.awc-country-facts .awc-country-footnote a{color:#226d52;font-weight:650;text-decoration:underline;text-underline-offset:3px}

/* 15.1.74 — One visual vocabulary for every country, without fabricated photos. */
.awc-country-page{--awc-country-ink:#193f30;max-width:100%;min-width:0}
.awc-country-hero{min-height:clamp(320px,35vw,480px);background:linear-gradient(115deg,#0e5149 0%,#29745f 53%,#d9c29a 160%);color:#fff;border:0;box-shadow:0 15px 38px rgba(20,58,46,.12)}
.awc-country-hero:not(.awc-country-has-image)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 82% 10%,rgba(255,255,255,.23),transparent 40%),repeating-radial-gradient(circle at 88% 86%,transparent 0 23px,rgba(255,255,255,.08) 24px 25px,transparent 26px 50px)}
.awc-country-hero::after{opacity:.23;right:0;bottom:-60px;width:300px;height:300px;background:repeating-conic-gradient(from 22.5deg,rgba(255,255,255,.7) 0 10deg,transparent 11deg 22deg)}
.awc-country-hero .awc-country-overline,.awc-country-hero h1,.awc-country-hero p{color:#fff}
.awc-country-hero .awc-country-overline{color:#d9f4e7}
.awc-country-hero-image{z-index:-2}
.awc-country-has-image::before{z-index:-1;background:linear-gradient(90deg,rgba(12,40,32,.9) 0%,rgba(12,40,32,.65) 48%,rgba(12,40,32,.13) 100%)}
.awc-country-hero-content{width:100%;max-width:770px}
.awc-country-hero h1{font-weight:800;text-wrap:balance;text-shadow:0 1px 1px rgba(0,0,0,.1)}
.awc-country-hero-content>p:not(.awc-country-overline){max-width:670px;line-height:1.56;font-size:clamp(.98rem,1.3vw,1.18rem);color:#f4fff8}
.awc-country-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:23px}
.awc-country-hero-meta span{display:inline-flex;max-width:100%;font-size:.84rem;line-height:1.35;overflow-wrap:anywhere;padding:9px 12px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(9,40,31,.3);backdrop-filter:blur(5px);color:#fff}
.awc-country-has-image .awc-country-hero-meta span{background:rgba(9,40,31,.49)}
.awc-country-economy{padding:clamp(21px,3vw,34px);margin:0 0 22px;border:1px solid #e0e9e2;border-radius:22px;background:linear-gradient(145deg,#fff,#f6f9f7);min-width:0;overflow-wrap:anywhere}
.awc-country-economy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;margin:15px 0 18px}
.awc-country-economy-grid>div{min-width:0;display:flex;flex-direction:column;gap:6px;padding:17px;border-radius:15px;border:1px solid #e2eae5;background:#fff}
.awc-country-economy-grid span{font-size:.84rem;color:#567163}
.awc-country-economy-grid strong{font-size:clamp(1.35rem,2.2vw,1.8rem);line-height:1.16;color:#1d553e;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.awc-country-economy-grid small{font-size:.8rem;color:#597b67}
.awc-country-economy .awc-country-footnote a{color:#23795b;text-underline-offset:3px;font-weight:650}
.awc-country-market{padding:clamp(21px,3vw,34px);border-radius:22px;background:#f8f9f4;border:1px solid #e3e9de}
.awc-country-halal-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.awc-country-halal-links a{display:inline-flex;align-items:center;max-width:100%;padding:10px 15px;border-radius:14px;background:#fff;border:1px solid #dbe6df;text-decoration:none;color:#235f45;font-weight:680;font-size:.9rem}
.awc-country-directory-group{margin:16px 0 22px}
.awc-country-directory-group h3{font-size:1.16rem;color:#235b42;margin:0 0 11px}
.awc-country-directory-card h4{font-size:1.02rem;line-height:1.35;margin:8px 0 6px;color:#234b39;overflow-wrap:anywhere}
.awc-country-jump{scroll-margin-top:90px}
.awc-country-page section[id]{scroll-margin-top:85px}
@media(max-width:650px){.awc-country-hero{min-height:360px;padding:25px 19px;border-radius:18px}.awc-country-hero::after{width:210px;height:210px}.awc-country-hero-meta{gap:7px}.awc-country-hero-meta span{font-size:.76rem;padding:8px 10px}.awc-country-economy-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.awc-country-halal-links a{width:100%;justify-content:center}}
@media(max-width:340px){.awc-country-hero{padding:20px 14px}.awc-country-hero-meta span{border-radius:11px}.awc-country-economy-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.awc-country-hero-meta span{backdrop-filter:none}}
