/* =========================================
   DevjeetSaha - Jannah inspired theme
========================================= */

:root {
    --ds-primary: #0088ff;
    --ds-dark: #171717;
    --ds-text: #333333;
    --ds-border: #eeeeee;
    --ds-container: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f5f5;
    color: var(--ds-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.ds-container {
    width: 100%;
    max-width: var(--ds-container);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Top bar */
.ds-topbar {
    background: #f7f7f7;
    border-bottom: 1px solid #e8e8e8;
    min-height: 38px;
    font-size: 12px;
}

.ds-topbar-inner {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 20px;
}

.ds-date {
    white-space: nowrap;
    color: #555;
}

.ds-breaking {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.ds-breaking-label {
    background: var(--ds-primary);
    color: #fff;
    padding: 7px 12px;
    font-weight: bold;
    white-space: nowrap;
    text-transform: uppercase;
}

.ds-breaking-track {
    overflow: hidden;
    white-space: nowrap;
    padding-left: 15px;
    flex: 1;
}

.ds-breaking-track a {
    display: inline-block;
    margin-right: 35px;
    color: #444;
}

/* Logo and advertisement */
.ds-header-main {
    background: #fff;
    padding: 22px 0;
}

.ds-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.ds-logo {
    display: block;
    flex: 0 0 30%;
}

.ds-logo img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
}

.ds-header-ad {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ds-header-ad img {
    display: block;
    max-width: 100%;
    width: 728px;
    height: auto;
}

/* Main navigation */
.ds-navigation {
    background: var(--ds-dark);
    border-bottom: 3px solid var(--ds-primary);
}

.ds-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.ds-menu {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-menu li a {
    display: block;
    color: #fff;
    padding: 16px 17px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background .2s ease;
}

.ds-menu li a:hover,
.ds-menu li.active a {
    background: var(--ds-primary);
    color: #fff;
}

.ds-nav-search {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 0 18px;
    font-size: 18px;
}

/* Main page container */
#layout-content {
    min-height: 500px;
}

.ds-page {
    padding-top: 25px;
    padding-bottom: 35px;
}

/* Responsive header */
.ds-mobile-menu {
    display: none;
    color: #fff;
    padding: 14px;
    cursor: pointer;
    font-size: 20px;
}

@media (max-width: 900px) {
    .ds-header-row {
        flex-direction: column;
        gap: 18px;
    }

    .ds-logo {
        flex: auto;
        text-align: center;
    }

    .ds-logo img {
        margin: auto;
        max-width: 240px;
    }

    .ds-header-ad {
        justify-content: center;
        width: 100%;
    }

    .ds-nav-inner {
        display: block;
    }

    .ds-menu {
        justify-content: center;
    }

    .ds-menu li a {
        padding: 13px 12px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .ds-topbar-inner {
        display: block;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .ds-date {
        margin-bottom: 8px;
    }

    .ds-breaking-label {
        padding: 6px 8px;
    }

    .ds-menu {
        display: block;
    }

    .ds-menu li {
        display: inline-block;
    }

    .ds-menu li a {
        padding: 11px 9px;
        font-size: 11px;
    }

    .ds-header-main {
        padding: 16px 0;
    }
}

/* Homepage body */
.ds-home {
    max-width: 1170px;
    margin: 25px auto 45px;
    padding: 0 15px;
    color: #222;
}

.ds-section-heading {
    border-bottom: 2px solid #168cff;
    margin-bottom: 20px;
}

.ds-section-heading h2 {
    display: inline-block;
    background: #168cff;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 9px 16px;
    margin: 0;
}

.ds-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 35px;
}

.ds-featured-card {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #222;
}

.ds-featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.ds-featured-card:hover img {
    transform: scale(1.05);
}

.ds-featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 15px 15px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.9));
}

.ds-featured-caption h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 8px 0 0;
}

.ds-featured-caption a {
    color: #fff;
    text-decoration: none;
}

.ds-category-label {
    background: #168cff;
    color: #fff;
    font-size: 11px;
    padding: 4px 7px;
    text-transform: uppercase;
}

.ds-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 30px;
}

.ds-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px;
}

