/* ========================================================================
   SwiftPress — Main Stylesheet
   Mobile-first responsive design
   ======================================================================== */

/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--sp-font-display);
    font-size: 1rem;
    color: var(--sp-text);
    background: var(--sp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Apply Tiro Bangla to all key text elements globally */
h1, h2, h3, h4, h5, h6,
p, li, blockquote,
.sp-card__title,
.sp-card__excerpt,
.sp-hero-card__title,
.sp-article__title,
.sp-article__subtitle,
.sp-article__content,
.sp-author-bio__name,
.sp-author-bio__desc,
.sp-scroll-nav__list li a,
.sp-mobile-nav__list a,
.sp-nav__item a,
.sp-follow-bar,
.sp-widget__title,
.sp-prose {
    font-family: var(--sp-font-display);
}

/* Bengali-specific override — use Bengali-optimized stack */
.sp-bengali body,
.sp-bengali h1, .sp-bengali h2, .sp-bengali h3,
.sp-bengali h4, .sp-bengali h5, .sp-bengali h6,
.sp-bengali p, .sp-bengali li,
.sp-bengali blockquote,
.sp-bengali .sp-prose,
.sp-bengali .sp-card__title,
.sp-bengali .sp-card__excerpt,
.sp-bengali .sp-article__title,
.sp-bengali .sp-article__subtitle,
.sp-bengali .sp-article__content {
    font-family: var(--sp-font-bengali);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--sp-primary);
    text-decoration: none;
    transition: color var(--sp-transition);
}

a:hover {
    color: var(--sp-primary-hover);
}

ul, ol {
    list-style: none;
}

/* === UTILITIES === */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.sp-container {
    width: 100%;
    max-width: var(--sp-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.sp-highlight {
    color: var(--sp-primary);
    font-weight: 600;
}

/* === LAYOUT === */
.sp-main {
    min-height: 60vh;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.sp-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .sp-layout {
        flex-direction: row;
        gap: 2.5rem;
    }
    .sp-content {
        flex: 1;
        min-width: 0;
    }
}

/* === HEADER (extended) === */
.sp-header {
    background: var(--sp-surface);
    border-bottom: 3px solid var(--sp-primary);
    position: sticky;
    top: 0;
    z-index: var(--sp-z-header);
    box-shadow: var(--sp-shadow-sm);
    height: var(--sp-header-height);
    transition: transform 0.3s ease;
}

.sp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--sp-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.sp-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.sp-header__logo img {
    height: 40px;
    width: auto;
}

.sp-header__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-text);
    line-height: 1.2;
}

.sp-header__name:hover {
    color: var(--sp-primary);
}

.sp-header__tagline {
    font-size: 0.7rem;
    color: var(--sp-text-muted);
    display: none;
}

@media (min-width: 768px) {
    .sp-header__tagline {
        display: block;
    }
}

.sp-header__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Nav */
.sp-nav {
    display: none;
}

@media (min-width: 1024px) {
    .sp-nav {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: center;
    }
    .sp-menu-toggle {
        display: none !important;
    }
}

.sp-nav__list {
    display: flex;
    gap: 0;
}

.sp-nav__item a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sp-text-secondary);
    transition: color var(--sp-transition);
    white-space: nowrap;
    position: relative;
}

.sp-nav__item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sp-primary);
    transition: all var(--sp-transition-slow);
    transform: translateX(-50%);
}

.sp-nav__item a:hover::after,
.sp-nav__item.current-menu-item a::after {
    width: 80%;
}

.sp-nav__item a:hover,
.sp-nav__item.current-menu-item a {
    color: var(--sp-primary);
}

/* Icon Buttons */
.sp-btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--sp-radius);
    color: var(--sp-text-secondary);
    transition: all var(--sp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-btn-icon:hover {
    background: var(--sp-surface-hover);
    color: var(--sp-text);
}

.sp-btn-icon svg {
    width: 22px;
    height: 22px;
}

/* Buttons */
.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--sp-radius);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--sp-transition);
    text-decoration: none;
}

.sp-btn--primary {
    background: var(--sp-primary);
    color: #fff;
}

.sp-btn--primary:hover {
    background: var(--sp-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-md);
}

