/*
Theme Name: StormVeil
Theme URI: https://stormveil.gg
Author: Vaughan Interactive
Author URI: https://stormveil.gg
Description: Official StormVeil MMO website theme — a modern responsive take on classic MMO portal design with ornate fantasy aesthetics, gold-and-purple palette, and app-like navigation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stormveil
Tags: gaming, custom-menu, custom-logo, featured-images, theme-options

StormVeil MMO — Explore the Storm
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    /* Core palette */
    --sv-bg: #1a0e2e;
    --sv-bg-deep: #0d0619;
    --sv-panel: rgba(20, 10, 40, 0.85);
    --sv-panel-solid: #1e0f37;
    --sv-card: rgba(30, 15, 55, 0.9);
    --sv-card-solid: #221340;

    /* Gold ramp */
    --sv-gold: #c9a84c;
    --sv-gold-light: #e8d48b;
    --sv-gold-dark: #8a6d2b;
    --sv-gold-bg: rgba(201, 168, 76, 0.1);

    /* Purple ramp */
    --sv-purple: #6b3fa0;
    --sv-purple-light: #9b6fd0;
    --sv-purple-dark: #2d1650;
    --sv-purple-bg: rgba(107, 63, 160, 0.15);
    --sv-purple-border: rgba(107, 63, 160, 0.25);

    /* Accent colors */
    --sv-accent: #ff6b35;
    --sv-accent-hover: #ff8555;

    /* Text */
    --sv-text: #e8e0f0;
    --sv-text-muted: #9a8bb5;
    --sv-text-dim: #6b5a85;

    /* Borders */
    --sv-border: rgba(201, 168, 76, 0.3);
    --sv-border-subtle: rgba(201, 168, 76, 0.1);

    /* Status colors */
    --sv-success: #4ade80;
    --sv-hot: #ef4444;
    --sv-hot-bg: rgba(239, 68, 68, 0.2);
    --sv-new: #3b82f6;
    --sv-new-bg: rgba(59, 130, 246, 0.2);
    --sv-live: #4ade80;
    --sv-live-bg: rgba(74, 222, 128, 0.2);

    /* Layout */
    --sv-max-width: 1200px;
    --sv-mobile-max: 480px;
    --sv-radius: 12px;
    --sv-radius-sm: 8px;
    --sv-radius-pill: 20px;

    /* Typography */
    --sv-font-display: 'Cinzel', 'Georgia', serif;
    --sv-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --sv-transition: 0.2s ease;
    --sv-transition-slow: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
    font-family: var(--sv-font-body);
    background: var(--sv-bg);
    color: var(--sv-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: linear-gradient(180deg, var(--sv-bg) 0%, var(--sv-bg-deep) 100%);
    background-attachment: fixed;
}

a {
    color: var(--sv-purple-light);
    text-decoration: none;
    transition: color var(--sv-transition);
}

a:hover {
    color: var(--sv-gold);
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.sv-heading {
    font-family: var(--sv-font-display);
    color: var(--sv-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sv-heading--lg {
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.sv-heading--md {
    font-size: 13px;
    font-weight: 700;
}

.sv-heading--sm {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.sv-site {
    max-width: var(--sv-mobile-max);
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

.sv-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 80px;
}

/* Desktop: expand to multi-column */
@media (min-width: 768px) {
    .sv-site {
        max-width: var(--sv-max-width);
    }

    .sv-content {
        padding: 20px;
        gap: 20px;
    }

    .sv-content--grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 20px;
    }

    .sv-content--grid .sv-main {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sv-content--grid .sv-sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .sv-content {
        padding: 24px 32px;
    }

    .sv-content--grid {
        grid-template-columns: minmax(0, 1fr) 360px;
    }
}

/* ==========================================================================
   Top Bar / Header
   ========================================================================== */

.sv-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--sv-panel);
    border-bottom: 1px solid var(--sv-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sv-topbar__logo {
    font-family: var(--sv-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--sv-gold);
    letter-spacing: 2px;
    text-decoration: none;
}

.sv-topbar__logo:hover {
    color: var(--sv-gold-light);
}

.sv-topbar__icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.sv-topbar__icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--sv-text-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    cursor: pointer;
    transition: stroke var(--sv-transition);
}

.sv-topbar__icon:hover {
    stroke: var(--sv-gold);
}

/* Desktop nav links */
.sv-topbar__nav {
    display: none;
    gap: 8px;
    align-items: center;
}

.sv-topbar__nav a {
    font-size: 12px;
    font-weight: 600;
    color: var(--sv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: var(--sv-radius-sm);
    transition: all var(--sv-transition);
}

.sv-topbar__nav a:hover,
.sv-topbar__nav a.current-menu-item {
    color: var(--sv-gold);
    background: var(--sv-gold-bg);
}

.sv-topbar__nav .sv-nav-cta {
    background: linear-gradient(135deg, var(--sv-gold-dark), var(--sv-gold));
    color: var(--sv-bg) !important;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--sv-radius-pill);
}

.sv-topbar__nav .sv-nav-cta:hover {
    background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-light));
}

@media (min-width: 768px) {
    .sv-topbar {
        padding: 12px 24px;
    }

    .sv-topbar__nav {
        display: flex;
    }

    .sv-topbar__logo {
        font-size: 22px;
    }
}

/* ==========================================================================
   Server Status Indicator
   ========================================================================== */

.sv-server-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sv-success);
    display: inline-block;
    position: relative;
}

