/* ==========================================================================
   Samachar Core — widget styles (all colours/sizes adjustable from Elementor)
   ========================================================================== */

.spc-block, .spc-ticker, .spc-nav, .spc-drawer, .spc-post-head, .spc-post-meta, .spc-share,
.spc-content, .spc-archive-head, .spc-logo, .spc-social, .spc-btn, .spc-cat-list, .spc-breadcrumbs, .spc-search-form {
	--spc-primary: var(--sp-primary, #d4111e);
	--spc-accent: var(--sp-accent, #ff7a00);
	--spc-dark: var(--sp-dark, #0f1b2d);
	--spc-surface: var(--sp-surface, #fff);
	--spc-text: var(--sp-text, #141414);
	--spc-muted: var(--sp-muted, #646b76);
	--spc-border: var(--sp-border, #e4e6ea);
	--spc-bg: var(--sp-bg, #f3f4f6);
	font-family: var(--sp-font, "Mukta", "Noto Sans Devanagari", system-ui, sans-serif);
}
.spc-icon { flex-shrink: 0; vertical-align: middle; }

/* --------------------------------------------------------------------------
   Block + heading
   -------------------------------------------------------------------------- */
.spc-block {
	--spc-cat: var(--spc-auto-cat, var(--spc-primary));
	--spc-gap: 18px;
	--spc-ratio: 16/9;
	--spc-overlay-h: 240px;
	--spc-thumb-w: 120px;
	--spc-img-radius: 8px;
	--spc-overlay: rgba(0,0,0,.9);
	background: var(--spc-surface);
	border-radius: 8px;
	padding: 18px;
	box-shadow: 0 1px 2px rgba(15,27,45,.06), 0 4px 14px rgba(15,27,45,.06);
	color: var(--spc-text);
}
.spc-block-plain, .spc-block-hero { background: transparent; box-shadow: none; padding: 0; }
.spc-block a { color: inherit; text-decoration: none; }

.spc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.spc-head-title { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.3; }
.spc-head-title span { display: inline-flex; align-items: center; gap: 8px; }
.spc-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 15px; color: var(--spc-cat) !important; padding-bottom: 4px; white-space: nowrap; }
.spc-more:hover { text-decoration: underline; }

.spc-head-ribbon { border-bottom: 3px solid var(--spc-cat); }
.spc-head-ribbon .spc-head-title span { background: var(--spc-cat); color: #fff; padding: 6px 26px 4px 14px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
.spc-head-underline { border-bottom: 1px solid var(--spc-border); }
.spc-head-underline .spc-head-title span { color: var(--spc-cat); border-bottom: 3px solid var(--spc-cat); padding-bottom: 6px; margin-bottom: -1px; }
.spc-head-bar .spc-head-title span { border-left: 5px solid var(--spc-cat); padding-left: 10px; color: var(--spc-text); }
.spc-head-boxed { background: var(--spc-cat); padding: 8px 14px; border-radius: 6px; align-items: center; }
.spc-head-boxed .spc-head-title span, .spc-head-boxed .spc-more { color: #fff !important; }
.spc-head-center { justify-content: center; position: relative; }
.spc-head-center::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid var(--spc-cat); }
.spc-head-center .spc-head-title { position: relative; background: var(--spc-surface); padding: 0 14px; }
.spc-head-center .spc-head-title span { color: var(--spc-cat); }
.spc-head-center .spc-more { position: absolute; right: 0; background: var(--spc-surface); padding-left: 8px; }

.spc-badge {
	display: inline-block; background: var(--spc-cat, #d4111e); color: #fff !important; font-size: 13px; font-weight: 700;
	padding: 1px 9px; border-radius: 3px; margin-bottom: 6px; line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.spc-card { position: relative; min-width: 0; }
.spc-thumb {
	display: block; position: relative; overflow: hidden; border-radius: var(--spc-img-radius);
	aspect-ratio: var(--spc-ratio); background: linear-gradient(135deg, var(--spc-primary), var(--spc-accent));
}
.spc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.spc-card:hover .spc-thumb img { transform: scale(1.05); }
.spc-thumb-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 40px; font-weight: 800; }
.spc-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%;
	background: color-mix(in srgb, var(--spc-primary) 92%, transparent); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 6px rgba(255,255,255,.25); z-index: 2;
}
.spc-format-icon { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.6); color: #fff; border-radius: 4px; padding: 3px 5px; display: flex; z-index: 2; }
.spc-title { font-size: 18px; font-weight: 700; line-height: 1.38; margin: 0 0 6px; color: var(--spc-text); }
.spc-title a:hover { color: var(--spc-primary); }
.spc-excerpt { color: var(--spc-muted); margin: 0 0 8px; font-size: 16px; line-height: 1.55; }
.spc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--spc-muted); font-weight: 500; }
.spc-meta > * { display: inline-flex; align-items: center; gap: 4px; }

.spc-card-standard .spc-card-body { padding-top: 12px; }
.spc-card-horizontal { display: grid; grid-template-columns: var(--spc-thumb-w) 1fr; gap: 12px; align-items: start; }
.spc-card-horizontal.spc-no-image { grid-template-columns: 1fr; }
.spc-card-horizontal .spc-thumb { aspect-ratio: 4/3; border-radius: calc(var(--spc-img-radius) * .75); }
.spc-card-horizontal .spc-title { font-size: 16px; }
.spc-card-horizontal .spc-play { width: 30px; height: 30px; box-shadow: none; }
.spc-card-horizontal .spc-thumb-fallback { font-size: 22px; }

.spc-card-overlay { border-radius: var(--spc-img-radius); overflow: hidden; min-height: var(--spc-overlay-h); height: 100%; display: flex; }
.spc-card-overlay .spc-thumb { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.spc-card-overlay .spc-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--spc-overlay) 60%, transparent) 62%, var(--spc-overlay) 100%); }
.spc-card-overlay .spc-play { top: 40%; }
.spc-card-overlay .spc-card-body { position: relative; z-index: 2; margin-top: auto; padding: 18px; width: 100%; pointer-events: none; }
.spc-card-overlay .spc-card-body a { pointer-events: auto; }
.spc-card-overlay .spc-title, .spc-card-overlay .spc-title a { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.spc-card-overlay .spc-title a:hover { color: #fff; text-decoration: underline; }
.spc-card-overlay .spc-meta { color: rgba(255,255,255,.85); }
.spc-card-overlay.spc-no-image { background: var(--spc-dark); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.spc-hero { --spc-hero-h: 460px; display: grid; gap: 14px; }
.spc-hero .spc-lead .spc-card-overlay { min-height: var(--spc-hero-h); }
.spc-hero .spc-lead .spc-title { font-size: 31px; line-height: 1.28; }
.spc-hero-rest { display: grid; gap: 14px; }
.spc-hero-rest .spc-card-overlay { min-height: 0; }
.spc-hero-rest .spc-title { font-size: 18px; }
.spc-hero-big-side { grid-template-columns: 1.75fr 1fr; }
.spc-hero-big-side .spc-hero-rest { grid-auto-rows: 1fr; }
.spc-hero-big-grid { grid-template-columns: 1.4fr 1fr; }
.spc-hero-big-grid .spc-hero-rest { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.spc-hero-big-grid .spc-hero-rest .spc-title { font-size: 16px; }
.spc-hero-big-grid .spc-hero-rest .spc-badge, .spc-hero-big-grid .spc-hero-rest .spc-meta { display: none; }
.spc-hero-three { grid-template-columns: 1fr 1fr 1fr; }
.spc-hero-three .spc-hero-rest { display: contents; }
.spc-hero-three .spc-card-overlay { min-height: var(--spc-hero-h); }
.spc-hero-three .spc-lead .spc-title { font-size: 22px; }
.spc-hero-three .spc-hero-rest .spc-title { font-size: 22px; }
.spc-hero-big-list { grid-template-columns: 1.75fr 1fr; }
.spc-hero-big-list .spc-hero-rest {
	display: block; background: var(--spc-surface); border-radius: var(--spc-img-radius); padding: 6px 16px; counter-reset: spc;
	max-height: var(--spc-hero-h); overflow: auto;
}

/* --------------------------------------------------------------------------
   Grid
   -------------------------------------------------------------------------- */
.spc-grid { --spc-cols: 4; display: grid; grid-template-columns: repeat(var(--spc-cols), minmax(0, 1fr)); gap: var(--spc-gap) calc(var(--spc-gap) + 2px); }
.spc-grid .spc-card-standard .spc-title { font-size: 17px; }
.spc-grid-overlay .spc-card-overlay { min-height: var(--spc-overlay-h); }
.spc-grid-overlay .spc-title { font-size: 17px; }
.spc-grid-horizontal .spc-card-horizontal { padding-bottom: var(--spc-gap); border-bottom: 1px solid var(--spc-border); }
.spc-grid-titles { counter-reset: spc; }
.spc-feature-first > :first-child { grid-column: span 2; grid-row: span 2; }
.spc-feature-first > .spc-card-standard:first-child .spc-title { font-size: 24px; }
.spc-feature-first.spc-grid-overlay > :first-child .spc-title { font-size: 26px; }

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.spc-list { --spc-num: var(--spc-cat); display: flex; flex-direction: column; gap: var(--spc-gap); counter-reset: spc; }
.spc-dividers > * + * { padding-top: var(--spc-gap); border-top: 1px dashed var(--spc-border); }
.spc-list-timeline, .spc-list-numbered.spc-dividers { gap: 0; }
.spc-line { counter-increment: spc; font-weight: 700; line-height: 1.42; }
.spc-line .spc-title { font-size: 16px; margin: 0; display: block; }
.spc-line-numbered { display: grid; grid-template-columns: 44px 1fr; align-items: start; padding: 10px 0; }
.spc-dividers .spc-line-numbered + .spc-line-numbered { padding-top: 10px; border-top: 1px solid var(--spc-border); }
.spc-line-numbered::before {
	content: counter(spc); font-size: 32px; font-weight: 800; line-height: 1; color: var(--spc-num);
	font-family: var(--sp-font-serif, "Noto Serif", Georgia, serif);
}
.spc-line-numbered .spc-meta { margin-top: 4px; }
.spc-line-titles { position: relative; padding: 8px 0 8px 18px; }
.spc-line-titles::before { content: ""; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--spc-num); }
.spc-list-timeline { border-left: 2px solid var(--spc-border); margin-left: 6px; }
.spc-line-timeline { position: relative; padding: 0 0 14px 18px; }
.spc-line-timeline::before { content: ""; position: absolute; left: -8px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--spc-surface); border: 3px solid var(--spc-num); }
.spc-line-timeline time { display: block; font-size: 13px; font-weight: 700; color: var(--spc-num); }
.spc-list-timeline.spc-dividers > * + * { border-top: 0; padding-top: 0; }
.spc-block-list .spc-lead { margin-bottom: var(--spc-gap); }
.spc-block-list .spc-lead .spc-title { font-size: 21px; }

/* --------------------------------------------------------------------------
   Category block
   -------------------------------------------------------------------------- */
.spc-cat .spc-lead .spc-title { font-size: 24px; line-height: 1.32; }
.spc-cat-lead-list { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.spc-cat-rest { display: flex; flex-direction: column; gap: 14px; counter-reset: spc; }
.spc-cat-lead-list .spc-cat-rest > * + *, .spc-cat-lead-stack .spc-cat-rest > * + * { padding-top: 14px; border-top: 1px dashed var(--spc-border); }
.spc-cat-lead-stack .spc-cat-rest, .spc-cat-lead-numbered .spc-cat-rest, .spc-cat-lead-grid .spc-cat-rest { margin-top: 16px; }
.spc-cat-lead-stack .spc-lead .spc-title, .spc-cat-lead-numbered .spc-lead .spc-title { font-size: 20px; }
.spc-cat-lead-numbered .spc-cat-rest { gap: 0; }
.spc-cat-lead-numbered .spc-line-numbered { border-top: 1px solid var(--spc-border); --spc-num: var(--spc-cat); }
.spc-cat-lead-numbered .spc-line-numbered::before {
	content: counter(spc); width: 30px; height: 30px; border-radius: 50%; background: var(--spc-cat); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 15px; font-family: inherit;
}
.spc-cat-lead-grid .spc-cat-rest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spc-gap); }

.spc-cat-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 12px; }
.spc-cat-mosaic .spc-card-overlay { min-height: 0; }
.spc-cat-mosaic .spc-lead { grid-row: span 2; }
.spc-cat-mosaic .spc-lead .spc-title { font-size: 26px; }
.spc-cat-mosaic .spc-card:not(.spc-lead) .spc-title { font-size: 16px; }
.spc-cat-mosaic .spc-card:not(.spc-lead) .spc-badge { display: none; }
.spc-cat-mosaic.spc-count-4 > :nth-child(2) { grid-column: span 2; }
.spc-cat-mosaic.spc-count-3 { grid-template-columns: 2fr 1fr; }
.spc-cat-mosaic.spc-count-2 { grid-template-columns: 2fr 1fr; grid-auto-rows: 340px; }
.spc-cat-mosaic.spc-count-2 .spc-lead, .spc-cat-mosaic.spc-count-1 .spc-lead { grid-row: auto; }
.spc-cat-mosaic.spc-count-1 { grid-template-columns: 1fr; grid-auto-rows: 400px; }

.spc-cat-video { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; grid-auto-rows: 300px; gap: 14px; }
.spc-cat-video .spc-card-overlay { min-height: 0; }
.spc-cat-video .spc-card:not(.spc-lead) .spc-title { font-size: 16px; }
.spc-cat-video.spc-count-3 { grid-template-columns: 2fr 1fr 1fr; }
.spc-cat-video.spc-count-2 { grid-template-columns: 2fr 1fr; }
.spc-cat-video.spc-count-1 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */
.spc-carousel { --spc-per-view: 3; position: relative; }
.spc-carousel-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--spc-per-view) - 1) * var(--spc-gap)) / var(--spc-per-view));
	gap: var(--spc-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.spc-carousel-track::-webkit-scrollbar { display: none; }
.spc-slide { scroll-snap-align: start; min-width: 0; }
.spc-slide .spc-card-overlay { min-height: var(--spc-overlay-h); }
.spc-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0;
	background: var(--spc-surface); color: var(--spc-text); box-shadow: 0 4px 14px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center;
	cursor: pointer; z-index: 3;
}
.spc-prev { left: -10px; }
.spc-next { right: -10px; }
.spc-arrow:hover { background: var(--spc-cat); color: #fff; }

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.spc-ticker { --spc-dot: var(--spc-accent); display: flex; align-items: center; height: 44px; overflow: hidden; background: var(--spc-surface); }
.spc-ticker-label {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; background: var(--spc-primary); color: #fff; font-weight: 800; font-size: 15px;
	padding: 0 22px 0 14px; height: 32px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.spc-ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.spc-ticker-items { display: inline-flex; white-space: nowrap; animation: spc-marquee 60s linear infinite; padding-left: 100%; }
.spc-ticker:hover .spc-ticker-items { animation-play-state: paused; }
.spc-ticker-items a { font-weight: 600; padding: 0 22px; position: relative; color: var(--spc-text); text-decoration: none; }
.spc-ticker-items a b { color: var(--spc-primary); }
.spc-ticker-items a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--spc-dot); transform: translateY(-50%); }
@keyframes spc-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.spc-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: inline-block; animation: spc-pulse 1.4s infinite; }
@keyframes spc-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */
.spc-tab-nav { display: flex; gap: 6px; margin-bottom: 14px; border-bottom: 3px solid var(--spc-cat); }
.spc-tab-btn {
	flex: 1; border: 1px solid var(--spc-border); border-bottom: 0; background: var(--spc-bg); color: var(--spc-text);
	font: inherit; font-weight: 800; font-size: 16px; padding: 8px 6px; border-radius: 6px 6px 0 0; cursor: pointer;
}
.spc-tab-btn.is-active { background: var(--spc-cat); color: #fff; border-color: var(--spc-cat); }
.spc-tab-panel[hidden] { display: none; }

/* Load more */
.spc-load-more-wrap { text-align: center; margin-top: 22px; }
.spc-load-more {
	border: 2px solid var(--spc-cat); background: transparent; color: var(--spc-cat); font: inherit; font-weight: 800;
	padding: 10px 28px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.spc-load-more:hover { background: var(--spc-cat); color: #fff; }
.spc-load-more.is-loading { opacity: .6; pointer-events: none; }

.spc-empty { padding: 18px; background: #fff7e6; border: 1px dashed #ff7a00; color: #7a4a00; font-size: 14px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   Site widgets
   -------------------------------------------------------------------------- */
.spc-logo { display: flex; }
.spc-logo-inner { display: inline-flex; flex-direction: column; }
.spc-logo img { max-height: 76px; width: auto; display: block; }
.spc-logo-text {
	font-family: var(--sp-font-serif, "Noto Serif", Georgia, serif); font-weight: 700; font-size: 44px; line-height: 1.05;
	color: var(--spc-primary); text-decoration: none; letter-spacing: -.5px;
}
.spc-logo-tagline { font-size: 14px; font-weight: 600; color: var(--spc-muted); margin-top: 4px; padding-left: 10px; border-left: 3px solid var(--spc-accent); }

.spc-nav { --spc-nav-link: #fff; --spc-nav-hover: rgba(0,0,0,.2); --spc-nav-h: 48px; display: flex; align-items: center; background: var(--spc-primary); min-height: var(--spc-nav-h); }
.spc-nav-toggle { display: none; background: rgba(0,0,0,.18); border: 0; color: var(--spc-nav-link); height: var(--spc-nav-h); padding: 0 14px; cursor: pointer; }
.spc-nav-home { color: var(--spc-nav-link); display: inline-flex; align-items: center; padding: 0 14px; height: var(--spc-nav-h); background: rgba(0,0,0,.18); }
.spc-nav-menu { list-style: none; display: flex; flex: 1; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.spc-nav-menu::-webkit-scrollbar { display: none; }
.spc-nav-menu > li { position: relative; }
.spc-nav-menu > li > a {
	display: flex; align-items: center; height: var(--spc-nav-h); color: var(--spc-nav-link); font-weight: 700; font-size: 17px;
	padding: 0 15px; white-space: nowrap; text-decoration: none; transition: background .15s;
}
.spc-nav-menu > li > a:hover, .spc-nav-menu > li.current-menu-item > a { background: var(--spc-nav-hover); color: var(--spc-nav-link); }
.spc-nav-menu .sub-menu {
	position: fixed; min-width: 210px; list-style: none; margin: 0; padding: 6px 0; background: var(--spc-surface);
	box-shadow: 0 8px 24px rgba(0,0,0,.15); border-top: 3px solid var(--spc-accent); display: none; z-index: 100;
}
.spc-nav-menu li:hover > .sub-menu, .spc-nav-menu li:focus-within > .sub-menu { display: block; }
.spc-nav-menu .sub-menu a { display: block; padding: 8px 16px; color: var(--spc-text); font-weight: 600; text-decoration: none; }
.spc-nav-menu .sub-menu a:hover { color: var(--spc-primary); background: var(--spc-bg); }
.spc-nav-tools { display: flex; margin-left: auto; }
.spc-nav-tools button { background: rgba(0,0,0,.18); border: 0; color: var(--spc-nav-link); height: var(--spc-nav-h); padding: 0 15px; cursor: pointer; display: flex; align-items: center; }
.spc-nav-tools button + button { border-left: 1px solid rgba(255,255,255,.15); }

.spc-is-fixed { position: fixed !important; top: 0; left: 0; right: 0; z-index: 990; box-shadow: 0 4px 14px rgba(0,0,0,.18); animation: spc-slide-down .25s ease; max-width: none !important; }
.admin-bar .spc-is-fixed { top: 32px; }
@keyframes spc-slide-down { from { transform: translateY(-100%); } to { transform: none; } }
.spc-sticky-header { position: sticky; top: 0; z-index: 990; }
.admin-bar .spc-sticky-header { top: 32px; }

.spc-drawer { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: .25s; }
.spc-drawer.is-open { opacity: 1; visibility: visible; }
.spc-drawer-panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(330px, 86vw); background: var(--spc-surface); overflow-y: auto;
	padding: 0 18px 30px; transform: translateX(-105%); transition: transform .25s ease;
}
.spc-drawer.is-open .spc-drawer-panel { transform: none; }
.spc-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 3px solid var(--spc-primary); margin-bottom: 16px; font-weight: 800; font-size: 21px; color: var(--spc-primary); }
.spc-drawer-close { background: none; border: 0; color: var(--spc-text); cursor: pointer; }
.spc-drawer-menu { list-style: none; margin: 16px 0; padding: 0; }
.spc-drawer-menu a { display: block; padding: 11px 4px; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--spc-border); color: var(--spc-text); text-decoration: none; }
.spc-drawer-menu .sub-menu { list-style: none; padding-left: 14px; }

.spc-search-form { display: flex; background: var(--spc-surface); border: 2px solid var(--spc-border); border-radius: 999px; overflow: hidden; max-width: 560px; margin: 0 auto; }
.spc-search-form input { flex: 1; border: 0; padding: 11px 18px; font: inherit; background: transparent; color: var(--spc-text); outline: none; min-width: 0; }
.spc-search-form button { border: 0; background: var(--spc-primary); color: #fff; padding: 0 20px; cursor: pointer; }
.spc-search-icon { background: none; border: 0; color: var(--spc-text, #141414); cursor: pointer; padding: 6px; display: inline-flex; }
.spc-search-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(10,16,26,.95); display: flex; align-items: center; justify-content: center; padding: 20px; }
.spc-search-overlay[hidden] { display: none; }
.spc-search-overlay .spc-search-form { width: min(720px, 100%); max-width: none; }
.spc-search-overlay input { font-size: 24px; padding: 18px 22px; }
.spc-search-overlay .spc-overlay-close { position: absolute; top: 20px; right: 20px; background: none; border: 0; color: #fff; cursor: pointer; }

.spc-date { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--spc-text, #141414); }

.spc-social { --spc-social-size: 34px; display: flex; flex-wrap: wrap; gap: 8px; }
.spc-social a { width: var(--spc-social-size); height: var(--spc-social-size); display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: transform .15s; }
.spc-social a:hover { transform: translateY(-2px); }
.spc-social-circle a { border-radius: 50%; }
.spc-social-rounded a { border-radius: 8px; }
.spc-social-plain a { background: none !important; color: inherit; }
.spc-social-brand .spc-s-facebook { background: #1877f2; }
.spc-social-brand .spc-s-x { background: #000; }
.spc-social-brand .spc-s-youtube { background: #ff0000; }
.spc-social-brand .spc-s-instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.spc-social-brand .spc-s-whatsapp { background: #25d366; }
.spc-social-brand .spc-s-telegram { background: #229ed9; }
.spc-social-brand .spc-s-linkedin { background: #0a66c2; }
.spc-social-custom a { background: rgba(255,255,255,.1); }

.spc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-weight: 700;
	font-size: 15px; line-height: 1.2; border: 2px solid transparent; text-decoration: none; transition: transform .15s, box-shadow .15s; text-align: center;
}
.spc-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.spc-btn-live { background: var(--spc-primary); color: #fff; }
.spc-btn-whatsapp { background: #25d366; color: #fff; }
.spc-btn-telegram { background: #229ed9; color: #fff; }
.spc-btn-epaper { border-color: var(--spc-dark); color: var(--spc-dark); }
.spc-btn-custom { background: var(--spc-primary); color: #fff; }
.spc-btn-block { display: flex; width: 100%; padding: 13px 16px; border-radius: 8px; }
.spc-btn:hover { color: #fff; }
.spc-btn-epaper:hover { color: var(--spc-dark); }

.spc-cat-list { list-style: none; margin: 0; padding: 0; column-gap: 20px; }
.spc-cat-list li { break-inside: avoid; padding: 5px 0; }
.spc-cat-list a { color: #c3cad5; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.spc-cat-list a:hover { color: var(--spc-accent); }
.spc-cat-list i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */
.spc-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--spc-muted); font-weight: 600; }
.spc-breadcrumbs a { color: inherit; text-decoration: none; }
.spc-breadcrumbs a:hover { color: var(--spc-primary); }
.spc-breadcrumbs i { font-style: normal; opacity: .6; }
.spc-post-title { font-family: var(--sp-font-serif, "Noto Serif", Georgia, serif); font-size: 36px; line-height: 1.32; font-weight: 700; margin: 6px 0 12px; color: var(--spc-text); }
.spc-deck { font-size: 20px; color: var(--spc-muted); font-weight: 500; margin: 0; line-height: 1.55; border-left: 4px solid var(--spc-accent); padding-left: 14px; }
.spc-post-meta {
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 0;
	border-top: 1px solid var(--spc-border); border-bottom: 1px solid var(--spc-border); color: var(--spc-muted);
}
.spc-byline { display: flex; align-items: center; gap: 10px; }
.spc-byline img { border-radius: 50%; }
.spc-author { font-weight: 800; display: block; color: var(--spc-primary); text-decoration: none; }
.spc-dates { font-size: 14px; }
.spc-stats { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; }
.spc-stats > span { display: inline-flex; align-items: center; gap: 4px; }
.spc-font-tools button { border: 1px solid var(--spc-border); background: var(--spc-bg); color: var(--spc-text); font-weight: 800; border-radius: 4px; padding: 2px 8px; margin-left: 2px; cursor: pointer; }

.spc-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spc-share-label { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--spc-muted); margin-right: 4px; }
.spc-share-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #fff; border: 0; text-decoration: none; cursor: pointer; transition: transform .15s; }
.spc-share-btn:hover { color: #fff; transform: translateY(-2px); }
.spc-share-pill .spc-share-btn { width: auto; border-radius: 999px; padding: 0 14px; font-weight: 700; font-size: 14px; }
.spc-share-whatsapp { background: #25d366; }
.spc-share-facebook { background: #1877f2; }
.spc-share-x { background: #000; }
.spc-share-telegram { background: #229ed9; }
.spc-share-linkedin { background: #0a66c2; }
.spc-share-copy { background: var(--spc-muted); }
.spc-share-copy.is-copied { background: #16a34a; }

.spc-featured { margin: 0; }
.spc-featured img { width: 100%; height: auto; border-radius: 8px; display: block; }
.spc-featured iframe, .spc-featured video { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 8px; }
.spc-featured figcaption { font-size: 14px; color: var(--spc-muted); padding: 6px 2px; }

.spc-content { --spc-fs: 19px; font-size: var(--spc-fs); line-height: 1.85; color: var(--spc-text); }
.spc-content p { margin: 0 0 1.15em; }
.spc-content a { color: var(--spc-primary); text-decoration: underline; text-underline-offset: 3px; }
.spc-content h2 { font-size: 1.4em; margin-top: 1.4em; }
.spc-content h3 { font-size: 1.22em; margin-top: 1.3em; }
.spc-content blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 5px solid var(--spc-primary); background: var(--spc-bg); font-weight: 600; border-radius: 0 8px 8px 0; }
.spc-content img, .spc-content iframe { max-width: 100%; border-radius: 6px; }
.spc-content iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16/9; }
.spc-dropcap > p:first-of-type::first-letter { float: left; font-size: 3.4em; line-height: .9; font-weight: 800; color: var(--spc-primary); margin: 6px 10px 0 0; }

.spc-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spc-tags span { font-weight: 800; }
.spc-tags a { background: var(--spc-bg, #f3f4f6); border: 1px solid var(--spc-border, #e4e6ea); padding: 3px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: inherit; text-decoration: none; }
.spc-tags a:hover { background: var(--sp-primary, #d4111e); color: #fff; }
.spc-author-box { display: flex; gap: 16px; padding: 18px; background: var(--sp-bg, #f3f4f6); border-radius: 8px; }
.spc-author-box img { border-radius: 50%; }
.spc-author-box p { margin: 4px 0; color: var(--sp-muted, #646b76); }
.spc-author-box a { color: var(--sp-primary, #d4111e); font-weight: 700; text-decoration: none; }
.spc-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spc-post-nav a { display: block; padding: 14px; background: var(--sp-bg, #f3f4f6); border-radius: 8px; font-weight: 700; line-height: 1.4; color: inherit; text-decoration: none; }
.spc-post-nav span { display: block; font-size: 13px; color: var(--sp-primary, #d4111e); font-weight: 800; }
.spc-next-post { text-align: right; grid-column: 2; }

.spc-archive-head { --spc-cat: var(--sp-primary, #d4111e); border-bottom: 4px solid var(--spc-cat); padding-bottom: 10px; }
.spc-archive-title { font-size: 34px; font-weight: 800; color: var(--spc-cat); margin: 0; }
.spc-archive-desc { color: var(--sp-muted, #646b76); }
.spc-block-archive .spc-archive-lead { margin-bottom: 18px; }
.spc-block-archive .spc-archive-lead .spc-card-overlay { min-height: 420px; }
.spc-block-archive .spc-archive-lead .spc-title { font-size: 30px; }
.spc-block-archive .spc-grid-horizontal { --spc-thumb-w: 290px; }
.spc-block-archive .spc-grid-horizontal .spc-title { font-size: 21px; }
.spc-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.spc-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: 6px; background: var(--sp-bg, #f3f4f6); font-weight: 700; border: 1px solid var(--sp-border, #e4e6ea); color: inherit; text-decoration: none; }
.spc-pagination .current, .spc-pagination a:hover { background: var(--sp-primary, #d4111e); color: #fff; }
.spc-empty-state { text-align: center; padding: 40px 10px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.spc-cat-video { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
	.spc-nav-bp-tablet .spc-nav-menu, .spc-nav-bp-tablet .spc-nav-home { display: none; }
	.spc-nav-bp-tablet .spc-nav-toggle { display: flex; align-items: center; }
	.spc-hero .spc-lead .spc-title { font-size: 26px; }
}
@media (max-width: 767px) {
	.spc-block { padding: 14px; }
	.spc-head-title { font-size: 19px; }
	.spc-hero-big-side, .spc-hero-big-grid, .spc-hero-big-list, .spc-hero-three { grid-template-columns: 1fr; }
	.spc-hero .spc-lead .spc-card-overlay { min-height: 300px; }
	.spc-hero .spc-lead .spc-title { font-size: 22px; }
	.spc-hero-big-side .spc-hero-rest { grid-template-columns: 1fr 1fr; }
	.spc-hero-big-side .spc-hero-rest .spc-card-overlay { min-height: 190px; }
	.spc-hero-big-side .spc-hero-rest .spc-title { font-size: 15px; }
	.spc-hero-big-side .spc-hero-rest .spc-badge, .spc-hero-big-side .spc-hero-rest .spc-meta { display: none; }
	.spc-hero-three .spc-card-overlay { min-height: 260px; }
	.spc-cat-lead-list { grid-template-columns: 1fr; }
	.spc-cat-lead-grid .spc-cat-rest { grid-template-columns: 1fr 1fr; }
	.spc-cat .spc-lead .spc-title { font-size: 21px; }
	.spc-cat-mosaic, .spc-cat-mosaic.spc-count-3, .spc-cat-mosaic.spc-count-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
	.spc-cat-mosaic .spc-lead { grid-row: auto; grid-column: 1 / -1; min-height: 260px; }
	.spc-cat-mosaic.spc-count-4 > :nth-child(2) { grid-column: auto; }
	.spc-cat-mosaic.spc-count-4 > :last-child, .spc-cat-mosaic.spc-count-2 > :last-child { grid-column: 1 / -1; }
	.spc-cat-mosaic .spc-lead .spc-title { font-size: 21px; }
	.spc-cat-video { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.spc-feature-first > :first-child { grid-column: 1 / -1; grid-row: auto; }
	.spc-grid .spc-card-standard .spc-title { font-size: 15px; }
	.spc-arrow { display: none; }
	.spc-nav-toggle { display: flex; align-items: center; }
	.spc-nav-bp-mobile .spc-nav-menu, .spc-nav-bp-mobile .spc-nav-home { display: none; }
	.spc-nav-home { display: none; }
	.spc-nav-menu > li > a { font-size: 16px; padding: 0 12px; }
	.spc-logo-text { font-size: 30px; }
	.spc-logo-tagline { display: none; }
	.spc-post-title { font-size: 26px; }
	.spc-deck { font-size: 17px; }
	.spc-content { --spc-fs: 18px; }
	.spc-font-tools { display: none; }
	.spc-post-nav { grid-template-columns: 1fr; }
	.spc-next-post { grid-column: auto; }
	.spc-block-archive .spc-grid-horizontal { --spc-thumb-w: 120px; }
	.spc-block-archive .spc-grid-horizontal .spc-title { font-size: 17px; }
	.spc-block-archive .spc-grid-horizontal .spc-excerpt { display: none; }
	.spc-block-archive .spc-archive-lead .spc-card-overlay { min-height: 280px; }
	.spc-block-archive .spc-archive-lead .spc-title { font-size: 22px; }
	.spc-archive-title { font-size: 26px; }
	.admin-bar .spc-is-fixed, .admin-bar .spc-sticky-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) { .spc-ticker-items { animation-duration: 180s !important; } }