.ds-post-card {
    min-width: 0;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 18px;
}

.ds-post-image {
    display: block;
    height: 190px;
    overflow: hidden;
    background: #eee;
}

.ds-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-post-info h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 12px 0 7px;
}

.ds-post-info h3 a {
    color: #222;
    text-decoration: none;
}

.ds-post-info h3 a:hover {
    color: #168cff;
}

.ds-post-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 9px;
}

.ds-post-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.ds-read-more {
    color: #168cff;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.ds-sidebar-widget {
    margin-bottom: 25px;
}

.ds-sidebar-widget h3 {
    font-size: 18px;
    border-bottom: 2px solid #168cff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ds-sidebar-widget img {
    max-width: 100%;
    height: auto;
}

.ds-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.ds-video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
    top: 0;
    left: 0;
}

/* Footer */
.ds-footer {
    background: #151515;
    color: #bbb;
    margin-top: 45px;
    padding: 40px 0 0;
}

.ds-footer-inner {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 35px;
}

.ds-footer-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 15px;
}

.ds-footer h3 {
    color: #fff;
    font-size: 17px;
    margin: 0 0 17px;
}

.ds-footer p {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
}

.ds-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ds-footer-links li {
    border-bottom: 1px solid #292929;
    padding: 8px 0;
}

.ds-footer a {
    color: #bbb;
    text-decoration: none;
}

.ds-footer a:hover {
    color: #168cff;
}

.ds-footer-bottom {
    background: #0c0c0c;
    text-align: center;
    padding: 16px;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .ds-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ds-content-layout {
        grid-template-columns: 1fr;
    }

    .ds-footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ds-featured-grid,
    .ds-post-grid {
        grid-template-columns: 1fr;
    }

    .ds-featured-card {
        height: 210px;
    }
}
/* Dynamic category archive */

.ds-category {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.ds-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.ds-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.ds-category-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 30px;
}

.ds-category-title {
    font-size: 28px;
    font-weight: 700;
    border-bottom: 2px solid #222;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.ds-category-post {
    display: flex;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.ds-category-post > a {
    flex: 0 0 38%;
}

.ds-category-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.ds-category-post-content {
    flex: 1;
}

.ds-category-post-content h2 {
    font-size: 21px;
    line-height: 1.4;
    margin: 8px 0 12px;
}

.ds-category-post-content h2 a,
.ds-sidebar-recent a {
    color: #222;
    text-decoration: none;
}

.ds-category-date {
    font-size: 12px;
    color: #999;
}

.ds-category-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.ds-read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.ds-category-sidebar {
    min-width: 0;
}

.ds-sidebar-widget {
    margin-bottom: 30px;
}

.ds-sidebar-widget h3 {
    font-size: 18px;
    border-bottom: 2px solid #222;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ds-sidebar-recent {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.ds-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 14px;
}

.ds-pagination a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 767px) {
    .ds-category-layout {
        grid-template-columns: 1fr;
    }

    .ds-category-post {
        display: block;
    }

    .ds-category-post > a {
        display: block;
        margin-bottom: 15px;
    }

    .ds-category-image {
        height: auto;
        max-height: 250px;
    }
}
/* =====================================================
   DEVJEET - SINGLE POST PAGE
===================================================== */

.ds-single-page {
    width: 100%;
    margin: 30px auto 50px;
}

.ds-single-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
    align-items: start;
}

.ds-single-main {
    min-width: 0;
}

.ds-single-article,
.ds-related-posts {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
}

.ds-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 22px;
    line-height: 1.8;
}

.ds-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.ds-breadcrumb-separator {
    margin: 0 8px;
    color: #aaa;
}

.ds-single-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.ds-single-categories a {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.ds-single-header h1 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
    margin: 0 0 18px;
}

.ds-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #888;
    font-size: 13px;
    margin-bottom: 22px;
}

.ds-author {
    color: #333;
    font-weight: 600;
}

.ds-single-featured {
    margin: 0 0 25px;
}

.ds-single-featured img {
    display: block;
    width: 100%;
    height: auto;
}

.ds-single-content {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    overflow-wrap: anywhere;
}

