/* =====================================================================================================================
   APFBF 2026 — single page (draft index-v7.html): the expandable sections Related Resources and Media (Step 68),
   then the styles of the two original pages, confined to their sections.
   Linked from index-v7.html as assets/css/home-sections.css?v=N — raise N after each change (browser cache).
   ===================================================================================================================== */
.apfbf-xsec{
  --xs-navy:#1D416A; --xs-ink:#122A4A; --xs-text:#3D4D60; --xs-muted:#56677A; --xs-line:#E4E9F0;
  --xs-accent:#F89E24; --xs-accent-ink:#A65B00; --xs-soft:#F5F7FA;
  max-width:1200px; margin:72px auto !important; padding:0 16px; color:var(--xs-text); scroll-margin-top:72px;
}
.apfbf-xsec .key-speakers-title:focus{ outline:none; }
.apfbf-xsec .key-speakers-title:focus-visible{ outline:3px solid var(--xs-accent-ink); outline-offset:4px; }
.apfbf-xsec-card{
  position:relative; background:#fff; border:1px solid var(--xs-line); border-radius:18px;
  box-shadow:0 18px 40px -30px rgba(16,32,55,.45); overflow:hidden;
}
.apfbf-xsec-card::before{   /* the banner colours as a thin cap */
  content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg, #F89E24 0 25%, #00ADD8 25% 50%, #3EAD49 50% 75%, #DF1A82 75%);
}
.apfbf-xsec-head{ display:flex; align-items:center; gap:18px; padding:26px 28px 24px; }
.apfbf-xsec-icon{
  flex:none; display:grid; place-items:center; width:52px; height:52px; border-radius:50%;
  background:#FEF4E6; color:var(--xs-accent-ink); font-size:21px;
}
.apfbf-xsec-facts{ display:flex; flex-wrap:wrap; gap:8px 10px; margin:0 !important; padding:0 !important; list-style:none; flex:1 1 auto; }
.apfbf-xsec-facts li{
  margin:0 !important; padding:7px 14px !important; border:1px solid var(--xs-line); border-radius:999px; background:var(--xs-soft);
  color:var(--xs-ink); font-size:14.5px; font-weight:600; line-height:1.2; list-style:none;
}
.apfbf-xsec .apfbf-xsec-toggle{
  flex:none; display:inline-flex; align-items:center; gap:10px; margin:0; min-height:48px; padding:0 20px 0 24px;
  border:0; border-radius:12px; background:var(--xs-navy); color:#fff; cursor:pointer;
  font:inherit; font-size:15.5px; font-weight:700; line-height:1; letter-spacing:.01em; text-transform:none;
  box-shadow:0 12px 24px -14px rgba(29,65,106,.7); transition:background-color .2s ease, box-shadow .2s ease;
}
.apfbf-xsec .apfbf-xsec-toggle:hover{ background:#163455; }
.apfbf-xsec .apfbf-xsec-toggle:focus-visible{ outline:3px solid var(--xs-accent-ink); outline-offset:3px; }
.apfbf-xsec-toggle svg{ width:18px; height:18px; transition:transform .35s cubic-bezier(.4,0,.2,1); }
.apfbf-xsec.is-open .apfbf-xsec-toggle svg{ transform:rotate(180deg); }

/* the panel: open by default (no JavaScript); with JavaScript it opens and closes smoothly (grid rows 0fr <-> 1fr) */
.apfbf-xsec-panel{ display:grid; grid-template-rows:1fr; border-top:1px solid var(--xs-line); }
.apfbf-xsec-body{ min-height:0; }
html.apfbf-xsec-js .apfbf-xsec-panel{ grid-template-rows:0fr; border-top-color:transparent;
  transition:grid-template-rows .6s cubic-bezier(.4,0,.2,1), border-color .3s ease; }
html.apfbf-xsec-js .apfbf-xsec-body{ overflow:hidden; }
html.apfbf-xsec-js .apfbf-xsec.is-open .apfbf-xsec-panel{ grid-template-rows:1fr; border-top-color:var(--xs-line); }
html.apfbf-xsec-js .apfbf-xsec.is-done .apfbf-xsec-body{ overflow:visible; }   /* after opening: shadows and hovers not cut */
.apfbf-xsec-body > *:first-child{ margin-top:8px !important; }

@media (max-width:700px){
  .apfbf-xsec{ margin:56px auto !important; }
  .apfbf-xsec-head{ flex-wrap:wrap; gap:14px; padding:22px 18px 20px; }
  .apfbf-xsec-icon{ width:44px; height:44px; font-size:18px; }
  .apfbf-xsec-facts{ flex:1 1 calc(100% - 60px); }
  .apfbf-xsec .apfbf-xsec-toggle{ width:100%; justify-content:center; }
}
@media (prefers-reduced-motion: reduce){
  html.apfbf-xsec-js .apfbf-xsec-panel, .apfbf-xsec-toggle svg{ transition:none; }
}
html.a11y-still .apfbf-xsec-panel, html.a11y-still .apfbf-xsec-toggle svg{ transition:none !important; }

/* the menu: the section being read */
#mega-menu .top-bar-section ul li > a.is-current{ box-shadow:inset 0 -3px 0 #F89E24; }

/* ---------- Step 69: the Programme as an expandable section (open by default) ---------- */
/* no clipping on this card: the days bar inside must still stick under the menu bar */
#programme .apfbf-xsec-card{ overflow:visible; }
#programme .apfbf-xsec-card::before{ border-radius:18px 18px 0 0; }
#programme .apfbf-xsec-body{ padding:0 24px; }   /* closed: no padding left over (Step 69) */
html.apfbf-xsec-js #programme .apfbf-xsec-body{ transition:padding .6s cubic-bezier(.4,0,.2,1); }
#programme.is-open .apfbf-xsec-body, html:not(.apfbf-xsec-js) #programme .apfbf-xsec-body{ padding:8px 24px 28px; }
#programme .apfbf-xsec-body > .apfbf-days{ margin-top:4px; }
@media (max-width:700px){ #programme .apfbf-xsec-body{ padding-left:12px; padding-right:12px; }
  #programme.is-open .apfbf-xsec-body, html:not(.apfbf-xsec-js) #programme .apfbf-xsec-body{ padding:6px 12px 22px; } }

/* ---------- Step 70: the Correspondence card, last on the page, out of the overview block: the event-about.css rules
   written for "#m-parallax .event-about …" copied for ".event-about--end" (generated by step70b) ---------- */
.event-about.event-about--end{ margin:72px auto 48px !important; padding:0 16px; }
.event-about.event-about--end .about-title{text-align: center !important;
  text-transform: none !important;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  color: var(--about-navy);
  padding: 0 12px !important;
  margin: 0 0 .35rem !important;
  text-shadow: none;
  opacity: 1;}
.event-about.event-about--end .about-title::after{content: ""; display: block; width: 80px; height: 4px; margin: 16px auto 0; border-radius: 4px;
  background: var(--sdg-strip);}
.event-about.event-about--end .about-text{max-width: 820px;
  margin: 1.1rem auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--about-ink);
  text-align: start !important;}
.event-about.event-about--end .about-text.about-center{text-align: center !important;}
.event-about.event-about--end .about-sources{max-width: 820px; margin: 1.4rem auto 0; font-size: .78rem; line-height: 1.6; color: var(--about-muted); text-align: center !important;}

/* =====================================================================================================================
   Related Resources — styles of event-related-resources.html (documents-table.css + its inline styles), confined to
   #related-resources .apfbf-xsec-body (copied 6 Nov 2026, Step 68; keyframes renamed rr-…)
   ===================================================================================================================== */
#related-resources .apfbf-xsec-body .wrapper-table{margin: 0 auto;
  padding: 40px;
  max-width: 100%;}
