/**
 * SK News Portal — aligned with Brief News Pro (Ascendoor) demo tokens
 * Reference: https://demos.ascendoor.com/brief-news-pro/
 */

:root {
    --sk-accent: #d61515;
    --primary-color: #d61515;
    --clr-text: #393e46;
    --clr-text-light: #7f8487;
    --bg-clr: #ffffff;
    --bg-clr-light: #efefef;
    --border-clr: #e0e0e0;
    --site-title-color: #ffffff;
    --font-main: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Inter", system-ui, sans-serif;
    --font-site: "Commissioner", Georgia, serif;
    --radius: 3px;
    --nav-bg: #0c0c0c;
    --header-outer: #0c0c0c;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.65;
    color: var(--clr-text);
    background-color: var(--bg-clr);
}

body.light-mode {
    --bg-clr: #fff;
    --clr-text: #393e46;
    --border-clr: #e0e0e0;
    --bg-clr-light: #efefef;
    --clr-text-light: #7f8487;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--sk-accent);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-text);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.site-content {
    margin-bottom: 50px;
}

.section-wrapper,
.container {
    max-width: 1448px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== Flash news (demo strip) ===== */
.brief-news-pro-flash-news {
    margin-bottom: 24px;
    background-color: var(--bg-clr-light);
}

.flash-news-wrapper {
    display: flex;
    align-items: center;
    min-height: 44px;
}

.flash-news-title {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    position: relative;
    margin-right: 14px;
    padding-right: 24px;
    border-right: 1px solid var(--border-clr);
    min-height: 36px;
}

.flash-news-title .title {
    font-weight: 700;
    color: var(--clr-text);
    font-size: 0.95rem;
}

.flash-news-icon {
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: sk-blink 1s steps(1, start) infinite;
}

@keyframes sk-blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.flash-news-area {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.marquee.flash-news {
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: sk-marquee 50s linear infinite;
}

.marquee.flash-news:hover .marquee-inner {
    animation-play-state: paused;
}

@keyframes sk-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.flash-news-post {
    flex-shrink: 0;
}

.flash-news-post .content-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 8px;
}

.flash-news-post .content-wrap::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.flash-title a {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--clr-text) !important;
    white-space: nowrap;
}

.flash-title a:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 500px) {
    .flash-news-title .title {
        display: none;
    }
}

/* ===== Section titles (red dot + View All) ===== */
.title-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.title-heading .section-title,
.title-heading .widget-title {
    position: relative;
    margin: 0;
    padding-left: 14px;
    line-height: 1.2;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-family: var(--font-main);
}

.title-heading .section-title::after,
.title-heading .widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.title-heading .view-all {
    line-height: 1;
    padding: 2px 6px;
    font-weight: 500;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--clr-text) !important;
    border-radius: 3px;
}

.title-heading .view-all:hover {
    color: var(--primary-color) !important;
}

/* ===== Home layout ===== */
.home-magazine {
    padding-top: 8px;
    padding-bottom: 48px;
}

.home-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 992px) {
    .home-layout {
        grid-template-columns: minmax(0, 1fr) min(var(--sk-sidebar-width, 320px), 100%);
    }

    .sidebar-position-left .home-layout {
        grid-template-columns: min(var(--sk-sidebar-width, 320px), 100%) minmax(0, 1fr);
    }

    .sidebar-position-left .home-main {
        order: 2;
    }

    .sidebar-position-left .home-sidebar {
        order: 1;
    }
}

.home-section {
    margin-bottom: 2rem;
}

.section-head {
    border-bottom: none;
}

/* Hero — height presets (Customizer: Hero slider height) */
.home-hero-block {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 900px) {
    .home-hero-block {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
        align-items: stretch;
    }
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
	height: 100%;
}

.slider-slide {
    position: relative;
    flex: 0 0 100%;
    overflow: hidden;
}

/* Compact — less vertical space (default) */
.hero-slider--compact .slider-slide {
    aspect-ratio: 2.35 / 1;
    max-height: 340px;
}

.hero-slider--compact .slider-slide > a {
    position: absolute;
    inset: 0;
    display: block;
    line-height: 0;
}

.hero-slider--compact .slider-slide img,
.hero-slider--compact .slider-slide-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.hero-slider--compact .slide-excerpt {
    display: none;
}