.ds-single-content p {
    margin: 0 0 22px;
}

.ds-single-content h2,
.ds-single-content h3,
.ds-single-content h4 {
    color: #222;
    line-height: 1.4;
    margin: 28px 0 15px;
}

.ds-single-content img {
    max-width: 100%;
    height: auto;
}

.ds-single-content figure {
    margin: 25px 0;
}

.ds-single-content figcaption {
    color: #888;
    font-size: 13px;
    text-align: center;
}

.ds-single-content iframe {
    max-width: 100%;
}

.ds-single-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.ds-single-content .wp-block-embed__wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ds-single-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 25px;
    font-size: 13px;
}

.ds-single-share a {
    background: #222;
    color: #fff;
    padding: 8px 13px;
    text-decoration: none;
}

.ds-related-posts h2,
.ds-recent-news h2 {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #222;
    margin: 0 0 20px;
}

.ds-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ds-related-item img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 10px;
}

.ds-related-item a {
    color: #222;
    text-decoration: none;
}

.ds-related-item h3 {
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 7px;
}

.ds-related-item span {
    font-size: 12px;
    color: #888;
}

.ds-single-sidebar {
    min-width: 0;
}

.ds-sidebar-video {
    margin-bottom: 25px;
}

.ds-sidebar-video img {
    display: block;
    width: 100%;
    height: auto;
}

.ds-recent-news {
    background: #fff;
    padding: 20px;
}

.ds-recent-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.ds-recent-item:last-child {
    border-bottom: 0;
}

.ds-recent-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
}

.ds-recent-item > div {
    flex: 1;
}

.ds-recent-item a {
    color: #222;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.ds-recent-item small {
    display: block;
    color: #999;
    font-size: 11px;
    margin-top: 5px;
}