#related-resources .apfbf-xsec-body .wrapper-table .table{margin: 0 0 40px 0 !important;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: table;}
@media screen and (max-width: 580px){
#related-resources .apfbf-xsec-body .wrapper-table .table{display: block;}
}
#related-resources .apfbf-xsec-body .wrapper-table .row{display: table-row;
  background: #f6f6f6;}
#related-resources .apfbf-xsec-body .wrapper-table .row:nth-of-type(odd){background: #eff2f9;}
#related-resources .apfbf-xsec-body .wrapper-table .row.m-header{font-weight: 900;
  color: #ffffff;
  background: #ea6153;}
#related-resources .apfbf-xsec-body .wrapper-table .row.green{background: #27ae60;}
#related-resources .apfbf-xsec-body .wrapper-table .row.blue{background: #2e2e3d;}
#related-resources .apfbf-xsec-body .wrapper-table .row.blue-black{background: #2e2e3d;}
@media screen and (max-width: 580px){
#related-resources .apfbf-xsec-body .wrapper-table .row{padding: 14px 0 7px;
    display: block;}
#related-resources .apfbf-xsec-body .wrapper-table .row.m-header{padding: 0;
    height: 6px;}
#related-resources .apfbf-xsec-body .wrapper-table .row.m-header .cell{display: none;}
#related-resources .apfbf-xsec-body .wrapper-table .row .cell{margin-bottom: 10px;}
#related-resources .apfbf-xsec-body .wrapper-table .row .cell:before{margin-bottom: 3px;
    content: attr(data-title);
    min-width: 98px;
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;}
}
#related-resources .apfbf-xsec-body .wrapper-table .cell{padding: 15px 12px;
  display: table-cell;}