.sv-server-dot--offline {
    background: var(--sv-hot);
}

.sv-server-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    animation: sv-pulse 2s ease-in-out infinite;
}

@keyframes sv-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */

.sv-hero {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.sv-hero__bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sv-purple-dark) 0%, var(--sv-bg) 50%, #0d2340 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-hero__content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 20px;
}

.sv-hero__title {
    font-family: var(--sv-font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--sv-gold-light);
    margin-bottom: 4px;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.sv-hero__subtitle {
    font-size: 12px;
    color: var(--sv-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sv-hero__cta {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--sv-gold-dark), var(--sv-gold));
    color: var(--sv-bg);
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--sv-radius-pill);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--sv-transition);
    text-decoration: none;
}

.sv-hero__cta:hover {
    background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-light));
    color: var(--sv-bg);
    transform: translateY(-1px);
}

/* Ornate frame overlay */
.sv-hero__frame {
    position: absolute;
    inset: 0;
    border: 2px solid var(--sv-border);
    pointer-events: none;
}

.sv-hero__corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--sv-gold);
}

.sv-hero__corner--tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.sv-hero__corner--tr { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.sv-hero__corner--bl { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.sv-hero__corner--br { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.sv-hero__crystal {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--sv-purple-light);
    transform: rotate(45deg);
    opacity: 0.6;
}

.sv-hero__crystal--top { top: 3px; left: 50%; margin-left: -4px; }
.sv-hero__crystal--bottom { bottom: 3px; left: 50%; margin-left: -4px; }

@media (min-width: 768px) {
    .sv-hero {
        height: 300px;
        border-radius: var(--sv-radius);
        margin: 20px 24px 0;
    }

    .sv-hero__title {
        font-size: 36px;
    }

    .sv-hero__subtitle {
        font-size: 14px;
        letter-spacing: 5px;
    }
}

@media (min-width: 1024px) {
    .sv-hero {
        height: 360px;
        margin: 24px 32px 0;
    }

    .sv-hero__title {
        font-size: 42px;
    }
}

/* ==========================================================================
   Section Card (reusable panel)
   ========================================================================== */

.sv-section {
    background: var(--sv-card);
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    overflow: hidden;
}

.sv-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
}

.sv-section__title {
    font-family: var(--sv-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--sv-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sv-section__action {
    font-size: 12px;
    color: var(--sv-purple-light);
    cursor: pointer;
    font-weight: 500;
    transition: color var(--sv-transition);
}

.sv-section__action:hover {
    color: var(--sv-gold);
}

/* ==========================================================================
   News Feed
   ========================================================================== */

.sv-news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--sv-border-subtle);
    transition: background var(--sv-transition);
}

.sv-news-item:hover {
    background: var(--sv-purple-bg);
}

.sv-news-item__date {
    font-size: 11px;
    color: var(--sv-text-muted);
    min-width: 40px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.sv-news-item__text {
    font-size: 13px;
    color: var(--sv-text);
    flex: 1;
    line-height: 1.4;
}

.sv-news-item__text a {
    color: var(--sv-text);
    text-decoration: none;
}

.sv-news-item__text a:hover {
    color: var(--sv-gold);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.sv-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
    vertical-align: middle;
}

.sv-badge--hot {
    background: var(--sv-hot-bg);
    color: #f87171;
}

.sv-badge--new {
    background: var(--sv-new-bg);
    color: #60a5fa;
}

.sv-badge--live {
    background: var(--sv-live-bg);
    color: var(--sv-live);
}

/* ==========================================================================
   Quick Links Grid
   ========================================================================== */

.sv-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 8px 16px 16px;
}

.sv-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 4px;
    background: var(--sv-purple-bg);
    border: 1px solid var(--sv-purple-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--sv-transition);
    text-decoration: none;
}

