
.wdf-newsroom,
.wdf-newsroom *{box-sizing:border-box}
.wdf-newsroom{
  --deep:#081b2c;
  --navy:#0c2941;
  --navy2:#123d5d;
  --blue:#1d6288;
  --gold:#c49a50;
  --gold-soft:#f1e4ca;
  --ink:#17232e;
  --muted:#687783;
  --paper:#fff;
  --soft:#f3f6f8;
  --line:#dae3e8;
  --shadow:0 18px 46px rgba(8,27,44,.10);
  width:min(1360px,calc(100% - 36px));
  margin:38px auto 76px;
  color:var(--ink);
  font-family:inherit;
}
.wdf-newsroom a{text-decoration:none}
.wdf-newsroom .screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
  height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;
  word-wrap:normal!important
}

/* INTRO */
.wdf-news-hero{
  position:relative;overflow:hidden;
  min-height:300px;display:flex;align-items:center;
  padding:58px 64px 82px;border-radius:28px;
  background:
    radial-gradient(circle at 87% 18%,rgba(196,154,80,.17),transparent 24%),
    linear-gradient(135deg,var(--deep),var(--navy2));
  box-shadow:0 24px 58px rgba(8,27,44,.18);
  color:#fff
}
.wdf-news-hero:after{
  content:"WDF";
  position:absolute;right:24px;bottom:-68px;
  color:rgba(255,255,255,.035);
  font-size:205px;font-weight:900;line-height:1;
  letter-spacing:-13px
}
.wdf-news-hero-inner{position:relative;z-index:2;max-width:900px}
.wdf-news-kicker{
  display:block;margin-bottom:13px;color:#ebce95;
  font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase
}
.wdf-news-hero h1{
  margin:0 0 17px;color:#fff;
  font-size:clamp(42px,6vw,74px);line-height:.98;letter-spacing:-.05em
}
.wdf-news-hero p{
  max-width:830px;margin:0;color:rgba(255,255,255,.82);
  font-size:18px;line-height:1.7
}

/* SEARCH */
.wdf-news-tools{
  position:relative;z-index:6;
  margin:-31px 34px 43px;padding:18px;
  border:1px solid var(--line);border-radius:19px;
  background:#fff;box-shadow:var(--shadow)
}
.wdf-news-form{
  display:grid;
  grid-template-columns:minmax(320px,1fr) 205px 155px auto auto;
  gap:10px;align-items:center
}
.wdf-news-form label{margin:0}
.wdf-news-search{position:relative;display:block}
.wdf-news-search svg{
  position:absolute;left:15px;top:13px;width:20px;height:20px;
  fill:none;stroke:#6d7f8c;stroke-width:2;stroke-linecap:round
}
.wdf-news-form input,
.wdf-news-form select{
  width:100%;height:48px;border:1px solid #cbd7de;border-radius:11px;
  background:#fff;color:var(--ink);font:inherit;font-size:14px
}
.wdf-news-form input{padding:0 14px 0 44px}
.wdf-news-form select{padding:0 34px 0 12px}
.wdf-news-form input:focus,
.wdf-news-form select:focus{
  outline:3px solid rgba(29,98,136,.12);border-color:var(--blue)
}
.wdf-news-submit{
  height:48px;padding:0 22px;border:0;border-radius:11px;
  background:var(--navy);color:#fff;font-weight:900;cursor:pointer;
  transition:.18s ease
}
.wdf-news-submit:hover{background:var(--blue)}
.wdf-news-reset{
  display:grid;place-items:center;height:48px;padding:0 8px;
  color:#5d6c78;font-size:13px;font-weight:800
}
.wdf-news-result-count{
  margin-top:13px;padding-top:13px;border-top:1px solid #edf1f3;
  color:#7a8993;font-size:13px
}
.wdf-news-result-count strong{color:var(--navy)}

