/* Lavorare in Svizzera — brand layer over the NewsPilot "cooper" theme. */
:root {
  --lis-red: #e61d25;
  --lis-red-dark: #c0141b;
  --lis-navy: #282165;
  --lis-navy-2: #3a3290;
  --lis-ink: #1d1b33;
  --lis-muted: #5d5b72;
  --lis-line: #e6e5ef;
  --lis-bg: #f5f5fa;
  --lis-radius: 14px;
  --lis-head: "Oswald", "Arial Narrow", sans-serif;
}

body, body.home { background: var(--lis-bg) !important; color: var(--lis-ink); font-family: "Open Sans", system-ui, sans-serif; }
a { color: var(--lis-navy); }
a:hover { color: var(--lis-red); }
.outer { background: transparent; }

/* ---------- buttons ---------- */
.lis-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 0; border-radius: 999px; padding: .7em 1.3em; font-weight: 700; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background-color .15s, transform .15s; }
.lis-btn--red { background: var(--lis-red); color: #fff !important; }
.lis-btn--red:hover { background: var(--lis-red-dark); }
.lis-btn--navy { background: var(--lis-navy); color: #fff !important; }
.lis-btn--navy:hover { background: var(--lis-navy-2); }

/* ---------- brand ---------- */
.lis-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; flex-shrink: 0; }
.lis-brand img { width: 52px; height: auto; }
.lis-brand__txt { display: flex; flex-direction: column; font-family: var(--lis-head); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: .01em; }
.lis-brand__a { color: var(--lis-navy); font-size: 21px; }
.lis-brand__b { color: var(--lis-red); font-size: 27px; }
.lis-brand--light .lis-brand__a { color: #fff; }
.lis-brand--light img { background: #fff; border-radius: 50%; padding: 6px; width: 56px; }

/* ---------- header ---------- */
.lis-header { background: #fff; border-bottom: 1px solid var(--lis-line); position: sticky; top: 0; z-index: 1030; }
.lis-header .lis-header__bar { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.lis-search--head { flex: 1; max-width: 440px; margin-left: auto; position: relative; }
.lis-search--head input { width: 100%; height: 42px; border: 1px solid var(--lis-line); background: var(--lis-bg); border-radius: 999px; padding: 0 44px 0 18px; font-size: 14px; }
.lis-search--head input:focus { outline: 2px solid var(--lis-navy); outline-offset: 1px; background: #fff; }
.lis-search--head button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--lis-navy); color: #fff; }
.lis-header__cta { font-size: 14px; }
.lis-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--lis-line); border-radius: 10px; background: #fff; padding: 11px 10px; }
.lis-burger span { display: block; height: 2px; background: var(--lis-navy); border-radius: 2px; }
.lis-burger span + span { margin-top: 6px; }

.lis-nav { display: block; background: var(--lis-navy); }
.lis-nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.lis-nav a { display: block; color: #fff; padding: 12px 16px; font-family: var(--lis-head); font-weight: 500; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid transparent; }
.lis-nav a:hover, .lis-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--lis-red); background: rgba(255,255,255,.06); }
.lis-nav__cta { margin-left: auto; }
.lis-nav__cta a { color: #ffd0d2; }

/* ---------- hero ---------- */
.lis-hero { position: relative; overflow: hidden; background:
    radial-gradient(1200px 500px at 85% 20%, rgba(230,29,37,.08), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(40,33,101,.08), transparent 60%), #fff; border-bottom: 1px solid var(--lis-line); }
.lis-hero .lis-hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 24px; align-items: center; padding-top: 44px; }
.lis-hero__copy { padding-bottom: 48px; }
.lis-eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(230,29,37,.1); color: var(--lis-red-dark); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.lis-hero h1 { font-family: var(--lis-head); font-weight: 700; text-transform: uppercase; color: var(--lis-navy); font-size: clamp(36px, 5vw, 58px); line-height: 1.02; margin: 0 0 16px; letter-spacing: .005em; }
.lis-hero h1 span { color: var(--lis-red); display: block; }
.lis-hero__lead { font-size: 18px; line-height: 1.55; color: var(--lis-muted); max-width: 34em; margin: 0 0 24px; }
.lis-search--hero { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--lis-line); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 30px -12px rgba(40,33,101,.25); max-width: 560px; }
.lis-search--hero .fa { color: var(--lis-muted); }
.lis-search--hero input { flex: 1; min-width: 0; border: 0; height: 44px; font-size: 16px; background: transparent; }
.lis-search--hero input:focus { outline: none; }
.lis-search--hero:focus-within { outline: 2px solid var(--lis-navy); outline-offset: 2px; }
.lis-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.lis-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 40px; border-radius: 999px; background: var(--lis-bg); border: 1px solid var(--lis-line); color: var(--lis-navy); font-weight: 600; font-size: 14px; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.lis-chips a:hover { background: var(--lis-navy); border-color: var(--lis-navy); color: #fff; }
.lis-chips .fa { color: var(--lis-red); }
.lis-chips a:hover .fa { color: #fff; }

.lis-hero__media { position: relative; align-self: end; }
.lis-hero__blob { position: absolute; inset: 12% 4% 0 8%; border-radius: 48% 52% 0 0 / 60% 60% 0 0; background: linear-gradient(160deg, rgba(40,33,101,.10), rgba(230,29,37,.12)); }
.lis-hero__media picture { position: relative; display: block; width: 118%; margin-right: -18%; }
.lis-hero__media img { position: relative; display: block; width: 100%; height: auto; }
.lis-hero__media img { mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); }
.lis-hero__badge { position: absolute; left: 0; bottom: 28px; display: flex; flex-direction: column; gap: 2px; max-width: 250px; padding: 12px 16px; background: var(--lis-navy); color: #fff !important; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(40,33,101,.6); text-decoration: none !important; border-left: 5px solid var(--lis-red); }
.lis-hero__badge strong { font-family: var(--lis-head); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.lis-hero__badge span { font-size: 13px; line-height: 1.35; opacity: .9; }
.lis-hero__badge:hover { background: var(--lis-navy-2); }

/* ---------- content blocks (theme widgets) ---------- */
.main-block { padding-top: 32px; }
.main-container .content-panel { padding-left: 15px; padding-right: 15px; }
.widget-content-body, .s-widget, .counter-four, .sidebar .widget, .single-news, .page-content { background: #fff !important; border: 1px solid var(--lis-line); border-radius: var(--lis-radius); box-shadow: 0 1px 2px rgba(29,27,51,.04); }
.widget-content-body { padding: 8px 8px 16px; margin-bottom: 24px; }
.block-heading-two { border-bottom: 1px solid var(--lis-line) !important; margin: 0 8px 8px; }
.body-widget-title span, .s-widget h5, .sidebar h5, .s-widget .widget-title { font-family: var(--lis-head) !important; text-transform: uppercase; color: var(--lis-navy) !important; letter-spacing: .02em; font-weight: 600 !important; }
.body-widget-title .fa, .s-widget h5 .fa { color: var(--lis-red) !important; }
.view-all-category-top a { color: var(--lis-red) !important; font-weight: 700; }
.main-news-image, .page-body-widget-main-img img { border-radius: 10px; }
.main-news h4 a, .main-news h3 a, .widget-content-body h4 a, .widget-content-body h5 a { color: var(--lis-ink); }
.main-news h4 a:hover, .widget-content-body h4 a:hover, .widget-content-body h5 a:hover { color: var(--lis-red); }
.alert-info { background: var(--lis-bg) !important; border: 1px dashed #cfcde0 !important; color: var(--lis-muted) !important; border-radius: 10px; }
.s-widget { padding: 18px; margin-bottom: 24px; }
.s-widget .search form { position: relative; }
.s-widget .search input { width: 100%; height: 44px; border: 1px solid var(--lis-line); border-radius: 999px; padding: 0 48px 0 16px; background: var(--lis-bg); }
.s-widget .search button { position: absolute; right: 5px; top: 5px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--lis-navy); color: #fff; }
.counter-four { padding: 16px; margin-bottom: 24px; }
.counter-four .counter-item { border-radius: 12px; border: 1px solid var(--lis-line); background: var(--lis-bg); }
.counter-four .counter-item:hover { border-color: var(--lis-navy); }
.counter-four h6 { font-family: var(--lis-head); text-transform: uppercase; color: var(--lis-navy); letter-spacing: .02em; }

.counter-four .counter-item i[class*="icon-border-bg-"] { background: var(--lis-navy) !important; color: #fff !important; box-shadow: 0 0 0 5px rgba(40,33,101,.12) !important; border: 0 !important; }
.counter-four .counter-item:hover i[class*="icon-border-bg-"] { background: var(--lis-red) !important; box-shadow: 0 0 0 5px rgba(230,29,37,.15) !important; }

/* sidebar promo */
.lis-promo { display: block; padding: 20px; margin-bottom: 24px; border-radius: var(--lis-radius); color: #fff !important; text-decoration: none !important; background: linear-gradient(135deg, var(--lis-navy) 0%, var(--lis-navy-2) 60%, var(--lis-red) 140%); }
.lis-promo strong { display: block; font-family: var(--lis-head); font-size: 24px; text-transform: uppercase; line-height: 1.1; margin-bottom: 6px; }
.lis-promo span { display: block; opacity: .9; margin-bottom: 14px; }
.lis-promo em { font-style: normal; display: inline-block; background: #fff; color: var(--lis-navy); border-radius: 999px; padding: 8px 14px; font-weight: 700; }

.lis-guide { display: block; padding: 20px; margin-bottom: 24px; border-radius: var(--lis-radius); background: #fff; border: 2px solid var(--lis-red); color: var(--lis-ink) !important; text-decoration: none !important; position: relative; overflow: hidden; }
.lis-guide::after { content: ""; position: absolute; right: -28px; top: -28px; width: 96px; height: 96px; border-radius: 50%; background: rgba(230,29,37,.08); }
.lis-guide__tag { display: inline-block; background: var(--lis-red); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.lis-guide strong { display: block; font-family: var(--lis-head); font-size: 23px; line-height: 1.1; text-transform: uppercase; color: var(--lis-navy); margin-bottom: 10px; }
.lis-guide ul { list-style: none; margin: 0 0 14px; padding: 0; }
.lis-guide li { position: relative; padding-left: 22px; margin-bottom: 6px; color: var(--lis-muted); }
.lis-guide li::before { content: "✓"; position: absolute; left: 0; color: var(--lis-red); font-weight: 700; }
.lis-guide em { font-style: normal; display: inline-block; background: var(--lis-red); color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; }
.lis-guide:hover em { background: var(--lis-red-dark); }

/* ---------- footer ---------- */
footer.lis-footer { margin-top: 40px; padding: 0; border: 0; font-size: 15px; background: var(--lis-navy); color: #d9d8ec; }
.lis-footer .lis-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 44px; padding-bottom: 32px; }
.lis-footer p { margin: 16px 0 0; line-height: 1.6; max-width: 32em; }
.lis-footer h2 { font-family: var(--lis-head); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin: 4px 0 14px; }
.lis-footer ul { list-style: none; margin: 0; padding: 0; }
.lis-footer li { margin: 0 0 8px; }
.lis-footer a { color: #d9d8ec; }
.lis-footer a:hover { color: #fff; }
.lis-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; font-size: 13px; color: #b5b3d3; }

/* the theme's own pieces we no longer use */
.top-bar, .header, .menu, .header-separator, .foot, body > .outer > footer:not(.lis-footer) { display: none !important; }
.totop .bg-color { background: var(--lis-red) !important; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .lis-search--head, .lis-header__cta { display: none; }
  .lis-burger { display: block; }
  .lis-nav.collapse:not(.show) { display: none; }
  .lis-nav ul { flex-direction: column; padding: 8px 0; }
  .lis-nav__cta { margin-left: 0; }
  .lis-hero .lis-hero__grid { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .lis-hero__media picture { width: 100%; margin-right: 0; }
  .lis-hero__copy { padding-bottom: 8px; }
  .lis-hero__badge { position: relative; left: auto; bottom: auto; max-width: none; margin: -6px 0 20px; }
  .lis-footer__grid { grid-template-columns: 1fr 1fr; }
  .lis-footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (min-width: 992px) { .lis-nav.collapse { display: block !important; } }
@media (max-width: 575.98px) {
  .lis-header__bar { padding-top: 10px; padding-bottom: 10px; }
  .lis-brand img { width: 44px; }
  .lis-brand__a { font-size: 17px; }
  .lis-brand__b { font-size: 22px; }
  .lis-hero__lead { font-size: 16px; }
  .lis-search--hero .lis-btn { padding: .7em 1em; }
  .lis-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* "Fonte: <testata>" badge over news photos */
.lis-ph { position: relative; display: inline-block; max-width: 100%; line-height: 0; vertical-align: top; }
.page-body-widget-main-img .lis-ph, .detail-img .lis-ph, .lis-ph:has(> .main-news-image) { display: block; }
.lis-ph > img { max-width: 100%; }
/* section lead photo: fixed 16:9-ish box, photo cropped to fill, badge inside the visible area */
.page-body-widget-main-img { max-height: none !important; }
.lis-ph:has(> .main-news-image) { height: 230px; overflow: hidden; border-radius: 10px; }
.lis-ph:has(> .main-news-image) > img { min-width: 0 !important; width: 100% !important; max-width: 100% !important; height: 100% !important; object-fit: cover; }
.lis-fonte { position: absolute; right: 6px; bottom: 6px; z-index: 2; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 7px; border-radius: 4px; background: rgba(29,27,51,.78); color: #fff; font: 600 11px/1.5 "Open Sans", system-ui, sans-serif; pointer-events: none; }

/* home, bottom: most viewed Ticino jobs from Offerte */
.lis-jobs { background: #fff; border-top: 1px solid var(--lis-line); padding: 40px 0 8px; margin-top: 16px; }
.lis-jobs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.lis-jobs h2 { font-family: var(--lis-head); text-transform: uppercase; color: var(--lis-navy); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; margin: 0; }
.lis-jobs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lis-job { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1px solid var(--lis-line); border-radius: 12px; background: var(--lis-bg); color: var(--lis-ink) !important; text-decoration: none !important; transition: border-color .15s, background-color .15s, transform .15s; }
.lis-job:hover { border-color: var(--lis-navy); background: #fff; }
.lis-job__n { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lis-navy); color: #fff; font-family: var(--lis-head); font-weight: 600; font-size: 17px; }
.lis-job:hover .lis-job__n { background: var(--lis-red); }
.lis-job__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lis-job__body strong { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lis-job__meta { font-size: 13px; color: var(--lis-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lis-job__go { color: var(--lis-red); font-weight: 700; font-size: 18px; }
@media (max-width: 767.98px) { .lis-jobs__grid { grid-template-columns: 1fr; } }
/* small thumbnails: a thin gradient strip along the bottom instead of a box */
/* the theme floats the 100x66 thumbnail left of the title: the wrapper takes over float and size */
.lis-ph:not(:has(> .main-news-image)) { float: left; width: 100px; height: 66px; margin-right: 12px; border-radius: 6px; overflow: hidden; }
.lis-ph:not(:has(> .main-news-image)) > img { float: none !important; width: 100% !important; height: 100% !important; object-fit: cover; }
.lis-ph:not(:has(> .main-news-image)) .lis-fonte { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; padding: 16px 6px 4px; white-space: normal; text-overflow: clip; font-size: 9px; line-height: 11px; max-height: 42px; overflow: hidden; text-align: left; background: linear-gradient(to bottom, rgba(29,27,51,0), rgba(29,27,51,.88) 45%); }

/* category / source / search lists: one card per news, photo left 16:10, text right */
.blog-one-item { display: flex; gap: 22px; align-items: flex-start; margin: 0 0 16px !important; padding: 16px; background: #fff; border: 1px solid var(--lis-line); border-radius: var(--lis-radius); box-shadow: 0 1px 2px rgba(29,27,51,.04); transition: border-color .15s, box-shadow .15s; }
.blog-one-item:hover { border-color: #cfcde0; box-shadow: 0 10px 24px -16px rgba(40,33,101,.35); }
.blog-one-item > .blog-one-img, .blog-one-item > .blog-one-content { padding: 0 !important; max-width: none !important; }
.blog-one-item > .blog-one-img { flex: 0 0 270px; }
.blog-one-item > .blog-one-content { flex: 1 1 auto; min-width: 0; }
.blog-one-img .lis-ph { float: none; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 0; border-radius: 10px; }
.blog-one-img .lis-ph > img { width: 100% !important; height: 100% !important; object-fit: cover; }
.blog-one-img .lis-ph .lis-fonte { left: auto; right: 8px; bottom: 8px; max-width: calc(100% - 16px); max-height: none; padding: 3px 8px; border-radius: 4px; background: rgba(29,27,51,.82); font-size: 11px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.blog-one-content h3 { margin: 2px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.blog-one-content h3 a { color: var(--lis-ink); }
.blog-one-content h3 a:hover { color: var(--lis-red); }
.blog-one-content .blog-meta { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 8px; font-size: 13px; color: var(--lis-muted); }
.blog-one-content .blog-meta a { color: var(--lis-muted); }
.blog-one-content .blog-meta .fa { color: var(--lis-red); }
.blog-one-content p { margin: 0; color: #46445c; line-height: 1.6; }
@media (max-width: 767.98px) {
  .blog-one-item { flex-direction: column; gap: 12px; padding: 12px; }
  .blog-one-item > .blog-one-img { flex-basis: auto; width: 100%; }
  .blog-one-content h3 { font-size: 18px; }
}
.blog-one-item.row { flex-wrap: nowrap; margin-left: 0 !important; margin-right: 0 !important; }
.all-news-content { background: transparent !important; padding: 0 0 8px !important; }
.content-panel:has(> .all-news-content) { background: transparent !important; padding-right: 15px !important; }
.all-news-content > hr { display: none; }
.all-news-content .page-title { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; font-family: var(--lis-head); font-weight: 700; text-transform: uppercase; color: var(--lis-navy); font-size: clamp(30px, 4vw, 42px); letter-spacing: .01em; }
.all-news-content .page-title > .fa { color: var(--lis-red); font-size: .8em; }
.all-news-content .page-title > span { display: none; }
.all-news-content .page-title a { margin-left: auto; color: var(--lis-muted); font-size: 18px; }
.all-news-content .page-title a:hover { color: var(--lis-red); }
@media (max-width: 767.98px) { .blog-one-item.row { flex-wrap: wrap; } }
.all-news-content .page-title { gap: 4px; }

/* sidebar: Ticino jobs, most viewed first */
.lis-sidejobs { background: #fff; border: 1px solid var(--lis-line); border-top: 4px solid var(--lis-red); border-radius: var(--lis-radius); padding: 18px; margin-bottom: 24px; }
.lis-sidejobs h5 { font-family: var(--lis-head); text-transform: uppercase; color: var(--lis-navy); font-size: 22px; letter-spacing: .02em; margin: 0 0 2px; }
.lis-sidejobs h5 .fa { color: var(--lis-red); }
.lis-sidejobs__sub { color: var(--lis-muted); font-size: 13px; margin: 0 0 12px; }
.lis-sidejobs ol { list-style: none; margin: 0 0 14px; padding: 0; }
.lis-sidejobs li + li { border-top: 1px solid var(--lis-line); }
.lis-sidejobs li a { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; text-decoration: none; color: var(--lis-ink); }
.lis-sidejobs__n { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lis-navy); color: #fff; font: 600 13px/1 var(--lis-head); margin-top: 1px; }
.lis-sidejobs li a:hover .lis-sidejobs__n { background: var(--lis-red); }
.lis-sidejobs__t { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lis-sidejobs__t strong { font-size: 14px; line-height: 1.3; font-weight: 600; }
.lis-sidejobs li a:hover strong { color: var(--lis-red); }
.lis-sidejobs__t small { font-size: 12px; color: var(--lis-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lis-sidejobs__all { width: 100%; font-size: 14px; }

/* compact news rows (home sections right column, sidebar lists) */
.lis-side { padding-left: 8px !important; }
.lis-minis { list-style: none; margin: 0; padding: 0; }
.lis-mini { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.lis-mini + .lis-mini { border-top: 1px solid var(--lis-line); }
.lis-mini:first-child { padding-top: 0; }
.lis-mini__ph { flex: 0 0 132px; display: block; }
.lis-mini__ph .lis-ph { float: none !important; width: 132px !important; height: 99px !important; margin: 0 !important; border-radius: 8px; }
.lis-mini__ph .lis-ph > img { width: 100% !important; height: 100% !important; object-fit: cover; }
.lis-mini__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lis-mini__title { color: var(--lis-ink) !important; font-weight: 700; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none !important; }
.lis-mini__title:hover { color: var(--lis-red) !important; }
.lis-mini__meta { font-size: 12.5px; color: var(--lis-muted); }
.s-widget .lis-mini__ph { flex-basis: 112px; }
.s-widget .lis-mini__ph .lis-ph { width: 112px !important; height: 84px !important; }
.s-widget .lis-mini__title { font-size: 14px; }
@media (max-width: 767.98px) { .lis-side { padding-left: 15px !important; margin-top: 16px; } }

/* social links */
.lis-socs { display: flex; gap: 8px; }
.lis-soc { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: #fff !important; text-decoration: none !important; transition: transform .15s, filter .15s; }
.lis-soc:hover { transform: translateY(-1px); filter: brightness(1.08); }
/* monochrome: brand navy, red on hover; white on the dark footer */
.lis-soc { background: var(--lis-navy); }
.lis-soc:hover { background: var(--lis-red); filter: none; }
.lis-footer .lis-soc { background: rgba(255,255,255,.12); }
.lis-footer .lis-soc:hover { background: var(--lis-red); }

.lis-socs--head { flex-shrink: 0; }
.lis-follow { margin: 18px 0 8px !important; font-family: var(--lis-head); text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.lis-nav__soc { display: none; }
@media (max-width: 991.98px) { .lis-socs--head { display: none; } .lis-nav__soc { display: block; } .lis-nav__soc .fa { width: 18px; } }

/* cookie notice */
.lis-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; background: var(--lis-navy); color: #fff; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(29,27,51,.6); border-left: 5px solid var(--lis-red); }
.lis-cookie[hidden] { display: none; }
.lis-cookie p { margin: 0; font-size: 14px; line-height: 1.5; }
.lis-cookie a { color: #fff; text-decoration: underline; }
.lis-cookie .lis-btn { flex-shrink: 0; }
@media (max-width: 575.98px) { .lis-cookie { flex-direction: column; align-items: stretch; text-align: left; } }

/* sidebar: follow us */
.lis-follow-box p { color: var(--lis-muted); font-size: 14px; margin: 4px 0 14px; }
.lis-follow-box__links { display: flex; flex-direction: column; gap: 10px; }
.lis-follow-box__a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--lis-line); border-radius: 12px; background: var(--lis-bg); color: var(--lis-ink) !important; text-decoration: none !important; transition: border-color .15s, background-color .15s; }
.lis-follow-box__a:hover { border-color: var(--lis-navy); background: #fff; }
.lis-follow-box__a:hover .lis-soc { background: var(--lis-red); }
.lis-follow-box__a > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.lis-follow-box__a strong { font-size: 15px; }
.lis-follow-box__a small { font-size: 12.5px; color: var(--lis-muted); }

/* brand from the site-logo setting (admin > Impostazioni del sito) */
.lis-brand__logo { display: block; height: 52px; width: auto; max-width: 260px; object-fit: contain; }
.lis-brand__text { font-family: var(--lis-head); font-weight: 700; text-transform: uppercase; color: var(--lis-navy); font-size: 24px; line-height: 1; }
.lis-brand--light .lis-brand__logo { height: 64px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.lis-brand--light .lis-brand__text { color: #fff; }
@media (max-width: 575.98px) { .lis-brand__logo { height: 42px; max-width: 210px; } }
.lis-brand img.lis-brand__logo { width: auto !important; height: 52px; padding: 0; background: none; border-radius: 0; }
.lis-brand--light img.lis-brand__logo { height: 64px; width: auto !important; background: #fff; border-radius: 12px; padding: 8px 12px; }
@media (max-width: 575.98px) { .lis-brand img.lis-brand__logo { height: 42px; } }
.lis-brand--light img.lis-brand__logo.is-light { background: none; padding: 0; border-radius: 0; height: 58px; }

/* article share bar (no third-party scripts) */
.lis-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.lis-share > span { font-family: var(--lis-head); text-transform: uppercase; color: var(--lis-navy); letter-spacing: .03em; margin-right: 4px; }
.lis-share a, .lis-share button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--lis-navy); color: #fff !important; font-size: 17px; text-decoration: none !important; cursor: pointer; }
.lis-share a:hover, .lis-share button:hover, .lis-share button.is-done { background: var(--lis-red); }

/* accessibility pass: headings in the right order, keep the old look */
h2.lis-wt { font-family: var(--lis-head) !important; text-transform: uppercase; color: var(--lis-navy) !important; letter-spacing: .02em; font-weight: 600 !important; font-size: 22px; margin: 0 0 10px; }
h2.lis-wt .fa { color: var(--lis-red) !important; }
.s-widget h2.lis-wt { font-size: 20px; }
.blog-one-content h2.lis-card-title { margin: 2px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 700; font-family: "Open Sans", system-ui, sans-serif; text-transform: none; }
.blog-one-content h2.lis-card-title a { color: var(--lis-ink); }
.blog-one-content h2.lis-card-title a:hover { color: var(--lis-red); }
.counter-four .lis-cnt { margin: 0; font-size: 22px; font-weight: 700; color: var(--lis-ink); }
.counter-four .lis-cnt-label { margin: 0; font-family: var(--lis-head); text-transform: uppercase; color: var(--lis-navy); letter-spacing: .02em; font-size: 16px; }
.excerpt p a, .blog-one-content p a, .main-news p a { text-decoration: underline; text-underline-offset: 2px; }
.lis-readsrc { display: inline-flex; width: auto; margin: 6px 0 10px; padding: .8em 1.4em; font-size: 15px; }
@media (max-width: 767.98px) { .blog-one-content h2.lis-card-title { font-size: 18px; } }
