/* ============================================
   AffloTheme — Post Page Styles
   ============================================ */

/* ===== POST HERO ===== */
.post-hero {
    background: linear-gradient(135deg, var(--amazon-darker) 0%, var(--amazon-dark) 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(255,153,0,0.1) 0%, transparent 60%);
}

.post-hero .container { position: relative; z-index: 1; }

/* Post Hero 2-column layout */
.post-hero-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: center;
}

.post-hero-content { flex: 1; }

.post-hero-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    aspect-ratio: 4/3;
    background: rgba(255,153,0,0.08);
    border: 1px solid rgba(255,153,0,0.2);
}

.post-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.post-hero-image-wrap:hover img {
    transform: scale(1.03);
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
    .post-hero-inner {
        grid-template-columns: 1fr;
    }
    .post-hero-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8A9AB0;
    font-size: 0.82rem;
    margin-bottom: 20px;
}

.breadcrumb a { color: #8A9AB0; }
.breadcrumb a:hover { color: var(--amazon-orange); }
.breadcrumb i { font-size: 0.65rem; }
.breadcrumb span { color: var(--amazon-orange-light); }

.post-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,153,0,0.15);
    border: 1px solid rgba(255,153,0,0.3);
    color: var(--amazon-orange-light);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.post-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 20px;
}

.post-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.post-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8A9AB0;
    font-size: 0.85rem;
}

.post-hero-meta i { color: var(--amazon-orange); }

.post-hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,153,0,0.1);
    border: 1px solid rgba(255,153,0,0.25);
    border-radius: var(--radius-full);
    width: fit-content;
}

.star-group { display: flex; gap: 2px; color: var(--amazon-orange); }

.post-hero-rating strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.post-hero-rating span {
    color: #8A9AB0;
    font-size: 0.82rem;
}

/* ===== POST LAYOUT ===== */
.post-layout {
    padding: 60px 0;
    background: var(--bg-primary);
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* ===== POST CONTENT ===== */
.post-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

.post-product-box {
    background: linear-gradient(135deg, #1a2533, #232F3E);
    padding: 30px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}

.pp-image {
    width: 120px;
    height: 120px;
    background: rgba(255,153,0,0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--amazon-orange);
    border: 2px solid rgba(255,153,0,0.2);
    flex-shrink: 0;
}

.pp-info h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.pp-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--amazon-orange);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.pp-rating span { color: #8A9AB0; }

.pp-highlights {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pp-tag {
    background: rgba(255,255,255,0.08);
    color: #A8B8CC;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.pp-buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.pp-price-new {
    color: var(--amazon-orange);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.pp-discount {
    background: var(--amazon-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
}

.post-body {
    padding: 40px;
}

.post-body h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 32px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-body h2 i { color: var(--amazon-orange); font-size: 1.1rem; }

.post-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 10px;
}

.post-body h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0 8px;
}

.post-body h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 16px;
}

.post-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.post-body ul, .post-body ol {
    color: var(--text-secondary);
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.post-body li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style: disc;
}

.post-body ul li::marker { color: var(--amazon-orange); }

/* Rating Box */
.rating-breakdown {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 30px 0;
    border: 1px solid var(--border);
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.rating-big {
    text-align: center;
    flex-shrink: 0;
}

.rating-big .num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--amazon-orange);
    line-height: 1;
    display: block;
}

.rating-big .stars { display: flex; gap: 3px; color: var(--amazon-orange); margin: 6px 0; }

.rating-big .count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.rating-bars { flex: 1; }

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.82rem;
}

.rating-row span:first-child { color: var(--text-secondary); width: 40px; flex-shrink: 0; }

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--amazon-orange), var(--amazon-orange-light));
    border-radius: var(--radius-full);
}

.rating-row .pct { color: var(--text-muted); width: 32px; text-align: right; flex-shrink: 0; }

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid var(--border);
}

.specs-table tr:nth-child(even) td:first-child { background: var(--bg-secondary); }
.specs-table tr:nth-child(odd) td:first-child { background: var(--bg-tertiary); }

.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
}

.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { font-weight: 600; color: var(--text-secondary); width: 40%; }
.specs-table td:last-child { color: var(--text-primary); }