@media screen and (max-width: 580px){
#related-resources .apfbf-xsec-body .wrapper-table .cell{padding: 2px 16px;
    display: block;}
}
#related-resources .apfbf-xsec-body .special-sessions-subtitle{margin: 0 0 34px;
            font-size: 16px !important;
            letter-spacing: 5px !important;
            text-transform: uppercase;
            text-align: center !important;
            color: rgba(255, 255, 255, 0.9) !important;}
#related-resources .apfbf-xsec-body .special-sessions-shell{width: min(1180px, calc(100% - 40px));
            margin: 42px auto 70px;}
#related-resources .apfbf-xsec-body .special-sessions-table.wrapper-table{padding: 0;}
#related-resources .apfbf-xsec-body .special-sessions-table .table{overflow: hidden;
            border: 1px solid rgba(47, 79, 90, 0.12);
            box-shadow: 0 20px 48px rgba(30, 52, 64, 0.12);
            background: #ffffff;}
#related-resources .apfbf-xsec-body .special-sessions-table .row{--session-accent: #6b99a6;
            --session-shadow: rgba(56, 113, 129, 0.22);
            background: #ffffff;
            transition: background-color 0.2s ease;}
#related-resources .apfbf-xsec-body .special-sessions-table .row:nth-of-type(odd){background: #f8fbfd;}
#related-resources .apfbf-xsec-body .special-sessions-table .row:hover{background: #f1f7fa;}
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header{background: linear-gradient(135deg, #2d648d 0%, #2f648d 58%, #5d95bf 100%);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);}
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header .cell{color: #ffffff;
            font-size: 16px;
            font-weight: 800;
            line-height: 1.35;
            letter-spacing: 0.01em;
            padding-top: 28px;
            padding-bottom: 30px;
            border-left: 1px solid rgba(255, 255, 255, 0.14);}
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header .cell:first-child{border-left: 0;}
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header .cell:last-child{padding-right: 24px;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell{padding: 22px 18px;
            vertical-align: top;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell{position: relative;
            padding-left: 28px;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell::before{content: "";
            position: absolute;
            left: 0;
            top: 20px;
            bottom: 20px;
            width: 8px;
            border-radius: 999px;
            background: var(--session-color, #6b99a6);}
#related-resources .apfbf-xsec-body .session-title{display: block;
            font-size: 18px;
            line-height: 1.45;
            color: #163642;
            font-weight: 700;
            margin-bottom: 12px;}
#related-resources .apfbf-xsec-body .session-head{display: flex;
            align-items: flex-start;
            gap: 14px;}
#related-resources .apfbf-xsec-body .session-content{min-width: 0;}
#related-resources .apfbf-xsec-body .session-logo{width: 58px;
            height: 58px;
            flex: 0 0 58px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 249, 0.92) 100%);
            box-shadow: 0 12px 24px var(--session-shadow);
            border: 1px solid rgba(22, 54, 66, 0.08);}
#related-resources .apfbf-xsec-body .session-logo img{display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;}
#related-resources .apfbf-xsec-body .session-tag{display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(107, 153, 166, 0.12);
            color: var(--session-color, #355766);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;}
#related-resources .apfbf-xsec-body .session-tag.has-logo{gap: 10px;
            padding-left: 10px;}
#related-resources .apfbf-xsec-body .session-tag::before{content: "";
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--session-color, #6b99a6);}
#related-resources .apfbf-xsec-body .session-tag.has-logo::before{content: none;}
#related-resources .apfbf-xsec-body .session-tag-logo{width: 24px;
            height: 24px;
            display: block;
            border-radius: 7px;
            background: #ffffff;
            box-shadow: 0 4px 10px rgba(22, 54, 66, 0.12);
            object-fit: contain;}
#related-resources .apfbf-xsec-body .session-time{display: block;
            color: #203843;
            font-size: 17px;
            font-weight: 700;
            line-height: 1.5;}