/* === MOBILE NAV === */
.sp-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sp-surface);
    z-index: var(--sp-z-overlay);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
}

.sp-mobile-nav.is-active {
    transform: translateX(0);
}

.sp-mobile-nav__list {
    padding: 0;
}

.sp-mobile-nav__list li {
    border-bottom: 1px solid var(--sp-border);
}

.sp-mobile-nav__list a {
    display: block;
    padding: 0.875rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--sp-text);
    transition: color var(--sp-transition);
}

.sp-mobile-nav__list a:hover {
    color: var(--sp-primary);
}

.sp-mobile-nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.sp-mobile-lang {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sp-border);
}

.sp-mobile-lang ul {
    display: flex;
    gap: 1rem;
}

.sp-mobile-lang a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.sp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--sp-z-overlay) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.sp-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* === SEARCH OVERLAY === */
.sp-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--sp-surface);
    z-index: calc(var(--sp-z-overlay) + 1);
    padding: 1rem;
    box-shadow: var(--sp-shadow-lg);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sp-search-overlay.is-active {
    transform: translateY(0);
}

.sp-search-overlay__inner {
    display: flex;
    gap: 0.5rem;
    max-width: var(--sp-max-width);
    margin: 0 auto;
    align-items: center;
}

.sp-search-form {
    display: flex;
    flex: 1;
    gap: 0;
    background: var(--sp-bg);
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    border: 2px solid var(--sp-border);
    transition: border-color var(--sp-transition);
}

.sp-search-form:focus-within {
    border-color: var(--sp-primary);
}

.sp-search-form__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--sp-text);
    outline: none;
}

.sp-search-form__input::placeholder {
    color: var(--sp-text-muted);
}

.sp-search-form__btn {
    padding: 0.75rem 1rem;
    background: var(--sp-primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background var(--sp-transition);
}

.sp-search-form__btn:hover {
    background: var(--sp-primary-hover);
}

/* Language Switcher */
.sp-lang-switch {
    display: flex;
    align-items: center;
}

.sp-lang-switch ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-lang-switch a {
    display: block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sp-text-muted);
    border: 1px solid var(--sp-border);
    border-radius: 4px;
    transition: all var(--sp-transition);
}

.sp-lang-switch a:hover {
    color: var(--sp-primary);
    border-color: var(--sp-primary);
}

/* === HERO / FEATURED CARD === */
.sp-hero-card {
    margin-bottom: 2rem;
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    background: var(--sp-surface);
    box-shadow: var(--sp-shadow-md);
    transition: transform var(--sp-transition-slow), box-shadow var(--sp-transition-slow);
}

.sp-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-lg);
}

.sp-hero-card__link {
    display: block;
    position: relative;
    color: inherit;
}

.sp-hero-card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.sp-hero-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sp-hero-card:hover .sp-hero-card__img {
    transform: scale(1.03);
}

.sp-hero-card__img--placeholder {
    background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-hover));
}

.sp-hero-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 70%);
}

.sp-hero-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: #fff;
}

@media (min-width: 768px) {
    .sp-hero-card__content {
        padding: 2rem 2.5rem;
    }
}

.sp-hero-card__badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--sp-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.sp-hero-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--sp-font-display);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sp-hero-card__title {
        font-size: 1.75rem;
    }
}

/* === POST CARD === */
.sp-grid {
    display: grid;
    gap: var(--sp-gap);
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .sp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .sp-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .sp-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .sp-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.sp-card {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    box-shadow: var(--sp-shadow);
    transition: transform var(--sp-transition-slow), box-shadow var(--sp-transition-slow);
}

.sp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sp-shadow-md);
}

.sp-card__link {
    display: block;
    color: inherit;
    height: 100%;
}

.sp-card__thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sp-bg);
}

.sp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sp-card:hover .sp-card__img {
    transform: scale(1.05);
}

.sp-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-bg);
}

.sp-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: var(--sp-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    z-index: 1;
}

.sp-card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sp-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--sp-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--sp-transition);
}

.sp-card:hover .sp-card__title {
    color: var(--sp-primary);
}

.sp-card__excerpt {
    font-size: 0.8rem;
    color: var(--sp-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--sp-text-muted);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--sp-border);
}