.hero-slider--compact .slide-overlay {
    padding: 14px 16px 16px;
}

.hero-slider--compact .slide-title {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    margin-bottom: 0;
}

/* Medium */
.hero-slider--medium .slider-slide {
    aspect-ratio: 2 / 1;
    max-height: 420px;
}

.hero-slider--medium .slider-slide > a {
    position: absolute;
    inset: 0;
    display: block;
    line-height: 0;
}

.hero-slider--medium .slider-slide img,
.hero-slider--medium .slider-slide-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.hero-slider--medium .slide-overlay {
    padding: 16px 18px 18px;
}

.hero-slider--medium .slide-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
}

/* Standard (tall) */
.hero-slider--standard .slider-slide {
    aspect-ratio: 16 / 9;
    max-height: 520px;
}

.hero-slider--standard .slider-slide > a {
    position: absolute;
    inset: 0;
    display: block;
    line-height: 0;
}

.hero-slider--standard .slider-slide img,
.hero-slider--standard .slider-slide-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}

.hero-slider--standard .slider-slide-placeholder {
    background: linear-gradient(135deg, #222, #444);
}

.slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    color: #fff;
}

.slide-cat {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--primary-color);
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.slide-title {
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    margin: 0 0 4px;
    font-family: var(--font-heading);
    line-height: 1.25;
}

.slide-title a {
    color: #fff !important;
}

.slide-excerpt {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--primary-color);
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.slider-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--primary-color);
}

.hero-side-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.hero-side-list--compact .blog-post-container.list-layout .blog-post-inner {
    grid-template-columns: 96px 1fr;
}

.hero-side-list--compact .blog-post-container .entry-title {
    font-size: 0.88rem;
}

.hero-side-list--compact .blog-post-container .blog-post-detail {
    padding: 10px 12px 12px;
}

.hero-side-list--medium .blog-post-container.list-layout .blog-post-inner {
    grid-template-columns: 110px 1fr;
}

/* Post grids */
.post-grid {
    display: grid;
    gap: 18px;
}

.post-grid--2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.post-grid--3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.post-grid--4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

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

@media (min-width: 900px) {
    .post-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.featured-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== Blog post cards (Brief News markup) ===== */
.blog-post-container {
    background: var(--bg-clr);
    border: 1px solid var(--border-clr);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.blog-post-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.blog-post-container .blog-post-inner {
    height: 100%;
}

.blog-post-container.tile-layout .blog-post-inner {
    display: flex;
    flex-direction: column;
}

.blog-post-container.tile-layout .blog-post-image {
    line-height: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-post-container.tile-layout .blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-post-container:hover .blog-post-image img {
    transform: scale(1.03);
}

.blog-post-container .blog-post-detail {
    padding: 14px 16px 16px;
}

.blog-post-container .post-categories {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.blog-post-container .post-categories a {
    position: relative;
    display: inline-block;
    padding-left: 12px;
    margin-bottom: 6px;
    margin-right: 8px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    color: var(--categories-clr, var(--primary-color)) !important;
    text-decoration: none;
    z-index: 0;
}

.blog-post-container .post-categories a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--categories-clr, var(--primary-color));
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.blog-post-container .entry-title {
    line-height: 1.25;
    margin: 4px 0 8px;
    font-size: 1rem;
    font-family: var(--font-heading);
}

.blog-post-container .entry-title a {
        display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--clr-text) !important;
    text-decoration: none;
}

.blog-post-container .entry-title a:hover {
    color: var(--primary-color) !important;
}

.blog-post-container .post-excerpt {
    margin: 6px 0 8px;
    font-size: 0.88rem;
    color: var(--clr-text-light);
    line-height: 1.5;
}

.blog-post-container .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 0.78rem;
    color: var(--clr-text-light);
}

.blog-post-container .post-meta a {
    color: var(--clr-text) !important;
    font-weight: 500;
}

.blog-post-container .post-meta a:hover {
    color: var(--primary-color) !important;
}

/* List / horizontal layout */
.blog-post-container.list-layout .blog-post-inner {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0;
    align-items: stretch;
}

.blog-post-container.list-layout .blog-post-image {
    line-height: 0;
    overflow: hidden;
}

.blog-post-container.list-layout .blog-post-image img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
}