#related-resources .apfbf-xsec-body .session-time small{display: block;
            margin-top: 6px;
            color: #6a7d86;
            font-size: 12px;
            letter-spacing: 0.08em;
            text-transform: uppercase;}
#related-resources .apfbf-xsec-body .link-pill{display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 112px;
            padding: 10px 14px;
            border-radius: 999px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;}
#related-resources .apfbf-xsec-body .link-pill:hover{transform: translateY(-1px);}
#related-resources .apfbf-xsec-body .link-pill.flyer{background: rgba(22, 54, 66, 0.08);
            color: #163642;
            box-shadow: inset 0 0 0 1px rgba(22, 54, 66, 0.12);}
#related-resources .apfbf-xsec-body .link-pill.zoom{background: linear-gradient(135deg, var(--session-color, #327a8d) 0%, var(--session-accent, #6b99a6) 100%);
            color: #ffffff;
            box-shadow: 0 10px 20px var(--session-shadow);}
@media screen and (max-width: 880px){
#related-resources .apfbf-xsec-body .special-sessions-shell{width: min(100%, calc(100% - 24px));
              margin: 28px auto 50px;}
}
@media screen and (max-width: 580px){
#related-resources .apfbf-xsec-body .special-sessions-table.wrapper-table{padding: 0;}
#related-resources .apfbf-xsec-body .special-sessions-table .table{display: block;
              border: 0;
              box-shadow: none;
              background: transparent;}
#related-resources .apfbf-xsec-body .special-sessions-table .row{display: block;
              margin-bottom: 16px;
              padding: 18px 0 10px;
              border: 1px solid rgba(47, 79, 90, 0.1);
              box-shadow: 0 12px 30px rgba(30, 52, 64, 0.08);
              overflow: hidden;}
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header{display: none;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell{display: block;
              width: 100%;
              padding: 4px 18px 14px;
              margin-bottom: 0;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell{padding-left: 24px;
              padding-top: 10px;
              padding-bottom: 18px;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell::before{left: 12px;
              top: 14px;
              bottom: 14px;
              width: 5px;
              border-radius: 999px;}
#related-resources .apfbf-xsec-body .session-title{font-size: 17px;}
#related-resources .apfbf-xsec-body .session-head{gap: 12px;}
#related-resources .apfbf-xsec-body .session-logo{width: 48px;
              height: 48px;
              flex-basis: 48px;
              padding: 5px;
              border-radius: 14px;}
#related-resources .apfbf-xsec-body .session-tag{max-width: 100%;
              white-space: normal;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell:before{content: attr(data-title);
              display: block;
              margin-bottom: 8px;
              color: #8d8d8d;
              font-size: 10px;
              font-weight: 800;
              letter-spacing: 0.08em;
              text-transform: uppercase;}
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell:before{content: none;}
#related-resources .apfbf-xsec-body .link-pill{min-width: 100%;}
}
#related-resources .apfbf-xsec-body .rr-block{margin-bottom: 56px;}
#related-resources .apfbf-xsec-body .rr-title{text-align: center !important; color: #1D416A; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin: 8px 0 22px; text-transform: none; letter-spacing: 0;}
#related-resources .apfbf-xsec-body .rr-title::after{content: ""; display: block; width: 80px; height: 4px; margin: 12px auto 0; border-radius: 2px;
            background: linear-gradient(90deg, #F89E24 0 25%, #00ADD8 25% 50%, #3EAD49 50% 75%, #DF1A82 75%);}

/* =====================================================================================================================
   Media — styles of event-media.html (media hub, social media, gallery.css, gallery cards), confined to #media .apfbf-xsec-body
   (copied 6 Nov 2026, Step 68; keyframes renamed md-…). gallery.css resets every element: here only inside the Media panel.
   ===================================================================================================================== */
#media .apfbf-xsec-body .media-hub-section{--primary-color: #0a1f33;
    --accent-color: #005d8f;
    --text-color: #333;
    --light-bg: #ffffff;
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --press-gradient: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    --newsletter-gradient: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    padding: 6rem 1rem;
    background-color: var(--light-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    overflow: hidden;
    background-color: #f7f7f7;
    margin-bottom: 30px;}
#media .apfbf-xsec-body .media-hub-container{max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;}
#media .apfbf-xsec-body .media-hub-header{margin-bottom: 4rem;
  position: relative;}
#media .apfbf-xsec-body .media-hub-title{font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #0a1f33 0%, #005d8f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;}
#media .apfbf-xsec-body .media-hub-title::after{content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;}
#media .apfbf-xsec-body .media-hub-subtitle{font-size: 1.1rem;
  color: #5a6c84;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;}
#media .apfbf-xsec-body .media-hub-grid{display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;}
#media .apfbf-xsec-body .media-card{background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);}
#media .apfbf-xsec-body .media-card:hover{transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);}
#media .apfbf-xsec-body .media-card__decor{position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;}
#media .apfbf-xsec-body .media-card__blob{position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.1;}
#media .apfbf-xsec-body .media-card--press .media-card__blob{background: var(--press-gradient);}
#media .apfbf-xsec-body .media-card--newsletter .media-card__blob{background: var(--newsletter-gradient);}
#media .apfbf-xsec-body .media-card__icon{position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;}
#media .apfbf-xsec-body .media-card--press .media-card__icon{background: var(--press-gradient);}
#media .apfbf-xsec-body .media-card--newsletter .media-card__icon{background: var(--newsletter-gradient);}
#media .apfbf-xsec-body .media-card__icon svg{width: 30px;
  height: 30px;}
