/* alephnews-v3 — restul stilurilor (lazy loaded) */

/* ====== Layout general ====== */
.an3-page-title{font-size:1.6rem;margin:24px 0 16px;font-weight:800}
.an3-archive-title{font-size:2rem;margin:24px 0 16px;font-weight:900;text-transform:uppercase;border-left:6px solid #FE001A;padding-left:12px}
.an3-empty{padding:48px 0;text-align:center;color:#666}
.an3-grid-archive .an3-card{aspect-ratio:9/16}
@media(min-width:768px){.an3-grid-archive .an3-card{aspect-ratio:16/9}}
.an3-grid-archive{grid-template-columns:repeat(2,1fr);gap:14px}
@media(min-width:768px){.an3-grid-archive{grid-template-columns:repeat(3,1fr)}}

/* ====== Pagina de cautare (search.php) ====== */
.an3-search-page{padding-top:16px}
.an3-search-hero{margin:16px 0 28px;padding:24px;background:#f7fafc;border-radius:16px;border-left:6px solid #FE001A}
@media(min-width:768px){.an3-search-hero{padding:32px 28px;margin:24px 0 32px}}
.an3-search-eyebrow{margin:0 0 6px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#FE001A}
.an3-search-heading{margin:0;font-size:1.5rem;font-weight:900;line-height:1.25;color:#0a0a0a;word-break:break-word}
@media(min-width:768px){.an3-search-heading{font-size:2rem}}
.an3-search-heading .an3-search-query{color:#FE001A;font-weight:900}
.an3-search-count{margin:8px 0 0;font-size:.95rem;color:#4a5568;font-weight:600}
.an3-search-refine{margin-top:18px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;padding:4px 4px 4px 18px;max-width:520px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.an3-search-refine:focus-within{border-color:#FE001A;box-shadow:0 0 0 3px rgba(254,0,26,.12)}
.an3-search-refine input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px;color:#0a0a0a;padding:8px 0}
.an3-search-refine input::placeholder{color:#718096}
.an3-search-refine button{display:inline-flex;align-items:center;gap:6px;background:#FE001A;color:#fff;border:0;border-radius:9999px;padding:8px 16px;font-weight:700;font-size:14px;cursor:pointer;transition:background .15s ease;flex:0 0 auto}
.an3-search-refine button:hover{background:#d00016;color:#fff}
.an3-search-refine button svg{display:block}
.an3-search-refine button span{display:none}
@media(min-width:480px){.an3-search-refine button span{display:inline}}

/* Stare fara rezultate */
.an3-search-empty{text-align:center;padding:32px 16px 48px;max-width:680px;margin:0 auto}
.an3-search-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:88px;height:88px;border-radius:50%;background:#f7fafc;color:#718096;margin:0 auto 16px}
.an3-search-empty-title{font-size:1.25rem;font-weight:800;color:#0a0a0a;margin:0 0 16px;line-height:1.3}
@media(min-width:768px){.an3-search-empty-title{font-size:1.5rem}}
.an3-search-empty-tips{list-style:none;padding:0;margin:0 auto 24px;max-width:420px;color:#4a5568;text-align:left}
.an3-search-empty-tips li{position:relative;padding:6px 0 6px 20px;font-size:.95rem;line-height:1.5}
.an3-search-empty-tips li::before{content:"";position:absolute;left:4px;top:14px;width:6px;height:6px;border-radius:50%;background:#FE001A}
.an3-search-empty-cats{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0}
.an3-search-empty-cats-label{margin:0 0 12px;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#718096}
.an3-search-empty-cats-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.an3-search-empty-cats-list a{display:inline-block;padding:8px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:9999px;font-size:.875rem;font-weight:600;color:#1a202c;text-decoration:none;transition:border-color .15s ease,color .15s ease,background .15s ease}
.an3-search-empty-cats-list a:hover{border-color:#FE001A;color:#FE001A;background:#fff}

/* ====== Card large (MainPostCard.tsx — paritate 1:1) ====== */
.an3-card-main{border-radius:52px}
.an3-card-main .an3-card-body{padding:16px}
@media(min-width:768px){.an3-card-main .an3-card-body{width:45%;padding:32px 24px}}
@media(max-width:768px) and (orientation:landscape){.an3-card-main .an3-card-body{width:35%}}
.an3-card-main .an3-card-title{font-size:1.875rem;line-height:1.22;-webkit-line-clamp:5}
@media(min-width:768px){.an3-card-main .an3-card-title{font-size:2.25rem;line-height:1.15;-webkit-line-clamp:6}}
.an3-card-main .an3-keyword{font-size:1rem;padding:2px 12px}
@media(min-width:768px){.an3-card-main .an3-keyword{font-size:.875rem}}
@media(max-width:768px) and (orientation:landscape){.an3-card-main .an3-keyword{font-size:1.4rem;padding:2px 14px}}
/* Centrare verticală a footer-ului pe desktop pentru parity cu MainPostCard */
@media(min-width:768px){.an3-card-main .an3-card-footer{margin:auto 0;justify-content:center}}

/* ====== Mobile inline rectangles (paritate Home.tsx ~568-611) ====== */
.an3-mobile-rect{display:block;margin:24px 0;text-align:center}
.an3-mobile-rect img{max-width:100%;height:auto;display:inline-block}
.an3-mobile-rect iframe{max-width:100%;display:block;margin:0 auto}
@media(min-width:768px){.an3-mobile-rect{display:none!important}}

/* ====== Pagination WP ====== */
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;margin:-1px;padding:0;border:0;white-space:nowrap;word-wrap:normal}
.pagination,.nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:32px 0}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:8px;border:1px solid #ddd;color:#0a0a0a;font-weight:700;text-decoration:none}
.page-numbers.current,.page-numbers:hover{background:#FE001A;color:#fff;border-color:#FE001A}

/* ====== Single article — paritate cu Post.tsx (React) ====== */
.an3-article-page{padding:24px 0 48px}
.an3-article-container{max-width:1200px;margin:0 auto;padding:0 16px}
@media(min-width:768px){.an3-article-container{padding:0 24px}}

/* Header (badge + titlu + meta) */
.an3-article-header{text-align:center;margin:0 0 24px}
.an3-cat-badge{display:inline-block;background:#FE001A;color:#fff;font-weight:700;font-size:.875rem;text-transform:uppercase;padding:4px 12px;border-radius:8px;text-decoration:none;letter-spacing:.02em}
.an3-cat-badge:hover{color:#fff;background:#d00016}
.an3-cat-badge-emisiune{text-transform:none;letter-spacing:normal;max-width:100%;text-align:center;word-break:break-word}
.an3-article-title-main{font-size:1.6rem;font-weight:900;line-height:1.18;color:#000;margin:14px 0 18px}
@media(min-width:768px){.an3-article-title-main{font-size:2.25rem}}
@media(min-width:1100px){.an3-article-title-main{font-size:3rem}}

.an3-article-meta-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 14px;margin:0;font-size:.875rem;color:#374151}
.an3-article-meta-author{display:inline-flex;align-items:center;gap:6px;font-weight:500}
.an3-article-meta-author .an3-meta-sep{color:#374151;font-weight:500}
.an3-article-meta-author .an3-author-name{color:#FE001A;font-weight:700;text-decoration:none}
.an3-article-meta-author .an3-author-name:hover{text-decoration:underline}
.an3-article-meta-date{color:#374151}
.an3-article-meta-row .an3-meta-spacer{display:inline-block;width:16px;height:1px}
.an3-article-meta-row .an3-meta-views{display:inline-flex;align-items:center;gap:4px;color:#000;font-weight:700}
.an3-article-meta-row .an3-meta-views svg{color:#FE001A;width:16px;height:16px;display:block}

/* Share row (folosit in header si la final) */
.an3-share-row{display:inline-flex;flex-wrap:wrap;gap:2px;align-items:center}
.an3-share-row a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:#4a5568;border-radius:6px;background:transparent;border:0;transition:color .15s ease}
.an3-share-row a:hover{color:#FE001A;background:transparent}
.an3-share-row svg{width:16px;height:16px;display:block}
.an3-share-bottom{max-width:800px;margin:32px auto 16px;display:flex;justify-content:center}

/* Hero row: media (16:9) + reclama 300px (lg+) */
.an3-hero-row{display:flex;flex-direction:column;gap:24px;margin:0 0 32px;align-items:stretch}
@media(min-width:992px){.an3-hero-row{flex-direction:row;align-items:flex-start;gap:32px}}
.an3-hero-media{flex:1 1 auto;min-width:0}
.an3-hero-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#000;margin:0}
.an3-hero-frame img,.an3-hero-frame video{width:100%;height:100%;object-fit:cover;display:block}
.an3-hero-frame figcaption{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.55);color:#fff;font-size:.85rem;padding:6px 10px}
.an3-hero-aside{display:none}
@media(min-width:992px){.an3-hero-aside{display:block;width:300px;flex:0 0 300px}}

/* Body — sondaj + content + tags */
.an3-article-body{max-width:800px;margin:0 auto}

/* Sondaj (paritate cu React Sondaj.tsx) */
.an3-sondaj-wrap{margin:0 0 24px}
.an3-sondaj{background:transparent;padding:0;width:100%;display:flex;flex-direction:column;align-items:stretch}
.an3-sondaj .an3-sondaj-target{width:100%;min-height:200px}
.an3-sondaj .an3-sondaj-target>*{max-width:100%}
.an3-sondaj-iframe{display:block;width:100%;border:0;background:transparent}

/* Continut articol (paritate cu sx-ul din React) */
.an3-article-content{max-width:800px;margin:0 auto;color:#171923;font-size:17px;line-height:1.75}
@media(min-width:768px){.an3-article-content{font-size:18px}}
.an3-article-content p{margin:0 0 1.1em}
.an3-article-content ul,.an3-article-content ol{margin:0 0 1em;padding-left:24px}
.an3-article-content ul{list-style-type:disc}
.an3-article-content ul li::marker{color:#FE001A;font-size:1.3em;font-weight:900}
.an3-article-content ul li{font-weight:700}
.an3-article-content ul li p{margin:0}
.an3-article-content li{margin-bottom:4px;line-height:1.6}
.an3-article-content h1,.an3-article-content h2,.an3-article-content h3,.an3-article-content h4,.an3-article-content h5,.an3-article-content h6{margin:1.6em 0 .6em;font-weight:700;line-height:1.3;color:#171923}
.an3-article-content h1{font-size:1.6rem}
.an3-article-content h2{font-size:1.4rem}
.an3-article-content h3{font-size:1.25rem}
.an3-article-content h4{font-size:1.15rem}
.an3-article-content h5{font-size:1.05rem}
.an3-article-content h6{font-size:1rem}
@media(min-width:768px){
  .an3-article-content h1{font-size:2rem}
  .an3-article-content h2{font-size:1.625rem}
  .an3-article-content h3{font-size:1.375rem}
  .an3-article-content h4{font-size:1.25rem}
  .an3-article-content h5{font-size:1.125rem}
  .an3-article-content h6{font-size:1.0625rem}
}
.an3-article-content a{color:#FE001A;text-decoration:underline;text-underline-offset:.15em;text-decoration-thickness:.08em}
.an3-article-content blockquote:not(.twitter-tweet){margin:1.5em 0;padding:1em 1.2em;border-left:4px solid #FE001A;background:rgba(0,0,0,.03);color:#1f2937;border-radius:0 8px 8px 0}
.an3-article-content figure{margin:1.4em 0}
.an3-article-content figure figcaption{margin-top:.5em;text-align:center;color:#4b5563;font-size:.95rem}
.an3-article-content table{width:100%;border-collapse:collapse;margin:1.5em 0}
.an3-article-content th,.an3-article-content td{border:1px solid #e5e7eb;padding:.5em;text-align:left;vertical-align:top}
.an3-article-content th{background:#f9fafb;font-weight:600}
.an3-article-content hr{margin:2em 0;border:0;border-top:1px solid #e5e7eb}
.an3-article-content strong,.an3-article-content b{font-weight:700}
.an3-article-content em,.an3-article-content i{font-style:italic}
.an3-article-content img{max-width:100%;height:auto;border-radius:12px;margin:1em 0}
.an3-article-content iframe{max-width:100%;width:100%;border:0;border-radius:12px}
.an3-article-content object[type="application/pdf"]{width:100%;min-height:600px;border:1px solid #e5e7eb;border-radius:8px;background:#f7fafc;display:block}
.an3-article-content .wp-block-file{margin:1.5em 0}
.an3-article-content .wp-block-file__button,.an3-article-content .wp-block-file a{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:#FE001A;color:#fff;text-decoration:none;border-radius:6px;font-weight:600}
.an3-article-content .wp-block-file__button:hover,.an3-article-content .wp-block-file a:hover{background:#d00016;color:#fff}

/* Branding / Inread placeholders */
.an3-branding-slot,.an3-inread-slot{max-width:800px;margin:24px auto;display:block}
.an3-inread-slot[data-slot-empty="true"],.an3-inread-slot:empty{margin:0;display:none}

/* Tags ("Etichete: tag1, tag2") */
.an3-tags-line{max-width:800px;margin:1.5rem auto 0;padding:0 4px;font-size:14px;color:#374151;line-height:1.6}
.an3-tags-line strong{font-weight:700;margin-right:4px}
.an3-tags-line a{color:#374151;text-decoration:none}
.an3-tags-line a:hover{color:#FE001A;text-decoration:underline}

/* Reclame de final (leaderboard desktop / interscroller + rect2 mobil) */
.an3-ads-bottom{max-width:800px;margin:24px auto 0}
.an3-ads-bottom .an3-ads-desktop{display:none}
.an3-ads-bottom .an3-ads-mobile{display:block}
.an3-ads-bottom .an3-ads-mobile-item{margin:0 0 24px}
.an3-ads-bottom .an3-ads-mobile-item:last-child{margin-bottom:0}
@media(min-width:992px){
  .an3-ads-bottom .an3-ads-desktop{display:block}
  .an3-ads-bottom .an3-ads-mobile{display:none}
}

/* "Citeste si" — 3 PostCard pe 1200px */
.an3-recommended-block{max-width:1200px;margin:48px auto 0;padding:0 16px}
.an3-recommended-block .an3-recommended-heading{font-size:1.25rem;font-weight:700;margin:0 0 16px;text-align:center;color:#000}
.an3-grid-recommended{display:grid;gap:16px;grid-template-columns:1fr;align-items:stretch}
@media(min-width:768px){.an3-grid-recommended{grid-template-columns:repeat(3,1fr);gap:24px}}
.an3-grid-recommended .an3-card{aspect-ratio:9/16;width:100%;height:100%}
@media(min-width:768px){.an3-grid-recommended .an3-card{aspect-ratio:16/9}}

/* ====== Live block — paritate cu React V2Hero ====== */
.an3-live{position:relative;background:#fff;border-radius:16px;overflow:hidden;aspect-ratio:9/16;color:#fff;width:100%;min-height:400px}
@media(min-width:768px){.an3-live{aspect-ratio:16/9;min-height:300px}}
.an3-live video{width:100%;height:100%;object-fit:contain;background:#fff}
.an3-live-badge{position:absolute;top:10px;left:10px;background:#FE001A;color:#fff;font-weight:800;font-size:12px;padding:4px 8px;border-radius:4px;text-transform:uppercase;letter-spacing:.5px;z-index:2}
.an3-live--empty{display:flex;align-items:center;justify-content:center;background:#f1f1f1;color:#666}
.an3-live--empty .an3-live-title{position:static;background:none;padding:0;color:#666;font-weight:700}

/* Controale (paritate cu V2Hero): vizibile primele 3s, apoi hidden, reaparute la hover/touch */
.an3-live-controls{position:absolute;left:16px;bottom:16px;display:flex;gap:8px;z-index:3;opacity:0;pointer-events:none;transition:opacity .2s ease}
.an3-live.is-controls-visible .an3-live-controls{opacity:1;pointer-events:auto}
.an3-live-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:10px;background:rgba(255,255,255,.92);color:#0a0a0a;cursor:pointer;transition:background .15s ease,transform .15s ease;padding:0}
.an3-live-btn:hover{background:#fff;transform:translateY(-1px)}
.an3-live-btn:focus-visible{outline:2px solid #FE001A;outline-offset:2px}
.an3-live-btn svg{display:block}
.an3-live-btn .an3-ico{display:none}
.an3-live-btn[data-state="play"] .an3-ico-play{display:block}
.an3-live-btn[data-state="pause"] .an3-ico-pause{display:block}
.an3-live-btn[data-state="muted"] .an3-ico-muted{display:block}
.an3-live-btn[data-state="volume"] .an3-ico-volume{display:block}

/* ====== Sondaj — paritate cu React Sondaj ====== */
.an3-sondaj{background:transparent;padding:0;width:100%;display:flex;flex-direction:column;align-items:stretch}
.an3-sondaj h3{margin:0 0 8px;font-size:1.05rem}
.an3-sondaj .an3-sondaj-target{width:100%;min-height:200px}
.an3-sondaj .an3-sondaj-target>*{max-width:100%}

/* ====== Bloc "Recomandate" / "Titlurile zilei" — paritate cu RecomandateBlock.tsx ====== */
.an3-recomandate{position:relative;display:flex;align-items:stretch;background:#fff;border:1px solid #D9D9D9;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.05);overflow:hidden;width:100%;box-sizing:border-box}
@media(min-width:768px){.an3-recomandate{aspect-ratio:16/9}}

/* Arc rosu cu textul vertical "TITLURILE ZILEI" — desktop pe stanga, mobil sus */
.an3-recomandate-ribbon{position:absolute;background:#FE001A;color:#fff;display:flex;align-items:center;justify-content:center;z-index:1;pointer-events:none;left:50%;top:0;transform:translateX(-50%);width:200px;height:38px;-webkit-clip-path:circle(120px at 50% -219%);clip-path:circle(120px at 50% -219%)}
@media(min-width:768px){.an3-recomandate-ribbon{left:0;top:50%;transform:translateY(-50%);width:38px;height:200px;-webkit-clip-path:circle(120px at -219% 50%);clip-path:circle(120px at -219% 50%)}}
.an3-recomandate-ribbon-text{font-weight:700;font-size:.75rem;white-space:nowrap;letter-spacing:.04em}
@media(min-width:768px){.an3-recomandate-ribbon-text{transform:rotate(-90deg);margin-left:-5px}}

/* Lista carduri */
.an3-recomandate-list{flex:1;display:grid;grid-template-columns:repeat(2,1fr);gap:16px;padding-top:42px;align-items:stretch}
@media(min-width:768px){.an3-recomandate-list{display:flex;flex-direction:row;justify-content:space-between;gap:0;padding-top:0;margin-left:38px}}

.an3-recomandate-item{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 8px;width:100%;box-sizing:border-box;min-width:0}
@media(min-width:768px){.an3-recomandate-item{width:25%;padding:24px 16px;border-right:1px solid #ECECEC}.an3-recomandate-item:last-child{border-right:0}}

.an3-recomandate-cat{display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;color:#718096;margin-bottom:8px;text-decoration:none;letter-spacing:.02em}
.an3-recomandate-cat:hover{color:#FE001A}
.an3-recomandate-cat.is-placeholder{visibility:hidden}

.an3-recomandate-img-link{display:block;margin-bottom:12px;transition:transform .2s ease;border-radius:50%;overflow:hidden;flex-shrink:0}
.an3-recomandate-img-link:hover{transform:scale(1.05)}
.an3-recomandate-img{width:110px;height:110px;border-radius:50%;object-fit:cover;display:block;background:#eee}
@media(min-width:768px){.an3-recomandate-img{width:160px;height:160px}}

.an3-recomandate-title{display:-webkit-box;font-weight:700;font-size:16px;line-height:1.3;color:#0a0a0a;text-decoration:none;text-align:center;margin-bottom:12px;padding:0 8px;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-width:100%;transition:color .2s ease}
@media(min-width:768px){.an3-recomandate-title{font-size:20px;padding:0 16px;-webkit-line-clamp:8}}
.an3-recomandate-title:hover{color:#FE001A}

.an3-recomandate-divider{width:100%;height:1px;border:0;background:#e2e8f0;margin:0 0 8px}

.an3-recomandate-meta{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:16px;font-size:.75rem;color:#718096}
.an3-recomandate-meta .an3-meta-date,
.an3-recomandate-meta .an3-meta-views{display:inline-flex;align-items:center;gap:4px}
.an3-recomandate-meta svg{width:14px;height:14px;flex-shrink:0}

/* ====== Bloc "Cele mai citite" — paritate 1:1 cu CeleMaiCititeBlock.tsx ====== */
.an3-most-read{background:#ECECEC;border-radius:24px;padding:16px 24px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow:hidden;margin:0}
.an3-most-read-title{font-size:.75rem;font-weight:700;text-transform:uppercase;color:#718096;margin:0 0 8px;letter-spacing:.02em}

.an3-most-read-inner{display:flex;flex-direction:column;gap:16px;align-items:stretch;width:100%;min-width:0}
@media(min-width:768px){.an3-most-read-inner{flex-direction:row}}

/* Colaj cercuri — doar pe desktop */
.an3-most-read-collage{display:none;position:relative;flex:0 1 50%;width:50%;max-width:50%;min-width:0;aspect-ratio:1/1}
@media(min-width:768px){.an3-most-read-collage{display:block}}
.an3-most-read-bubble{position:absolute;display:block;overflow:hidden;border-radius:50%;border:1px solid #fff;aspect-ratio:1/1;transition:filter .2s ease;background:#ddd}
.an3-most-read-bubble:hover{filter:brightness(.95)}
.an3-most-read-bubble img{width:100%;height:100%;object-fit:cover;display:block}
.an3-most-read-bubble--1{width:80%;top:0;left:0}
.an3-most-read-bubble--2{width:55%;bottom:0;left:45%}
.an3-most-read-bubble--3{width:40%;bottom:0;left:0}

/* Lista articole */
.an3-most-read-list{flex:1 1 50%;width:100%;max-width:100%;min-width:0;list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
@media(min-width:768px){.an3-most-read-list{max-width:50%}}

.an3-most-read-item{display:flex;align-items:flex-start;gap:12px;padding:8px 0;min-width:0;width:100%;border-bottom:1px solid #e2e8f0}
.an3-most-read-item.is-last{border-bottom:0}

.an3-most-read-rank{font-size:4.5rem;font-weight:900;color:#FE001A;line-height:1;flex-shrink:0;font-family:Mulish,system-ui,sans-serif}

.an3-most-read-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}

.an3-most-read-keyword{display:inline-block;background:#FE001A;color:#fff;font-weight:700;font-size:.75rem;padding:2px 8px;border-radius:4px;line-height:1.3;max-width:100%;align-self:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.an3-most-read-link{display:-webkit-box;font-weight:400;font-size:16px;line-height:1.35;color:#0a0a0a;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word;overflow-wrap:anywhere;transition:color .4s ease;max-width:100%}
.an3-most-read-link:hover{color:#FE001A}

.an3-most-read-views{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;color:#4a5568;margin-top:4px}
.an3-most-read-views svg{width:14px;height:14px}

/* ====== Bloc Stiri — grid intern aliniat cu grila de 12 a parintelui ====== */
/* Mobil: stivuim toate cardurile pe o singura coloana (paritate cu .an3-col-* pe < 768px). */
.an3-stiri-grid{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:768px){
  .an3-stiri-cols-1{grid-template-columns:1fr}
  .an3-stiri-cols-2{grid-template-columns:repeat(2,1fr)}
  .an3-stiri-cols-3{grid-template-columns:repeat(3,1fr)}
}

/* ====== Reclama / Ad slot ====== */
.an3-ad{display:flex;align-items:center;justify-content:center;background:#fafafa;border-radius:8px;color:#999;font-size:11px;text-transform:uppercase;letter-spacing:1px;margin:8px 0}
.an3-ad::before{content:"Publicitate";position:absolute;color:#bbb}

/* ====== AdWidget — paritate cu AdWidget.tsx ====== */
/* IMPORTANT: nu fixam `height:100%` — l-ar intinde la inaltimea coloanei (cand
   grid-ul rândului face align-items:stretch) si ar sparge aspect-ratio.
   Cand adwidget e singur in coloana, grid-ul stretch-uieste coloana, dar
   adwidget-ul ramane 16:9; spatiul liber de sub el primeste blocul urmator
   (ex: o stire) — aceeasi asezare ca in layoutul React. */
.an3-adwidget{position:relative;width:100%;background:#000;border-radius:24px;overflow:hidden;aspect-ratio:9/16;display:block}
@media(min-width:768px){.an3-adwidget{aspect-ratio:16/9}}
.an3-adwidget-bg{position:absolute;inset:0;display:block;z-index:0;line-height:0}
.an3-adwidget-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.an3-adwidget-img--desktop{display:none}
.an3-adwidget-img--mobile{display:block}
@media(min-width:768px){
  .an3-adwidget-img--desktop{display:block}
  .an3-adwidget-img--mobile{display:none}
}
.an3-adwidget-video{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;max-height:100%;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none}
@media(min-width:768px){.an3-adwidget-video{width:60%;top:57%}}
.an3-adwidget-video video{width:100%;height:auto;max-height:100%;object-fit:contain;background:transparent;display:block}
.an3-adwidget-controls{position:absolute;bottom:8px;right:8px;display:flex;gap:8px;z-index:2}
/* Reutilizam .an3-live-btn definit in critical.css pentru play/mute */
.an3-adwidget-html{position:relative}

/* ====== Footer ====== */
.an3-footer{margin-top:48px;font-family:Mulish,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.an3-footer-row1{background:#fff;box-shadow:0 20px 40px 0 rgba(0,0,0,.15);padding:16px}
.an3-footer-row1 .an3-footer-inner{max-width:1440px;margin:0 auto;padding:0 16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;text-align:center}
@media(min-width:768px){.an3-footer-row1 .an3-footer-inner{text-align:left}}
.an3-footer-row1 .an3-footer-logo-link{display:inline-flex;align-items:center;margin:0 auto}
@media(min-width:768px){.an3-footer-row1 .an3-footer-logo-link{margin:0}}
.an3-footer-row1 img.an3-footer-logo{height:56px;width:auto}
.an3-footer-row1 .an3-stores{display:flex;gap:16px;align-items:center;justify-content:center;min-height:40px}
.an3-footer-row1 .an3-stores img{height:40px;width:120px}
.an3-footer-row1 .an3-disclaim{flex:1 1 300px;font-size:10px;font-weight:300;line-height:normal;color:#000;max-width:600px;margin:0}
.an3-footer-cta{display:flex;align-items:center;justify-content:center;gap:16px}
/* Butonul ALEPH din footer — identic cu cel din header (.an3-aleph-app) si mereu vizibil */
.an3-footer .an3-aleph-app{display:inline-flex}

.an3-footer-row2{background:#B3B3B3;color:#fff;padding:14px 16px;min-height:56px;display:flex;align-items:center}
.an3-footer-row2 .an3-footer-inner{max-width:1440px;margin:0 auto;padding:0 16px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;width:100%}
.an3-footer-row2 a{color:#fff}
.an3-footer-row2 a:hover{color:#FE001A}
.an3-footer-policies{display:flex;flex-wrap:wrap;font-size:12px;color:#fff;align-items:center;justify-content:center}
.an3-footer-policy-item{display:inline-flex;align-items:center}
.an3-footer-policy-item a{color:#fff}
.an3-footer-policy-item a:hover{color:#FE001A}
.an3-footer-policy-sep{display:none;width:1px;height:14px;background:#fff;opacity:.6;margin:0 12px}
@media(min-width:768px){.an3-footer-policy-sep{display:inline-block}}
.an3-footer-social{display:flex;gap:6px}
.an3-footer-social a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:20px;color:#fff}
.an3-footer-social a:hover{color:#FE001A}
.an3-footer-copy{font-size:12px;margin:0;color:#fff}

/* ====== Hamburger — paritate cu React HamburgerMenu.tsx ====== */
.an3-hamburger{position:fixed;inset:0;background:#fff;z-index:1000;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden;overscroll-behavior-y:contain}
.an3-hamburger.is-open{transform:translateX(0)}

/* Header: close (stanga) + buton ALEPH (centru) + brand text (dreapta) */
.an3-hamburger-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:#fff;position:sticky;top:0;z-index:2;flex-shrink:0}
.an3-hamburger-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;background:transparent;color:#FE001A;border-radius:8px;padding:0}
.an3-hamburger-close:hover{background:rgba(254,0,26,.08)}
.an3-hamburger-close svg{width:24px;height:24px}
/* In hamburger butonul ALEPH e mereu vizibil (override la critical.css care il ascunde pe mobil) */
.an3-hamburger-head .an3-aleph-app{display:inline-flex}
.an3-hamburger-brand{font-weight:700;font-size:1.125rem;color:#0a0a0a;letter-spacing:.02em}

/* Body: 2 coloane (stanga lista, dreapta continut) */
.an3-hamburger-body{display:flex;flex-direction:row;flex:1;min-height:0}

/* Coloana stanga: lista de tab-uri aliniate la dreapta */
.an3-hamburger-menu-col{width:33.333%;padding:16px;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow:hidden;flex-shrink:0}
@media(min-width:768px){.an3-hamburger-menu-col{padding:32px}}
.an3-hamburger-menu-title{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0 0 16px;text-align:right;letter-spacing:.02em}
.an3-hamburger-menu-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.an3-hamburger-menu-list li{display:flex;justify-content:flex-end;align-items:center;min-height:48px}
@media(min-width:768px){.an3-hamburger-menu-list li{min-height:60px}}
.an3-hamburger-tab{background:transparent;border:0;padding:0;margin:0;color:#4a5568;font-weight:500;font-size:1.25rem;line-height:1.2;text-align:right;cursor:pointer;font-family:inherit;transition:color .15s ease}
@media(min-width:768px){.an3-hamburger-tab{font-size:1.875rem}}
.an3-hamburger-tab:hover,.an3-hamburger-tab.is-active{color:#FE001A}

/* Coloana dreapta: panou cu titlul si grid-ul */
.an3-hamburger-content-col{flex:1;width:66.666%;padding:16px;overflow-y:auto;min-height:0;overscroll-behavior-y:contain;display:flex;justify-content:center;align-items:flex-start}
@media(min-width:768px){.an3-hamburger-content-col{padding:32px}}
.an3-hamburger-panel{max-width:800px;width:100%;margin:0 auto}
.an3-hamburger-panel[hidden]{display:none}
.an3-hamburger-panel-title{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0 0 24px}

/* Grid cu item-uri */
.an3-hamburger-grid{display:grid;grid-template-columns:1fr;gap:16px;padding:16px 0}
@media(min-width:768px){.an3-hamburger-grid{grid-template-columns:repeat(3,1fr);gap:32px;padding:24px 0}}

.an3-hamburger-grid-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 16px;border-radius:8px;background:#f7fafc;color:#0a0a0a;text-align:center;text-decoration:none;overflow:hidden;transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}
.an3-hamburger-grid-item:hover{background:#edf2f7;color:#FE001A;transform:translateY(-2px);box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}
.an3-hamburger-grid-item.has-image{padding:12px 16px;min-height:160px;gap:12px}
.an3-hamburger-grid-thumb{display:block;width:100%;height:100px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#eee}
.an3-hamburger-grid-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.an3-hamburger-grid-label{flex:1;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:.875rem;line-height:1.3;padding:0 4px}
.an3-hamburger-empty{color:#718096;font-style:italic;text-align:center;padding:48px 0}

/* Footer: FOLLOW US + iconuri sociale, mereu vizibil */
.an3-hamburger-foot{display:flex;align-items:center;gap:16px;padding:12px 16px;border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}
@media(min-width:768px){.an3-hamburger-foot{padding:12px 32px}}
.an3-hamburger-follow{font-size:.875rem;font-weight:500;color:#4a5568;letter-spacing:.02em}
.an3-social-bottom{display:flex;gap:8px;align-items:center}
.an3-social-bottom a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;color:#4a5568;border-radius:6px;transition:color .15s ease}
.an3-social-bottom a:hover{color:#FE001A}

/* ====== Quick actions admin ====== */
.an3-quick-actions{position:fixed;right:14px;bottom:14px;display:flex;gap:6px;z-index:90}
.an3-quick-actions a{background:#0a0a0a;color:#fff;padding:6px 10px;font-size:12px;border-radius:6px}
.an3-quick-actions a:hover{background:#FE001A}

/* ====== Print ====== */
@media print{
  .an3-navbar,.an3-footer,.an3-quick-actions,.an3-share,.an3-ad{display:none!important}
  .an3-article-content{font-size:12pt}
}
