/* CSS Reset and Variables */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-color: #fcfbfa;
    --text-color: #2b2927;
    --primary-color: #ff3400;
    /* IndiaNetzone Brand Orange-Red */
    --primary-dark: #cc2900;
    --accent-color: #3d5a45;
    /* Soft forest green */
    --light-grey: #e8e6e3;
    --dark-grey: #595551;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --font-stack: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header & Navigation */
.site-header {
    background-color: var(--white);
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.header-top {
    display: contents;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

@media (min-width: 1200px) {
    .site-header {
        padding-left: calc((100% - 1200px) / 2 + 20px);
        padding-right: calc((100% - 1200px) / 2 + 20px);
    }
}

.logo-container {
    display: block;
}

.logo img {
    height: 60px;
    display: block;
}

.search-bar {
    display: block;
}

.search-bar form {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    overflow: hidden;
    width: 650px;
    max-width: 100%;
}

.search-bar input[type="search"] {
    flex: 1;
    border: none;
    padding: 10px 12px 10px 40px;
    font-size: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    outline: none;
    color: var(--text-color);
    font-family: var(--font-stack);
}

.search-bar button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 24px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: var(--font-stack);
}

.search-bar button[type="submit"]:hover {
    background-color: var(--primary-dark);
}

/* Navigation Menu */
.main-nav {
    background-color: var(--primary-color);
    padding: 0 30px;
    width: 100%;
}

@media (min-width: 1200px) {
    .main-nav {
        padding-left: calc((100% - 1200px) / 2 + 20px);
        padding-right: calc((100% - 1200px) / 2 + 20px);
    }
}

.mobile-nav-logo {
    display: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    flex-wrap: nowrap;
}

.main-nav li {
    display: block;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.15;
    display: block;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    padding: 8px 30px;
    background-color: transparent;
    font-size: 14px;
    /* margin-top: 10px; */
}

@media (min-width: 1200px) {
    .breadcrumb {
        padding-left: calc((100% - 1200px) / 2 + 20px);
        padding-right: calc((100% - 1200px) / 2 + 20px);
    }
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb li+li::before {
    content: "›";
    padding: 0 10px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

/* Main Layout Setup */
#main-content {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
    display: table;
    width: 100%;
}

.crafts-article {
    display: table-cell;
    width: 70%;
    padding-right: 40px;
    vertical-align: top;
}

.sidebar {
    display: table-cell;
    width: 30%;
    vertical-align: top;
}

.sidebar-card {
    background-color: var(--white);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--light-grey);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

/* Typography & General Article Layout */
.article-header h1 {
    font-size: 30px;
    color: #1a1918;
    margin-top: 0;
    margin-bottom: 15px;
}

.lead-text {
    font-size: 18px;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 25px;
}

.share-buttons {
    font-size: 14px;
    color: var(--dark-grey);
    margin-bottom: 30px;
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 15px;
}

.table-of-contents {
    background-color: #f7f5f2;
    padding: 20px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 40px;
}

.table-of-contents h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.table-of-contents ul {
    padding-left: 20px;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Content Sections */
section {
    margin-bottom: 45px;
}

h2 {
    font-size: 24px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 20px;
}

h3 {
    font-size: 18px;
    color: #000;
    margin-top: 0;
    margin-bottom: 12px;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

blockquote {
    background-color: #eff3f0;
    border-left: 4px solid var(--accent-color);
    margin: 25px 0;
    padding: 15px 20px;
    font-style: italic;
}

ul {
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

/* Column Structure for Subsection blocks */
.craft-grid {
    display: table;
    width: 100%;
    margin-top: 20px;
}

.craft-subsection {
    display: table-cell;
    width: 50%;
    padding-right: 20px;
    vertical-align: top;
}

.craft-subsection:last-child {
    padding-right: 0;
    padding-left: 20px;
}

.states-list article {
    background-color: var(--white);
    padding: 20px;
    border-radius: 6px;
    border: 1px solid var(--light-grey);
    margin-bottom: 20px;
}

/* Sidebar Styling */
.sidebar-card h3,
.sidebar-card h4 {
    color: #1a1918;
    font-size: 18px;
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 2px;
    margin-top: 0;
    margin-bottom: 10px;
}

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

.sidebar-card li {
    margin-bottom: 12px;
}

.sidebar-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
}

.sidebar-card a:hover {
    text-decoration: underline;
}

.newsletter-box p {
    font-size: 14px;
    color: var(--dark-grey);
    line-height: 1.5;
    margin-bottom: 15px;
}

.newsletter-box button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.newsletter-box button:hover {
    background-color: var(--primary-dark);
}

/* Footer Styling */
.site-footer {
    --footer-bg: #0a194f;
    /* Deep Navy Blue */
    background-color: var(--footer-bg);
    color: #ffffff;
    padding: 30px 20px 40px 20px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    font-family: var(--font-stack);
}

.footer-top {
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-top a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.footer-top a:hover {
    text-decoration: underline;
}

.footer-top .follow-us {
    font-weight: bold;
    font-size: 16px;
    margin-left: 10px;
    color: #ffffff;
}

.footer-top .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-top .social-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
}

.footer-top .social-icon svg,
.footer-top .social-icon img {
    display: block;
    width: 32px;
    height: 32px;
}

.site-footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 20px auto;
}

.site-footer .copyright {
    margin: 20px auto 0 auto;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 1000px;
}

/* Article Cards & Section Header Styling */
.recent-articles-section,
.related-articles-section {
    margin-top: 15px;
    margin-bottom: 15px;
}

.section-header {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 25px;
}

h2.section-title {
    font-size: 22px;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 8px 20px 8px 20px;
    margin: 0;
    display: inline-block;
    border-bottom: none !important;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: bottom;
    text-transform: none;
}

.article-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #f5f2ef;
    /* Lighter, less grey background */
    border-radius: 6px;
    padding: 10px 10px;
    border: 1px solid transparent;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.card-thumb {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
}

.article-card:hover {
    transform: translateY(-2px);
    background-color: #eae7e4;
    /* Subtle darken on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 52, 0, 0.25);
}

.article-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2b2927;
    margin: 0 0 2px 0;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-card-title a:hover {
    color: var(--primary-color);
}

.article-card-desc {
    font-size: 15px;
    color: #4a4845;
    margin: 0;
    line-height: 1.6;
}

/* Topics in Entertainment */
.topics-entertainment-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.topics-header {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 25px;
}

.topics-title {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    margin: 0;
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: bottom;
    position: relative;
    top: 2px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-card {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.topic-img-wrapper {
    position: relative;
    background-color: #f5f5f5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    /* fixed height for images area */
    overflow: hidden;
}

.topic-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.topic-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 11px;
    padding: 3px;
    color: #333;
}

.topic-text-content {
    background-color: var(--white);
    padding: 15px 10px;
    text-align: center;
}

.topic-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.topic-card-title a {
    color: #cc0000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.topic-card-title a:hover {
    color: var(--primary-dark);
}

/* Hero Banner Styles */
.hero-banner {
    position: relative;
    background-image: url('../img/banner4.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
}

.hero-title {
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 48px;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-search-form input[type="search"] {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.hero-search-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background-color 0.2s;
}

.hero-search-form button:hover {
    background-color: var(--primary-dark);
}

/* Browse by Category Section */
.category-browse-section {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-browse-title {
    color: #111a4b;
    /* dark blue */
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: none;
}

.category-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cat-card {
    position: relative;
    width: calc(25% - 15px);
    min-width: 250px;
    aspect-ratio: 1;
    /* roughly square */
    background-color: #333;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-bg-figure {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cat-bg-figure figcaption {
    display: none;
}

.cat-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.cat-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: var(--white);
    transition: background 0.3s;
}

.cat-card:hover .cat-overlay {
    background: rgba(0, 0, 0, 0.5);
    /* slightly lighter on hover */
}

.cat-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.cat-overlay p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background-color: var(--white);
    color: #333;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #111a4b;
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
}

.newsletter-content {
    max-width: 1100px;
    margin: 0 auto;
}

.newsletter-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: none;
    color: var(--white);
}

.newsletter-section p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--white);
}

.subscribe-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.subscribe-btn:hover {
    background-color: var(--primary-dark);
}

/* Most Searched Topics Section */
.most-searched-section {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.most-searched-title {
    color: #111a4b;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: none;
}

.searched-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.topic-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border: 1px solid #e0e4f0;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #111a4b;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.topic-pill:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.topic-pill:hover .topic-count {
    background-color: var(--white);
    color: var(--primary-color);
}

.topic-count {
    background-color: #f0f4f8;
    color: #666;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Subscribe Page Styles */
.subscribe-page-section {
    padding: 60px 20px;
}

.subscribe-page-section .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.subscribe-header {
    grid-column: 4 / span 6;
    text-align: center;
    margin-bottom: 40px;
}

.subscribe-header h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.subscribe-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.subscribe-form-container {
    grid-column: 4 / span 6;
    border: 2px solid var(--primary-color);
    padding: 40px;
    background-color: var(--white);
}

.subscribe-form .form-group {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.subscribe-form label {
    margin-bottom: 0;
    margin-right: 15px;
    font-size: 14px;
    color: #333;
    min-width: 80px;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"],
.subscribe-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background-color: #fafafa;
}

.subscribe-form input[type="text"]:focus,
.subscribe-form input[type="email"]:focus,
.subscribe-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    margin-left: 95px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.recaptcha-placeholder {
    margin-bottom: 30px;
    margin-left: 95px;
}

.recaptcha-box {
    display: inline-flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    justify-content: space-between;
}

.recaptcha-box input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.recaptcha-box label {
    margin-bottom: 0 !important;
    font-size: 14px;
    flex-grow: 1;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
}

.recaptcha-logo i {
    font-size: 24px;
    color: #4a90e2;
    margin-bottom: 4px;
}

.recaptcha-logo span {
    font-size: 10px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left: 95px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

@media (max-width: 992px) {

    .subscribe-form-container,
    .subscribe-header {
        grid-column: 1 / -1;
    }

    .subscribe-form .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscribe-form label {
        margin-bottom: 8px;
    }

    .checkbox-grid,
    .recaptcha-placeholder,
    .submit-btn {
        margin-left: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .cat-card {
        width: 100%;
    }

    .article-card {
        flex-direction: column;
    }

    .article-card figure {
        width: 100%;
    }

    .card-thumb {
        width: 100%;
        height: auto;
    }

    .crafts-article {
        padding-right: 10px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-search-form {
        flex-direction: column;
        box-shadow: none;
    }

    .hero-search-form input[type="search"] {
        border-radius: 4px;
        margin-bottom: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .hero-search-form button {
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .site-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 15px 10px;
    }

    .header-top {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .search-bar {
        width: 100%;
    }

    .search-bar form {
        width: 100%;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        transition: left 0.3s ease;
        display: block;
        /* always block but offscreen */
        padding: 20px 20px 20px 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .main-nav.active {
        left: 0;
    }

    .mobile-nav-logo {
        display: block;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid var(--light-grey);
        padding-bottom: 20px;
    }

    .mobile-nav-logo img {
        height: 50px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 35px;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        min-height: auto;
        padding: 0;
    }

    .main-nav a {
        font-size: 16px;
        display: block;
        width: 100%;
        color: red;
    }

    .breadcrumb {
        padding: 10px 20px;
    }

    #main-content,
    .crafts-article,
    .sidebar,
    .craft-grid,
    .craft-subsection {
        display: block !important;
        width: 100% !important;
    }

    #main-content {
        padding-right: 10px !important;
        padding-left: 10px !important;
        box-sizing: border-box;
    }

    .sidebar {
        margin-top: 40px;
    }
}

.craft-image-right {
    float: right;
    margin: 0 0 15px 15px;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    padding: 5px;
}

.craft-image-left {
    float: left;
    margin: 0 15px 15px 0;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    padding: 5px;
}

.craft-image-right img,
.craft-image-left img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

figcaption {
    font-size: 13px;
    color: var(--dark-grey);
    text-align: center;
    margin-top: 5px;
    font-style: italic;
    line-height: 1.4;
}

/* Social Share Icons */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-grey);
}

.share-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-grey);
    margin-right: 5px;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-icon:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    color: var(--white);
}

.share-icon.whatsapp {
    background-color: #25D366;
}

.share-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.share-icon.x-twitter {
    background-color: #000000;
}

.share-icon.facebook {
    background-color: #1877F2;
}

.share-icon.pinterest {
    background-color: #E60023;
}

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

@media (max-width: 500px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-details-col {
    background: var(--white);
    padding: 40px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-details-col h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 28px;
    text-align: center;
    border: none;
}

.contact-details-col .contact-lead {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 18px;
    border: none;
}

.contact-details-col .contact-hr {
    border: 0;
    border-top: 1px solid #e2e2e2;
    margin: 0 0 25px 0;
}

.contact-details-col .contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

.contact-details-col a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-details-col a:hover {
    text-decoration: underline;
}



/* Styles moved from categories.html inline css */
.article-figure {
    margin: 0;
    line-height: 0;
    flex-shrink: 0;
}

.hidden-caption {
    display: none;
}

.topic-desc {
    color: #555;
    line-height: 1.5;
}

.social-icon-img {
    vertical-align: middle;
}

/* Ad Placeholders */
.ad-placeholder {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin: 10px auto;
    border: 1px dashed #ccc;
    font-size: 14px;
}

.ad-728x90 {
    width: 728px;
    height: 90px;
}

.ad-300x600 {
    width: 300px;
    height: 600px;
}

@media (max-width: 992px) {
    .ad-728x90 {
        width: 300px;
        height: 250px;
    }

    .ad-300x600 {
        display: none;
    }
}

.subscribe-ad-left {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
    justify-self: center;
}

.subscribe-ad-right {
    grid-column: 10 / span 3;
    grid-row: 1 / span 2;
    justify-self: center;
}

/* Search Page Specific Styles */
.search-header {
    text-align: center;
    margin-bottom: 25px;
}

.search-title {
    font-size: 32px;
    font-weight: 700;
    color: #f93e0b;
    text-align: center;
    margin: 0;
}

.search-related-section {
    margin-bottom: 25px;
}

.search-related-title {
    font-weight: 600;
    color: #0f3f6f;
    font-size: 22px;
    margin-bottom: 0;
}

.search-related-hr {
    height: 2px;
    color: #f93e0b;
    background-color: #f93e0b;
    border: none;
    margin-top: 4px;
    margin-bottom: 12px;
    opacity: 0.8;
    width: 50%;
    margin-left: 0;
}

.search-related-item {
    margin-top: 12px;
    margin-bottom: 5px;
}

.search-related-link {
    color: #000000;
    font-size: 16px;
    text-decoration: none;
}

.search-related-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Load More Button Wrapper and Styling */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 20px;
    width: 100%;
}

.loadmore-btn {
    background-color: #0d6efd;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

.loadmore-btn:hover,
.loadmore-btn:focus {
    background-color: #0b5ed7;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.3);
}

/* Responsive Ad Display Utilities */
.desktop-ad {
    display: flex;
    justify-content: center;
    margin: 15px auto;
}

.mobile-ad {
    display: none;
}

@media (max-width: 767.98px) {
    .desktop-ad {
        display: none !important;
    }

    .mobile-ad {
        display: flex !important;
        justify-content: center;
        margin: 15px auto;
    }
}