#media .apfbf-xsec-body .media-card__title{font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;}
#media .apfbf-xsec-body .media-card__links{display: flex;
  flex-direction: column;
  gap: 1rem;}
#media .apfbf-xsec-body .media-link{display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);}
#media .apfbf-xsec-body .media-link:hover{background: rgba(0,0,0,0.05);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);}
#media .apfbf-xsec-body .media-card__links a.popup-youtube.media-link{display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1rem 1.5rem !important;
  border-radius: 12px !important;
  margin: 0 !important;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.05);}
#media .apfbf-xsec-body .media-card__links a.popup-youtube.media-link--en{color: #005d8f !important;
  border-left: 4px solid #005d8f !important;}
#media .apfbf-xsec-body .media-card__links a.popup-youtube.media-link--ar{color: #16a085 !important;
  border-left: 4px solid #16a085 !important;}
#media .apfbf-xsec-body .media-card__links a.popup-youtube.media-link:hover{background: rgba(0,0,0,0.05) !important;
  transform: translateX(5px) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;}
#media .apfbf-xsec-body .media-link--en{color: #005d8f;
  border-left: 4px solid #005d8f;}
#media .apfbf-xsec-body .media-link--ar{color: #16a085;
  border-left: 4px solid #16a085;}
#media .apfbf-xsec-body .media-link__label{font-weight: 500;}
#media .apfbf-xsec-body .media-link__icon svg{width: 18px;
  height: 18px;}
#media .apfbf-xsec-body .media-hub-cta{font-size: 0.95rem;
  color: #5a6c84;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);}
@keyframes md-float{
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
#media .apfbf-xsec-body .media-card{animation: md-float 6s ease-in-out infinite;}
#media .apfbf-xsec-body .media-card:nth-child(2){animation-delay: 0.5s;}
@media (max-width: 1024px){
#media .apfbf-xsec-body .media-hub-section{padding: 4rem 1rem;}
}
@media (max-width: 768px){
#media .apfbf-xsec-body .media-hub-grid{grid-template-columns: 1fr;
    gap: 2rem;}
#media .apfbf-xsec-body .media-card{padding: 2rem 1.5rem;}
#media .apfbf-xsec-body .media-hub-title::after{bottom: -8px;}
}
#media .apfbf-xsec-body .social-container{max-width: 1280px;
    margin: 80px auto;
    padding: 60px;
    background-color: #ffffff;
    border-radius: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    
    overflow: hidden;}
#media .apfbf-xsec-body .social-header{position: relative;
              z-index: 1;
              margin-bottom: 40px;}
#media .apfbf-xsec-body .social-header h3{margin: 0;
              font-size: clamp(1.8rem, 3vw, 2.4rem);
              font-weight: 700;
              color: #0a1f33;
              line-height: 1.3;
              background: linear-gradient(90deg, #0a1f33 0%, #005d8f 100%);
              -webkit-background-clip: text;
              background-clip: text;
              -webkit-text-fill-color: transparent;
              max-width: 80%;}
#media .apfbf-xsec-body .social-header p{margin-top: 16px;
              color: #5a6c84;
              font-size: 1.1rem;
              line-height: 1.6;
              max-width: 600px;}