.sp-card__date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sp-card__date svg {
    flex-shrink: 0;
}

/* === SECTION TITLES === */
.sp-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--sp-primary);
    display: inline-block;
}

/* === ARCHIVE HEADER === */
.sp-archive-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sp-border);
}

.sp-archive-header__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.sp-archive-header__desc {
    font-size: 0.9rem;
    color: var(--sp-text-secondary);
    margin-top: 0.5rem;
    max-width: 600px;
}

/* === BREADCRUMBS === */
.sp-breadcrumbs {
    margin-bottom: 1rem;
    padding: 0.75rem 0;
}

.sp-breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8rem;
    color: var(--sp-text-muted);
}

.sp-breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.sp-breadcrumbs__item a {
    color: var(--sp-text-secondary);
}

.sp-breadcrumbs__item a:hover {
    color: var(--sp-primary);
}

.sp-breadcrumbs__item [aria-current="page"] {
    color: var(--sp-text);
    font-weight: 500;
}

.sp-breadcrumbs__sep {
    display: flex;
    color: var(--sp-text-muted);
    margin: 0 0.25rem;
}

/* === SINGLE ARTICLE === */
.sp-article {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--sp-shadow);
}

@media (min-width: 768px) {
    .sp-article {
        padding: 2rem 2.5rem;
    }
}

.sp-article__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.sp-article__cat-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: var(--sp-primary-light);
    color: var(--sp-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all var(--sp-transition);
}

.sp-article__cat-badge:hover {
    background: var(--sp-primary);
    color: #fff;
}

.sp-article__title {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--sp-font-display);
    line-height: 1.2;
    color: var(--sp-text);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .sp-article__title {
        font-size: 2.25rem;
    }
}

.sp-article__subtitle {
    font-size: 1rem;
    color: var(--sp-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--sp-bg);
    border-left: 3px solid var(--sp-primary);
    border-radius: 0 var(--sp-radius) var(--sp-radius) 0;
    font-style: italic;
}

.sp-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--sp-border);
    border-bottom: 1px solid var(--sp-border);
}

.sp-article__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sp-article__avatar {
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.sp-article__author-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--sp-text);
}

.sp-article__date-reading {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--sp-text-muted);
}

.sp-article__dot {
    margin: 0 0.125rem;
}

/* Share Buttons */
.sp-share {
    display: flex;
    gap: 0.4rem;
}

.sp-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    transition: transform var(--sp-transition), opacity var(--sp-transition);
}

.sp-share__btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.sp-share__btn--fb { background: #1877F2; }
.sp-share__btn--tw { background: #111; }
.sp-share__btn--wa { background: #25D366; }
.sp-share__btn--tg { background: #26A5E4; }

/* Featured Image */
.sp-article__featured-image {
    margin-bottom: 1.5rem;
    border-radius: var(--sp-radius);
    overflow: hidden;
}

.sp-article__featured-image img {
    width: 100%;
    height: auto;
}

.sp-article__featured-image figcaption {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
    padding: 0.5rem 0;
    text-align: center;
    font-style: italic;
}

/* Tags */
.sp-article__footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sp-border);
}

.sp-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sp-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--sp-bg);
    color: var(--sp-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 2rem;
    border: 1px solid var(--sp-border);
    transition: all var(--sp-transition);
}

.sp-tag:hover {
    border-color: var(--sp-primary);
    color: var(--sp-primary);
    background: var(--sp-primary-light);
}

/* === PROSE (Article Content Typography) === */
.sp-prose {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--sp-text);
}

.sp-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
    color: var(--sp-text);
}

.sp-prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
    line-height: 1.35;
}

.sp-prose h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.sp-prose p {
    margin-bottom: 1.25rem;
}

.sp-prose ul, .sp-prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.sp-prose ul { list-style: disc; }
.sp-prose ol { list-style: decimal; }

.sp-prose li {
    margin-bottom: 0.35rem;
}

.sp-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--sp-primary);
    background: var(--sp-bg);
    border-radius: 0 var(--sp-radius) var(--sp-radius) 0;
    font-style: italic;
    color: var(--sp-text-secondary);
}

