/* Estudaê Bahia — Notícias & atividades v1.1.4. Complementa style.css sem alterá-lo. */
.news-home-section { background: linear-gradient(180deg, #fff 0%, #f6fafc 100%); }
.news-section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:30px; }
.news-section-heading .section-title { margin-bottom:8px; }
.news-section-heading .section-description { max-width:760px; }
.news-section-heading > .btn { flex:0 0 auto; }
.news-home-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:20px; }
.news-home-grid-single { grid-template-columns:1fr; }
.news-featured-card, .news-side-card, .news-list-card { background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease; }
.news-featured-card:hover, .news-side-card:hover, .news-list-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); }
.news-card-link { display:flex; flex-direction:column; height:100%; color:inherit; }
.news-card-link:hover, .news-side-card a:hover { color:inherit; }
.news-featured-cover { aspect-ratio: 16/8.6; background:linear-gradient(135deg,#0b4f8a,#17adad); overflow:hidden; }
.news-featured-cover img, .news-side-cover img, .news-list-cover img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .3s ease; }
.news-featured-card:hover img, .news-side-card:hover img, .news-list-card:hover img { transform:scale(1.025); }
.news-image-placeholder { display:grid; place-items:center; width:100%; height:100%; color:white; font-weight:900; letter-spacing:.15em; text-align:center; font-size:1.35rem; background:radial-gradient(circle at 75% 15%,rgba(255,255,255,.16),transparent 50%),linear-gradient(135deg,#0b4f8a,#159eaa); }
.news-featured-copy { padding:28px 30px 30px; display:block; }
.news-pill { display:inline-flex; padding:5px 12px; background:#e6f6ee; color:#156b48; border-radius:999px; font-size:.76rem; font-weight:850; line-height:1.4; }
.news-date { display:inline-block; color:#6b7583; font-size:.82rem; font-weight:650; }
.news-featured-copy > .news-date { margin-left:10px; }
.news-featured-copy h3 { margin:14px 0 10px; color:var(--blue-950); font-size:clamp(1.45rem,2.3vw,2.15rem); line-height:1.16; letter-spacing:-.025em; }
.news-featured-copy p { margin:0 0 18px; color:var(--muted); }
.news-read-more { color:var(--blue-900); font-weight:850; font-size:.9rem; }
.news-side-list { display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); gap:20px; }
.news-side-list-single { grid-template-rows:1fr; }
.news-side-card > a { display:grid; grid-template-columns:40% 1fr; height:100%; color:inherit; }
.news-side-cover { min-height:160px; overflow:hidden; background:#0b4f8a; }
.news-side-copy { padding:21px 20px; display:flex; flex-direction:column; align-items:start; justify-content:center; gap:10px; }
.news-side-copy h3 { font-size:clamp(1rem,1.5vw,1.25rem); margin:0; line-height:1.3; color:var(--blue-950); }
.news-empty { padding:28px 32px; display:flex; gap:22px; align-items:center; flex-wrap:wrap; border:1px dashed #abcbde; border-radius:22px; background:#f4faff; }
.news-empty h2, .news-empty h3 { margin:0 0 5px; color:var(--blue-950); }
.news-empty p { margin:0; color:var(--muted); }
.news-empty-icon { width:54px; height:54px; border-radius:16px; background:#d8edf6; color:#0b4f8a; display:grid; place-items:center; font-size:1.8rem; flex:0 0 auto; }
.news-empty > div:nth-child(2) { flex:1; min-width:220px; }
.news-filter-list { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:32px; }
.news-filter-list a { display:inline-block; padding:9px 15px; border-radius:999px; border:1px solid var(--line); color:var(--blue-950); background:#fff; font-size:.89rem; font-weight:760; }
.news-filter-list a:hover, .news-filter-list a.is-active { border-color:var(--blue-900); color:#fff; background:var(--blue-900); }
.news-list-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.news-list-cover { aspect-ratio:16/10; overflow:hidden; }
.news-list-copy { display:flex; flex:1; flex-direction:column; gap:10px; padding:22px; }
.news-row-meta { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.news-list-copy h2 { color:var(--blue-950); font-size:1.24rem; line-height:1.28; margin:0; }
.news-list-copy p { color:var(--muted); margin:0 0 16px; }
.news-list-copy .news-read-more { margin-top:auto; }
.news-pagination { display:flex; justify-content:center; align-items:center; gap:24px; margin-top:32px; color:var(--muted); }
.news-pagination a { font-weight:800; }
.news-article { padding:46px 0 90px; background:#fff; }
.news-article-wrap { max-width:1000px; }
.news-article-top { max-width:850px; margin:0 auto 28px; }
.news-back { display:inline-block; margin-bottom:24px; color:var(--blue-900); font-weight:800; }
.news-article-top h1 { margin:19px 0 14px; color:var(--blue-950); font-size:clamp(2rem,4.2vw,3.5rem); line-height:1.08; letter-spacing:-.04em; }
.news-article-summary { color:#4e6074; margin:0; font-size:clamp(1.06rem,2vw,1.35rem); line-height:1.5; }
.news-article-credit { color:var(--muted); font-size:.9rem; font-weight:700; }
.news-article-hero { width:100%; margin:30px 0; overflow:hidden; border-radius:22px; background:#ecf4fa; }
.news-article-hero img { display:block; width:100%; max-height:540px; object-fit:cover; }
.news-article-body { max-width:800px; margin:36px auto; font-size:1.09rem; line-height:1.9; color:#27394e; overflow-wrap:anywhere; }
.news-article-body p { margin:0 0 1.3em; text-align:justify; }
.news-gallery { margin-top:50px; }
.news-gallery h2 { color:var(--blue-950); }
.news-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.news-gallery-grid a { display:block; aspect-ratio:4/3; overflow:hidden; border-radius:15px; background:#edf3f8; }
.news-gallery-grid img { width:100%; height:100%; object-fit:cover; }
.news-article-footer { max-width:800px; margin:45px auto 0; padding-top:30px; border-top:1px solid var(--line); display:flex; gap:12px; flex-wrap:wrap; }
.news-preview-alert { padding:12px 15px; border:1px solid #fedf89; background:#fffaeb; color:#946200; border-radius:10px; }
.news-editor-body { min-height:380px; line-height:1.75; }
.news-current-cover { display:block; width:min(320px,100%); max-height:190px; object-fit:cover; border-radius:12px; margin:7px 0; }
.news-admin-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:12px; }
.news-admin-gallery label { display:flex; flex-direction:column; gap:8px; font-size:.84rem; }
.news-admin-gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; }
.news-admin-gallery input[type="checkbox"] { margin-right:5px; }
.news-help-notice { padding:14px 16px; background:#f4f9ff; border-radius:12px; border:1px solid #d6e6f5; color:#354d65; font-size:.9rem; }
@media (max-width:1024px) {
  .news-home-grid { grid-template-columns:1fr; }
  .news-side-list { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; }
  .news-side-card > a { grid-template-columns:1fr; }
  .news-side-cover { height:160px; }
  .news-list-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .news-section-heading { align-items:flex-start; flex-direction:column; }
  .news-section-heading > .btn { width:100%; }
  .news-side-list, .news-list-grid { grid-template-columns:1fr; }
  .news-side-card > a { grid-template-columns:38% 1fr; }
  .news-side-cover { height:auto; min-height:155px; }
  .news-featured-copy { padding:22px; }
  .news-side-copy { padding:15px; }
  .news-featured-copy h3 { font-size:1.6rem; }
  .news-article { padding:35px 0 65px; }
  .news-article-body { font-size:1.02rem; line-height:1.8; }
  .news-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .news-empty { padding:22px; }
}
@media (max-width:420px) {
  .news-side-card > a { grid-template-columns:1fr; }
  .news-side-cover { height:160px; }
  .news-gallery-grid { grid-template-columns:1fr; }
}

/* Navegação adaptada após o novo item Notícias, inclusive em telas intermediárias. */
@media (min-width:861px) and (max-width:1150px) {
  .nav-toggle { display:block; }
  .main-nav { position:absolute; left:16px; right:16px; top:76px; display:none; align-items:stretch; flex-direction:column; gap:3px; padding:14px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:var(--shadow); }
  .main-nav.is-open { display:flex; }
  .main-nav a { padding:10px 12px; border-radius:9px; }
  .main-nav .nav-cta { text-align:center; }
}
