/*
Theme Name: StudyWarehouse
Theme URI: https://studywarehouse.com
Author: Pardeep Patel / Team Study Warehouse
Author URI: https://pardeeppatel.com
Description: Modern, mobile-friendly, high-converting WordPress theme for StudyWarehouse.com — built for Tech Blogs, WordPress Themes & Plugins, Web Hosting Reviews, Tech News, Google AdSense, and Affiliate Marketing. Features a distraction-free single-column blog layout with live page view counter, tab-isolated Theme Options, built-in Subscribers & Contact Manager, and percentage-based AdSense injection.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studywarehouse
*/

:root {
    --sw-dark: #0C0824;
    --sw-dark-2: #141036;
    --sw-violet: #201D48;
    --sw-primary: #3B5BDB;
    --sw-primary-hover: #2F4BC4;
    --sw-amber: #EEB44A;
    --sw-magenta: #E05286;
    --sw-magenta-hover: #C83E72;
    --sw-emerald: #10B981;
    --sw-bg: #FFFFFF;
    --sw-surface: #F8FAFC;
    --sw-surface-2: #F1F5F9;
    --sw-border: #E2E8F0;
    --sw-text: #0F172A;
    --sw-text-muted: #475569;
    --sw-text-light: #64748B;
    --sw-radius: 12px;
    --sw-radius-sm: 8px;
    --sw-shadow: 0 4px 20px rgba(12, 8, 36, 0.06);
    --sw-shadow-lg: 0 12px 32px rgba(12, 8, 36, 0.12);
    --sw-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sw-font-mono: 'JetBrains Mono', monospace;
    --sw-container: 1240px;
    --sw-reading-width: 80%;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--sw-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--sw-text);
    background-color: var(--sw-bg);
    overflow-x: hidden;
}

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

a {
    color: var(--sw-primary);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

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

:focus-visible {
    outline: 2px solid var(--sw-amber);
    outline-offset: 2px;
}

.sw-skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 10000;
    background: var(--sw-amber);
    color: var(--sw-dark);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 6px;
}

.sw-skip-link:focus {
    left: 12px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sw-font-heading);
    color: var(--sw-text);
    line-height: 1.25;
    margin-top: 0;
    font-weight: 700;
}

.sw-container {
    width: 100%;
    max-width: var(--sw-container);
    margin: 0 auto;
    padding: 0 20px;
}

.sw-reading-container {
    width: var(--sw-reading-width);
    max-width: var(--sw-reading-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.sw-header {
    background: var(--sw-dark);
    color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(12, 8, 36, 0.25);
}

.sw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 70px;
}

.sw-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    font-family: var(--sw-font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.sw-brand:hover {
    color: var(--sw-amber);
}

.sw-brand img {
    max-height: 40px;
    width: auto;
}

.sw-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--sw-primary), var(--sw-magenta));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1rem;
}

.sw-nav {
    display: flex;
    align-items: center;
}

.sw-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
}

.sw-nav-menu li a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    white-space: nowrap;
}

.sw-nav-menu li a:hover,
.sw-nav-menu li.current-menu-item > a {
    color: var(--sw-amber);
    background: rgba(255, 255, 255, 0.07);
}

.sw-nav-menu li {
    position: relative;
}

.sw-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--sw-dark-2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    box-shadow: var(--sw-shadow-lg);
    z-index: 1000;
}

.sw-nav-menu li:hover > .sub-menu,
.sw-nav-menu li:focus-within > .sub-menu {
    display: block;
}

.sw-mobile-search {
    display: none;
    margin-bottom: 12px;
}

.sw-mobile-search input {
    flex: 1;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--sw-violet);
    color: #FFFFFF;
}

.sw-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sw-header-search {
    display: flex;
    align-items: center;
    background: var(--sw-violet);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 4px 12px;
}

.sw-header-search input {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 0.88rem;
    padding: 6px 8px;
    width: 170px;
    outline: none;
}

.sw-header-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.sw-header-search button {
    background: transparent;
    border: none;
    color: var(--sw-amber);
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
}

.sw-mobile-toggle {
    display: none;
    background: var(--sw-violet);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* =========================================================
   BUTTONS & BADGES
   ========================================================= */
.sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--sw-radius-sm);
    font-family: var(--sw-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-align: center;
}

.sw-btn-primary {
    background: var(--sw-primary);
    color: #FFFFFF;
}