.sp-prose pre {
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    padding: 1rem;
    overflow-x: auto;
    font-family: var(--sp-font-mono);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.sp-prose code {
    font-family: var(--sp-font-mono);
    font-size: 0.85em;
    background: var(--sp-bg);
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
}

.sp-prose pre code {
    background: none;
    padding: 0;
}

.sp-prose img {
    border-radius: var(--sp-radius);
    margin: 1.5rem 0;
}

.sp-prose table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.sp-prose th,
.sp-prose td {
    padding: 0.75rem;
    border: 1px solid var(--sp-border);
    text-align: left;
}

.sp-prose th {
    background: var(--sp-bg);
    font-weight: 600;
}

.sp-prose a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* === AI HIGHLIGHTS BOX === */
.sp-ai-highlights {
    background: linear-gradient(135deg, var(--sp-primary-light) 0%, var(--sp-surface) 100%);
    border: 1px solid rgba(var(--sp-primary-rgb), 0.2);
    border-radius: var(--sp-radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.sp-ai-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), #FF6B6B, var(--sp-primary));
    background-size: 200% 100%;
    animation: sp-shimmer 3s ease-in-out infinite;
}

@keyframes sp-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sp-ai-highlights__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.sp-ai-highlights__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sp-ai-highlights__icon {
    color: var(--sp-primary);
    display: flex;
}

.sp-ai-highlights__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sp-text);
    margin: 0;
}

.sp-ai-highlights__badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--sp-primary), #FF6B6B);
    padding: 0.15rem 0.5rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sp-ai-highlights__toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--sp-text-muted);
    transition: transform var(--sp-transition);
}

.sp-ai-highlights__toggle[aria-expanded="false"] {
    transform: rotate(180deg);
}

.sp-ai-highlights__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sp-ai-highlights__list.is-collapsed {
    display: none;
}

.sp-ai-highlights__item {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--sp-text-secondary);
}

.sp-ai-highlights__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--sp-primary);
    border-radius: 50%;
}

/* === SIDEBAR === */
.sp-sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .sp-sidebar {
        width: var(--sp-sidebar-width);
        flex-shrink: 0;
        position: sticky;
        top: calc(var(--sp-header-height) + 1.5rem);
        max-height: calc(100vh - var(--sp-header-height) - 2rem);
        overflow-y: auto;
    }
}

.sp-widget {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--sp-shadow-sm);
}

.sp-widget__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sp-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sp-primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sp-widget ul {
    list-style: none;
    padding: 0;
}

.sp-widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--sp-border);
    font-size: 0.875rem;
}

.sp-widget li:last-child {
    border-bottom: none;
}

.sp-widget a {
    color: var(--sp-text-secondary);
    transition: color var(--sp-transition);
}

.sp-widget a:hover {
    color: var(--sp-primary);
}

/* === ADS === */
.sp-ad {
    text-align: center;
    overflow: hidden;
    margin: 1rem 0;
}

.sp-ad__label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--sp-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.sp-ad--center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-ad--sidebar {
    margin-bottom: 1.25rem;
}

.sp-ad--in-article {
    margin: 1.5rem -0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--sp-border);
    border-bottom: 1px solid var(--sp-border);
}

.sp-ad--grid-full {
    grid-column: 1 / -1;
    padding: 1rem 0;
}

.sp-ad--after-post {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--sp-bg);
    border-radius: var(--sp-radius);
}

.sp-ad--full-width {
    padding: 1rem;
    background: var(--sp-bg);
}

/* === PAGINATION === */
.sp-pagination {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sp-border);
}

.sp-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.sp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    background: var(--sp-surface);
    color: var(--sp-text-secondary);
    border-radius: var(--sp-radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--sp-transition);
    border: 1px solid var(--sp-border);
}

.sp-pagination .page-numbers:hover {
    border-color: var(--sp-primary);
    color: var(--sp-primary);
}

.sp-pagination .page-numbers.current {
    background: var(--sp-primary);
    color: #fff;
    border-color: var(--sp-primary);
}

.sp-pagination .prev,
.sp-pagination .next {
    gap: 0.25rem;
    font-weight: 600;
}

.sp-pagination .prev svg,
.sp-pagination .next svg {
    flex-shrink: 0;
}