@media (max-width: 767px) {
    .ds-single-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ds-single-article,
    .ds-related-posts {
        padding: 16px;
    }

    .ds-single-header h1 {
        font-size: 25px;
    }

    .ds-single-content {
        font-size: 15px;
    }

    .ds-related-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   404 ERROR PAGE
========================================= */

.ds-error-page {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
    margin: 30px 0;
}

.ds-error-content {
    width: 100%;
    max-width: 650px;
    text-align: center;
}

.ds-error-code {
    font-size: 130px;
    line-height: 1;
    font-weight: 800;
    color: #222;
    letter-spacing: -8px;
    margin-bottom: 20px;
}

.ds-error-content h1 {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px;
}

.ds-error-content p {
    color: #777;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ds-error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.ds-error-home,
.ds-error-back {
    display: inline-block;
    padding: 12px 22px;
    background: #222;
    color: #fff !important;
    border: 1px solid #222;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.ds-error-home:hover,
.ds-error-back:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

.ds-error-search {
    max-width: 450px;
    margin: 0 auto;
}

.ds-error-search form {
    display: flex;
    width: 100%;
}

.ds-error-search input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #ddd;
    outline: none;
}

.ds-error-search button {
    padding: 13px 22px;
    border: 0;
    background: #222;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 600px) {
    .ds-error-code {
        font-size: 95px;
    }

    .ds-error-content h1 {
        font-size: 24px;
    }

    .ds-error-page {
        min-height: 420px;
        padding: 40px 15px;
    }
}

/* =================================
   HEADER SEARCH
================================= */

.ds-nav-search {
    margin-left: auto;
    min-width: 220px;
}

.ds-search-form {
    display: flex;
    align-items: center;
    height: 50px;
    background: #222;
}

.ds-search-form input {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
}

.ds-search-form input::placeholder {
    color: #aaa;
}

.ds-search-form button {
    width: 45px;
    height: 42px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 22px;
}

/* =================================
   SEARCH RESULTS PAGE
================================= */

.ds-search-page {
    max-width: 1170px;
    margin: 0 auto;
    padding: 35px 15px 60px;
}

.ds-search-breadcrumb {
    color: #999;
    font-size: 13px;
    margin-bottom: 25px;
}

.ds-search-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.ds-search-heading h1 {
    font-size: 32px;
    margin: 0 0 12px;
    color: #222;
}

.ds-search-heading p {
    color: #777;
    margin-bottom: 8px;
}

.ds-search-main-form {
    display: flex;
    max-width: 650px;
    margin: 25px 0 35px;
    gap: 8px;
}

.ds-search-main-form input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.ds-search-main-form button {
    background: #168cff;
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
}

.ds-search-results {
    max-width: 850px;
}

.ds-search-result {
    display: flex;
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #eee;
}

.ds-search-image {
    display: block;
    flex: 0 0 220px;
}

.ds-search-image img {
    display: block;
    width: 220px;
    height: 145px;
    object-fit: cover;
}

.ds-search-result-content {
    flex: 1;
    min-width: 0;
}

.ds-search-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.ds-search-result h2 {
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.ds-search-result h2 a {
    color: #222;
    text-decoration: none;
}

.ds-search-result h2 a:hover {
    color: #168cff;
}

.ds-search-result p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}

.ds-search-read-more {
    display: inline-block;
    background: #168cff;
    color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    font-size: 13px;
}

.ds-search-no-results {
    padding: 30px;
    background: #f7f7f7;
    border: 1px solid #eee;
}

.ds-search-limit {
    color: #888;
    margin-top: 25px;
}

@media (max-width: 600px) {
    .ds-nav-search {
        width: 100%;
        padding: 8px 12px;
    }

    .ds-search-result {
        display: block;
    }

    .ds-search-image {
        margin-bottom: 15px;
    }

    .ds-search-image img {
        width: 100%;
        height: 200px;
    }

    .ds-search-heading h1 {
        font-size: 26px;
    }

    .ds-search-main-form button {
        padding: 0 15px;
    }
}
.ds-single-tags {
    margin: 25px 0;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.ds-single-tags strong {
    margin-right: 8px;
}

.ds-single-tags a {
    display: inline-block;
    margin: 3px 5px 3px 0;
    padding: 5px 10px;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    border-radius: 2px;
}

.ds-single-tags a:hover {
    background: #222;
    color: #fff;
}

/* =========================================
   TAG / CATEGORY ARCHIVE
========================================= */

.ds-archive-page {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 15px;
}

.ds-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 25px;
}

.ds-breadcrumb a {
    color: #333;
    text-decoration: none;
}

.ds-breadcrumb a:hover {
    color: #e74c3c;
}

.ds-archive-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
}

.ds-archive-header {
    border-bottom: 2px solid #222;
    margin-bottom: 25px;
    padding-bottom: 12px;
}

.ds-archive-header h1 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
}

.ds-archive-description {
    font-size: 12px;
    color: #999;
}

.ds-archive-post {
    display: flex;
    gap: 20px;
    padding: 0 0 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.ds-archive-post-image {
    flex: 0 0 38%;
    max-width: 38%;
}

.ds-archive-post-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.ds-archive-post-content {
    flex: 1;
    min-width: 0;
}

.ds-archive-post-content h2 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 10px;
}

.ds-archive-post-content h2 a {
    color: #222;
    text-decoration: none;
}

.ds-archive-post-content h2 a:hover {
    color: #e74c3c;
}

.ds-archive-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.ds-archive-post-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.ds-archive-read-more {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #e74c3c;
    text-decoration: none;
    text-transform: uppercase;
}

.ds-archive-sidebar {
    min-width: 0;
}

.ds-sidebar-widget {
    margin-bottom: 30px;
}

.ds-sidebar-youtube-image {
    display: block;
    width: 100%;
    height: auto;
}

.ds-sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #222;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ds-sidebar-recent-posts {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ds-sidebar-recent-posts li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.ds-sidebar-recent-posts a {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.ds-sidebar-recent-posts a:hover {
    color: #e74c3c;
}

.ds-archive-empty {
    padding: 35px 20px;
    background: #f7f7f7;
    text-align: center;
}

.ds-archive-empty h3 {
    margin-top: 0;
}