.featured-news-list .blog-post-container.list-layout .blog-post-inner {
    grid-template-columns: minmax(140px, 200px) 1fr;
}

@media (max-width: 600px) {
    .blog-post-container.list-layout .blog-post-inner {
        grid-template-columns: 100px 1fr;
    }
}

.post-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100px;
    background: linear-gradient(120deg, #e8e8e8, #ddd);
}

.post-card__placeholder--lg {
    min-height: 180px;
}

/* ===== Sidebar ===== */
.home-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

#secondary.sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
}

.sidebar-sticky-off #secondary.sidebar {
    position: relative;
    top: auto;
}

.sidebar-sticky-off .home-sidebar {
    position: relative;
    top: auto;
}

.home-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-widget {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid var(--border-clr);
    border-radius: 10px;
    padding: 18px 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 20, 25, 0.06);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.popular-tags .popular-tags-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.popular-tags .tag-icon {
    flex-shrink: 0;
    padding: 3px 8px;
    background-color: var(--primary-color);
}

.popular-tags .tag-icon p {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.78rem;
}

.popular-tags ul.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.popular-tags ul.tag-list li a {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--clr-text) !important;
    padding: 6px 12px;
    background: var(--bg-clr-light);
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.popular-tags ul.tag-list li a:hover {
    color: #fff !important;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.sidebar-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-post-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-clr);
}

.sidebar-post-list li:last-child {
    border-bottom: none;
}

.sidebar-post-link {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sidebar-post-link img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.sidebar-post-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--clr-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-list time {
    display: block;
    font-size: 0.75rem;
    color: var(--clr-text-light);
    margin-top: 4px;
}

.top-stories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-stories-list li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-clr);
}

.top-stories-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
}

.top-stories-list a {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--clr-text);
}

.sidebar-social-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-social-menu a {
    font-weight: 600;
    color: var(--clr-text) !important;
}

.sidebar-empty {
    font-size: 0.88rem;
    color: var(--clr-text-light);
    margin: 0;
}

/* ===== Content + archives ===== */
.content-layout {
    display: grid;
    gap: 28px;
    padding: 28px 0 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .content-layout {
        grid-template-columns: minmax(0, 1fr) min(var(--sk-sidebar-width, 320px), 100%);
    }

    .sidebar-position-left .content-layout {
        grid-template-columns: min(var(--sk-sidebar-width, 320px), 100%) minmax(0, 1fr);
    }

    .sidebar-position-left .content-area,
    .sidebar-position-left .site-main.content-area {
        order: 2;
    }

    .sidebar-position-left #secondary.sidebar {
        order: 1;
    }
}

.posts-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.archive-header {
    margin-bottom: 20px;
}

.archive-title {
    font-size: 1.6rem;
    margin: 0;
    font-family: var(--font-heading);
    color: var(--clr-text);
}

.archive-description {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* Full-width main when sidebar hidden (Customizer) */
.no-sidebar .content-layout {
    grid-template-columns: 1fr !important;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.no-sidebar .content-area {
    max-width: 100%;
}

/* ===== Comments ===== */
.sk-comments {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-clr);
    clear: both;
}

.sk-comments-title {
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-clr-light);
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    font-family: var(--font-heading);
}

.sk-comment-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.sk-comment-list .comment,
.sk-comment-list .pingback {
    margin-bottom: 0;
}

.sk-comment-list > .comment {
    border: 1px solid var(--border-clr);
    border-radius: 10px;
    padding: 18px 18px 16px;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.sk-comment-list .children {
    list-style: none;
    margin: 14px 0 0;
    padding-left: 16px;
    border-left: 2px solid var(--bg-clr-light);
}

.sk-comment-list .children > .comment {
    background: #fff;
}

.sk-comment-list .avatar {
    border-radius: 50%;
    flex-shrink: 0;
}

.sk-comment-list .comment-body {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
}

.sk-comment-list .comment-meta {
    flex: 1;
    min-width: 0;
}

.sk-comment-list .comment-author .fn,
.sk-comment-list .comment-author .fn a {
    font-weight: 700;
    color: var(--clr-text) !important;
    font-style: normal;
}

.sk-comment-list .comment-metadata {
    font-size: 0.78rem;
    color: var(--clr-text-light);
    margin-top: 4px;
}

.sk-comment-list .comment-metadata a {
    color: var(--clr-text-light) !important;
}

.sk-comment-list .comment-content {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--clr-text);
}