/* === RELATED POSTS === */
.sp-related {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sp-border);
}

/* === COMMENTS === */
.sp-comments {
    margin-top: 2.5rem;
    background: var(--sp-surface);
    border-radius: var(--sp-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--sp-shadow-sm);
}

@media (min-width: 768px) {
    .sp-comments {
        padding: 2rem;
    }
}

.sp-comments__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sp-primary);
}

.sp-comments__list {
    list-style: none;
    padding: 0;
}

.sp-comment {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--sp-border);
}

.sp-comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sp-comment__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sp-comment__avatar img {
    border-radius: 50%;
}

.sp-comment__author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sp-text);
}

.sp-comment__author a {
    color: var(--sp-text);
}

.sp-comment__date {
    font-size: 0.75rem;
    color: var(--sp-text-muted);
}

.sp-comment__content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--sp-text-secondary);
}

.sp-comment__content p {
    margin-bottom: 0.5rem;
}

.sp-comment__footer {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
}

.sp-comment__reply a,
.sp-comment__edit a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sp-comment__moderation {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--sp-warning);
    margin-bottom: 0.5rem;
}

.sp-comments__closed {
    font-style: italic;
    color: var(--sp-text-muted);
}

/* Comment Form */
.sp-comment-form .comment-form-comment,
.sp-comment-form .sp-comment-form__field {
    margin-bottom: 1rem;
}

.sp-comment-form textarea,
.sp-comment-form input[type="text"],
.sp-comment-form input[type="email"],
.sp-comment-form input[type="url"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--sp-border);
    border-radius: var(--sp-radius);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--sp-text);
    background: var(--sp-bg);
    transition: border-color var(--sp-transition);
    resize: vertical;
}

.sp-comment-form textarea:focus,
.sp-comment-form input:focus {
    outline: none;
    border-color: var(--sp-primary);
}

.sp-comment-form .form-submit input {
    background: var(--sp-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--sp-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--sp-transition);
}

.sp-comment-form .form-submit input:hover {
    background: var(--sp-primary-hover);
}

.sp-comment-form .reply-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Nested comments */
.sp-comments__list .children {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
    border-left: 2px solid var(--sp-border);
}

@media (min-width: 768px) {
    .sp-comments__list .children {
        padding-left: 2.5rem;
    }
}

.sp-comments__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sp-border);
}

/* === FOOTER === */
.sp-footer {
    background: #111827;
    color: #D1D5DB;
    margin-top: 3rem;
}

[data-theme="dark"] .sp-footer {
    background: #060810;
}

.sp-footer__top {
    padding: 3rem 0 2rem;
}

.sp-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .sp-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sp-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.sp-footer__logo img {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
}

.sp-footer__brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.sp-footer__about {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #9CA3AF;
    margin-bottom: 1.25rem;
}

.sp-footer .sp-widget__title {
    color: #fff;
    border-bottom-color: var(--sp-primary);
}

.sp-footer .sp-widget {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.sp-footer .sp-widget a {
    color: #9CA3AF;
}

.sp-footer .sp-widget a:hover {
    color: #fff;
}

.sp-footer .sp-widget li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sp-footer__links {
    list-style: none;
    padding: 0;
}

.sp-footer__links li {
    padding: 0.4rem 0;
}

.sp-footer__links a {
    color: #9CA3AF;
    font-size: 0.85rem;
    transition: color var(--sp-transition);
}

.sp-footer__links a:hover {
    color: #fff;
}

/* Social */
.sp-social {
    display: flex;
    gap: 0.5rem;
}

.sp-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    transition: all var(--sp-transition);
}

.sp-social__link:hover {
    background: var(--sp-primary);
    color: #fff;
    transform: translateY(-2px);
}

.sp-social__link svg {
    width: 18px;
    height: 18px;
}

/* Footer Bottom */
.sp-footer__bottom {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #6B7280;
}

@media (min-width: 768px) {
    .sp-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* === BACK TO TOP === */
.sp-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    background: var(--sp-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sp-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--sp-transition-slow);
    z-index: 50;
}