.sv-quick-item:hover {
    background: rgba(107, 63, 160, 0.25);
    border-color: var(--sv-gold);
    transform: translateY(-2px);
}

.sv-quick-item__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sv-quick-item__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.sv-quick-item__label {
    font-size: 10px;
    color: var(--sv-text-muted);
    font-weight: 500;
    text-align: center;
}

@media (min-width: 768px) {
    .sv-quick-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.sv-tabs {
    display: flex;
    gap: 0;
    padding: 0 16px 8px;
}

.sv-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--sv-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--sv-transition);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.sv-tab:hover {
    color: var(--sv-text);
}

.sv-tab.active,
.sv-tab--active {
    color: var(--sv-gold);
    border-bottom-color: var(--sv-gold);
}

/* ==========================================================================
   Rankings
   ========================================================================== */

.sv-rank-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--sv-border-subtle);
    transition: background var(--sv-transition);
}

.sv-rank-row:hover {
    background: var(--sv-purple-bg);
}

.sv-rank-pos {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.sv-rank-pos--1 {
    background: linear-gradient(135deg, var(--sv-gold-dark), var(--sv-gold-light));
    color: var(--sv-bg);
}

.sv-rank-pos--2 {
    background: rgba(192, 192, 192, 0.3);
    color: #ccc;
}

.sv-rank-pos--3 {
    background: rgba(205, 127, 50, 0.3);
    color: #cd7f32;
}

.sv-rank-pos--default {
    background: var(--sv-purple-bg);
    color: var(--sv-text-muted);
}

.sv-rank-info {
    flex: 1;
    min-width: 0;
}

.sv-rank-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sv-rank-detail {
    font-size: 11px;
    color: var(--sv-text-muted);
}

.sv-rank-level {
    font-size: 12px;
    color: var(--sv-gold);
    font-weight: 600;
    flex-shrink: 0;
}

/* ==========================================================================
   Featured Cards (horizontal scroll)
   ========================================================================== */

.sv-featured-row {
    display: flex;
    gap: 10px;
    padding: 8px 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sv-featured-row::-webkit-scrollbar {
    display: none;
}

.sv-featured-card {
    min-width: 140px;
    flex-shrink: 0;
    background: var(--sv-purple-bg);
    border: 1px solid var(--sv-purple-border);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    transition: all var(--sv-transition);
    cursor: pointer;
    text-decoration: none;
}

.sv-featured-card:hover {
    border-color: var(--sv-gold);
    transform: translateY(-2px);
}

.sv-featured-card__tag {
    font-size: 10px;
    color: var(--sv-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sv-featured-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--sv-gold);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--sv-purple-dark);
    overflow: hidden;
}

.sv-featured-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-featured-card__name {
    font-family: var(--sv-font-display);
    font-size: 14px;
    color: var(--sv-gold-light);
    margin-bottom: 2px;
}

.sv-featured-card__sub {
    font-size: 11px;
    color: var(--sv-purple-light);
}

@media (min-width: 768px) {
    .sv-featured-card {
        min-width: 160px;
    }
}

/* ==========================================================================
   Media Cards
   ========================================================================== */

.sv-media-scroll {
    display: flex;
    gap: 12px;
    padding: 8px 16px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sv-media-scroll::-webkit-scrollbar {
    display: none;
}

.sv-media-card {
    min-width: 220px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sv-purple-bg);
    border: 1px solid var(--sv-purple-border);
    transition: all var(--sv-transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.sv-media-card:hover {
    border-color: var(--sv-gold);
    transform: translateY(-2px);
}

.sv-media-card__thumb {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, var(--sv-purple-dark), #0d2340);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sv-media-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-media-card__play {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sv-media-card__play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid var(--sv-bg);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin-left: 3px;
}

.sv-media-card__info {
    padding: 12px;
}

.sv-media-card__tag {
    font-size: 10px;
    color: var(--sv-accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.sv-media-card__title {
    font-size: 13px;
    color: var(--sv-text);
    margin-top: 3px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .sv-media-card {
        min-width: 260px;
    }

    .sv-media-card__thumb {
        height: 150px;
    }
}

/* ==========================================================================
   Gem Divider
   ========================================================================== */

.sv-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
}

.sv-divider__line {
    flex: 1;
    height: 1px;
    background: var(--sv-border);
}

.sv-divider__gem {
    width: 6px;
    height: 6px;
    background: var(--sv-purple-light);
    transform: rotate(45deg);
    opacity: 0.5;
}

/* ==========================================================================
   Server Status Bar
   ========================================================================== */

.sv-server-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 12px;
}

.sv-server-status__label {
    font-size: 11px;
    color: var(--sv-text-muted);
}

.sv-server-status__value {
    font-size: 11px;
    color: var(--sv-success);
    font-weight: 600;
}

/* ==========================================================================
   Bottom Navigation (Mobile)
   ========================================================================== */

.sv-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 max(12px, env(safe-area-inset-bottom));
    background: var(--sv-panel);
    border-top: 1px solid var(--sv-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}

.sv-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 4px 12px;
    text-decoration: none;
    transition: all var(--sv-transition);
}

.sv-bottom-nav__icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--sv-text-muted);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--sv-transition);
}

