/* /css/pages/news/news-2026.css */
/**
 * News Frontend Styling - Best Practices 2026
 * Modern, accessible, performant news section
 */

/* ===== CSS CUSTOM PROPERTIES (Design Tokens) ===== */
:root {
  /* Colors - Visual Categories */
  --color-category-diary: #4A90E2;
  --color-category-concert: #D4AF37;
  --color-category-reflection: #8B5CF6;
  --color-category-msc: #E74C3C;
  --color-category-archive: #6B7280;

  /* Spacing System (8px base) */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Georgia', 'Cambria', 'Times New Roman', serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --text-3xl: clamp(2rem, 1.75rem + 1.25vw, 3rem);

  /* Elevations / Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== VISUAL CATEGORY BADGE ===== */
.news-card__category-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 10;

  display: inline-flex;
  align-items: center;

  padding: 0.5rem 1rem;
  background: var(--category-color, #10B981);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);

  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;

  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Badge hover effect */
.news-card:hover .news-card__category-badge {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ===== LATERAL STRIPE (Category Color) ===== */
.news-card {
  position: relative;
  border-left: 4px solid var(--category-color, #10B981);
}

/* ===== NEWS CARD ENHANCEMENTS ===== */
.news-card {
  list-style: none;
  border-radius: var(--radius-lg);
  background: #ffffff;
  overflow: hidden;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card:focus-within {
  outline: 2px solid var(--category-color, #10B981);
  outline-offset: 2px;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

/* LQIP (Low Quality Image Placeholder) */
.news-card__media .lqip {
  position: absolute;
  inset: 0;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 1;
}

.news-card__media img:not(.lqip) {
  position: relative;
  z-index: 2;
}

.news-card__content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.news-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;

  /* Limit to 2 lines with ellipsis */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-card__title a {
  color: #111827;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.news-card__title a:hover {
  color: var(--category-color, #10B981);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: #6b7280;
  font-family: var(--font-sans);
}

.news-card__meta time {
  font-variant-numeric: tabular-nums;
}

.news-card__excerpt {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: #4b5563;

  /* Limit to 3 lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.news-card__tags .tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: #f3f4f6;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 500;
  color: #6b7280;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.news-card__tags .tag:hover {
  background: var(--category-color, #10B981);
  color: #ffffff;
}

.news-card__cta {
  margin: var(--space-sm) 0 0 0;
}

.news-card__cta .link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;

  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--category-color, #10B981);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.news-card__cta .link-more::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.news-card__cta .link-more:hover {
  gap: 0.625rem;
}

.news-card__cta .link-more:hover::after {
  transform: translateX(4px);
}

/* ===== GRID LAYOUT ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  padding: 0;
  margin: var(--space-xl) 0;
  list-style: none;
}

/* Responsive grid */
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== ACCESSIBILITY ===== */
/* Focus visible for keyboard navigation */
.news-card a:focus-visible {
  outline: 2px solid var(--category-color, #10B981);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .news-card:hover {
    transform: none;
  }

  .news-card:hover .news-card__media img {
    transform: none;
  }
}

/* ===== PLACEHOLDER STATES ===== */
.news-card__media--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__media--placeholder::before {
  content: '📰';
  font-size: 3rem;
  opacity: 0.3;
}

/* ===== LOADING SKELETON ===== */
.news-card.is-loading {
  pointer-events: none;
}

.news-card.is-loading * {
  background: linear-gradient(
    90deg,
    #f3f4f6 0%,
    #e5e7eb 50%,
    #f3f4f6 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  color: transparent !important;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Card più pulite: massimo 6 etichette visibili (tutte restano nel dettaglio) */
.news-card__tags > *:nth-child(n+7) { display: none; }

/* /css/pages/news/news-base.css */
@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}:root{--_news-bg:var(--bg-color, #0b0b0b);--_news-panel:var(--panel-color, #121212);--_news-border:var(--border-color, #212121);--_news-text:var(--text-color, #e7e7e7);--_news-muted:var(--muted-color, #bdbdbd);--_news-muted-2:var(--muted-2-color, #9a9a9a);--_news-accent:var(--accent-color, #d4af37)}.news-page,.news-post-page{max-width:var(--container-max-width, 1400px);margin:0 auto;padding:0 clamp(1rem,3vw,2rem);color:var(--_news-text)}.news-post-page{padding-bottom:3rem}.news-hero{margin-bottom:2.5rem}.news-hero__title{margin:0 0 1rem}.news-hero__claim{margin:0 0 1.5rem}.news-hero--with-image{position:relative;overflow:hidden;border-radius:var(--radius-xl, 20px);border:1px solid rgba(212,175,55,.15);box-shadow:0 4px 20px rgba(0,0,0,.4),0 0 0 1px rgba(212,175,55,.1) inset;transition:all .4s cubic-bezier(.4,0,.2,1);min-height:350px}.news-hero--with-image:hover,.news-tab:hover{box-shadow:0 8px 30px rgba(0,0,0,.6),0 0 0 1px rgba(212,175,55,.2) inset,0 0 40px rgba(212,175,55,.1);transform:translateY(-2px)}.news-hero__media{display:block;line-height:0;position:relative}.news-hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1)0,rgba(0,0,0,.3) 100%);pointer-events:none}.news-hero__media img{width:100%;height:auto;display:block;filter:brightness(1) contrast(1.05);transition:transform .6s ease,filter .3s ease}.news-hero--with-image:hover .news-hero__media img{transform:scale(1.02);filter:brightness(.9) contrast(1.1)}.news-hero__text{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(2rem,5vw,4rem) clamp(1.5rem,4vw,3rem);z-index:2}@media (min-width:768px){.news-hero--with-image{min-height:400px}}@media (max-width:767px){.news-hero--with-image{min-height:300px}}.news-tabs{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:2rem;align-items:center}.news-tab{padding:.75rem 1.5rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:10px;color:rgba(255,255,255,.7);font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;text-decoration:none;font-size:.95rem}.news-tab:hover{background:rgba(212,175,55,.15);border-color:rgba(212,175,55,.5);color:#d4af37;box-shadow:0 4px 12px rgba(212,175,55,.15)}.news-tab.is-active{background:linear-gradient(135deg,#d4af37 0,#f0d478 100%);border-color:#d4af37;color:#0a0a0a;font-weight:700;box-shadow:0 6px 20px rgba(212,175,55,.3)}.news-tab:focus-visible{outline:2px solid var(--_news-accent);outline-offset:3px}.news-count{padding:.75rem 1.5rem;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:10px;color:rgba(255,255,255,.7);font-weight:600;font-size:.95rem}.news-layout{display:grid;grid-template-columns:1fr;gap:1rem;align-items:start}@media (min-width:1024px){.news-layout{grid-template-columns:2fr 1fr}}.news-grid{list-style:none;margin:0;padding:0;display:grid;gap:1rem;grid-template-columns:1fr}@media (min-width:640px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1280px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.news-card{list-style:none;opacity:0;animation:fadeInUp .5s ease forwards}.news-card:nth-child(1){animation-delay:.05s}.news-card:nth-child(2){animation-delay:.1s}.news-card:nth-child(3){animation-delay:.15s}.news-card:nth-child(4){animation-delay:.2s}.news-card:nth-child(5){animation-delay:.25s}.news-card:nth-child(6){animation-delay:.3s}.news-card__body{background:var(--_news-panel);border:1px solid var(--_news-border);border-radius:14px;overflow:hidden;transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;height:100%;display:flex;flex-direction:column}.news-card__body::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--_news-accent),transparent);opacity:0;transition:opacity .35s ease}.news-card__body:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.5),0 0 0 1px color-mix(in srgb,var(--_news-accent) 20%,transparent);border-color:color-mix(in srgb,var(--_news-border) 30%,var(--_news-accent) 70%)}.news-card__body:hover::before{opacity:1}.news-card__media{display:block;aspect-ratio:1.91/1;background:#0f0f0f;position:relative;overflow:hidden}.news-card__media img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .6s cubic-bezier(.4,0,.2,1),filter .3s ease}.news-card__body:hover .news-card__media img{transform:scale(1.08);filter:brightness(1.05)}.post-hero{position:relative}.news-card__media .lqip,.post-hero .lqip{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:blur(12px);transform:scale(1.05);opacity:1;transition:opacity .3s ease;z-index:0}.news-card__media img,.post-hero img{position:relative;z-index:1}.news-card__media .lqip.is-hidden,.post-hero .lqip.is-hidden{opacity:0}.news-card__media--placeholder{width:100%;height:100%;background:repeating-linear-gradient(45deg,#121212,#121212 12px,#161616 12px,#161616 24px)}.news-card__content{padding:1.1rem 1.2rem 1.2rem;flex:1;display:flex;flex-direction:column}.news-card__title{margin:0 0 .5rem;font-size:1.3rem;line-height:1.25;font-weight:600}.news-card__title a{color:var(--_news-text);text-decoration:none;transition:color .25s ease;display:block}.checkbox-label:hover span,.news-card__title a:hover,.post-content a,.tag:hover{color:var(--_news-accent)}.news-card__meta{color:var(--_news-muted-2);font-size:.9rem;margin-bottom:.5rem;font-weight:500}.news-card__reading{opacity:.9}.news-card__excerpt{margin:.4rem 0 .8rem;color:var(--_news-muted);line-height:1.6;flex:1}.news-card__tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.8rem}.tag{display:inline-block;background:color-mix(in srgb,var(--_news-accent) 12%,transparent);border:1px solid color-mix(in srgb,var(--_news-accent) 25%,transparent);border-radius:999px;padding:.2rem .65rem;font-size:.8rem;color:color-mix(in srgb,var(--_news-accent) 85%,white);font-weight:500;transition:all .25s ease;cursor:pointer;text-decoration:none}.tag:hover{background:color-mix(in srgb,var(--_news-accent) 20%,transparent);border-color:var(--_news-accent);transform:translateY(-1px)}.tag:active{transform:translateY(0)}.news-card__cta{margin:0}.link-more{color:var(--_news-accent);text-decoration:none;font-weight:600;transition:all .25s ease;display:inline-flex;align-items:center;gap:.3rem}.link-more::after{content:"→";transition:transform .25s ease}.link-more:hover{color:color-mix(in srgb,var(--_news-accent) 80%,white)}.link-more:hover::after{transform:translateX(3px)}.news-aside{position:sticky;top:1rem}.newsletter-card,.newsletter-card__form .input{color:var(--_news-text);border:1px solid var(--_news-border)}.newsletter-card{background:var(--_news-panel);border-radius:12px;padding:1rem}.newsletter-card__title{margin:0 0 .35rem;font-size:1.1rem}.newsletter-card__text{margin:0 0 .7rem;color:var(--_news-muted);font-size:.95rem}.newsletter-card__form{display:grid;grid-template-columns:1fr;gap:.5rem}.newsletter-card__form .input{background:#0e0e0e;border-radius:8px;padding:.5rem .6rem;font-size:.95rem}.newsletter-card__form .input::placeholder{color:var(--_news-muted-2)}.newsletter-preferences{display:flex;flex-direction:column;gap:.35rem;margin:.25rem 0}.checkbox-label{display:flex;align-items:center;gap:.4rem;font-size:.9rem;color:var(--_news-text);cursor:pointer;user-select:none}.checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:var(--_news-accent)}.newsletter-card__form .btn{border:1px solid var(--_news-accent);background:var(--_news-accent);color:#111;border-radius:8px;padding:.5rem .9rem;cursor:pointer;font-weight:600}.newsletter-card__form .btn:hover{filter:brightness(1.05)}.newsletter-card__feedback{font-size:.9rem;margin-top:.25rem;min-height:1.2rem}.news-empty{color:var(--_news-muted);padding:1rem 0}.post{max-width:860px;margin:0 auto}.post-header{margin-bottom:1rem}.post-kicker{color:var(--_news-accent);text-transform:uppercase;letter-spacing:.06em;font-size:.78rem;margin:0 0 .25rem}.post-title{font-size:2.2rem;line-height:1.12;margin:0 0 .35rem;color:var(--_news-text)}.post-meta{color:var(--_news-muted-2);font-size:.95rem;margin-bottom:.35rem}.post-excerpt{color:var(--_news-muted);margin:0 0 .8rem}.post-hero{margin:0 0 1rem;border-radius:12px;overflow:hidden;border:1px solid var(--_news-border);background:#0f0f0f}.post-gallery__item img,.post-hero img{width:100%;height:auto;display:block}.post-content{color:var(--_news-text);line-height:1.7}.post-content p{margin:.85rem 0}.post-content h2,.post-content h3{color:var(--_news-text);font-size:1.5rem;margin:1.2rem 0 .4rem}.post-content h3{font-size:1.25rem;margin:1rem 0 .3rem}.post-gallery{margin:2rem 0;padding-top:2rem;border-top:1px solid var(--_news-border)}.post-gallery__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem}.post-gallery__item{margin:0;overflow:hidden;border-radius:8px}.post-gallery__item img{height:160px;object-fit:contain;background:#111;transition:transform .2s}.post-gallery__item img:hover{transform:scale(1.03)}@media (max-width:600px){.post-gallery__grid{grid-template-columns:repeat(2,1fr)}.post-gallery__item img{height:120px}}.post-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin:1rem 0}.post-share{margin:1rem 0;color:var(--_news-muted)}.post-share a{color:var(--_news-accent);text-decoration:none}.post-share a:hover,.share-copy-btn:hover{text-decoration:underline}.share-copy-btn{background:0 0;border:0;padding:0;margin:0;font:inherit;color:var(--_news-accent);cursor:pointer}.share-copy-btn:disabled{opacity:.7;cursor:default;text-decoration:none}.link-back-wrap{margin:1.2rem 0 4rem}.link-back{color:var(--_news-muted);text-decoration:none}.link-back:hover{color:var(--_news-accent);text-decoration:underline}.news-tabs-more{position:relative;display:inline-block}.news-tab--more{background:#f5f5f5;border:1px solid #ddd;cursor:pointer;user-select:none}.news-tab--more:hover{background:#e8e8e8;border-color:var(--_news-accent)}.news-tags-dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.1);max-height:300px;overflow-y:auto;min-width:200px;z-index:100}.news-tag-option{display:block;width:100%;padding:.75rem 1rem;border:0;background:0 0;text-align:left;cursor:pointer;transition:background .2s;font-size:.95rem;color:var(--_news-text)}.news-tag-option:hover{background:#f5f5f5;color:var(--_news-accent)}.news-tag-option:not(:last-child){border-bottom:1px solid #f0f0f0}.news-search{margin-bottom:1.5rem;padding:0 1rem}.search-input-wrapper{position:relative;max-width:600px;margin:0 auto}.search-input{width:100%;padding:.875rem 3rem .875rem 1rem;border:2px solid #e0e0e0;border-radius:50px;font-size:1rem;transition:all .3s;font-family:inherit}.search-input:focus{outline:0;border-color:var(--_news-accent);box-shadow:0 0 0 3px rgba(212,175,55,.1)}.search-btn{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);background:0 0;border:0;padding:.5rem;cursor:pointer;color:#666;transition:color .3s;display:flex;align-items:center;justify-content:center}.search-btn:hover,.search-clear:hover{color:var(--_news-accent)}.search-active{margin-top:.75rem;padding:.5rem 1rem;background:#f5f5f5;border-left:3px solid var(--_news-accent);border-radius:4px;font-size:.95rem;text-align:center}.search-clear{margin-left:.5rem;color:#999;text-decoration:none;font-weight:700;padding:0 .25rem}@media (max-width:768px){.news-tags-dropdown{right:auto;left:0;width:100%;max-width:300px}.search-input{font-size:.95rem}}@media (max-width:420px){.post-title{font-size:1.8rem}.news-tab--more{font-size:.85rem}.search-input{padding:.75rem 2.5rem .75rem .875rem}}
/* /css/pages/news/news-modern.css */
/**
 * News Page - Modern Layout 2026
 * Premium Design with Engagement Funnel
 * NOTE: engagement-funnel.css is loaded separately by the controller
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --news-sidebar-width: 320px;
  --news-gap: 3rem;
  --news-card-gap: 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.news-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
  margin-bottom: 3rem;
}

.news-hero--with-image .news-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.news-hero--with-image .news-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: blur(4px) brightness(0.6);
}

.news-hero__text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Titolo unificato - eredita da .page-title in base.css */
.news-hero__title {
  margin: 0 0 1.5rem 0;
  text-shadow: 0 2px 30px rgba(212, 175, 55, 0.3);
  animation: heroFadeIn 0.8s ease-out;
}

.news-hero__claim {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  animation: heroFadeIn 1s ease-out 0.2s backwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   MAIN GRID LAYOUT
   ============================================ */
.news-content-wrapper {
  display: grid;
  grid-template-columns: var(--news-sidebar-width) 1fr;
  gap: var(--news-gap);
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  align-items: start;
}

/* ============================================
   SIDEBAR
   ============================================ */
.news-sidebar {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Premium scrollbar */
.news-sidebar::-webkit-scrollbar {
  width: 4px;
}

.news-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
}

.news-sidebar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.news-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

.sidebar-inner > * + * {
  margin-top: 2rem;
}

/* ============================================
   SIDEBAR WIDGETS (use engagement-funnel styles)
   ============================================ */
.sidebar-widget {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.sidebar-widget:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sidebar-widget-title,
.widget-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #d4af37;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.sidebar-widget-title svg,
.widget-title svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* ============================================
   SEARCH WIDGET
   ============================================ */
.search-widget {
  margin-bottom: 2rem;
}

.search-form {
  position: relative;
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.6);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.25rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #d4af37;
}

/* ============================================
   CATEGORY FILTERS
   ============================================ */
.category-filters-widget {
  /* Uses .sidebar-widget base styles */
}

.category-filters-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.category-filter-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.category-filter-item:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateX(4px);
}

.category-filter-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #d4af37;
  cursor: pointer;
}

.category-label {
  flex: 1;
  font-size: 0.9375rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-count {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  min-width: 32px;
  text-align: center;
}

.category-filter-item:hover .category-count {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
}

/* ============================================
   DATE FILTERS
   ============================================ */
.date-filters-widget {
  /* Uses .sidebar-widget base styles */
}

.date-filters-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.date-filter-group label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.date-filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-filter-select:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(0, 0, 0, 0.4);
}

.date-filter-select option {
  background: #1a1a1a;
  color: #fff;
  padding: 0.5rem;
}

/* ============================================
   ACTIVE FILTERS (CHIPS)
   ============================================ */
.active-filters-section {
  margin-bottom: 1.5rem;
}

.active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  color: #d4af37;
  font-size: 0.875rem;
  font-weight: 500;
  animation: chipFadeIn 0.3s ease;
}

@keyframes chipFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.filter-chip-remove {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.filter-chip-remove:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: rotate(90deg);
}

.clear-all-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: #d4af37;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear-all-filters-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   NEWSLETTER SIDEBAR WIDGET
   ============================================ */
.newsletter-sidebar-widget {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  border: 2px solid #d4af37;
  position: relative;
  overflow: hidden;
}

.newsletter-sidebar-widget::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.newsletter-form-sidebar {
  position: relative;
  z-index: 1;
}

.newsletter-sidebar-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.newsletter-sidebar-input:focus {
  outline: none;
  border-color: #d4af37;
  background: rgba(0, 0, 0, 0.4);
}

.newsletter-sidebar-preferences {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1rem 0;
}

.newsletter-sidebar-checkbox {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #fff;
}

.newsletter-sidebar-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #d4af37;
  cursor: pointer;
}

.newsletter-sidebar-submit {
  width: 100%;
  padding: 0.75rem;
  background: #d4af37;
  border: none;
  border-radius: 6px;
  color: #000;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-sidebar-submit:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

.newsletter-feedback {
  margin-top: 0.75rem;
  padding: 0.625rem;
  border-radius: 6px;
  font-size: 0.875rem;
  display: none;
}

.newsletter-feedback--success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.newsletter-feedback--error {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============================================
   MOST READ WIDGET (styling from engagement-funnel.css)
   ============================================ */
.sidebar-most-read {
  /* Inherits .sidebar-widget styles */
}

.most-read-rank-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1.125rem;
}

.most-read-rank-badge[data-rank="1"] {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.most-read-rank-badge[data-rank="2"] {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  filter: drop-shadow(0 0 6px rgba(192, 192, 192, 0.5));
}

.most-read-rank-badge[data-rank="3"] {
  background: linear-gradient(135deg, #cd7f32, #e8a87c);
  filter: drop-shadow(0 0 6px rgba(205, 127, 50, 0.5));
}

/* ============================================
   CROSS NAVIGATION WIDGET (MODERN)
   ============================================ */
.sidebar-cross-nav {
  /* Inherits .sidebar-widget styles */
}

.cross-nav-grid-modern {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cross-nav-card-modern {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cross-nav-card-modern:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.cross-nav-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.cross-nav-card-modern:hover .cross-nav-gradient {
  opacity: 1;
}

.cross-nav-content-modern {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.cross-nav-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cross-nav-title-modern {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cross-nav-desc-modern {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.news-main {
  min-width: 0; /* Fix grid overflow */
}

.news-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

#results-count {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ============================================
   NEWS GRID
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--news-card-gap);
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

/* ============================================
   NEWS CARD (preserve existing styles)
   ============================================ */
.news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: #d4af37;
}

.news-card.is-hidden {
  display: none;
}

.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.news-card__tag {
  padding: 0.25rem 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-card__title {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  line-height: 1.4;
  color: #fff;
  font-weight: 600;
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card__title a:hover {
  color: #d4af37;
}

.news-card__excerpt {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  flex: 1;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card__meta time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* ============================================
   PAGINATION
   ============================================ */
.pager {
  margin: 3rem 0;
}

.pager__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pager__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pager__link:hover:not(.is-disabled):not(.is-active) {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateY(-2px);
}

.pager__link.is-active {
  background: #d4af37;
  border-color: #d4af37;
  color: #000;
  font-weight: 600;
}

.pager__link.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pager__ellipsis {
  padding: 0 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   MOBILE FILTER TOGGLE
   ============================================ */
.mobile-filter-toggle {
  display: none; /* Shown only on mobile */
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: #d4af37;
  border: none;
  border-radius: 50px;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.6);
}

/* ============================================
   MOBILE FILTER MODAL
   ============================================ */
.mobile-filter-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-filter-header {
  position: sticky;
  top: 0;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.mobile-filter-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #d4af37;
  margin: 0;
}

.mobile-filter-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-filter-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #d4af37;
  transform: rotate(90deg);
}

.mobile-filter-body {
  padding: 2rem 1.5rem 6rem;
}

.mobile-filter-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  z-index: 1;
}

.mobile-filter-apply {
  flex: 1;
  padding: 1rem;
  background: #d4af37;
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-filter-apply:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --news-sidebar-width: 280px;
    --news-gap: 2rem;
  }
}

@media (max-width: 768px) {
  .news-content-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1rem 4rem;
  }

  .news-sidebar {
    display: none;
  }

  .mobile-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  /* Titoli responsive gestiti da .page-title e .page-claim in base.css */

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pager__link {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .news-hero {
    min-height: 300px;
  }

  .news-hero__text {
    padding: 3rem 1.5rem;
  }

  /* Titoli responsive gestiti da .page-title e .page-claim in base.css */

  .news-results-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .news-sidebar,
  .mobile-filter-toggle,
  .mobile-filter-modal,
  .pager {
    display: none !important;
  }

  .news-content-wrapper {
    grid-template-columns: 1fr;
  }
}

/* /css/pages/news/news-post-content.css */
:root{--_post-border:var(--border-color, #212121);--_post-muted:var(--muted-2-color, #9a9a9a);--_post-accent:var(--accent-color, #cba135)}.post-content{display:flow-root}.post-content h2,.post-content h3{clear:both}.post-figure{margin:2.2rem 0;padding:0}.post-figure>img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--_post-border);background:#0f0f0f;box-shadow:0 18px 40px -22px rgba(0,0,0,.85);cursor:zoom-in;transition:transform .45s cubic-bezier(.2,.7,.3,1),box-shadow .35s ease}.post-figure:hover>img{transform:translateY(-2px) scale(1.006);box-shadow:0 26px 52px -22px rgba(0,0,0,.95)}.post-figure figcaption{margin-top:.7rem;font-family:var(--font-ui, system-ui, sans-serif);font-size:.82rem;line-height:1.55;letter-spacing:.01em;color:var(--_post-muted)}.post-figure figcaption::before,.post-figure-row__caption::before{content:"";display:inline-block;width:1.3rem;height:1px;margin-right:.6rem;vertical-align:middle;background:var(--_post-accent);opacity:.75}.post-figure--full{width:100%}.post-figure--center{max-width:66%;margin-left:auto;margin-right:auto}.post-figure--center figcaption{text-align:center}.post-figure--left{float:left;width:42%;margin:.4rem 2rem 1.2rem 0}.post-figure--right{float:right;width:42%;margin:.4rem 0 1.2rem 2rem}.post-figure--left figcaption,.post-figure--right figcaption{font-size:.78rem}@media (min-width:1100px){.post-figure--full{width:calc(100% + 12rem);margin-left:-6rem}}.post-figure-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin:2.2rem 0;clear:both}.post-figure-row .post-figure{margin:0}.post-figure-row .post-figure>img{box-shadow:0 12px 26px -18px rgba(0,0,0,.85)}.post-figure-row__caption,.post-zoom figcaption{font-family:var(--font-ui, system-ui, sans-serif);text-align:center}.post-figure-row__caption{font-size:.82rem;color:var(--_post-muted);margin:-1.4rem 0 2.2rem}@media (max-width:640px){.post-figure--center,.post-figure--left,.post-figure--right{float:none;width:100%;max-width:100%;margin:1.6rem 0}.post-figure-row{grid-template-columns:repeat(2,1fr)}}@media (prefers-reduced-motion:reduce){.post-figure>img{transition:none}.post-figure:hover>img{transform:none}}.post-zoom{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:clamp(1rem,4vw,3rem);background:rgba(0,0,0,.93);backdrop-filter:blur(6px);cursor:zoom-out;opacity:0;transition:opacity .25s ease}.post-zoom.is-open{opacity:1}.post-zoom img{max-width:100%;max-height:82vh;width:auto;height:auto;object-fit:contain;border-radius:10px;box-shadow:0 30px 80px -30px #000}.post-zoom figcaption{font-size:.9rem;color:rgba(255,255,255,.8);max-width:60ch}.post-zoom__close{position:absolute;top:clamp(.75rem,2vw,1.5rem);right:clamp(.75rem,2vw,1.5rem);width:44px;height:44px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(0,0,0,.4);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer}.post-zoom__close:hover{border-color:var(--_post-accent);color:var(--_post-accent)}
/* /css/pages/news/news-sidebar-filters.css */
.news-content-wrapper{display:grid;grid-template-columns:280px 1fr;gap:2rem;max-width:1400px;margin:0 auto;padding:2rem 1.5rem}@media (max-width:1024px){.news-content-wrapper{grid-template-columns:1fr;gap:1.5rem}}.news-sidebar{position:relative;top:0;align-self:start;max-height:none;overflow:visible}@media (max-width:1024px){.news-sidebar{position:relative;top:0;max-height:none;overflow:visible}}.news-sidebar::-webkit-scrollbar{width:6px}.news-sidebar::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}.news-sidebar::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.news-sidebar::-webkit-scrollbar-thumb:hover{background:#9ca3af}.filter-section{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px rgba(0,0,0,.1);border:1px solid #e5e7eb;position:relative;z-index:1}.filter-section__title{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.filter-section__title svg{width:16px;height:16px;opacity:.7}.sidebar-search{position:relative}.sidebar-search__input{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.9375rem;transition:all .2s;background:#fff}.sidebar-search__input:focus{outline:0;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.sidebar-search__clear,.sidebar-search__icon{position:absolute;top:50%;transform:translateY(-50%);pointer-events:none}.sidebar-search__icon{left:.875rem;color:#9ca3af}.sidebar-search__clear{right:.75rem;background:#ef4444;color:#fff;border:0;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px;line-height:1;opacity:0;transition:opacity .2s}.sidebar-search__input:not(:placeholder-shown)~.sidebar-search__clear{opacity:1;pointer-events:all}.sidebar-search__clear:hover{background:#dc2626}.category-filters{display:flex;flex-direction:column;gap:.5rem}.category-filter{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border:2px solid transparent;border-radius:8px;background:#f9fafb;cursor:pointer;transition:all .2s;font-size:.9375rem;font-weight:500;color:#374151;text-align:left;width:100%;position:relative}.category-filter:hover{background:#f3f4f6;transform:translateX(2px)}.category-filter.is-active{background:#fff;border-color:var(--filter-color, #3b82f6);color:var(--filter-color, #3b82f6);font-weight:600;box-shadow:0 2px 8px rgba(0,0,0,.1)}.category-filter__indicator{width:12px;height:12px;border-radius:50%;background:var(--filter-color, #9ca3af);flex-shrink:0;transition:transform .2s}.category-filter.is-active .category-filter__indicator{transform:scale(1.3)}.category-filter__label{flex:1}.category-filter__count{font-size:.8125rem;color:#9ca3af;font-weight:600;background:#f3f4f6;padding:.25rem .5rem;border-radius:6px}.category-filter.is-active .category-filter__count{background:var(--filter-color, #3b82f6);color:#fff}.category-filter[data-category=all]{--filter-color:#6b7280}.category-filter[data-category=diary]{--filter-color:#4A90E2}.category-filter[data-category=reflection]{--filter-color:#8B5CF6}.category-filter[data-category=concert]{--filter-color:#D4AF37}.category-filter[data-category=msc]{--filter-color:#E74C3C}.category-filter[data-category=archive]{--filter-color:#6B7280}.date-filter-group,.date-filters{display:flex;flex-direction:column;gap:1rem}.date-filter-group{gap:.5rem}.date-filter-group__label{font-size:.8125rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.date-filter-group__select{width:100%;padding:.625rem 2rem .625rem .875rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.9375rem;background:#fff;cursor:pointer;transition:all .2s;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .875rem center;position:relative;z-index:10}.date-filter-group__select:hover{border-color:#d1d5db}.date-filter-group__select:focus{outline:0;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.active-filters{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.active-filters__title{font-size:.8125rem;font-weight:700;color:#1e40af;text-transform:uppercase;letter-spacing:.05em;margin:0 0 .75rem}.active-filters__list{display:flex;flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none}.active-filter-tag{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:#fff;border:1px solid #3b82f6;border-radius:6px;font-size:.8125rem;font-weight:500;color:#1e40af}.active-filter-tag__remove{background:0 0;border:0;color:#3b82f6;cursor:pointer;padding:0;margin:0;line-height:1;font-size:14px;transition:color .2s}.active-filter-tag__remove:hover{color:#ef4444}.clear-all-filters,.sidebar-toggle{font-weight:600;cursor:pointer;transition:all .2s}.clear-all-filters{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:2px solid #e5e7eb;border-radius:8px;font-size:.8125rem;color:#6b7280;margin-top:.75rem}.clear-all-filters:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.sidebar-toggle{display:none;width:100%;padding:1rem 1.5rem;background:linear-gradient(135deg,#3b82f6 0,#2563eb 100%);color:#fff;border:0;border-radius:12px;font-size:1rem;margin-bottom:1.5rem;box-shadow:0 4px 12px rgba(59,130,246,.3)}.sidebar-toggle:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(59,130,246,.4)}.sidebar-toggle svg{transition:transform .3s}.sidebar-toggle.is-open svg{transform:rotate(180deg)}@media (max-width:1024px){.sidebar-toggle{display:flex;align-items:center;justify-content:center;gap:.75rem}.news-sidebar{max-height:0;overflow:hidden;transition:max-height .3s ease-out}.news-sidebar.is-open{max-height:2000px;transition:max-height .5s ease-in}}.results-info{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;margin-bottom:1.5rem;border-bottom:2px solid #e5e7eb}.results-count{font-size:.9375rem;color:#6b7280}.results-count strong{color:#111827;font-weight:700}.view-toggle{display:flex;gap:.5rem;background:#f3f4f6;padding:.25rem;border-radius:8px}.view-toggle__btn{padding:.5rem;background:0 0;border:0;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .2s}.view-toggle__btn:hover{background:#fff;color:#374151}.view-toggle__btn.is-active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px rgba(0,0,0,.1)}
/* /css/pages/news/news-sidebar-polish.css */
.news-sidebar input[type=email],.news-sidebar input[type=search],.news-sidebar input[type=text],.news-sidebar select{width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(212,175,55,.25);border-radius:8px;color:#f0ece6;padding:.6rem .85rem;font-family:inherit;font-size:.9rem;transition:border-color .2s,background .2s}.news-sidebar input:focus,.news-sidebar select:focus{outline:0;border-color:#d4af37;background:rgba(212,175,55,.06)}.news-sidebar input::placeholder{color:#7d776c}.news-sidebar select option{background:#111;color:#f0ece6}.news-sidebar input[type=checkbox]{accent-color:#d4af37}.sidebar-newsletter .newsletter-desc{color:#9b958a;font-size:.85rem;line-height:1.55;margin:0 0 .9rem}.newsletter-sidebar-form{display:flex;flex-direction:column;gap:.75rem}.newsletter-preferences-compact{display:flex;gap:1rem}.newsletter-checkbox{display:inline-flex;align-items:center;gap:.45rem;font-size:.85rem;color:#d9d4cb;cursor:pointer}.newsletter-submit-btn{background:linear-gradient(135deg,#d4af37 0,#c9a135 100%);color:#0a0a0a;border:0;border-radius:8px;padding:.65rem 1rem;font-family:inherit;font-size:.9rem;font-weight:700;letter-spacing:.04em;cursor:pointer;transition:transform .15s,box-shadow .2s}.newsletter-submit-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(212,175,55,.3)}.newsletter-feedback{font-size:.8rem;color:#9b958a}.most-read-rank,.most-read-rank-badge{flex-shrink:0;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid rgba(212,175,55,.45);background:0 0!important;color:#d4af37;font-family:"Cormorant Garamond",Georgia,serif;font-size:1rem;font-weight:700;filter:none!important}.most-read-rank-badge[data-rank="1"],.most-read-rank[data-rank="1"]{background:rgba(212,175,55,.15)!important;border-color:#d4af37}.cross-nav-gradient{background:linear-gradient(160deg,rgba(212,175,55,.18)0,rgba(10,10,10,.2) 70%)!important}.cross-nav-card-modern{border:1px solid rgba(212,175,55,.2)}.cross-nav-card-modern:hover{border-color:rgba(212,175,55,.55)}.cross-nav-emoji{font-size:1.3rem;color:#d4af37}.cross-nav-emoji i{font-size:1.25rem}
/* /css/pages/news/news-ux-enhancements.css */
@keyframes fadeSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (min-width:769px){.news-tabs{position:sticky;top:0;z-index:999;background:linear-gradient(180deg,rgba(10,10,10,.98)0,rgba(10,10,10,.95) 100%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);padding:1.5rem 0 1rem;margin:0 0 3rem!important;border-bottom:2px solid rgba(212,175,55,.3);box-shadow:0 4px 20px rgba(0,0,0,.5)}.news-tabs.scrolled{box-shadow:0 8px 30px rgba(0,0,0,.7),0 0 0 1px rgba(212,175,55,.2)}}.news-mobile-select{display:none}@media (max-width:768px){.news-tabs{display:none!important}.news-mobile-select{display:block;position:sticky;top:0;z-index:999;width:100%;margin:0 0 1.5rem;font-size:1rem;font-weight:600;color:#f4eed4;background:linear-gradient(135deg,rgba(212,175,55,.15),rgba(212,175,55,.1));border:2px solid rgba(212,175,55,.4);border-radius:8px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:pointer;transition:all .3s ease;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding:.875rem 3rem .875rem 1rem}.news-mobile-select:focus{outline:0;border-color:#d4af37;box-shadow:0 0 0 3px rgba(212,175,55,.2)}.news-mobile-select option{background:#1a1a1a;color:#f4eed4;padding:.75rem}}.news-tab{position:relative;overflow:hidden;font-size:1.05rem!important;font-weight:600!important;padding:1rem 1.75rem!important;border-radius:8px!important;transition:all .3s ease!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important}.news-tab:hover{background:rgba(212,175,55,.1)!important;border-color:rgba(212,175,55,.3)!important;transform:translateY(-2px);box-shadow:0 4px 12px rgba(212,175,55,.15)}.news-tab.is-active{background:linear-gradient(135deg,rgba(212,175,55,.2),rgba(212,175,55,.15))!important;border-color:rgba(212,175,55,.5)!important;color:#f4eed4!important;font-weight:700!important;box-shadow:0 4px 16px rgba(212,175,55,.2)}.news-tab::before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);transition:left .5s ease}.news-tab:hover::before{left:100%}.news-count{background:linear-gradient(135deg,rgba(212,175,55,.1),rgba(212,175,55,.15))!important;border:1px solid rgba(212,175,55,.3)!important;color:#d4af37!important;font-weight:700}.news-card{transition:all .3s ease!important;border-radius:12px!important;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.02),rgba(212,175,55,.02))!important;border:1px solid rgba(255,255,255,.08)!important}.news-card[style*="display: none"]{display:none!important}.news-card:hover{transform:translateY(-6px)!important;box-shadow:0 12px 32px rgba(212,175,55,.15),0 0 0 1px rgba(212,175,55,.2)!important;border-color:rgba(212,175,55,.3)!important}.news-card__media{position:relative;overflow:hidden;border-radius:12px 12px 0 0}.news-card__media img{transition:transform .5s ease!important}.news-card:hover .news-card__media img{transform:scale(1.05)}.news-card__title{font-size:1.4rem!important;font-weight:700!important;line-height:1.3!important;margin-bottom:.75rem!important}.news-card__title a{color:#f4eed4!important;transition:color .3s ease!important}.news-card:hover .news-card__title a{color:#d4af37!important}.news-card__excerpt{color:rgba(255,255,255,.75)!important;line-height:1.6!important;margin-bottom:1rem!important}.news-card__tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.news-card__cta .link-more,.news-card__tags .tag{color:#d4af37!important;transition:all .3s ease!important}.news-card__tags .tag{background:rgba(212,175,55,.1)!important;border:1px solid rgba(212,175,55,.3)!important;padding:.25rem .75rem!important;border-radius:20px!important;font-size:.85rem!important;font-weight:600!important;cursor:pointer}.news-card__tags .tag:hover{background:rgba(212,175,55,.2)!important;border-color:rgba(212,175,55,.5)!important;transform:translateY(-2px)}.news-card__cta .link-more{font-weight:700!important;font-size:1rem!important;display:inline-flex;align-items:center;gap:.5rem}.news-card__cta .link-more:hover{color:#f0d478!important;transform:translateX(4px)}.news-card__cta .link-more::after{content:"→";font-size:1.2rem;transition:transform .3s ease}.news-card__cta .link-more:hover::after{transform:translateX(4px)}@media (prefers-reduced-motion:no-preference){.news-card{will-change:transform,opacity;animation:fadeSlideUp .5s ease-out forwards}.news-card:nth-child(1){animation-delay:.05s}.news-card:nth-child(2){animation-delay:.1s}.news-card:nth-child(3){animation-delay:.15s}.news-card:nth-child(4){animation-delay:.2s}.news-card:nth-child(5){animation-delay:.25s}.news-card:nth-child(6){animation-delay:.3s}}.news-empty{padding:4rem 2rem!important;text-align:center;font-size:1.1rem!important;font-style:italic;background:linear-gradient(135deg,rgba(255,255,255,.02),rgba(212,175,55,.03));border:1px solid rgba(212,175,55,.15);border-radius:12px;margin:2rem 0}.news-hero{margin-bottom:3rem!important;position:relative;overflow:hidden}.news-hero__media{transition:transform .5s ease}.news-hero:hover .news-hero__media{transform:scale(1.02)}.news-hero__claim{font-weight:500!important}.newsletter-card{background:linear-gradient(135deg,rgba(255,255,255,.03),rgba(212,175,55,.05))!important;border:2px solid rgba(212,175,55,.25)!important;box-shadow:0 8px 24px rgba(0,0,0,.3);transition:all .3s ease;border-radius:16px!important;padding:2rem!important}.newsletter-card:hover{border-color:rgba(212,175,55,.45)!important;box-shadow:0 12px 32px rgba(212,175,55,.2);transform:translateY(-4px)}.newsletter-card__title{color:#d4af37!important;font-size:1.5rem!important;font-weight:700!important;margin-bottom:1rem!important}.newsletter-card__text{color:rgba(255,255,255,.8)!important;line-height:1.6!important;margin-bottom:1.5rem!important}.newsletter-card__form .input{background:rgba(255,255,255,.05)!important;border:2px solid rgba(255,255,255,.1)!important;color:#f4eed4!important;padding:.875rem 1.25rem!important;border-radius:8px!important;transition:all .3s ease!important;font-size:1rem!important}.newsletter-card__form .input:focus{border-color:rgba(212,175,55,.5)!important;background:rgba(255,255,255,.08)!important;outline:0;box-shadow:0 0 0 3px rgba(212,175,55,.1)}.newsletter-card__form .btn{background:linear-gradient(135deg,#d4af37,#cba135)!important;border:2px solid #d4af37!important;color:#0a0a0a!important;font-weight:700!important;padding:.875rem 2rem!important;border-radius:8px!important;transition:all .3s ease!important;font-size:1.05rem!important;cursor:pointer}.newsletter-card__form .btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(212,175,55,.4);background:linear-gradient(135deg,#f0d478,#d4af37)!important}.newsletter-preferences{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0}.checkbox-label{display:flex;align-items:center;gap:.5rem;color:rgba(255,255,255,.85)!important;cursor:pointer;transition:color .3s ease}.checkbox-label:hover{color:#d4af37!important}.pager{margin-top:3rem!important;padding-top:2rem;border-top:1px solid rgba(212,175,55,.2)}.pager__link{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;color:rgba(255,255,255,.8)!important;padding:.625rem 1rem!important;border-radius:8px!important;transition:all .3s ease!important}.pager__link:hover:not(.is-disabled){background:rgba(212,175,55,.15)!important;border-color:rgba(212,175,55,.5)!important;color:#d4af37!important;transform:translateY(-2px)}.pager__link.is-active{background:linear-gradient(135deg,#d4af37,#f0d478)!important;border-color:#d4af37!important;color:#0a0a0a!important;font-weight:700!important}.pager__link.is-disabled{opacity:.4;cursor:not-allowed}.news-mobile-select:focus-visible,.news-tab:focus-visible,.pager__link:focus-visible{outline:3px solid #d4af37!important;outline-offset:4px}@media (prefers-reduced-motion:reduce){.news-card,.news-mobile-select,.news-tab,.news-tabs,.newsletter-card,.pager__link{transition-duration:.01ms!important;animation:none!important}.news-tab::before{display:none}}@media (prefers-contrast:high){.news-tabs{border-bottom-width:3px!important}.news-tab.is-active{border-width:2px!important}.news-mobile-select{border-width:3px!important}}