.sp-back-to-top:hover {
    background: var(--sp-primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.sp-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* === 404 === */
.sp-404 {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.sp-404__icon {
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.sp-404__title {
    font-size: 5rem;
    font-weight: 900;
    color: var(--sp-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.sp-404__text {
    font-size: 1.1rem;
    color: var(--sp-text-secondary);
    margin-bottom: 2rem;
}

.sp-404__search {
    margin-bottom: 1.5rem;
}

/* === NO RESULTS === */
.sp-no-results {
    text-align: center;
    padding: 3rem 1rem;
}

.sp-no-results__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sp-no-results__text {
    color: var(--sp-text-secondary);
    margin-bottom: 1.5rem;
}

.sp-no-results .sp-search-form {
    max-width: 400px;
    margin: 0 auto;
}

/* === PAGE === */
.sp-page {
    background: var(--sp-surface);
    border-radius: var(--sp-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--sp-shadow);
}

@media (min-width: 768px) {
    .sp-page {
        padding: 2rem 2.5rem;
    }
}

.sp-page__title {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .sp-page__title {
        font-size: 2.25rem;
    }
}

.sp-page__thumbnail {
    border-radius: var(--sp-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sp-page-links {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sp-border);
    font-size: 0.9rem;
}

/* === PRINT === */
@media print {
    .sp-header,
    .sp-sidebar,
    .sp-footer,
    .sp-share,
    .sp-pagination,
    .sp-related,
    .sp-ad,
    .sp-back-to-top,
    .sp-breadcrumbs {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .sp-article,
    .sp-page {
        box-shadow: none;
        padding: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* === AUTHOR BIO (Compact — photo float left) === */
.sp-author-bio {
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    background: var(--sp-bg);
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
}

/* Clearfix */
.sp-author-bio::after {
    content: "";
    display: table;
    clear: both;
}

.sp-author-bio__avatar {
    float: left;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    line-height: 0;
}

.sp-author-bio__img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sp-border);
    transition: border-color var(--sp-transition);
}

.sp-author-bio:hover .sp-author-bio__img {
    border-color: var(--sp-primary);
}

.sp-author-bio__info {
    /* No flex needed, normal block flow */
}

.sp-author-bio__name {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

/* Verified badge (blue tick) */
.sp-verified-badge {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.sp-author-bio__name a {
    color: var(--sp-text);
    transition: color var(--sp-transition);
}

.sp-author-bio__name a:hover {
    color: var(--sp-primary);
}

.sp-author-bio__desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--sp-text-muted);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-author-bio__more {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--sp-primary);
    transition: gap var(--sp-transition);
}

.sp-author-bio__more:hover {
    gap: 0.4rem;
    color: var(--sp-primary-hover);
}

.sp-author-bio__more svg {
    flex-shrink: 0;
}

/* === FOLLOW BAR (below featured image — reference style) === */
.sp-follow-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    margin-bottom: 1.25rem;
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-radius: 2rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.sp-follow-bar__gnews {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: opacity var(--sp-transition);
}

.sp-follow-bar__gnews:hover {
    opacity: 0.8;
    color: #1a73e8;
}

.sp-follow-bar__gnews img {
    width: 20px;
    height: 20px;
}

.sp-follow-bar__gnews-text {
    color: #1a73e8;
    font-weight: 700;
}

.sp-follow-bar__follow-text {
    color: #1a73e8;
    font-weight: 600;
}

.sp-follow-bar__sep {
    color: var(--sp-border-strong);
    font-size: 1rem;
    line-height: 1;
    user-select: none;
}

.sp-follow-bar__icons {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sp-follow-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    transition: transform var(--sp-transition), opacity var(--sp-transition);
}

.sp-follow-bar__icon:hover {
    transform: scale(1.1);
    color: #fff;
}

.sp-follow-bar__icon--fb { background: #1877F2; }
.sp-follow-bar__icon--tw { background: #111; }
.sp-follow-bar__icon--wa { background: #25D366; }
.sp-follow-bar__icon--yt { background: #FF0000; }
.sp-follow-bar__icon--tg { background: #26A5E4; }
.sp-follow-bar__icon--li { background: #0A66C2; }
.sp-follow-bar__icon--gn { background: #4285F4; }

/* === SHARE BOTTOM (end of article) === */
.sp-share-bottom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sp-border);
}

.sp-share-bottom__label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sp-text-muted);
    white-space: nowrap;
}

.sp-share-bottom__buttons {
    display: flex;
    gap: 0.4rem;
}

/* === SINGLE POST — FULL WIDTH === */
.sp-layout--full {
    display: block;
}

.sp-layout--full .sp-content {
    max-width: var(--sp-content-width);
    margin: 0 auto;
}

/* === INFINITE SCROLL — SINGLE POST === */
.sp-infinite-post {
    position: relative;
}

/* Up Next — thick line divider (per reference image) */
.sp-infinite-post__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2.5rem 0 2rem;
}

.sp-infinite-post__divider::before,
.sp-infinite-post__divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--sp-text);
}

.sp-infinite-post__divider::before {
    flex: 0 0 24px;
}

.sp-infinite-post__divider-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sp-text);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

/* Load trigger — invisible sentinel at 80% of article height */
.sp-load-trigger {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* Loader animation */
.sp-infinite-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 1rem;
    color: var(--sp-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.sp-infinite-loader__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--sp-border);
    border-top-color: var(--sp-primary);
    border-radius: 50%;
    animation: sp-spin 0.7s linear infinite;
}

@keyframes sp-spin {
    to { transform: rotate(360deg); }
}

/* === MOBILE SCROLL NAV (below header) === */
.sp-scroll-nav {
    background: var(--sp-surface);
    border-bottom: 1px solid var(--sp-border);
    overflow: hidden;
    position: sticky;
    top: var(--sp-header-height);
    z-index: calc(var(--sp-z-header) - 1);
}

@media (min-width: 1024px) {
    .sp-scroll-nav {
        display: none !important;
    }
}

.sp-scroll-nav__inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sp-scroll-nav__inner::-webkit-scrollbar {
    display: none;
}

.sp-scroll-nav__list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0;
    padding: 0 0.5rem;
    margin: 0;
    list-style: none;
    white-space: nowrap;
    width: max-content;
    min-width: 100%;
}

.sp-scroll-nav__list li {
    display: inline-flex !important;
    align-items: center;
    flex-shrink: 0;
}

/* Pipe separator between items */
.sp-scroll-nav__list li + li::before {
    content: '|';
    color: var(--sp-border-strong);
    font-size: 0.75rem;
    padding: 0 0.15rem;
    line-height: 1;
}

.sp-scroll-nav__list li a {
    display: block;
    padding: 0.6rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sp-text-secondary);
    transition: color var(--sp-transition);
    white-space: nowrap;
}

.sp-scroll-nav__list li a:hover,
.sp-scroll-nav__list li.current-menu-item a {
    color: var(--sp-primary);
}

/* === LANGUAGE SWITCHER BUTTON === */
.sp-lang-btn {
    position: relative;
    gap: 0.15rem;
}

.sp-lang-btn__label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--sp-text);
    line-height: 1;
}

.sp-lang-btn svg {
    width: 18px;
    height: 18px;
}

/* === HEADER LEFT (hamburger) === */
.sp-header__left {
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .sp-header__left .sp-menu-toggle {
        display: none;
    }
}

/* === MOBILE NAV SOCIAL === */
.sp-mobile-nav__social {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-top: 1px solid var(--sp-border);
    flex-wrap: wrap;
}

.sp-mobile-nav__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--sp-text-secondary);
    background: var(--sp-bg);
    transition: all var(--sp-transition);
}

.sp-mobile-nav__social-link:hover {
    color: #fff;
}

.sp-mobile-nav__social-link--facebook:hover { background: #1877F2; }
.sp-mobile-nav__social-link--twitter:hover { background: #111; }
.sp-mobile-nav__social-link--instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sp-mobile-nav__social-link--youtube:hover { background: #FF0000; }
.sp-mobile-nav__social-link--telegram:hover { background: #26A5E4; }
.sp-mobile-nav__social-link--whatsapp:hover { background: #25D366; }
.sp-mobile-nav__social-link--google_news:hover { background: #4285F4; }
.sp-mobile-nav__social-link--linkedin:hover { background: #0A66C2; }

/* Featured image 16:9 on single posts */
.sp-article__featured-image {
    margin-bottom: 1rem;
    border-radius: var(--sp-radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.sp-article__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