.sv-bottom-nav__label {
    font-size: 10px;
    color: var(--sv-text-muted);
    font-weight: 500;
    transition: color var(--sv-transition);
}

.sv-bottom-nav__item.active .sv-bottom-nav__icon,
.sv-bottom-nav__item:hover .sv-bottom-nav__icon {
    stroke: var(--sv-gold);
}

.sv-bottom-nav__item.active .sv-bottom-nav__label,
.sv-bottom-nav__item:hover .sv-bottom-nav__label {
    color: var(--sv-gold);
}

@media (min-width: 768px) {
    .sv-bottom-nav {
        display: none;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.sv-footer {
    background: var(--sv-panel);
    border-top: 1px solid var(--sv-border);
    padding: 24px 16px;
    text-align: center;
    display: none;
}

.sv-footer__links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sv-footer__links a {
    font-size: 12px;
    color: var(--sv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.sv-footer__links a:hover {
    color: var(--sv-gold);
}

.sv-footer__copy {
    font-size: 11px;
    color: var(--sv-text-dim);
}

@media (min-width: 768px) {
    .sv-footer {
        display: block;
        padding: 32px;
    }
}

/* ==========================================================================
   WordPress Specific: Widget Areas, Comments, etc.
   ========================================================================== */

.widget {
    margin-bottom: 20px;
}

.widget-title {
    font-family: var(--sv-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--sv-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Post content */
.sv-post-content {
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--sv-text);
}

.sv-post-content h1,
.sv-post-content h2,
.sv-post-content h3 {
    font-family: var(--sv-font-display);
    color: var(--sv-gold);
    margin: 24px 0 12px;
}

.sv-post-content h1 { font-size: 24px; }
.sv-post-content h2 { font-size: 20px; }
.sv-post-content h3 { font-size: 16px; }

.sv-post-content p {
    margin-bottom: 16px;
}

.sv-post-content img {
    border-radius: var(--sv-radius-sm);
    margin: 16px 0;
}

.sv-post-content a {
    color: var(--sv-purple-light);
    text-decoration: underline;
    text-decoration-color: rgba(155, 111, 208, 0.3);
    text-underline-offset: 2px;
}

.sv-post-content a:hover {
    color: var(--sv-gold);
    text-decoration-color: var(--sv-gold);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.sv-hidden { display: none !important; }
.sv-mobile-only { display: block; }
.sv-desktop-only { display: none; }

@media (min-width: 768px) {
    .sv-mobile-only { display: none !important; }
    .sv-desktop-only { display: block; }
}

.sv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
