/* SPRO blog/news category page styles. Scoped under .spro-news-page so it
   cannot leak into / clash with theme styles. Same brand palette as the
   other SPRO pages (kept independent so each page only loads what it needs). */

.spro-news-page{
  --spro-primary:#E92326;
  --spro-primary-dark:#C41E21;
  --spro-primary-deep:#5C1214;
  --spro-primary-soft:#FCEAEA;
  --spro-secondary:#875228;
  --spro-secondary-dark:#6B3F1F;
  --spro-secondary-soft:#F7ECE2;
  --spro-secondary-light:#B98B53;
  --spro-border:#E2E8F0;
  --spro-muted:#64748B;
  --spro-card:#FFFFFF;
  --spro-shadow-sm:0 8px 24px rgba(15,23,42,.06);
  --spro-shadow-md:0 16px 44px rgba(0,91,172,.12);

  font-family:'Inter','Be Vietnam Pro',Arial,sans-serif;
  line-height:1.55;
  color:#111827;
}
.spro-news-page *{box-sizing:border-box}
.spro-news-page h1,
.spro-news-page h2,
.spro-news-page h3{font-family:'Be Vietnam Pro','Inter',Arial,sans-serif}
.spro-news-page a{text-decoration:none;color:inherit}
.spro-news-page button,
.spro-news-page input{font-family:inherit}

.spro-news-page .breadcrumb{
  padding:18px 0 12px;font-size:13px;color:var(--spro-muted);display:flex;gap:8px;align-items:center;flex-wrap:wrap;
}
.spro-news-page .breadcrumb a{color:var(--spro-primary);font-weight:700}

.spro-news-page .section-title-single{margin: 0 0 16px;color: #000;font-size:clamp(24px,2.8vw,32px);font-weight:900;}
.spro-news-page .section-title-single span{color: var(--primary-color);}
.spro-news-page .title-line{width:120px;height:5px;border-radius:999px;background:linear-gradient(90deg,var(--spro-primary),var(--spro-secondary));margin:8px 0 18px}
.spro-news-page .section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:6px}