.sw-btn-primary:hover {
    background: var(--sw-primary-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.sw-btn-affiliate {
    background: var(--sw-magenta);
    color: #FFFFFF;
}

.sw-btn-affiliate:hover {
    background: var(--sw-magenta-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.sw-btn-outline {
    background: transparent;
    color: var(--sw-primary);
    border: 1.5px solid var(--sw-primary);
}

.sw-btn-outline:hover {
    background: var(--sw-primary);
    color: #FFFFFF;
}

.sw-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(59, 91, 219, 0.1);
    color: var(--sw-primary);
}

.sw-badge-amber {
    background: rgba(238, 180, 74, 0.18);
    color: #9A6700;
}

.sw-badge-views {
    background: var(--sw-surface-2);
    color: var(--sw-text-muted);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

/* =========================================================
   AD SLOTS (ADSENSE READY)
   ========================================================= */
.sw-ad-slot-wrapper {
    margin: 24px auto;
    padding: 14px;
    background: var(--sw-surface);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-sm);
    text-align: center;
    overflow: hidden;
}

.sw-ad-slot-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sw-text-light);
    margin-bottom: 8px;
}

.sw-ad-code-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
}

.sw-sticky-footer-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--sw-border);
    padding: 8px 16px;
    text-align: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   HERO & HOME SECTIONS
   ========================================================= */
.sw-hero {
    padding: 42px 0;
    background: linear-gradient(180deg, var(--sw-surface) 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--sw-border);
}

.sw-hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.sw-hero-featured {
    background: #FFFFFF;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    overflow: hidden;
    box-shadow: var(--sw-shadow);
    display: flex;
    flex-direction: column;
}

.sw-hero-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sw-dark-2);
}

.sw-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sw-hero-featured:hover .sw-hero-thumb img {
    transform: scale(1.03);
}

.sw-hero-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sw-hero-title {
    font-size: 1.75rem;
    margin: 12px 0;
}

.sw-hero-title a {
    color: var(--sw-text);
}

.sw-hero-title a:hover {
    color: var(--sw-primary);
}

.sw-hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sw-mini-card {
    background: #FFFFFF;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 18px;
    box-shadow: var(--sw-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sw-mini-card:hover {
    transform: translateY(-2px);
    border-color: var(--sw-primary);
}

.sw-mini-card h3 {
    font-size: 1.08rem;
    margin: 8px 0;
}

.sw-mini-card h3 a {
    color: var(--sw-text);
}

.sw-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--sw-text-light);
}

/* =========================================================
   CATEGORY STRIP & POSTS GRID
   ========================================================= */
.sw-section {
    padding: 48px 0;
}

.sw-section-alt {
    background: var(--sw-surface);
    border-top: 1px solid var(--sw-border);
    border-bottom: 1px solid var(--sw-border);
}

.sw-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.sw-section-title {
    font-size: 1.65rem;
    margin-bottom: 6px;
}

.sw-section-sub {
    color: var(--sw-text-muted);
    margin: 0;
    font-size: 0.98rem;
}

.sw-cat-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.sw-cat-pill-card {
    background: #FFFFFF;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 20px 16px;
    text-align: center;
    color: var(--sw-text);
    font-family: var(--sw-font-heading);
    font-weight: 700;
    box-shadow: var(--sw-shadow);
}

.sw-cat-pill-card:hover {
    border-color: var(--sw-primary);
    transform: translateY(-3px);
    color: var(--sw-primary);
}

.sw-cat-pill-card span.sw-cat-count {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sw-text-light);
    margin-top: 4px;
}

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

.sw-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.sw-post-card {
    background: #FFFFFF;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sw-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sw-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sw-shadow-lg);
}

.sw-post-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sw-surface-2);
}

.sw-post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-post-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sw-post-card-title {
    font-size: 1.12rem;
    margin: 10px 0 8px;
}

.sw-post-card-title a {
    color: var(--sw-text);
}

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

.sw-post-card-excerpt {
    font-size: 0.92rem;
    color: var(--sw-text-muted);
    margin: 0 0 16px;
}

/* =========================================================
   AFFILIATE SPOTLIGHT CARDS
   ========================================================= */
.sw-affiliate-card {
    background: #FFFFFF;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--sw-shadow);
    position: relative;
}

.sw-affiliate-card.is-featured {
    border-color: var(--sw-amber);
    box-shadow: 0 8px 28px rgba(238, 180, 74, 0.16);
}

.sw-rating-stars {
    color: var(--sw-amber);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 6px 0;
}

.sw-affiliate-disclosure {
    background: rgba(238, 180, 74, 0.14);
    border-left: 4px solid var(--sw-amber);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--sw-text);
    margin: 20px 0;
}

/* =========================================================
   SINGLE BLOG POST (ONE-PAGE NO SIDEBAR + VIEW COUNT)
   ========================================================= */
.sw-single-article {
    padding: 40px 0 64px;
}

.sw-single-header {
    margin-bottom: 24px;
}

.sw-single-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin: 14px 0 16px;
    letter-spacing: -0.02em;
}

.sw-single-hero-img {
    border-radius: var(--sw-radius);
    overflow: hidden;
    margin: 24px 0;
    box-shadow: var(--sw-shadow);
}

