/*
Theme Name: Forensic Forum
Description: Teal, gold and white theme for Forensic Forum, Ghana's speech & debate organisation.
Version: 1.0.2
Text Domain: forensic-forum
*/
body{margin:0}a{color:inherit;text-decoration:none}a:hover{opacity:.85}
.p{font:16px/1.6 Montserrat,Arial,sans-serif;color:#14213D;background:#fff}.h{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 40px;background:#14213D;color:#fff}.h nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-weight:600;font-size:13px;text-transform:uppercase}.b{display:inline-block;background:#F5A623;color:#14213D;padding:12px 26px;font-weight:700}.b2{background:#14B8BC}.s{padding:72px 64px}.d{background:#1D2F57;color:#fff}.dd{background:#14213D;color:#fff}.t{background:#EEF5F5}.gd{background:#F5A623}.g{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.c{padding:28px;background:#EEF5F5;border-top:6px solid #14B8BC}.c3{background:#fff;border-top-color:#F5A623}h1,h2,h3{margin:0 0 12px;font-weight:800;line-height:1.2}h1{font-size:54px}h2{font-size:34px}h3{font-size:20px}p{margin:0 0 14px}.k{color:#0A8A8E}.d .k{color:#14B8BC}.y{color:#F5A623}.m{text-align:center}
.ff-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px}.ff-mark{width:28px;height:22px;background:#14B8BC;border-radius:5px}
.ff-menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.ff-menu a{font-weight:600}.ff-menu .current-menu-item a{color:#F5A623}
.ff-plain{padding:48px 64px}
@media(max-width:700px){.s{padding:48px 24px}h1{font-size:36px}h2{font-size:26px}.h{padding:16px 20px}.ff-plain{padding:32px 24px}}
.ff-menu li{position:relative}.ff-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:240px;background:#14213D;list-style:none;margin:0;padding:12px 16px;z-index:50;border-top:3px solid #14B8BC}.ff-menu li:hover>.sub-menu,.ff-menu li:focus-within>.sub-menu{display:block}.ff-menu .sub-menu li{padding:6px 0}
.h .custom-logo-link{display:flex;align-items:center}.h .custom-logo{height:52px;width:auto;max-width:240px;object-fit:contain}
.ff-hero{position:relative;overflow:hidden}.ff-hero>*:not(.ff-slides){position:relative;z-index:2}.ff-slides{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0}.ff-slide{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;opacity:0}.ff-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(20,33,61,.62)}
@media(prefers-reduced-motion:reduce){.ff-slide{animation:none!important}.ff-slide:first-child{opacity:1!important}}


/* Rebuilt Debater Resources photographic hero.
   Image fills the available width; a tall desktop viewport crops vertically,
   never introduces letterboxed side panels. CSS is scoped to this component. */
.ff-photographic-hero {
  box-sizing:border-box;
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  width:100%;
  min-height:clamp(430px, 40vw, 580px);
  padding:84px 36px 94px;
  overflow:hidden;
  background:#14213D;
  color:#fff;
  text-align:center;
}
.ff-hero-media,
.ff-hero-media::after {
  position:absolute;
  inset:0;
}
.ff-hero-media {z-index:0;overflow:hidden;}
.ff-hero-media .ff-hero-image {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:50% 37%;
}
.ff-hero-media::after {
  content:"";
  display:block;
  background:linear-gradient(180deg,rgba(20,33,61,.46),rgba(20,33,61,.70));
}
.ff-hero-copy {position:relative;z-index:1;width:100%;max-width:1050px;margin:0 auto;}
.ff-hero-copy h1 {margin:0 0 18px;font-size:clamp(34px,4.2vw,60px);line-height:1.12;text-wrap:balance;}
.ff-hero-copy p {margin:0 auto;max-width:840px;font-size:clamp(14px,1.25vw,17px);line-height:1.7;text-wrap:pretty;}
.ff-photographic-hero .ff-hero-photo-credit {
  position:absolute;
  right:20px;
  bottom:16px;
  z-index:2;
  max-width:min(75%,480px);
  padding:5px 9px;
  margin:0;
  border-radius:3px;
  background:rgba(20,33,61,.76);
  color:#fff;
  font:400 11px/1.5 Montserrat,Arial,sans-serif;
  text-align:right;
  overflow-wrap:anywhere;
}
.ff-hero-photo-credit a {color:#fff;text-decoration:underline;}
.ff-debater-resources-page {padding-top:36px;}
@media(max-width:700px) {
  .ff-photographic-hero {min-height:420px;padding:64px 24px 70px;}
  .ff-hero-media .ff-hero-image {object-position:54% 50%;}
  .ff-hero-copy h1 {font-size:clamp(30px,8.5vw,40px);}
  .ff-hero-copy p {font-size:14px;line-height:1.7;}
  .ff-photographic-hero .ff-hero-photo-credit {right:10px;bottom:10px;max-width:calc(100% - 20px);font-size:10px;}
  .ff-debater-resources-page {padding-top:32px;}
}