/* Verdict Box */
.verdict-box {
    background: linear-gradient(135deg, rgba(255,153,0,0.06), rgba(255,153,0,0.02));
    border: 2px solid rgba(255,153,0,0.25);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.verdict-box::before {
    content: '★';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 5rem;
    opacity: 0.06;
    color: var(--amazon-orange);
}

.verdict-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--amazon-orange);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.verdict-box p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* CTA Box */
.post-cta-box {
    background: linear-gradient(135deg, var(--amazon-dark), var(--amazon-darker));
    border-radius: var(--radius-lg);
    padding: 28px;
    margin: 30px 0;
    text-align: center;
}

.post-cta-box h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.post-cta-box p {
    color: #8A9AB0;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.cta-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.cta-new { color: var(--amazon-orange); font-size: 2rem; font-weight: 900; }
.cta-save { background: var(--amazon-red); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm); }

/* ===== SIDEBAR ===== */
.sidebar,
.post-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 24px; }

.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

/* "Our Score Breakdown" widget — extra top spacing for visual breathing room */
.sidebar .sidebar-widget:nth-child(2),
.post-sidebar .sidebar-widget:nth-child(2) {
    margin-top: 16px;
}

/* "Related Reviews" widget — extra top spacing for visual breathing room */
.sidebar .sidebar-widget:nth-child(3),
.post-sidebar .sidebar-widget:nth-child(3) {
    margin-top: 16px;
}

/* ===== READING PROGRESS BAR ===== */
/* Defined in style.css — override here to ensure correct color on single posts */
#readingProgress,
.reading-progress {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #FEA016 0%, #FED47A 100%) !important;
    /* width is controlled by reading-progress.js via inline style */
    z-index: 999999 !important;
    pointer-events: none !important;
    display: block !important;
    transition: width 0.08s linear !important;
    border-radius: 0 2px 2px 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.widget-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header i { color: var(--amazon-orange); }

.widget-body { padding: 18px 20px; }

/* Buy Box Widget */
.buy-box-price {
    text-align: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.bbp-new { color: var(--amazon-orange); font-size: 2.4rem; font-weight: 900; display: block; line-height: 1; }
.bbp-save { color: var(--amazon-red); font-size: 0.82rem; font-weight: 600; }

.buy-box-meta { margin-bottom: 16px; }

.bbm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.82rem;
}

.bbm-row:last-child { border-bottom: none; }
.bbm-row span:first-child { color: var(--text-muted); }
.bbm-row span:last-child { font-weight: 600; color: var(--text-primary); }
.bbm-row .green { color: var(--amazon-green); }

/* Related Posts Widget */
.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.related-item:last-child { border-bottom: none; }

.related-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amazon-orange);
    font-size: 1.4rem;
    flex-shrink: 0;
    overflow: hidden;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
    transition: transform 0.3s ease;
}

.related-item:hover .related-img img {
    transform: scale(1.07);
}

.related-info h5 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-info h5 a:hover { color: var(--amazon-orange); }

.related-info span {
    color: var(--amazon-orange);
    font-size: 0.82rem;
    font-weight: 700;
}

/* ===== CATEGORY PAGE STYLES ===== */
.page-hero {
    background: linear-gradient(135deg, var(--amazon-darker) 0%, var(--amazon-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,153,0,0.1) 0%, transparent 60%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    font-weight: 700;
    margin: 16px 0 12px;
    text-align: center !important;
    width: 100%;
    display: block;
}

.page-hero p {
    color: #8A9AB0;
    max-width: 500px;
    margin: 0 auto;
}

.page-hero-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,153,0,0.15);
    border: 2px solid rgba(255,153,0,0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--amazon-orange);
    margin: 0 auto;
}

.grid-section {
    padding: 60px 0;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
    background: linear-gradient(135deg, var(--amazon-darker), var(--amazon-dark));
    padding: 80px 0;
    text-align: center;
}

.about-content {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-visual {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.about-stat-card i { font-size: 1.8rem; color: var(--amazon-orange); margin-bottom: 10px; display: block; }
.about-stat-card strong { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); display: block; margin-bottom: 4px; }
.about-stat-card span { font-size: 0.8rem; color: var(--text-muted); }

.team-section { padding: 60px 0; background: var(--bg-secondary); }

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

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--amazon-orange), var(--amazon-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    margin: 0 auto 16px;
    font-weight: 800;
}

.team-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.team-card .role { color: var(--amazon-orange); font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; }
.team-card p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.65; }