/* FEATURED STORY */
.wdf-news-featured{
  display:grid;grid-template-columns:minmax(0,1.28fr) minmax(380px,.72fr);
  min-height:590px;margin-bottom:30px;overflow:hidden;
  border:1px solid var(--line);border-radius:26px;
  background:#fff;box-shadow:var(--shadow)
}
.wdf-news-featured-media{
  position:relative;display:flex;align-items:center;justify-content:center;
  min-width:0;padding:26px;overflow:hidden;background:#edf2f5
}
.wdf-news-featured-media:before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.88),rgba(224,233,238,.82))
}
.wdf-news-featured-image{
  position:relative;z-index:1;
  display:block;width:100%!important;height:530px!important;max-width:100%;
  object-fit:contain!important;object-position:center!important;
  filter:drop-shadow(0 13px 21px rgba(8,27,44,.12))
}
.wdf-news-placeholder{
  position:relative;z-index:1;display:flex;flex-direction:column;
  align-items:center;justify-content:center;width:100%;height:100%;min-height:280px;
  background:linear-gradient(135deg,#edf3f5,#fbfcfd);color:var(--navy)
}
.wdf-news-placeholder strong{font-size:58px;line-height:1;letter-spacing:-4px}
.wdf-news-placeholder span{margin-top:7px;color:var(--gold);font-weight:800}
.wdf-news-featured-content{
  display:flex;flex-direction:column;justify-content:center;padding:46px
}
.wdf-news-featured-meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-bottom:19px
}
.wdf-news-latest{
  display:inline-flex;padding:7px 11px;border-radius:999px;
  background:var(--gold-soft);color:#735723;
  font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em
}
.wdf-news-featured-meta time{color:#7a8994;font-size:13px}
.wdf-news-featured h2{
  margin:0 0 18px;font-size:clamp(31px,3.4vw,47px);
  line-height:1.08;letter-spacing:-.03em
}
.wdf-news-featured h2 a{color:var(--navy)}
.wdf-news-featured-content>p{
  margin:0;color:var(--muted);font-size:16px;line-height:1.75
}
.wdf-news-featured-footer{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin-top:29px;padding-top:21px;border-top:1px solid #e8eef1
}
.wdf-news-category{color:var(--blue);font-size:12px;font-weight:900}
.wdf-news-read{color:var(--navy);font-size:14px;font-weight:900}
.wdf-news-read span,.wdf-news-card-read span{
  display:inline-block;transition:transform .18s ease
}
.wdf-news-read:hover span,.wdf-news-card-read:hover span{transform:translateX(4px)}

/* GRID */
.wdf-news-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px
}
.wdf-news-card{
  display:flex;flex-direction:column;overflow:hidden;
  border:1px solid var(--line);border-radius:20px;
  background:#fff;box-shadow:0 8px 28px rgba(8,27,44,.05);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.wdf-news-card:hover{
  transform:translateY(-4px);border-color:#c0d0d9;
  box-shadow:0 18px 40px rgba(8,27,44,.10)
}
.wdf-news-card-media{
  display:flex;align-items:center;justify-content:center;
  height:280px;padding:16px;overflow:hidden;background:#eff3f5
}
.wdf-news-card-image{
  display:block;width:100%!important;height:248px!important;max-width:100%;
  object-fit:contain!important;object-position:center!important;
  filter:drop-shadow(0 8px 15px rgba(8,27,44,.08));
  transition:transform .3s ease
}
.wdf-news-card:hover .wdf-news-card-image{transform:scale(1.018)}
.wdf-news-card-content{
  display:flex;flex:1;flex-direction:column;padding:23px
}
.wdf-news-card-meta{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:13px;color:#7b8993;font-size:11px
}
.wdf-news-card-meta span{color:var(--blue);font-weight:900;text-align:right}
.wdf-news-card h2{
  margin:0 0 12px;font-size:20px;line-height:1.25;letter-spacing:-.015em
}
.wdf-news-card h2 a{color:var(--navy)}
.wdf-news-card p{
  flex:1;margin:0 0 19px;color:var(--muted);font-size:14px;line-height:1.68
}
.wdf-news-card-read{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:auto;padding-top:15px;border-top:1px solid #edf1f3;
  color:var(--navy);font-size:13px;font-weight:900
}