/* Hero */
.spro-news-page .news-hero{margin-bottom:28px}
.spro-news-page .news-hero-fallback{
  border-radius:26px;
  padding: 24px;
  border:1px solid var(--spro-border);
  background: linear-gradient(135deg, #FFFFFF, #e92326);
  box-shadow:var(--spro-shadow-sm);
}
.spro-news-page .news-hero-fallback h1{
  margin:0 0 14px;
  font-size: 32px;
  line-height:1.1;
  color: #000;
  letter-spacing:-1.2px;
  font-weight:900;
}
.spro-news-page .news-hero-fallback p{color: #000;font-size: 14px;margin:0 0 10px}
.spro-news-page .news-hero-count{font-weight:800;color:var(--spro-secondary-dark)}

/* Topics */
.spro-news-page .topics-section{margin-bottom:28px}
.spro-news-page .topic-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.spro-news-page .topic{
  border-radius:18px;
  padding:18px 12px;
  text-align:center;
  background:#fff;
  border:1px solid var(--spro-border);
  box-shadow:var(--spro-shadow-sm);
  transition:.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.spro-news-page .topic:hover,
.spro-news-page .topic.active{box-shadow:var(--spro-shadow-md);border-color:#F0C9CA}
.spro-news-page .topic div{font-size:30px;margin-bottom:8px}
.spro-news-page .topic h3{margin:0 0 4px;color: #000;font-size:14px;font-weight:900}
.spro-news-page .topic p{margin:0;color:var(--spro-muted);font-size:12px}

/* Featured */
.spro-news-page .featured-section{margin-bottom:28px}
.spro-news-page .featured-layout{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}
.spro-news-page .featured-main,
.spro-news-page .featured-side-card,
.spro-news-page .article-card,
.spro-news-page .sidebar-card{
  background:#fff;border:1px solid var(--spro-border);border-radius:22px;box-shadow:var(--spro-shadow-sm);overflow:hidden;transition:.2s;
}
.spro-news-page .featured-main:hover,
.spro-news-page .featured-side-card:hover,
.spro-news-page .article-card:hover{transform:translateY(-4px);box-shadow:var(--spro-shadow-md)}
.spro-news-page .featured-img{height:360px;display:block;position:relative;background:linear-gradient(135deg,var(--spro-primary),#F2A0A2)}
.spro-news-page .featured-img img{width:100%;height:100%;object-fit:cover;display:block}
.spro-news-page .article-label{
  position:absolute;top:16px;left:16px;padding:7px 11px;border-radius:999px;background:var(--spro-secondary);color:#fff;font-size:12px;font-weight:900;
}
.spro-news-page .featured-body{padding:22px}
.spro-news-page .meta{color:var(--spro-secondary);font-size:12px;font-weight:900;text-transform:uppercase;margin-bottom:8px}
.spro-news-page .featured-body h2{margin:0 0 10px;color:var(--spro-primary-deep);font-size:28px;line-height:1.25;font-weight:900;letter-spacing:-.6px}
.spro-news-page .featured-body p{margin:0 0 16px;color:var(--spro-muted)}
.spro-news-page .read-more{color:var(--spro-primary);font-weight:900}
.spro-news-page .featured-side{display:grid;gap:14px}
.spro-news-page .featured-side-card{display:grid;grid-template-columns:120px 1fr;min-height:120px}
.spro-news-page .side-img{display:block;background:linear-gradient(135deg,#FCEAEA,#fff);overflow:hidden}
.spro-news-page .side-img img{width:100%;height:100%;object-fit:cover;display:block}
.spro-news-page .side-body{padding:14px}
.spro-news-page .side-body h3{margin:0;color:var(--spro-primary-dark);font-size:14px;line-height:1.35;font-weight:900}

/* Content layout */
.spro-news-page .content-layout{display:grid;grid-template-columns:1fr 330px;gap:20px;align-items:start;margin-bottom:28px}
.spro-news-page .filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.spro-news-page .filter-tabs a{padding:10px 14px;border-radius:999px;background:#fff;border:1px solid var(--spro-border);color:#334155;font-size:13px;font-weight:900}
.spro-news-page .filter-tabs a.active{background:var(--spro-primary);color:#fff;border-color:var(--spro-primary)}

.spro-news-page .article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.spro-news-page .article-img{height:175px;display:block;background:linear-gradient(135deg,#FCEAEA,#fff);overflow:hidden}
.spro-news-page .article-img img{width:100%;height:100%;object-fit:cover;display:block}
.spro-news-page .article-body{padding:16px}
.spro-news-page .article-body h3{margin:0 0 8px;color: #000;font-size:16px;line-height:1.35;font-weight:900;min-height:44px}
.spro-news-page .article-body p{margin:0 0 12px;color:var(--spro-muted);font-size:13px;min-height:42px}
.spro-news-page .article-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--spro-muted);font-size:12px;font-weight:700}

/* Pagination (WP core the_posts_pagination markup) */
.spro-news-page .navigation.pagination{margin-top:20px;display:flex;justify-content:center}
.spro-news-page .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.spro-news-page .page-numbers{
  min-width:38px;height:38px;padding:0 10px;border-radius:10px;background:#fff;border:1px solid var(--spro-border);
  display:flex;align-items:center;justify-content:center;font-weight:800;color:#334155;
}
.spro-news-page .page-numbers.current{background:var(--spro-primary);color:#fff;border-color:var(--spro-primary)}

/* Sidebar */
.spro-news-page .sidebar{display:grid;gap:16px;position:sticky;top:24px}
.spro-news-page .sidebar-card{padding:18px}
.spro-news-page .sidebar-card h3{margin:0 0 12px;color: #000;font-size:20px;font-weight:900}
.spro-news-page .sidebar-list{display:grid;gap:12px}
.spro-news-page .sidebar-item{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center}
.spro-news-page .sidebar-thumb{height:56px;border-radius:12px;background:linear-gradient(135deg,#FCEAEA,#fff);overflow:hidden}
.spro-news-page .sidebar-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.spro-news-page .sidebar-item h4{margin:0;color:var(--spro-primary-dark);font-size:13px;line-height:1.35;font-weight:900}

.spro-news-page .newsletter{
  background:linear-gradient(135deg,var(--spro-primary-dark),var(--spro-primary));color:#fff;border-radius:22px;padding:20px;
}
.spro-news-page .newsletter h3{margin:0 0 8px;color:#fff;font-size:22px}
.spro-news-page .newsletter p{margin:0 0 14px;color:rgba(255,255,255,.85);font-size:13px}
.spro-news-page .newsletter input{width:100%;height:42px;border:0;border-radius:12px;padding:0 12px;margin-bottom:10px;outline:none}
.spro-news-page .btn{
  min-height:44px;padding:0 18px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;
  font-weight:900;border:0;cursor:pointer;transition:.2s;text-align:center;
}
.spro-news-page .btn:hover{transform:translateY(-2px)}
.spro-news-page .btn-orange{background:linear-gradient(135deg,var(--spro-secondary),var(--spro-secondary-light));color:#fff;box-shadow:0 14px 30px rgba(135,82,40,.24)}

/* Video / SEO blocks */
.spro-news-page .video-section{margin-bottom:28px}
.spro-news-page .seo-block{
  background:#fff;border:1px solid var(--spro-border);border-radius:22px;padding:26px;box-shadow:var(--spro-shadow-sm);color:#475569;margin-bottom:28px;
}
.spro-news-page .seo-block h2{margin:0 0 12px;color:var(--spro-primary-deep);font-size:26px;font-weight:900}
.spro-news-page .seo-block h3{color:var(--spro-primary-dark);margin-top:20px}

.spro-news-page .mobile-sticky{display:none}

@media(max-width:1100px){
  .spro-news-page .topic-grid{grid-template-columns:repeat(3,1fr)}
  .spro-news-page .featured-layout{grid-template-columns:1fr}
  .spro-news-page .content-layout{grid-template-columns:1fr}
  .spro-news-page .sidebar{position:relative;top:0;grid-template-columns:1fr 1fr}
  .spro-news-page .article-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:720px){
  .spro-news-page .news-hero-fallback{padding:22px;border-radius:22px}
  .spro-news-page .topic-grid{grid-template-columns:repeat(3,1fr);gap:10px}
  .spro-news-page .topic{padding:13px 8px}
  .spro-news-page .topic p{display:none}
  .spro-news-page .featured-img{height:220px}
  .spro-news-page .featured-body{padding:17px}
  .spro-news-page .featured-body h2{font-size:22px}
  .spro-news-page .featured-side-card{grid-template-columns:100px 1fr}
  .spro-news-page .article-grid{grid-template-columns: 1fr 1fr;}
  .spro-news-page .article-body h3,
  .spro-news-page .article-body p{min-height:auto}
  .spro-news-page .sidebar{grid-template-columns:1fr}
  .spro-news-page .seo-block{padding:20px}
  .spro-news-page .mobile-sticky{
    display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;z-index:99;
    border-top:1px solid var(--spro-border);box-shadow:0 -12px 30px rgba(15,23,42,.14);
  }
  .spro-news-page .mobile-sticky a{padding:13px 6px;text-align:center;font-size:13px;font-weight:900;color:var(--spro-primary)}
  .spro-news-page .mobile-sticky a:nth-child(2){background:var(--spro-secondary);color:#fff}
  body.category{padding-bottom:62px}
  .spro-news-page .article-img img {
    aspect-ratio: 16/9;
    height: auto;
}

.spro-news-page .article-img {
    height: auto;
}

.spro-news-page .featured-main, .spro-news-page .featured-side-card, .spro-news-page .article-card, .spro-news-page .sidebar-card {
    border-radius: 16px;
}

.spro-news-page .article-body h3 {
    font-size: 14px;
}

.spro-news-page .article-body p {
    display: none;
}

.spro-news-page .read-more {
    display: none;
}
}

@media(max-width:360px){
  .spro-news-page .topic-grid{grid-template-columns:repeat(2,1fr)}
}

/* Toastify notifications (newsletter form). Rendered by Toastify as a
   direct child of <body>, outside .spro-news-page, so colors are
   hardcoded rather than via CSS custom properties. */
.spro-toast{
  border-radius:14px;padding:14px 18px;font-family:'Be Vietnam Pro','Inter',Arial,sans-serif;font-weight:700;font-size:14px;
  box-shadow:0 16px 40px rgba(15,23,42,.18);
}
.spro-toast-success{background:linear-gradient(135deg,#16A34A,#22C55E)}
.spro-toast-error{background:linear-gradient(135deg,#E92326,#C41E21)}