/* Responsive Post Layout */
@media (max-width: 900px) {
    .post-grid { grid-template-columns: 1fr; }
    .sidebar,
    .post-sidebar { position: static; }
    .post-product-box {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    .pp-image { margin: 0 auto; }
    .pp-rating { justify-content: center; }
    .pp-buy { align-items: center; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .rating-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .post-hero-inner { gap: 28px; }
    .post-layout { padding: 40px 0; }
}

@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .about-visual { grid-template-columns: 1fr; padding: 24px; }
    .post-body { padding: 20px 16px; }
    .post-product-box { padding: 18px 16px; }
    .pp-price-new { font-size: 1.6rem; }
    .post-layout { padding: 28px 0; }
    .post-hero { padding: 40px 0 28px; }
    .post-hero-rating { flex-wrap: wrap; gap: 8px; width: 100%; justify-content: center; }
    .post-hero-meta { gap: 12px; }
    .verdict-box { padding: 20px; }
    .verdict-box::before { font-size: 3.5rem; }
    .post-cta-box { padding: 20px; }
    .cta-price-row { flex-wrap: wrap; gap: 10px; }
    .rating-breakdown { padding: 18px; }
    .rating-big .num { font-size: 2.8rem; }
    .specs-table td { padding: 10px 12px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
    .post-hero-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
    .page-hero { padding: 44px 0 32px; }
    .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .page-hero-icon { width: 58px; height: 58px; font-size: 1.4rem; }
    .grid-section { padding: 40px 0; }
    .breadcrumb { font-size: 0.75rem; flex-wrap: wrap; }
    .sidebar-widget { border-radius: var(--radius-md); }
    .team-card { padding: 20px; }
    .team-avatar { width: 64px; height: 64px; font-size: 1.6rem; }
    .about-stat-card { padding: 18px 14px; }
    .about-stat-card strong { font-size: 1.3rem; }
}

/* ============================================================
   DYNAMIC WIDGET AREAS — compatibility styles
   Structure: <div class="sidebar-widget at-dynamic-widget">
                <div class="widget-header">title</div>  ← optional
                [widget content directly]
              </div>
   ============================================================ */

/* Dynamic widgets sit inside the main .sidebar — add spacing */
.sidebar .at-dynamic-widget {
    margin-top: 16px;
}

/* Widget box appearance — matches hardcoded sidebar-widget */
.at-dynamic-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

/* Widget content area padding (replaces widget-body when using dynamic widgets) */
.at-dynamic-widget > ul,
.at-dynamic-widget > ol,
.at-dynamic-widget > p,
.at-dynamic-widget > div:not(.widget-header),
.at-dynamic-widget > form,
.at-dynamic-widget > .widget-body {
    padding: 16px 20px;
}

/* Remove double padding if widget outputs its own wrapper */
.at-dynamic-widget > .textwidget,
.at-dynamic-widget > .widget-body {
    padding: 16px 20px;
}

/* No top padding when no header above */
.at-dynamic-widget > ul:first-child,
.at-dynamic-widget > div:not(.widget-header):first-child,
.at-dynamic-widget > p:first-child {
    padding-top: 18px;
}

/* ── WordPress default widget list styles ── */
.at-dynamic-widget ul,
.at-dynamic-widget ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
.at-dynamic-widget > ul,
.at-dynamic-widget > ol {
    padding: 8px 20px 14px;
}
.at-dynamic-widget ul li,
.at-dynamic-widget ol li {
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.at-dynamic-widget ul li:last-child,
.at-dynamic-widget ol li:last-child { border-bottom: none; }
.at-dynamic-widget ul li a,
.at-dynamic-widget ol li a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.85rem;
}
.at-dynamic-widget ul li a:hover,
.at-dynamic-widget ol li a:hover { color: var(--amazon-orange); }

/* ── Search widget ── */
.at-dynamic-widget .search-form,
.at-dynamic-widget > form {
    display: flex;
    gap: 6px;
    padding: 16px 20px;
}
.at-dynamic-widget .search-field,
.at-dynamic-widget input[type="search"],
.at-dynamic-widget input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-input, var(--bg-card));
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    min-width: 0;
}
.at-dynamic-widget .search-submit,
.at-dynamic-widget input[type="submit"],
.at-dynamic-widget button[type="submit"] {
    padding: 8px 14px;
    background: var(--amazon-orange);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.at-dynamic-widget .search-submit:hover,
.at-dynamic-widget input[type="submit"]:hover { background: #FEBD69; }

/* ── Archives dropdown ── */
.at-dynamic-widget select {
    width: 100%;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: inherit;
    display: block;
    margin: 0 20px 14px;
    width: calc(100% - 40px);
}

/* Contact sidebar dynamic widget */
.contact-widget.at-dynamic-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    overflow: hidden;
}