.sw-toc-box {
    background: var(--sw-surface);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-sm);
    padding: 18px 22px;
    margin: 24px 0;
}

.sw-toc-title {
    font-family: var(--sw-font-heading);
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 1rem;
}

.sw-toc-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.94rem;
}

.sw-toc-list li {
    margin-bottom: 6px;
}

.sw-entry-content {
    font-size: 1.06rem;
    line-height: 1.8;
    color: #1E293B;
}

.sw-entry-content h2 {
    font-size: 1.55rem;
    margin: 34px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--sw-border);
}

.sw-entry-content h3 {
    font-size: 1.25rem;
    margin: 26px 0 10px;
}

.sw-entry-content pre,
.sw-entry-content code {
    font-family: var(--sw-font-mono);
    background: var(--sw-surface-2);
    border-radius: 6px;
}

.sw-entry-content pre {
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--sw-border);
}

.sw-entry-content code {
    padding: 2px 6px;
    font-size: 0.9em;
}

.sw-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--sw-surface);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 24px;
    margin: 36px 0;
}

.sw-author-avatar {
    border-radius: 50%;
    flex-shrink: 0;
}

/* =========================================================
   ARCHIVE / SEARCH / AUTHOR / PAGE HEADERS
   ========================================================= */
.sw-archive-banner {
    background: linear-gradient(135deg, var(--sw-dark) 0%, var(--sw-violet) 100%);
    color: #FFFFFF;
    padding: 44px 0;
}

.sw-archive-banner h1 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.sw-archive-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 680px;
    margin: 0;
}

.sw-breadcrumbs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.sw-breadcrumbs a {
    color: var(--sw-amber);
}

.sw-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.sw-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--sw-border);
    background: #FFFFFF;
    color: var(--sw-text);
    font-weight: 600;
}

.sw-pagination .page-numbers.current,
.sw-pagination .page-numbers:hover {
    background: var(--sw-primary);
    color: #FFFFFF;
    border-color: var(--sw-primary);
}

/* =========================================================
   FORMS (CONTACT & NEWSLETTER)
   ========================================================= */
.sw-form-card {
    background: #FFFFFF;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius);
    padding: 28px;
    box-shadow: var(--sw-shadow);
}

.sw-form-group {
    margin-bottom: 18px;
}

.sw-form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--sw-text);
}

.sw-form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-sm);
    font-family: inherit;
    font-size: 0.96rem;
    background: var(--sw-surface);
    color: var(--sw-text);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sw-form-control:focus {
    outline: none;
    border-color: var(--sw-primary);
    background: #FFFFFF;
}

.sw-form-feedback {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    display: none;
}

.sw-form-feedback.is-success {
    display: block;
    background: rgba(16, 185, 129, 0.12);
    color: #065F46;
}

.sw-form-feedback.is-error {
    display: block;
    background: rgba(224, 82, 134, 0.12);
    color: #9D174D;
}

/* =========================================================
   FOOTER
   ========================================================= */
.sw-footer {
    background: var(--sw-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 56px 0 28px;
    margin-top: 40px;
}

.sw-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sw-footer h4 {
    color: var(--sw-amber);
    font-size: 1rem;
    margin-bottom: 14px;
}

.sw-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sw-footer ul li {
    margin-bottom: 8px;
}

.sw-footer ul li a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.sw-footer ul li a:hover {
    color: #FFFFFF;
}

.sw-newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.sw-newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--sw-violet);
    color: #FFFFFF;
    outline: none;
}

.sw-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 22px;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
}

.sw-footer-bottom a {
    color: var(--sw-amber);
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================= */
@media (max-width: 1024px) {
    .sw-hero-grid {
        grid-template-columns: 1fr;
    }
    .sw-cat-strip {
        grid-template-columns: repeat(3, 1fr);
    }
    .sw-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .sw-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .sw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-sm);
    font-family: inherit;
}

@media (max-width: 768px) {
    .sw-mobile-search {
        display: flex;
        gap: 8px;
    }
    .sw-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--sw-dark-2);
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .sw-nav.is-open {
        display: block;
    }
    .sw-nav-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .sw-header-search {
        display: none;
    }
    .sw-mobile-toggle {
        display: inline-flex;
        align-items: center;
    }
    .sw-cat-strip,
    .sw-grid-3,
    .sw-grid-2,
    .sw-grid-4,
    .sw-footer-grid {
        grid-template-columns: 1fr;
    }
    .sw-author-box {
        flex-direction: column;
        text-align: center;
    }
    .sw-newsletter-form {
        flex-direction: column;
    }
    .sw-section {
        padding: 32px 0;
    }
    .sw-reading-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .sw-hero-title {
        font-size: 1.35rem;
    }
    .sw-single-title {
        font-size: 1.55rem;
    }
    .sw-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
