/* APRM HomeTest V2: restore original desktop composition while retaining
   AfCRA's tested mobile container and navigation foundations. */
@media (min-width:1181px) {
  body > header .menu { display:none !important; }
  body > header .links { display:flex !important; align-items:center; gap:15px; }
}
body > header .nav { height:96px; }
body > header .nav .wrap { display:flex; align-items:center; justify-content:space-between; gap:24px; }
body > header .links { margin-left:auto; }
body > header .links a { white-space:nowrap; font-size:14px; font-weight:750; }
body > header .links a:last-child { background:#183e70; color:#fff; border-radius:6px; padding:14px 18px; }
main .container.wrap { width:min(1370px,calc(100% - 48px)); max-width:1370px; margin-inline:auto; }
main .convener-strip, main .partner-strip { padding:16px 0; }
main .brand-strip-inner { grid-template-columns:170px minmax(0,1fr); gap:18px; }
main .brand-grid { display:grid; grid-template-columns:repeat(var(--brand-columns,4),minmax(0,1fr)); gap:0; align-items:center; }
main .brand-tile { width:auto; max-width:none; min-height:76px; border-left:1px solid #e0e7ef; }
main .brand-tile img { max-width:180px; height:62px; }
main .hero.aprm-migrated-hero { min-height:0; padding:28px 0 30px; display:block; background:linear-gradient(110deg,#fff 0%,#f8fafc 60%,#eaf1f6 100%); color:#172f4b; }
main .hero.aprm-migrated-hero::after { display:none; }
main .hero.aprm-migrated-hero .hero-inner { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(400px,.85fr); gap:clamp(24px,4vw,65px); align-items:center; width:min(1370px,calc(100% - 48px)); }
main .hero.aprm-migrated-hero h1 { color:#172f4b !important; font-family:Arial,Helvetica,sans-serif; font-weight:800; font-size:clamp(42px,4.25vw,73px); letter-spacing:-.035em; line-height:1.08; text-shadow:none !important; filter:none; margin:0 0 24px; }
main .hero.aprm-migrated-hero h1 sup { font-size:.45em; color:#32b8df; }
main .hero.aprm-migrated-hero .hero-theme { color:#172f4b !important; font-size:clamp(24px,2vw,32px); font-weight:800; line-height:1.4; text-shadow:none !important; margin:0 0 16px; }
main .hero.aprm-migrated-hero .hero-lead,
main .hero.aprm-migrated-hero .hero-subtitle { color:#40566e !important; opacity:1 !important; text-shadow:none !important; font-size:17px !important; line-height:1.8; }
main .hero.aprm-migrated-hero .hero-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
main .hero.aprm-migrated-hero .hero-actions .btn { width:auto; font-size:14px; white-space:normal; }
main .hero.aprm-migrated-hero .hero-actions .speaker-cta { font-size:20px; padding:18px 23px; }
main .hero.aprm-migrated-hero .countdown-prominent { padding:clamp(22px,2.5vw,38px); border-radius:18px; }
main .hero.aprm-migrated-hero #countdownTitle { color:#172f4b !important; font-size:clamp(24px,2vw,30px); line-height:1.3; }
main .hero.aprm-migrated-hero #countdownVenue { color:#40566e !important; opacity:1 !important; text-shadow:none !important; font-size:clamp(16px,1.4vw,21px); line-height:1.5; font-weight:650; }
main .hero.aprm-migrated-hero .timer { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
main .hero.aprm-migrated-hero .timer-item { min-width:0; }
main .hero.aprm-migrated-hero .timer-item strong { font-size:clamp(24px,2.4vw,43px); }
main .hero.aprm-migrated-hero .timer-item span { font-size:11px; }
@media(max-width:1180px) {
  body > header .links { display:none !important; }
  body > header .menu { display:block !important; margin-left:auto; }
}
@media(max-width:900px) {
  main .hero.aprm-migrated-hero .hero-inner { grid-template-columns:minmax(0,1fr); }
  main .hero.aprm-migrated-hero { padding:40px 0; }
  main .brand-strip-inner { grid-template-columns:minmax(0,1fr); }
  main .brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  main .brand-tile { border-left:0; }
}
@media(max-width:680px) {
  main .container.wrap, main .hero.aprm-migrated-hero .hero-inner { width:calc(100% - 32px); }
  main .hero.aprm-migrated-hero h1 { font-size:clamp(30px,8vw,40px); }
  main .hero.aprm-migrated-hero .hero-theme { font-size:clamp(22px,6vw,28px); }
  main .hero.aprm-migrated-hero .hero-actions .btn { width:100%; }
  main .hero.aprm-migrated-hero .hero-actions .speaker-cta { font-size:18px; }
  main .hero.aprm-migrated-hero .countdown-prominent { padding:18px; }
  main .hero.aprm-migrated-hero .timer-item strong { font-size:clamp(19px,5.5vw,29px); }
  main .brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* V2 revision: compact production-like hero and clock, no new stylesheet. */
@media(min-width:901px){
 main .hero.aprm-migrated-hero { min-height:0 !important; height:auto !important; padding:24px 0 28px !important; }
 main .hero.aprm-migrated-hero .hero-inner { min-height:0 !important; align-items:center !important; }
 main .hero.aprm-migrated-hero h1 { margin:0 0 22px !important; }
 main .hero.aprm-migrated-hero .hero-theme { margin:0 0 16px !important; }
 main .hero.aprm-migrated-hero .hero-actions { margin-top:24px !important; }
 main .hero.aprm-migrated-hero .countdown-prominent { padding:28px 32px !important; }
}
main .hero.aprm-migrated-hero #timer { display:flex !important; flex-wrap:nowrap !important; justify-content:flex-start; align-items:flex-start; gap:0 !important; width:100%; max-width:100%; margin:20px 0 0; }
main .hero.aprm-migrated-hero #timer .timer-item { position:relative; flex:0 1 auto; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; background:transparent !important; border:0 !important; box-shadow:none !important; border-radius:0 !important; padding:0 clamp(6px,1vw,12px) !important; min-width:0; }
main .hero.aprm-migrated-hero #timer .timer-item:first-child { padding-left:0 !important; }
main .hero.aprm-migrated-hero #timer .timer-item strong { color:#ff5722 !important; font-size:clamp(22px,2.5vw,43px); line-height:1.1; font-weight:800; }
main .hero.aprm-migrated-hero #timer .timer-item span { font-size:10px; color:#183e70; text-transform:uppercase; font-weight:800; margin-top:10px; }
main .hero.aprm-migrated-hero #timer .timer-item:not(:last-child)::after { content:":"; position:absolute; right:-5px; top:0; font-size:clamp(22px,2.5vw,43px); line-height:1.1; font-weight:800; color:#172f4b; }
@media(max-width:680px){
 main .hero.aprm-migrated-hero { min-height:0 !important; padding:28px 0 !important; }
 main .hero.aprm-migrated-hero #timer .timer-item { flex:1 1 0; padding:0 5px !important; }
 main .hero.aprm-migrated-hero #timer .timer-item strong { font-size:clamp(20px,6vw,30px); }
 main .hero.aprm-migrated-hero #timer .timer-item:not(:last-child)::after { font-size:clamp(20px,6vw,30px); }
}

/* Desktop gallery spacing */
@media (min-width: 901px) {
  main .photo-section.gallery-banner { padding-top: 180px; }
}

/* Allow mobile hero to expand and display countdown */
@media (max-width: 900px) {
  main .hero.aprm-migrated-hero { height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important; }
}

/* Keep navigation visible when scrolling */
body > header { position: sticky !important; top: 0; z-index: 1000; background: #ffffff; }
