/* ═══════════════════════════════════════════
           IET TIMES — Editorial Newspaper Theme
           Inspired by clean American news portals.
           ═══════════════════════════════════════════ */
        :root{
          --brand:#111111;--brand-dark:#000000;--brand-light:#333333;
          --accent:#f26a21;--accent-dark:#c94d0b;
          --surface:#f5f5f2;--card:#ffffff;
          --text:#111111;--muted:#707070;--border:#dddddd;
          --nav:#e7e7e7;--footer:#111111;
          --font-title:'Newsreader',Georgia,'Times New Roman',serif;
          --font-body:'Libre Baskerville',Georgia,'Times New Roman',serif;
          --font-ui:'Libre Franklin',Arial,sans-serif;
        }
        *{box-sizing:border-box}
        body{font-family:var(--font-body);background:var(--surface);color:#121212;font-size:14px}
        .container{max-width:1120px}
        h1,h2,h3,h4,h5,h6,.news-card h3,.hero-card h2,.section-header h2,.sidebar-widget .widget-title,.site-footer h5{font-family:var(--font-title);font-weight:700;letter-spacing:-.025em;color:#050505}
        .top-bar,.main-nav,.breaking-bar,.cat-badge,.meta,.article-meta,.btn,.form-control,.form-select,label,.admin-sidebar,.status-badge,.site-footer a,.footer-bottom,.masthead .tagline,.masthead .date-badge{font-family:var(--font-ui)}
        a{color:inherit;text-decoration:none}
        a:hover{color:var(--brand)}
        /* ── TOP BAR ── */
        .top-bar{background:#fff;color:#5f5f5f;font-size:.68rem;padding:5px 0;border-bottom:1px solid #ededed}
        .top-bar a{color:#333}
        .top-bar a:hover{color:var(--accent)}
        .visitor-counter{display:inline-flex;align-items:center;gap:4px;color:#333;font-weight:700;white-space:nowrap}
        .visitor-counter i{color:var(--accent)}
        /* ── MASTHEAD ── */
        .masthead{background:#fff;color:#111;padding:18px 0 16px;border-bottom:1px solid #d8d8d8;position:relative}
        .masthead::after{display:none}
        .masthead .logo-text{font-size:3.15rem;font-weight:800;letter-spacing:-1.8px;font-family:Georgia,'Times New Roman',serif;line-height:.95;text-align:center}
        .masthead .logo-wordmark{font-family:Georgia,'Times New Roman',serif;font-size:clamp(3.2rem,6.6vw,5rem);font-weight:900;line-height:.9;letter-spacing:-.025em;color:#050505;text-align:center;white-space:nowrap}
        .masthead .logo-wordmark .times{display:inline-block;margin-left:.14em}
        .masthead .section-wordmark{font-size:clamp(1.5rem,3.6vw,2.3rem);text-align:left;margin-bottom:2px}
        .masthead .logo-tagline-row{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px;font-family:var(--font-ui);font-size:.66rem;font-weight:700;color:#0b1b45;line-height:1.2}
        .masthead .logo-tagline-row .logo-tagline-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
        .masthead .logo-tagline-row i{font-size:.95rem;color:#0b1b45}
        .masthead .logo-tagline-row .logo-tagline-divider{width:1px;height:16px;background:#d9782f}
        .masthead .section-logo-taglines{align-items:flex-start;gap:5px;margin-top:8px;font-size:.58rem;flex-direction:column}
        .masthead .section-logo-taglines .logo-tagline-divider{display:none}
        .masthead .site-logo{display:block;max-width:100%;max-height:218px;width:auto;height:auto;margin:0 auto;object-fit:contain}
        .masthead .section-logo{max-height:96px;margin:0}
        .masthead .logo-text.section-title{font-size:clamp(1rem,4.2vw,2.6rem);white-space:nowrap;letter-spacing:-1px}
        .masthead .site-mark{font-size:1.7rem;font-weight:800;font-family:Georgia,'Times New Roman',serif;line-height:.98}
        .masthead .section-name{font-size:clamp(1.8rem,4vw,3.1rem);font-weight:800;font-family:Georgia,'Times New Roman',serif;line-height:.95;white-space:nowrap;text-align:center}
        .masthead .subcat-name{font-size:.95rem;font-weight:600;font-family:var(--font-ui);color:#555;text-align:center;margin-top:5px;letter-spacing:.01em}
        .masthead .home-btn{display:inline-flex;align-items:center;gap:5px;background:#f7f7f7;border:1px solid #ddd;border-radius:0;color:#111;padding:5px 10px;font-size:.7rem;font-weight:700;margin-top:8px}
        .masthead .home-btn:hover{background:#111;color:#fff}
        .masthead .logo-text .iet{color:#111}
        .masthead .tagline{font-size:.64rem;color:#777;letter-spacing:.03em;text-transform:none;margin-top:6px;text-align:center}
        .masthead .logo-tagline{color:#b35a00;font-size:.9rem;line-height:1.25;margin-top:10px}
        .masthead .date-badge{font-size:.7rem;color:#777}
        .subscribe-btn{display:inline-flex;align-items:center;background:var(--accent);color:#fff!important;border-radius:3px;padding:5px 10px;font-family:var(--font-ui);font-size:.68rem;font-weight:700}
        .portal-shell{background:#fff;border-left:1px solid #e8e8e8;border-right:1px solid #e8e8e8}
        /* ── BREAKING NEWS ── */
        .breaking-bar{background:#fff;color:#111;padding:6px 0;font-size:.72rem;font-weight:700;overflow:hidden;border-bottom:1px solid #dadada}
        .breaking-badge{background:transparent;color:#e60023;padding:0 8px 0 0;font-size:.68rem;font-weight:800;white-space:nowrap;border-radius:0;letter-spacing:.5px}
        .breaking-ticker{flex:1;min-width:0;overflow:hidden}
        .marquee{white-space:nowrap;display:flex;width:max-content;animation:marquee 38s linear infinite;animation-delay:1s;will-change:transform}
        .marquee-group{display:inline-flex;align-items:center;gap:18px;padding-right:18px;flex-shrink:0}
        @keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
        /* ── NAV ── */
        .main-nav{background:var(--nav);position:sticky;top:0;z-index:100;box-shadow:none;border-bottom:1px solid #d2d2d2}
        .main-nav .nav-link{color:#111!important;font-size:.72rem;font-weight:700;padding:10px 11px!important;letter-spacing:.01em;text-transform:uppercase;transition:.2s;border-bottom:2px solid transparent}
        .main-nav .nav-link:hover,.main-nav .nav-link.active{color:#000!important;background:#dcdcdc;border-bottom-color:#111}
        .main-nav .dropdown-menu{background:#fff;border:1px solid #d8d8d8;border-radius:0;border-top:2px solid #111}
        .main-nav .dropdown-item{color:#111!important;font-size:.75rem;padding:8px 18px}
        .main-nav .dropdown-item:hover{background:#f2f2f2;color:#111!important}
        /* ── CARDS ── */
        .news-card{background:var(--card);border:0;border-bottom:1px solid var(--border);border-radius:0;overflow:hidden;transition:.15s;height:auto}
        .news-card:hover{box-shadow:none;transform:none;border-color:#c8c8c8}
        .news-card img{width:100%;aspect-ratio:16/9;object-fit:cover}
        .news-card .card-body{padding:10px 0 12px}
        .news-card .cat-badge{font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:#111;background:transparent;padding:0;border-radius:0;display:inline-block;margin-bottom:5px;border:0}
        .news-card h3{font-size:1.05rem;font-weight:700;line-height:1.13;margin:0 0 7px;color:#050505;overflow-wrap:break-word;word-break:break-word;white-space:normal;display:block}
        .news-card .meta{font-size:.61rem;color:#8a8a8a;text-transform:uppercase;letter-spacing:.04em}
        .home-grid{align-items:flex-start}
        .home-grid .news-card{height:auto!important}
        .home-grid .featured-story img{height:300px!important}
        .featured-rotator{position:relative;overflow:hidden}
        .featured-rotator-track{display:flex;transition:transform .65s ease;will-change:transform}
        .featured-slide{flex:0 0 100%;min-width:0}
        .featured-rotator-dots{display:flex;gap:5px;margin-top:7px}
        .featured-rotator-dot{width:7px;height:7px;border-radius:50%;border:0;background:#c7c7c7;padding:0}
        .featured-rotator-dot.active{background:#111}
        .home-grid .category-column .news-card{margin-bottom:0!important}
        .home-grid .category-column .card-body{padding:9px 0}
        /* ── HERO CARD ── */
        .hero-card{position:relative;border-radius:0;overflow:hidden;min-height:380px;display:flex;align-items:flex-end;border:0;border-bottom:1px solid var(--border)}
        .hero-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
        .hero-card .overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.92) 0%,rgba(0,0,0,.6) 40%,rgba(0,0,0,.1) 100%)}
        .hero-card .content{position:relative;color:#fff;padding:24px}
        .hero-card h2{font-size:1.55rem;font-weight:700;line-height:1.12;margin-bottom:8px}
        .hero-card .cat{font-size:.63rem;font-weight:800;background:#111;color:#fff;padding:3px 8px;border-radius:0;display:inline-block;margin-bottom:10px;letter-spacing:.6px;text-transform:uppercase}
        /* ── SECTION HEADERS ── */
        .section-header{display:flex;align-items:baseline;gap:10px;margin:22px 0 12px;border-top:1px solid #111;border-bottom:0;padding-top:9px;padding-bottom:0}
        .section-header h2{font-size:.95rem;font-weight:700;margin:0;text-transform:none;letter-spacing:-.01em;color:#050505;border-left:0;padding-left:0}
        .section-header span{font-size:.62rem;color:#8a8a8a;font-style:normal;font-family:var(--font-ui);margin-left:auto;text-transform:uppercase;letter-spacing:.05em}
        /* Global title wrap — no truncation anywhere */
        .news-card h3 a,.news-card h3,.card-body h3,.card-body h2,.card-body h1{overflow-wrap:break-word;word-break:break-word;white-space:normal!important}
        /* ── SIDEBAR ── */
        .sidebar-widget{background:var(--card);border:0;border-top:1px solid #111;border-radius:0;margin-bottom:22px;overflow:hidden}
        .sidebar-widget .widget-title{background:#fff;color:#111;padding:8px 0;font-size:.92rem;font-weight:700;text-transform:none;letter-spacing:-.01em;border-bottom:0}
        .sidebar-widget .widget-body{padding:0}
        .mini-news-item{display:flex;gap:10px;padding:9px 0;border-bottom:1px solid var(--border)}
        .mini-news-item:last-child{border-bottom:none}
        .mini-news-item img{width:64px;height:48px;object-fit:cover;border-radius:0;flex-shrink:0}
        .mini-news-item .title{font-family:var(--font-title);font-size:.82rem;font-weight:700;line-height:1.16;color:#050505;overflow-wrap:break-word;word-break:break-word;white-space:normal}
        .mini-news-item .meta{font-size:.65rem;color:var(--muted)}
        /* ── ARTICLE PAGE ── */
        .article-header .cat-label{background:var(--brand);color:#fff;font-size:.68rem;font-weight:700;text-transform:uppercase;padding:3px 12px;border-radius:3px;letter-spacing:.5px}
        .article-body{font-size:1.02rem;line-height:1.68;color:#333}
        .article-body p{margin-bottom:1.15rem}
        .article-body h2,.article-body h3{font-weight:700;line-height:1.12;margin:1.6rem 0 .6rem;color:#050505}
        .article-meta{border-top:2px solid var(--brand);border-bottom:1px solid var(--border);padding:10px 0;margin:12px 0}
        /* ── ADMIN ── */
        .admin-sidebar{background:#121212!important;min-height:100vh;padding:0}
        .admin-sidebar .brand{background:#0b0b0b;padding:16px;color:#fff;font-size:1.05rem;font-weight:800;border-bottom:3px solid var(--accent)}
        .admin-sidebar .nav-link{color:rgba(255,255,255,.86)!important;padding:10px 20px;font-size:.82rem;border-left:3px solid transparent;transition:.2s}
        .admin-sidebar .nav-link:hover,.admin-sidebar .nav-link.active{color:#fff!important;background:#242424;border-left-color:var(--accent)}
        .admin-sidebar .nav-link.text-danger{color:#ff9b8f!important}
        .admin-sidebar .nav-link i{width:20px}
        .stat-card{background:var(--card);border-radius:8px;padding:20px;border-left:4px solid var(--brand);border:1px solid var(--border);border-left:4px solid var(--brand)}
        .stat-card h3{font-size:2rem;font-weight:800;color:var(--brand);margin:0}
        .status-badge{font-size:.65rem;padding:2px 8px;border-radius:20px;font-weight:600}
        .status-published{background:#dde6f5;color:#1b2d5e}
        .status-pending{background:#fef0d0;color:#8a5c00}
        .status-draft{background:#dceef0;color:#1a5c63}
        .status-rejected{background:#f8d7da;color:#721c24}
        /* ── FOOTER ── */
        .site-footer{background:var(--footer);color:rgba(255,255,255,.65);padding:44px 0 20px;margin-top:48px;border-top:4px solid var(--brand)}
        .site-footer h5{color:rgba(255,255,255,.9);font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.7px;border-bottom:2px solid var(--accent);padding-bottom:8px;margin-bottom:14px;display:inline-block}
        .site-footer a{color:rgba(255,255,255,.55);font-size:.8rem;display:block;margin-bottom:5px;transition:.15s}
        .site-footer a:hover{color:var(--accent)}
        .footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:32px;padding-top:14px;font-size:.74rem;text-align:center;color:rgba(255,255,255,.35)}
        /* ── SEARCH ── */
        .search-box{max-width:230px;margin-left:auto}
        .search-box input{border-radius:2px 0 0 2px!important;border:1px solid #d0d0d0;border-right:none;background:#f8f8f8;color:#111;height:24px;font-size:.72rem}
        .search-box input::placeholder{color:#777}
        .search-box input:focus{background:#fff;outline:none;box-shadow:none;border-color:#aaa}
        .search-box button{border-radius:0 2px 2px 0!important;background:#111;border:none;color:#fff;font-weight:700;height:24px;padding:0 8px}
        .search-box button:hover{background:var(--accent-dark);color:#fff}
        /* ── PLACEHOLDERS ── */
        .img-placeholder{background:#dde0ec;display:flex;align-items:center;justify-content:center;color:#8892b8;font-size:2rem}
        /* ── MODALS ── */
        .modal-header{background:var(--brand);color:#fff;border-bottom:3px solid var(--accent)}
        .modal-header .btn-close{filter:invert(1)}
        
        /* UTILS */
        .text-brand{color:var(--brand)!important}
        .bg-brand{background:var(--brand)!important}
        .border-brand{border-color:var(--brand)!important}
        .accent{color:var(--accent)}
        @media(max-width:768px){
          .masthead .logo-text{font-size:1.8rem}
          .masthead .logo-wordmark{font-size:clamp(2.5rem,15vw,4rem)}
          .masthead .section-wordmark{text-align:center}
          .masthead .logo-wordmark .times{margin-left:.1em}
          .masthead .logo-tagline-row{flex-wrap:wrap;gap:6px 10px;font-size:.6rem}
          .masthead .logo-tagline-row .logo-tagline-divider{display:none}
          .masthead .site-logo{max-height:165px}
          .masthead .section-logo{max-height:90px;margin:0 auto}
          .hero-card{min-height:240px}
          .hero-card h2{font-size:1.1rem}
          .admin-sidebar{min-height:auto}
        }
/* Node-only UI additions; the editorial rules above are copied verbatim from index.php. */
.link-button{border:0;background:transparent;padding:0;font:inherit;color:inherit}
.featured-title{font-size:1.6rem;line-height:1.1;margin:0 0 8px}.featured-excerpt{font-size:.82rem;line-height:1.55;margin:0 0 8px;color:#707070}.section-link{font-size:.78rem}.more-stories{font-size:.7rem;color:#707070}
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.gallery-tile{border:0;background:#fff;padding:0;text-align:left;font-family:var(--font-title);font-weight:700}.gallery-tile img{width:100%;height:180px;object-fit:cover}.gallery-tile span{display:block;padding:10px}
.lightbox{position:fixed;inset:0;background:#000e;z-index:1000;color:#fff;display:grid;grid-template-columns:60px 1fr 60px;align-items:center}.lightbox[hidden]{display:none}.lightbox-content{text-align:center}.lightbox-content img{max-width:90%;max-height:78vh}.lightbox-content iframe{width:min(900px,80vw);height:min(506px,45vw);border:0}.lightbox button{background:transparent;color:#fff;border:0;font-size:3rem}.lightbox-close{position:absolute;right:20px;top:10px}.no-scroll{overflow:hidden}.maintenance-card{max-width:620px;margin:15vh auto;text-align:center;padding:3rem;background:#fff;border:1px solid #ddd}.gear-icon{font-size:4rem;color:var(--accent)}
.article-page-title{font-size:1.7rem;font-weight:800;line-height:1.3;overflow-wrap:break-word;word-break:break-word;white-space:normal}.article-single-image{max-height:420px;object-fit:cover;width:100%}.article-img-carousel{position:relative;overflow:hidden;border-radius:8px;background:#111;border:1px solid var(--border)}.article-img-track{display:flex;width:100%;transition:transform .5s cubic-bezier(.4,0,.2,1);will-change:transform}.article-img-slide{flex:0 0 100%;min-width:0}.article-img-slide img{width:100%;height:420px;object-fit:cover;display:block}.article-img-dots{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:7px;z-index:2}.article-img-dot{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.5);padding:0;cursor:pointer}.article-img-dot.active{background:#fff;transform:scale(1.25)}.article-img-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:52px;border:0;background:rgba(0,0,0,.38);color:#fff;font-size:1.35rem}.article-img-arrow:hover{background:rgba(0,0,0,.68)}.article-img-prev{left:8px}.article-img-next{right:8px}.author-bio{font-size:.8rem;color:var(--muted)}.share-row{font-size:.8rem}.related-card-body{padding:8px!important}.related-card-body h3{font-size:.75rem}.article-body figure,.article-body img{max-width:100%;height:auto}@media(max-width:576px){.article-img-slide img{height:260px}.article-img-arrow{width:32px;height:44px}}
.section-tabs{font-family:var(--font-ui);font-size:.82rem}.section-hero{min-height:260px}.section-hero-meta{font-size:.75rem}.section-excerpt{font-size:.75rem;color:var(--muted)}.trend-number{font-size:1.3rem;min-width:24px;font-weight:700;color:var(--brand)}.empty-icon{font-size:2rem}.search-result>img{width:120px!important;height:80px!important;object-fit:cover;flex-shrink:0}.footer-brand{font-size:1.6rem;font-weight:800;color:#fff;margin-bottom:8px}.footer-description{font-size:.78rem}.contact-icon{font-size:1.3rem}
.gal-filter-btn{border-radius:20px}.gal-filter-btn.active{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}.gal-card{border:0;padding:0;border-radius:8px;overflow:hidden;cursor:pointer;position:relative;background:#1b2d5e;width:100%}.gal-img{width:100%;height:180px;object-fit:cover;display:block;transition:transform .3s}.gal-placeholder{width:100%;height:180px;background:linear-gradient(135deg,var(--brand),#3a5fa0);display:flex;align-items:center;justify-content:center;color:#ffffff80;font-size:2.5rem}.gal-overlay{position:absolute;inset:0;background:transparent;display:flex;align-items:center;justify-content:center;transition:.25s;color:#fff;font-size:2rem;opacity:0}.gal-card:hover .gal-img{transform:scale(1.06)}.gal-card:hover .gal-overlay{background:#0006;opacity:1}.gal-title-below{font-size:.82rem;font-weight:700;line-height:1.25;margin-top:7px;color:#111;overflow-wrap:break-word;min-height:2.6em}.gal-title-below span{font-weight:600;color:#666}.gallery-empty-icon{font-size:3rem;color:var(--brand)}
.ep-pdf-icon{font-size:2.8rem}.ep-edition-title{font-size:.82rem;line-height:1.3}.ep-edition-date{font-size:.72rem}.ep-open-btn{background:var(--brand)!important;color:#fff!important;font-size:.75rem}.ep-cat-btn{border-radius:20px}.ep-cat-btn.active{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)!important}.ep-card-click{border-radius:10px;overflow:hidden;transition:.2s;cursor:pointer}.ep-card-click:hover{transform:translateY(-4px);box-shadow:0 10px 28px #1b2d5e2e!important}.ep-card-image{width:100%;height:140px;object-fit:cover}.ep-card-placeholder{height:140px;background:linear-gradient(135deg,var(--brand),#3a5fa0);display:flex;align-items:center;justify-content:center;color:#ffffff80;font-size:2.2rem}.ep-cat-label{display:inline-block;font-size:.63rem;font-weight:700;text-transform:uppercase;color:var(--brand);background:#1b2d5e14;padding:2px 8px;border-radius:20px}.ep-card-title,.ep-card-excerpt,.ep-card-meta{display:block}.ep-card-title{font-size:.87rem;line-height:1.35;margin-top:4px}.ep-card-excerpt{font-size:.72rem;color:var(--muted);margin-top:4px}.ep-card-meta{font-size:.68rem;color:var(--muted);margin-top:8px}#ep-reader-overlay{position:fixed;inset:0;z-index:9999;background:#000a;backdrop-filter:blur(3px);overflow-y:auto;padding:20px 0}#ep-reader-overlay[hidden]{display:none}#ep-reader-box{max-width:780px;margin:auto;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 20px 60px #0006}#ep-reader-header{background:var(--brand);color:#fff;padding:14px 20px;display:flex;align-items:center;gap:10px}#ep-reader-header>div{flex:1}#ep-reader-cat{font-size:.65rem;font-weight:700;text-transform:uppercase}#ep-reader-title{font-size:1rem;font-weight:800}.ep-reader-close{border:0;background:#ffffff33;border-radius:50%;color:#fff;width:34px;height:34px}#ep-reader-img-wrap img{width:100%;max-height:320px;object-fit:cover}#ep-reader-meta{padding:12px 22px 10px;font-size:.75rem;color:#6c757d;border-bottom:1px solid #eee}#ep-reader-body{padding:22px;font-size:.98rem;line-height:1.85}.ep-reader-footer{padding:12px 22px;border-top:1px solid #eee;display:flex;gap:10px;justify-content:flex-end}@media(max-width:600px){#ep-reader-overlay{padding:0}#ep-reader-box{border-radius:0;min-height:100vh}}
.admin-shell{min-height:100vh}.admin-shell>.admin-sidebar{width:220px;flex-shrink:0}.admin-role{font-size:.65rem;opacity:.7}.admin-content{flex:1;padding:1.5rem;background:#eef0f6;overflow-y:auto;min-width:0}.admin-login-page{min-height:100vh;background:var(--nav)}.admin-login-card{min-width:340px}.admin-login-brand{font-size:1.5rem;font-weight:800;color:var(--brand)}.article-editor{font-family:Arial,sans-serif;font-size:.9rem}.admin-article-form label{font-weight:600}@media(max-width:767px){.admin-shell{display:block!important}.admin-shell>.admin-sidebar{width:100%;min-height:auto}.admin-content{padding:1rem}}
.admin-articles-table th,.admin-articles-table td{vertical-align:middle}.admin-article-title{max-width:220px}.admin-article-title>a{color:#0d6efd;text-decoration:underline}.admin-article-title .badge{font-family:var(--font-ui);font-size:.65rem}
.admin-image-preview{position:relative;border:1px solid #ddd;border-radius:4px;padding:4px;background:#fff;width:72px;text-align:center}.admin-image-preview img{width:60px;height:52px;object-fit:cover;border-radius:4px}.admin-image-preview button{position:absolute;right:-4px;top:-4px;border:0;border-radius:50%;background:#dc3545;color:#fff;width:18px;height:18px;line-height:14px;padding:0}.admin-image-preview small{display:block;font-size:.62rem;color:#777}
.image-library-modal .modal-dialog{max-width:1140px}.image-library-modal .modal-content{height:min(82vh,855px)}.image-library-modal .modal-header{background:#111;border-bottom:0}.image-library-modal #library-image-files{max-width:340px}.image-library-card{display:block;position:relative;width:100%;height:100%;padding:0;border:1px solid #d5dbe2;border-radius:6px;overflow:hidden;background:#fff;text-align:left;color:#6c757d}.image-library-card:hover{border-color:#7f8da2;box-shadow:0 2px 8px #0002}.image-library-card.selected{border:3px solid #0d6efd}.image-library-card img{display:block;width:100%;height:90px;object-fit:cover;background:#f5f5f5}.image-library-name,.image-library-size{display:block;padding:4px 5px 0;font:400 .72rem Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-library-size{padding-top:1px;padding-bottom:5px}.image-library-card>i{display:none;position:absolute;right:5px;top:5px;color:#0d6efd;background:#fff;border-radius:50%;font-size:1.05rem;line-height:1}.image-library-card.selected>i{display:block}