#media .apfbf-xsec-body .social-content{display: grid;
              grid-template-columns:  1fr;
              gap: 40px;
              position: relative;
              z-index: 1;}
#media .apfbf-xsec-body .social-links{display: grid;
              grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
              gap: 16px;}
#media .apfbf-xsec-body .social-link{display: flex;
              align-items: center;
              gap: 14px;
              padding: 18px 24px;
              border-radius: 12px;
              background-color: #f7f7f7;
              color: #0a1f33;
              font-weight: 600;
              text-decoration: none;
              transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
              box-shadow: 0 4px 12px rgba(0,0,0,0.05);
              border: 1px solid rgba(0,0,0,0.03);}
#media .apfbf-xsec-body .social-link:hover{transform: translateY(-3px);
              box-shadow: 0 8px 24px rgba(0,0,0,0.1);}
#media .apfbf-xsec-body .social-link svg{width: 22px;
              height: 22px;
              transition: transform 0.3s ease;}
#media .apfbf-xsec-body .social-link:hover svg{transform: scale(1.1);}
#media .apfbf-xsec-body .social-link.facebook:hover{background-color: #1877f2;
              color: white;}
#media .apfbf-xsec-body .social-link.x:hover{background-color: #000;
              color: white;}
#media .apfbf-xsec-body .social-link.instagram:hover{background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
              color: white;}
#media .apfbf-xsec-body .social-link.linkedin:hover{background-color: #0077b5;
  color: white;}
#media .apfbf-xsec-body .social-link.youtube:hover{background-color: #ff0000;
  color: white;}
#media .apfbf-xsec-body .hashtag-section{display: flex;
              flex-direction: column;
              justify-content: center;}
#media .apfbf-xsec-body .hashtags{display: flex;
              flex-wrap: wrap;
              gap: 12px;
              align-items: center;}
#media .apfbf-xsec-body .hashtag{background-color: rgba(0,93,143,0.1);
              color: #005d8f;
              padding: 8px 18px;
              border-radius: 50px;
              font-size: 0.95rem;
              font-weight: 600;
              transition: all 0.3s ease;
              cursor: pointer;
              border: 1px solid rgba(0,93,143,0.2);}
#media .apfbf-xsec-body .hashtag:hover{background-color: #005d8f;
              color: white;
              transform: translateY(-2px);}
#media .apfbf-xsec-body .hashtag-title{color: #5a6c84;
              font-weight: 500;
              margin-bottom: 16px;
              font-size: 1.1rem;
              text-align: left;}
@media (max-width: 1024px){
#media .apfbf-xsec-body .social-content{grid-template-columns: 1fr;}
#media .apfbf-xsec-body .social-header h3{max-width: 100%;}
}
@media (max-width: 768px){
#media .apfbf-xsec-body .social-container{padding: 40px 30px;}
#media .apfbf-xsec-body .social-links{grid-template-columns: 1fr;}
}
@keyframes md-float{
              0% { transform: translateY(0px); }
              50% { transform: translateY(-5px); }
              100% { transform: translateY(0px); }
          }
#media .apfbf-xsec-body .social-link{animation: md-float 4s ease-in-out infinite;}
#media .apfbf-xsec-body .social-link:nth-child(2){animation-delay: 0.2s;}
#media .apfbf-xsec-body .social-link:nth-child(3){animation-delay: 0.4s;}
#media .apfbf-xsec-body *,
#media .apfbf-xsec-body *::before,
#media .apfbf-xsec-body *::after{padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;}
#media .apfbf-xsec-body .lazyload,
#media .apfbf-xsec-body .lazyloading{opacity: 0;
  transition: opacity 0.6s ease-out;}
#media .apfbf-xsec-body .lazyloaded{opacity: 1;}
#media .apfbf-xsec-body .card-image img{opacity: 0;
  transition: opacity 0.6s ease-in-out;
  will-change: opacity;}
#media .apfbf-xsec-body .card-image img.lazyloaded{opacity: 1;}
#media .apfbf-xsec-body .container{max-width: 80rem;
  width: 100%;
  padding: 4rem 2rem;
  margin: 0 auto;}
#media .apfbf-xsec-body .main .container{display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;}
#media .apfbf-xsec-body .main .card{color: #252a32;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);}
#media .apfbf-xsec-body .main .card-image{position: relative;
  display: block;
  width: 100%;
  padding-top: 70%;
  background: #ffffff;}
