/* Home page matched to the supplied MPhil course reference. */
body.reference-home{background:#f7f8f5;background-image:none;color:#25312e;}
.reference-home .institution-bar{min-height:43px;display:flex;align-items:center;justify-content:center;padding:4px 18px;background:#163f35;border-bottom:1px solid #aa905c;color:#fff9e9;font-size:21px;}
.reference-home .topbar{position:relative;background:#fcfcf9;border-bottom:1px solid #d7dfd8;box-shadow:none;}
.reference-home .topbar-inner{max-width:1320px;min-height:79px;padding:12px 28px;gap:24px;}
.reference-home .brand{gap:12px;flex-shrink:0;max-width:none;}
.reference-home .brand-text strong{font-size:23px;font-weight:400;color:#254f42;}
.home-brand-icon{display:block;width:38px;height:38px;color:#9a7c41;}.home-brand-icon svg{width:100%;height:100%;}
.reference-home .main-nav{margin:auto;gap:20px;}.reference-home .main-nav a{padding:5px 0;font-size:17px;background:none;border:0;color:#334f43;white-space:nowrap;}.reference-home .main-nav a.current{color:#866a36;}
.home-header-cta{background:#1b4639;color:#fff9e9;padding:5px 20px;border-radius:4px;font-size:18px;white-space:nowrap;}
.reference-home .theme-toggle{flex-shrink:0;}
.home-cover{min-height:540px;position:relative;text-align:center;display:flex;justify-content:center;background-image:linear-gradient(180deg,rgba(5,57,47,.91),rgba(10,54,44,.61) 43%,rgba(10,38,28,.28)),url('../assets/nabawi.jpg');background-position:center 54%;background-size:cover;}
.home-cover-copy{padding:25px 20px 220px;}.home-eyebrow{font-size:23px;color:#e3cda5;margin:0 0 12px;}.home-cover h1{font-size:clamp(38px,4.6vw,66px);color:#fff9e9;margin:0;font-weight:400;line-height:1.85;word-spacing:.1em;}.home-cover h1 [lang=ar]{color:#d5ad62;font-size:.9em;}.home-tagline{font-size:30px;color:#e3cda5;margin:0 0 16px;line-height:2;}
.home-actions{display:flex;justify-content:center;gap:12px;}.home-primary,.home-secondary{display:inline-flex;align-items:center;justify-content:center;padding:5px 25px;min-height:49px;border-radius:4px;font-size:21px;line-height:2;}.home-primary{background:#ddc79e;color:#24372d;border:1px solid #ddc79e;}.home-primary:hover{background:#ecdcbe;}.home-secondary{background:rgba(17,56,45,.45);border:1px solid #e4e7d6;color:#fff9e9;}.home-secondary:hover{background:#234f41;}
.home-statbar{background:#073b30;color:#fff9e9;display:flex;justify-content:center;gap:0;padding:10px 20px;min-height:64px;}.home-statbar span{padding:0 36px;display:flex;align-items:center;gap:17px;font-size:19px;}.home-statbar span+span{border-right:1px solid #9c8353;}.home-statbar b{font:25px/1.4 Arial,sans-serif;}
.home-content{max-width:1180px;margin:auto;padding:40px 30px 18px;}.home-intro h2,.home-directory-heading h2{font-size:31px;font-weight:400;color:#163f35;margin:0;line-height:2;}.home-intro p,.home-directory-heading p{font-size:19px;color:#52605a;margin:3px 0 15px;line-height:2.1;}
.home-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}.home-study-card{--card:#2d6a53;--wash:#edf4ef;min-height:235px;background:var(--wash);border:1px solid var(--card);border-radius:6px;padding:20px 22px 10px;display:flex;align-items:center;flex-direction:column;text-align:center;transition:transform .15s,box-shadow .15s;}.home-study-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #173c3214;}.home-articles{--card:#32608b;--wash:#edf2fa;}.home-qa{--card:#76558d;--wash:#f4eef8;}.home-mcq{--card:#976d2b;--wash:#fcf5e8;}.home-card-icon{width:53px;height:53px;border-radius:50%;background:var(--card);color:white;display:grid;place-items:center;}.home-card-icon svg{width:29px;height:29px;}.home-study-card h3{font-size:23px;font-weight:400;color:var(--card);margin:10px 0 4px;line-height:2.1;}.home-study-card p{font-size:18px;color:#52605a;line-height:2.1;margin:0;}.home-card-arrow{font:23px/1.4 Arial,sans-serif;color:var(--card);align-self:flex-end;margin-top:auto;}
.home-directory{margin-top:30px;}.home-directory-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;}.home-outline{font-family:inherit;font-size:18px;line-height:2;border:1px solid #9a895f;border-radius:4px;background:transparent;color:#24493e;cursor:pointer;padding:3px 19px;white-space:nowrap;}.home-outline:hover{background:#edf2ed;}.home-search{position:relative;}.home-search input{width:100%;height:49px;border:1px solid #b9c8bd;background:#fff;border-radius:4px;padding:4px 16px 4px 44px;font-family:inherit;font-size:19px;color:#25312e;}.home-search>span{position:absolute;left:14px;top:2px;font:29px/42px Arial,sans-serif;color:#245447;}.home-search-count{color:#59665e;font-size:15px;margin:6px 0;}.home-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:27px;}.home-topic-row{display:flex;align-items:center;gap:15px;min-height:67px;padding:9px 0;border-top:1px solid #d7dfd8;font-size:19px;line-height:2.1;color:#163f35;}.home-topic-row:hover{background:#edf2ed;}.home-topic-no{flex-shrink:0;width:29px;height:29px;background:#eee8dc;color:#655130;border-radius:50%;display:grid;place-items:center;font:14px/1 Georgia,serif;}.row-arrow{margin-right:auto;font:21px/1 Arial,sans-serif;color:#527467;}.home-all-wrap{text-align:center;margin:18px 0 24px;}.home-revision{display:flex;align-items:center;gap:23px;background:#1b4639;color:#fff9e9;border-radius:7px;padding:20px 27px;}.home-revision-icon{width:53px;height:53px;color:#ddc79e;flex-shrink:0;}.home-revision-icon svg{width:100%;height:100%;}.home-revision>div{flex:1;}.home-revision h2{font-size:29px;font-weight:400;color:#fff9e9;margin:0;}.home-revision p{font-size:20px;color:#edf4e8;margin:0;}.home-photo-credit{font-size:15px;color:#59665e;margin-top:10px;}.home-photo-credit summary{cursor:pointer;}.home-photo-credit a{text-decoration:underline;}
.reference-home .site-footer{background:#163f35;color:#fff6e4;margin:20px 0 0;border-top:1px solid #326453;padding:19px 28px;}.reference-home .footer-inner{max-width:1200px;margin:auto;}.reference-home .site-footer strong{color:inherit;}.reference-home .site-footer p,.reference-home .footer-credit{color:#f2f1e3;}.reference-home .site-footer strong{font-size:20px;}.reference-home .footer-credit strong{font-size:16px;}
[hidden]{display:none!important;}
body.dark.reference-home{background:#142820;color:#e9eee8;}.dark .home-intro h2,.dark .home-directory-heading h2,.dark .home-topic-row{color:#e6ecd9;}.dark .home-intro p,.dark .home-directory-heading p,.dark .home-search-count,.dark .home-photo-credit{color:#c4d2c7;}.dark.reference-home .topbar{background:#19382e;}.dark.reference-home .brand-text strong,.dark.reference-home .main-nav a{color:#f0efdb;}.dark .home-study-card{background:#21382f;}.dark .home-study-card h3{color:#f0dfb9;}.dark .home-study-card p{color:#d1dbd3;}.dark .home-search input{background:#21382f;color:#f0efdb;}.dark .home-outline{color:#f0dfb9;}.dark .home-topic-row:hover{background:#21382f;}
@media(max-width:1100px){.reference-home .topbar-inner{gap:14px;padding-inline:20px;}.reference-home .main-nav{gap:13px;}.reference-home .main-nav a{font-size:15px;}.reference-home .brand-text strong{font-size:19px;}.home-header-cta{font-size:16px;padding-inline:12px;}}
@media(max-width:850px){.reference-home .menu-toggle{display:block;}.reference-home .main-nav{display:none;position:absolute;top:100%;inset-inline:0;flex-direction:column;background:#fcfcf9;padding:15px 25px;z-index:20;}.reference-home .main-nav.open{display:flex;}.reference-home .main-nav a{font-size:20px;}.dark.reference-home .main-nav{background:#19382e;}.reference-home .brand{margin-left:auto;}.home-header-cta{display:none;}.home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.home-cover{min-height:470px;}.home-cover-copy{padding-bottom:160px;}.home-statbar span{padding:0 17px;font-size:17px;gap:10px;}}
@media(max-width:540px){.reference-home .topbar-inner{padding:10px 15px;min-height:70px;}.reference-home .brand-text strong{font-size:18px;}.home-brand-icon{width:30px;height:30px;}.home-cover{min-height:435px;}.home-cover-copy{padding-top:24px;padding-bottom:160px;}.home-cover h1{font-size:36px;}.home-eyebrow{font-size:18px;}.home-tagline{font-size:26px;}.home-primary,.home-secondary{font-size:18px;padding-inline:17px;}.home-statbar{padding:11px 5px;}.home-statbar span{flex:1;flex-direction:column;font-size:13px;padding:0 5px;gap:3px;line-height:2.1;text-align:center;}.home-statbar b{font-size:22px;}.home-content{padding:25px 17px 10px;}.home-intro h2,.home-directory-heading h2{font-size:26px;}.home-intro p,.home-directory-heading p{font-size:18px;}.home-card-grid{gap:11px;}.home-study-card{padding:16px 10px 10px;min-height:220px;}.home-study-card h3{font-size:20px;}.home-study-card p{font-size:16px;}.home-directory-heading{flex-wrap:wrap;gap:0;margin-bottom:14px;}.home-topic-grid{grid-template-columns:1fr;}.home-topic-row{font-size:18px;}.home-revision{flex-wrap:wrap;padding:20px;gap:15px;}.home-revision h2{font-size:26px;}.home-revision p{font-size:18px;}.home-revision .home-primary{margin-right:68px;}.reference-home .footer-inner{text-align:center;}.reference-home .footer-links{justify-content:center;}}
@media(prefers-reduced-motion:reduce){.home-study-card{transition:none;}.home-study-card:hover{transform:none;}}
/* Keep the complete photograph visible at normal browser zoom. */
.reference-home .home-cover{
  min-height:0;
  height:clamp(420px,calc(100svh - 250px),620px);
  background-color:#123f35;
  background-size:100% 100%,contain;
  background-position:center,center bottom;
  background-repeat:no-repeat;
}
.reference-home .home-cover-copy{padding:20px 20px 0;}
.reference-home .home-cover h1{font-size:clamp(36px,4vw,58px);line-height:1.7;}
.reference-home .home-eyebrow{margin-bottom:6px;}
.reference-home .home-tagline{margin-bottom:12px;}
@media(max-width:540px){
  .reference-home .home-cover{height:450px;background-position:center,center bottom;}
  .reference-home .home-cover-copy{padding:18px 12px 0;}
  .reference-home .home-cover h1{font-size:34px;}
  .reference-home .home-eyebrow{font-size:17px;}
  .reference-home .home-tagline{font-size:24px;}
}