/* Mobile */
@media (max-width: 767px) {
    .ds-archive-row {
        grid-template-columns: 1fr;
    }

    .ds-archive-post {
        gap: 12px;
    }

    .ds-archive-post-image {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .ds-archive-post-image img {
        height: 115px;
    }

    .ds-archive-post-content h2 {
        font-size: 16px;
    }

    .ds-archive-post-excerpt {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* =========================================
   MOBILE HEADER AND NAVIGATION FIX
========================================= */

/* Hidden on desktop */
.ds-mobile-toggle {
    display: none;
}

/* Prevent horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* Tablet and mobile */
@media (max-width: 900px) {

    /* Header logo and advertisement */
    .ds-header-row {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }

    .ds-logo {
        flex: 0 1 280px;
        width: 100%;
    }

    .ds-logo img {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin: auto;
    }

    /* Hide desktop advertisement */
    .ds-header-ad {
        display: none !important;
    }

    /* Navigation container */
    .ds-navigation {
        width: 100%;
    }

    .ds-nav-inner {
        display: block;
        padding-left: 0;
        padding-right: 0;
    }

    /* Mobile menu button */
    .ds-mobile-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        padding: 12px 18px;
        border: 0;
        background: #171717;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    .ds-hamburger-icon {
        font-size: 21px;
        line-height: 1;
    }

    .ds-mobile-toggle:hover {
        background: #222;
    }

    /* Hide navigation links until opened */
    .ds-menu {
        display: none;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #171717;
        list-style: none;
    }

    .ds-navigation.ds-mobile-open .ds-menu {
        display: block;
    }

    .ds-menu li {
        display: block;
        width: 100%;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .ds-menu li a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        color: #fff;
        font-size: 13px;
        text-align: left;
    }

    .ds-menu li a:hover,
    .ds-menu li.active a {
        background: #0088ff;
        color: #fff;
    }

    /* Hide search until menu is opened */
    .ds-nav-search {
        display: none;
        width: 100%;
        padding: 12px 15px;
        background: #171717;
    }

    .ds-navigation.ds-mobile-open .ds-nav-search {
        display: block;
    }

    .ds-search-form {
        display: flex;
        width: 100%;
        max-width: none;
        background: #292929;
    }

    .ds-search-form input {
        width: 100%;
        min-width: 0;
        height: 44px;
    }

    .ds-search-form button {
        flex: 0 0 45px;
        height: 44px;
    }
}

/* Smaller mobile screens */
@media (max-width: 600px) {

    /* Compact top bar */
    .ds-topbar-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .ds-date {
        flex: 0 0 auto;
        margin: 0;
        font-size: 10px;
        white-space: nowrap;
    }

    .ds-breaking {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .ds-breaking-label {
        flex: 0 0 auto;
        padding: 6px 8px;
        font-size: 10px;
    }

    .ds-breaking-track {
        min-width: 0;
        padding-left: 8px;
        overflow: hidden;
    }

    .ds-breaking-track a {
        margin-right: 20px;
        font-size: 11px;
    }

    /* Compact logo area */
    .ds-header-main {
        padding: 14px 0;
    }

    .ds-logo {
        flex: 0 1 240px;
    }

    .ds-logo img {
        max-width: 240px;
        width: 100%;
    }

    /* Content should not overflow */
    #layout-content {
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .ds-container {
        max-width: 100%;
    }
}

/* Very narrow mobile screens */
@media (max-width: 380px) {

    .ds-date {
        font-size: 9px;
    }

    .ds-breaking-label {
        font-size: 9px;
        padding: 6px;
    }

    .ds-logo {
        flex-basis: 210px;
    }

    .ds-logo img {
        max-width: 210px;
    }
}

/* =========================================
   ABOUT ME AND CONTACT ME PAGES
========================================= */

.ds-static-page {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 15px;
}

.ds-static-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
}

.ds-static-breadcrumb a {
    color: #333;
}

.ds-static-breadcrumb span {
    margin-right: 8px;
}

.ds-static-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 30px;
}

.ds-static-main {
    min-width: 0;
    background: #fff;
    padding: 25px;
}

.ds-static-header {
    border-bottom: 2px solid #222;
    margin-bottom: 25px;
    padding-bottom: 12px;
}

.ds-static-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.ds-static-content {
    font-size: 16px;
    line-height: 1.85;
    color: #444;
    overflow-wrap: anywhere;
}

.ds-static-content p {
    margin-bottom: 20px;
}

.ds-static-content img {
    max-width: 100%;
    height: auto;
}

.ds-static-content iframe {
    max-width: 100%;
}

.ds-static-content h2,
.ds-static-content h3 {
    color: #222;
    margin-top: 25px;
    margin-bottom: 15px;
}

.ds-static-sidebar {
    min-width: 0;
}

.ds-contact-form-wrapper {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.ds-contact-form-wrapper h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.ds-form-group {
    margin-bottom: 20px;
}

.ds-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
}

.ds-form-group input,
.ds-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.ds-form-group input:focus,
.ds-form-group textarea:focus {
    outline: none;
    border-color: #0088ff;
}

.ds-form-group textarea {
    resize: vertical;
}

.ds-form-group small {
    display: block;
    color: #d93025;
    margin-top: 5px;
}

.ds-contact-submit {
    background: #0088ff;
    color: #fff;
    padding: 13px 25px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.ds-contact-submit:hover {
    background: #171717;
}

.ds-contact-success {
    background: #e7f7ed;
    color: #18753c;
    padding: 15px;
    margin-bottom: 20px;
}

.ds-contact-error {
    background: #fff0f0;
    color: #b42318;
    padding: 15px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .ds-static-layout {
        grid-template-columns: 1fr;
    }

    .ds-static-main {
        padding: 18px;
    }

    .ds-static-header h1 {
        font-size: 24px;
    }

    .ds-static-content {
        font-size: 15px;
        line-height: 1.75;
    }
}


.ds-contact-form {
    margin-top: 30px;
}

.ds-form-group {
    margin-bottom: 22px;
}

.ds-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.ds-form-group input,
.ds-form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.ds-form-group input:focus,
.ds-form-group textarea:focus {
    border-color: #222;
    outline: none;
}

.ds-form-group textarea {
    resize: vertical;
}

.ds-contact-submit {
    padding: 13px 28px;
    border: 0;
    background: #222;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
}

.ds-contact-submit:hover {
    background: #444;
}

.ds-field-error {
    display: block;
    margin-top: 5px;
    color: #d93025;
    font-size: 13px;
}

.ds-contact-success {
    padding: 15px;
    margin: 20px 0;
    background: #e8f5e9;
    border: 1px solid #b7dfb9;
    color: #236b2c;
}

/* =========================================
   CONTACT PAGE - Jannah Style Layout Fix
========================================= */

.ds-static-page {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 30px 15px 50px;
    box-sizing: border-box;
}

.ds-static-page .ds-static-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr) !important;
    gap: 30px !important;
    align-items: start !important;
    width: 100%;
}