#media .apfbf-xsec-body .main .card-image img{display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;}
@media only screen and (max-width: 600px){
#media .apfbf-xsec-body .main .container{display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;}
}
#media .apfbf-xsec-body .fancybox-is-open .fancybox-bg{opacity: 1;
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);}
#media .apfbf-xsec-body .fancybox-caption{background: linear-gradient(0deg, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.15) 65%, rgba(255, 255, 255, 0.075) 75.5%, rgba(255, 255, 255, 0.037) 82.85%, rgba(255, 255, 255, 0.019) 88%, transparent);
  bottom: 0;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  left: 0;
  line-height: 1.5;
  padding: 75px 44px 25px;
  pointer-events: none;
  right: 0;
  text-align: center;
  z-index: 99996;}
#media .apfbf-xsec-body .fancybox-bg{background: #ffffff;
  opacity: 0;
  transition-duration: inherit;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.47, 0, .74, .71);}
#media .apfbf-xsec-body .fancybox-button{background: rgb(0 0 0);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  height: 44px;
  margin: 0;
  padding: 10px;
  position: relative;
  transition: color .2s;
  vertical-align: top;
  visibility: inherit;
  width: 44px;}
#media .apfbf-xsec-body .card{transform: scale(0.8);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease-out;
    will-change: transform, opacity;}
#media .apfbf-xsec-body .card.reveal{transform: scale(1);
    opacity: 1;}

/* =====================================================================================================================
   Step 71 (owner, 6 Nov 2026): the Related Resources tables of the single page, softer — like the page's cards:
   light header row, thin coloured line at the start of each row, outlined buttons (white, coloured border, dark text).
   Last in this file so it wins over the copied page styles above. Only inside #related-resources.
   ===================================================================================================================== */
#related-resources .apfbf-xsec-body .special-sessions-table .table{
  border:1px solid #E6EAF0; border-radius:14px; box-shadow:0 8px 22px -18px rgba(16,32,55,.32); background:#fff;
}
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header{ background:#F5F7FA; box-shadow:inset 0 -1px 0 #E6EAF0; }
#related-resources .apfbf-xsec-body .special-sessions-table .row.m-header .cell{
  color:#56677A; font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding-top:15px; padding-bottom:15px; border-left-color:#E6EAF0;
}
#related-resources .apfbf-xsec-body .special-sessions-table .row:nth-of-type(odd){ background:#FBFCFD; }
#related-resources .apfbf-xsec-body .special-sessions-table .row:hover{ background:#F5F7FA; }
#related-resources .apfbf-xsec-body .special-sessions-table .cell{ padding-top:18px; padding-bottom:18px; vertical-align:middle; }
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell{ padding-left:24px; }
#related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell::before{ width:3px; top:18px; bottom:18px; }
#related-resources .apfbf-xsec-body .session-title{ margin-bottom:0; font-size:16.5px; font-weight:600; line-height:1.45; color:#122A4A; }
#related-resources .apfbf-xsec-body .link-pill.zoom{
  min-width:0; padding:9px 18px; border:1.5px solid var(--session-color, #1D416A); border-radius:999px; background:#fff;
  color:#122A4A; font-size:13.5px; font-weight:600; letter-spacing:0; text-transform:none; white-space:nowrap; box-shadow:none;
  transition:background-color .2s ease, border-color .2s ease;
}
#related-resources .apfbf-xsec-body .link-pill.zoom:hover{ transform:none; background:#F5F7FA; color:#122A4A; }
#related-resources .apfbf-xsec-body .link-pill.zoom:focus-visible{ outline:3px solid #A65B00; outline-offset:2px; }
@media screen and (max-width: 580px){
  #related-resources .apfbf-xsec-body .special-sessions-table .row{ border:1px solid #E6EAF0; border-radius:14px; box-shadow:0 8px 22px -18px rgba(16,32,55,.32); }
  #related-resources .apfbf-xsec-body .special-sessions-table .cell.session-title-cell::before{ width:3px; }
  #related-resources .apfbf-xsec-body .link-pill.zoom{ width:100%; }
}

/* Step 72: the Agenda / Information note PDF buttons right under the programme card */
#programme .apfbf-prog-downloads{ margin:28px auto 0; padding:0; }
#programme .apfbf-prog-downloads .cta-primary .cta-tag{ background:rgba(255,255,255,.18); color:#fff; }