.sk-comment-list .comment-content p {
    margin: 0 0 0.75em;
}

.sk-comment-list .reply {
    margin-top: 10px;
}

.sk-comment-list .reply .comment-reply-link {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary-color) !important;
}

.sk-comments .comment-navigation {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.sk-comments .comment-navigation a {
    font-weight: 600;
    font-size: 0.85rem;
}

.sk-no-comments {
    padding: 14px 16px;
    background: var(--bg-clr-light);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.sk-comment-reply-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    font-family: var(--font-heading);
}

.sk-comment-form {
    padding: 22px 22px 20px;
    border: 1px solid var(--border-clr);
    border-radius: 10px;
    background: var(--bg-clr);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.sk-comment-form .sk-field,
.sk-comment-form .comment-form-comment {
    margin-bottom: 14px;
}

.sk-comment-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--clr-text);
}

.sk-comment-form input[type="text"],
.sk-comment-form input[type="email"],
.sk-comment-form input[type="url"] {
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-clr);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-main);
}

.sk-comment-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 140px;
    padding: 12px 14px;
    border: 1px solid var(--border-clr);
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: var(--font-main);
    resize: vertical;
}

.sk-comment-form .sk-form-submit {
    margin-bottom: 0;
}

.sk-comment-form .sk-submit {
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff !important;
    background: var(--primary-color);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.sk-comment-form .sk-submit:hover {
    opacity: 0.92;
}

.sk-comment-form .comment-notes,
.sk-comment-form .logged-in-as {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    margin-bottom: 14px;
}

.sk-comment-form .required {
    color: var(--primary-color);
}

.single-post-article {
    background: var(--bg-clr);
    border: 1px solid var(--border-clr);
    padding: 28px;
    border-radius: var(--radius);
}

.single-post-article .entry-title {
    font-size: clamp(1.5rem, 3vw, 1.5rem);
}

.single-post-article .entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
}

.single-post-article .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin: 12px 0 28px;
    color: #555;
    font-size: 0.95rem;
}

.single-post-article .entry-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.single-post-article .entry-meta i {
    color: var(--primary-color);       
    font-size: 1.05rem;
    width: 18px;
}

.single-post-article .entry-meta a {
    color: inherit;
    text-decoration: none;
}

.single-post-article .entry-meta a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Optional: Make meta more compact on mobile */
@media (max-width: 768px) {
   .single-post-article .entry-meta {
        gap: 12px 15px;
        font-size: 0.9rem;
    }
}

.single-post-article .entry-meta a:hover {
    text-decoration: none;
    color: var(--sk-accent);
}

.load-more-container {
    text-align: center;
    margin-top: 28px;
}

.load-more-btn {
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    background: var(--nav-bg);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

.load-more-btn:hover {
    background: var(--primary-color);
}

.pagination {
    margin-top: 28px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--border-clr);
    border-radius: var(--radius);
    background: var(--bg-clr);
}

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

.sidebar .widget {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid var(--border-clr);
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 24px rgba(15, 20, 25, 0.06);
}

.sidebar .widget-title {
    font-size: 0.95rem;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-clr-light);
    /* border-left: 3px solid var(--primary-color); */
    padding-left: 10px;
}

/* Footer */
.site-footer {
    background: var(--nav-bg);
    color: #cbd5e1;
}

.footer-widgets { 
    padding: 40px 0 28px; 
    display: grid; 
    gap: 24px; 
    /* Force exactly 4 columns on desktop */
    grid-template-columns: repeat(4, 1fr); 
}

/* Responsive fix: Stack columns on tablets and mobile */
@media (max-width: 992px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 600px) {
    .footer-widgets {
        grid-template-columns: 1fr; /* 1 column for mobile */
    }
}

.footer-column .widget-title {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 10px;
}

.footer-column a {
    color: #e2e8f0 !important;
}

.footer-column a:hover {
    color: var(--primary-color) !important;
}

.footer-heading {
    position: relative;
    line-height: 1.2;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-family: var(--font-main);
}
#menu-footer-menus {
    padding: 0;
    list-style: none;
}

.footer-site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    text-align: center;
    font-size: 0.88rem;
}