.ds-static-page .ds-static-content {
    min-width: 0;
    width: 100%;
}

.ds-static-page .ds-static-sidebar {
    min-width: 0;
    width: 100%;
    margin-top: 10px;
}

.ds-static-page .ds-static-sidebar img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* Contact heading */
.ds-static-page h1 {
    margin: 0 0 15px;
    font-size: 32px;
    line-height: 1.3;
}

/* Contact form */
.ds-contact-form {
    width: 100%;
    margin-top: 25px;
}

.ds-contact-form .ds-form-group {
    width: 100%;
    margin-bottom: 20px;
}

.ds-contact-form input,
.ds-contact-form textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 13px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    background: #fff;
}

.ds-contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.ds-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.ds-contact-submit {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 3px;
    background: #222;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.ds-contact-submit:hover {
    background: #0088cc;
}

/* Tablet */
@media (max-width: 900px) {
    .ds-static-page .ds-static-grid {
        grid-template-columns: minmax(0, 1fr) 280px !important;
        gap: 20px !important;
    }
}

/* Mobile */
@media (max-width: 650px) {
    .ds-static-page {
        padding: 20px 15px 35px;
    }

    .ds-static-page .ds-static-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 25px !important;
    }

    .ds-static-page .ds-static-sidebar {
        margin-top: 10px;
    }

    .ds-static-page h1 {
        font-size: 27px;
    }
}