:root{--primary: #1e40af;--primary-hover: #1d4ed8;--primary-light: #eff6ff;--text-main: #1f2937;--text-muted: #4b5563;--bg-main: #f8fafc;--bg-card: #ffffff;--border: #e2e8f0;--radius: 10px;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-hover: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--group-adi-bg: #dbeafe;--group-adi-text: #1e40af;--group-pente-bg: #f3e8ff;--group-pente-text: #6b21a8;--group-evan-bg: #dcfce7;--group-evan-text: #166534;--cat-notizie-bg: #e0f2fe;--cat-notizie-text: #0369a1;--cat-studi-bg: #fef3c7;--cat-studi-text: #92400e;--cat-eventi-bg: #fce7f3;--cat-eventi-text: #9d174d;--cat-media-bg: #ede9fe;--cat-media-text: #5b21b6}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--bg-main);color:var(--text-main);line-height:1.5;-webkit-font-smoothing:antialiased}.app-container{max-width:1100px;margin:0 auto;padding:1rem;min-height:100vh;display:flex;flex-direction:column}.app-header{background:#fff;border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.header-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.brand-title{font-size:1.6rem;font-weight:700;color:var(--primary);display:flex;align-items:center;gap:.5rem;text-decoration:none}.brand-subtitle{font-size:.95rem;color:var(--text-muted);margin-top:.25rem}.badge-staging{background:#fef08a;color:#854d0e;font-size:.75rem;font-weight:600;padding:.2rem .5rem;border-radius:9999px;text-transform:uppercase}.nav-tabs{display:flex;gap:.5rem;border-bottom:1px solid var(--border);padding-bottom:.75rem;margin-bottom:1rem;overflow-x:auto}.nav-tab{background:transparent;border:none;font-family:inherit;font-size:.95rem;font-weight:600;color:var(--text-muted);padding:.5rem 1rem;border-radius:8px;cursor:pointer;transition:all .15s ease-in-out;white-space:nowrap}.nav-tab:hover{background:#f1f5f9;color:var(--text-main)}.nav-tab.active{background:var(--primary-light);color:var(--primary)}.controls-bar{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}@media(min-width:640px){.controls-bar{flex-direction:row;align-items:center}}.search-box{flex:1;position:relative}.search-input{width:100%;padding:.65rem 1rem .65rem 2.25rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem;background:#fff;outline:none;transition:border-color .15s}.search-input:focus{border-color:var(--primary);box-shadow:0 0 0 2px #1e40af33}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.filter-select{padding:.65rem 1rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem;background:#fff;color:var(--text-main);outline:none;cursor:pointer}.filter-select:focus{border-color:var(--primary)}.week-banner{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem}.week-title{font-size:1.2rem;font-weight:600;color:var(--text-main)}.week-count{font-size:.9rem;color:var(--text-muted)}.category-section{margin-bottom:2.5rem}.category-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid var(--border)}.category-title{font-size:1.25rem;font-weight:700}.category-count{font-size:.85rem;font-weight:600;padding:.15rem .6rem;border-radius:9999px;background:#e2e8f0;color:#475569}.articles-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}@media(min-width:768px){.articles-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}.article-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .15s ease,box-shadow .15s ease;box-shadow:var(--shadow-sm)}.article-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.article-image-container{width:100%;height:180px;background:#f1f5f9;overflow:hidden}.article-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.article-card:hover .article-image{transform:scale(1.03)}.article-content{padding:1.25rem;display:flex;flex-direction:column;flex:1}.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.8rem}.badge{display:inline-block;padding:.2rem .55rem;border-radius:6px;font-weight:600;font-size:.75rem}.badge-group-adi{background:var(--group-adi-bg);color:var(--group-adi-text)}.badge-group-pentecostale{background:var(--group-pente-bg);color:var(--group-pente-text)}.badge-group-evangelico{background:var(--group-evan-bg);color:var(--group-evan-text)}.badge-category{background:#f1f5f9;color:var(--text-muted)}.article-source{font-weight:600;color:var(--text-main)}.article-date{color:var(--text-muted)}.article-title{font-size:1.1rem;font-weight:700;line-height:1.35;margin-bottom:.75rem;color:var(--text-main)}.article-title a{color:inherit;text-decoration:none}.article-title a:hover{color:var(--primary)}.article-summary{font-size:.9rem;color:var(--text-muted);line-height:1.5;margin-bottom:1.25rem;flex:1}.article-footer{margin-top:auto;padding-top:.75rem;border-top:1px solid var(--border)}.link-original{display:inline-flex;align-items:center;gap:.4rem;font-size:.875rem;font-weight:600;color:var(--primary);text-decoration:none;transition:color .15s}.link-original:hover{color:var(--primary-hover);text-decoration:underline}.archive-list{display:flex;flex-direction:column;gap:.75rem}.archive-item{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:all .15s ease}.archive-item:hover{border-color:var(--primary);background:var(--primary-light)}.archive-date{font-size:1.05rem;font-weight:600}.sources-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media(min-width:640px){.sources-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}.source-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;display:flex;flex-direction:column;gap:.5rem}.source-name{font-size:1.05rem;font-weight:600}.state-message{text-align:center;padding:3rem 1rem;color:var(--text-muted);font-size:1rem}.loading-spinner{display:inline-block;width:2rem;height:2rem;border:3px solid #cbd5e1;border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(360deg)}}.app-footer{margin-top:auto;padding:2rem 1rem 1rem;text-align:center;font-size:.825rem;color:#64748b;border-top:1px solid var(--border)}