.footer-site-info .copyright {
    margin: 0;
}

/* Container styling */
.contact-list {
  font-family: Arial, sans-serif;
  max-width: 400px;
}

/* Individual row styling */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Hover effect for links */
a.contact-item:hover  {
  color: var(--primary-color);;
}

/* Icon styling */
.contact-icon {
  margin-right: 12px;
  flex-shrink: 0;
  stroke: rgb(255, 255, 255); /* Theme Color */
}

.contact-item:hover .contact-icon  {
  stroke: var(--primary-color);
}

/* Text styling */
.contact-text {
  font-size: 14px;
  line-height: 1.4;
}

.font-bold {
  font-weight: bold;
}

/* Social Section Container */
.social-follow {
  margin-top: 25px;
}

/* Flexbox Wrapper */
.social-list {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Individual Link Styling */
.social-link {
  text-decoration: none;
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover Effects */
.social-link:hover {
  transform: translateY(-3px); /* Gentle lift on hover */
}

/* SVG Icon Styling */
.social-icon {
  stroke: #ffffff; /* Default for outline icons */
}

.social-icon:hover {
    stroke: var(--primary-color);
}

.social-icon-filled {
  fill: #f7f7f7; /* Specifically for WhatsApp */
}

.social-icon-filled:hover {
    stroke: var(--primary-color);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Modern 404 Error Page - News Portal */
.modern-404 {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 20px 60px;
}
.modern-404-wrapper {
    width: 100%;
}

.error-content {
    width: 100%;
    max-width: 826px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    padding: 70px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.error-visual {
    position: relative;
    margin-bottom: 30px;
}

.error-number {
    font-size: 13rem;
    font-weight: 900;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.08;
    letter-spacing: -10px;
}

.broken-news {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5.5rem;
    opacity: 0.85;
}

.error-title {
    font-size: 2.6rem;
    margin: 15px 0 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.error-subtitle {
    font-size: 1.15rem;
    color: #555;
    max-width: 520px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* Search Box */
.search-box {
    max-width: 520px;
    margin: 0 auto 50px;
}

.search-box input[type="search"] {
    width: 100%;
    padding: 18px 24px;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-box input[type="search"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb, 0, 102, 204), 0.15);
}

/* Category Grid */
.explore-section h3 {
    margin-bottom: 22px;
    font-size: 1.4rem;
    color: #222;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.category-card {
    padding: 16px 18px;
    background: #f8f9fa;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-card:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb, 0, 102, 204), 0.2) !important;
}

.btn-primary {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05) !important;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .error-number { 
        font-size: 9rem; 
    }
    .error-content { 
        padding: 50px 25px; 
    }
    .broken-news { 
        font-size: 4rem; 
    }
}

/* ===== Mobile navigation ===== */
@media (max-width: 991px) {
    .menu-toggle {
        display: inline-flex;
    }

    .main-navigation {
        flex: 1 1 100%;
        order: 4;
        width: 100%;
    }

    .main-navigation .navigation-area {
        position: fixed;
        top: 0;
        left: 0;
        width: min(300px, 88vw);
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        background: #fff;
        padding: 72px 0 24px;
        z-index: 160;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .main-navigation .navigation-area.active {
        transform: translateX(0);
    }

    .main-navigation ul.menu,
    .main-navigation .primary-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .main-navigation ul.menu > li > a,
    .main-navigation .primary-menu > li > a {
        color: var(--clr-text) !important;
        padding: 14px 20px;
        border-bottom: 1px solid var(--border-clr);
        background: none !important;
    }

    .main-navigation ul.menu > li > a:hover,
    .main-navigation .primary-menu > li > a:hover {
        color: var(--primary-color) !important;
    }

    .main-navigation .current-menu-item > a {
        color: var(--primary-color) !important;
        font-weight: 700;
    }

    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding-left: 12px;
        background: #f8f8f8;
    }

    .main-navigation .sub-menu.active {
        display: block;
    }

    .dropdown-toggle {
        display: inline-block;
        float: right;
        margin: 10px 16px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--clr-text);
    }

    .home-sidebar,
    #secondary.sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .bn-header-row {
        justify-content: flex-start;
    }

    .site-branding.has-bg-color {
        flex: 1;
        min-width: 0;
    }
}