/* PAGINATION */
.wdf-news-pagination{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:8px;margin-top:40px
}
.wdf-news-pagination .page-numbers{
  min-width:42px;height:42px;padding:0 13px;display:grid;place-items:center;
  border:1px solid var(--line);border-radius:10px;background:#fff;
  color:var(--navy);font-size:13px;font-weight:900
}
.wdf-news-pagination .page-numbers.current{
  background:var(--navy);border-color:var(--navy);color:#fff
}
.wdf-news-pagination .prev,
.wdf-news-pagination .next{min-width:auto}

/* EMPTY */
.wdf-news-empty{
  padding:58px 25px;text-align:center;border:1px dashed #c9d5dc;
  border-radius:22px;background:var(--soft)
}
.wdf-news-empty>span{font-size:40px;color:var(--blue)}
.wdf-news-empty h2{margin:8px 0;color:var(--navy)}
.wdf-news-empty p{color:var(--muted)}
.wdf-news-empty a{
  display:inline-block;margin-top:9px;padding:11px 17px;border-radius:10px;
  background:var(--navy);color:#fff;font-weight:900
}

@media(max-width:1120px){
  .wdf-news-form{
    grid-template-columns:minmax(280px,1fr) 180px 145px auto
  }
  .wdf-news-reset{grid-column:1/-1;height:auto;justify-self:start}
  .wdf-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wdf-news-featured{grid-template-columns:1fr 1fr}
}
@media(max-width:820px){
  .wdf-newsroom{width:min(100% - 24px,1360px);margin-top:24px}
  .wdf-news-hero{min-height:0;padding:42px 25px 66px;border-radius:22px}
  .wdf-news-hero p{font-size:16px}
  .wdf-news-tools{margin:-25px 12px 31px}
  .wdf-news-form{grid-template-columns:1fr 1fr}
  .wdf-news-search{grid-column:1/-1}
  .wdf-news-submit{grid-column:1/-1}
  .wdf-news-featured{grid-template-columns:1fr;min-height:0}
  .wdf-news-featured-media{min-height:385px}
  .wdf-news-featured-image{height:345px!important}
  .wdf-news-featured-content{padding:30px}
}
@media(max-width:610px){
  .wdf-news-form{grid-template-columns:1fr}
  .wdf-news-search,.wdf-news-submit,.wdf-news-reset{grid-column:auto}
  .wdf-news-grid{grid-template-columns:1fr}
  .wdf-news-card-media{height:285px}
  .wdf-news-card-image{height:253px!important}
  .wdf-news-featured-footer{align-items:flex-start;flex-direction:column}
}


/* WDF News 1.2 - desktop detached/full-viewport layout
   JavaScript moves the newsroom outside the legacy three-column home container.
   Mobile keeps the theme-native single-column flow. */
@media(min-width:821px){
  html.wdf-news-desktop-clean,
  html.wdf-news-desktop-clean body{
    overflow-x:hidden!important;
  }

  body.wdf-news-home-active .wdf-newsroom.wdf-news-desktop-detached{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    float:none!important;
    clear:both!important;

    width:calc(100vw - 48px)!important;
    max-width:1500px!important;
    margin:42px auto 78px!important;
    padding:0!important;
  }

  body.wdf-news-home-active .wdf-news-legacy-home-hidden{
    display:none!important;
  }

  body.wdf-news-home-active .wdf-news-hidden-legacy{
    display:none!important;
  }

  /* Remove breadcrumb/home-strip remnants only from WDF News homepage. */
  body.wdf-news-home-active .breadcrumbs,
  body.wdf-news-home-active .breadcrumb,
  body.wdf-news-home-active #breadcrumbs,
  body.wdf-news-home-active .breadcrumb-area,
  body.wdf-news-home-active .breadcrumb-wrapper,
  body.wdf-news-home-active .page-header:not(.site-header){
    display:none!important;
  }

  /* The first story can use more horizontal room on large screens. */
  body.wdf-news-home-active .wdf-news-featured{
    grid-template-columns:minmax(0,1.35fr) minmax(390px,.65fr);
  }

  body.wdf-news-home-active .wdf-news-featured-image{
    height:560px!important;
  }
}

@media(min-width:1500px){
  body.wdf-news-home-active .wdf-newsroom.wdf-news-desktop-detached{
    width:calc(100vw - 72px)!important;
  }
}