/* ---------- Step 73: the 2025 Forum on its own band, across the whole white page area ---------- */
.apfbf-band{ position:relative; margin:96px -6vw 0; padding:84px 6vw 76px;
  background:linear-gradient(180deg, #F2F6FA 0%, #EAF0F7 100%); }
/* DISABLED 2026-11-07 (Step 79): the coloured line on top of the band, removed (owner). To show it again, take it out of this comment:
.apfbf-band::before{ content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:linear-gradient(90deg, #F89E24 0 25%, #00ADD8 25% 50%, #3EAD49 50% 75%, #DF1A82 75%); }
END DISABLED */
@media only screen and (max-width:1800px){ .apfbf-band{ margin-left:-4vw; margin-right:-4vw; padding-left:4vw; padding-right:4vw; } }
@media only screen and (max-width:1200px){ .apfbf-band{ margin-left:-2vw; margin-right:-2vw; padding-left:2vw; padding-right:2vw; } }
@media only screen and (max-width:768px){ .apfbf-band{ margin:72px -30px 0; padding:60px 30px 56px; } }
.apfbf-band--2025 .home-2025{ margin:0 auto !important; }
.apfbf-band--2025 .home-2025-body{ background:#fff; box-shadow:0 14px 34px -24px rgba(16,32,55,.4); border:1px solid #E4E9F0; }

/* ---------- Step 80 (7 Nov 2026, owner): look of the single page ---------- */
/* 1. more space between the hero and "Topics of Discussion" */
body .home-topics{ margin-top:112px !important; }
/* 2. the key speaker's title and organization larger in the hero */
body .apfbf-top-band .apfbf-spot-title{ font-size:15px !important; line-height:1.45 !important; }
body .apfbf-top-band .apfbf-spot-org{ font-size:14.5px !important; line-height:1.4 !important; }
/* 3. no decorative drawings / dotted grid behind the About cards (parallax.css and event-about.css draw them on
      .parallax-overview::before / ::after; those files also serve the other pages, so they stay as they are) */
#m-parallax .parallax-overview::before,
#m-parallax .parallax-overview::after{ display:none !important; content:none !important; }
/* 4. About texts darker, and the cards never left half-faded by their scroll animation */
#m-parallax .event-about .about-text, .event-about .about-objectives li, .event-about .about-card p{ color:#1f2a37 !important; }
.event-about .about-card.animate-in{ opacity:1 !important; }
/* 5. Objectives: 4 per row (4 + 3, centred) instead of 3 + 3 + 1 */
.event-about .about-objectives{ max-width:1180px; gap:14px; }
.event-about .about-objectives li{ flex:0 1 calc((100% - 42px) / 4); padding:20px 18px 18px; }
@media (max-width:1100px){ .event-about .about-objectives li{ flex-basis:calc((100% - 14px) / 2); } }
@media (max-width:640px){ .event-about .about-objectives li{ flex-basis:100%; } }
/* 6. one modern typeface for the whole English page: Inter (icon fonts keep theirs; the Arabic page keeps Noto Kufi Arabic) */
html[lang="en"] body, html[lang="en"] body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="icon-"]):not([class*=" icon-"]){
  font-family:"Inter", "Helvetica Neue", Arial, sans-serif !important;
}

/* ---------- Step 81 (7 Nov 2026, owner): every section the same width as the others (1168 px content, like Topics,
   the programme and the expandable sections); paragraphs keep a readable line (≈ 860 px) centred in the wider cards ---------- */
#m-parallax .event-about, .event-about.event-about--end{ max-width:1168px !important; margin-left:auto !important; margin-right:auto !important; padding-left:0 !important; padding-right:0 !important; }
.event-about .about-card{ max-width:none !important; width:100% !important; box-sizing:border-box; }
#m-parallax .event-about .about-text, .event-about.event-about--end .about-text{ max-width:860px !important; margin-left:auto !important; margin-right:auto !important; }
/* Correspondence: the four focal points in one row */
.event-about .about-contacts{ max-width:none !important; grid-template-columns:repeat(4, minmax(0, 1fr)) !important; }
@media (max-width:1100px){ .event-about .about-contacts{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width:640px){ .event-about .about-contacts{ grid-template-columns:minmax(0, 1fr) !important; } }
@media (max-width:1200px){ #m-parallax .event-about, .event-about.event-about--end{ padding-left:16px !important; padding-right:16px !important; } }
body #m-parallax #events-s{ padding-left:0 !important; padding-right:0 !important; }   /* Step 81: the About cards line up with the other sections */
