/* =========================================
   CUSTOM / SUPPLEMENTAL STYLES
   Remake BD Theme v1.0
   ========================================= */

/* Header transparent on hero */
#hero + * { /* first section after hero */ }

body.home #site-header:not(.scrolled) {
    background: transparent;
}

body:not(.home) #site-header {
    background: var(--primary);
}

/* Btn small */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Hide on small */
@media (max-width: 600px) {
    .d-none-sm { display: none !important; }
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0 auto 40px;
}

.section-divider.left {
    margin-left: 0;
}

/* About eyebrow divider */
.about-text .eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), #003d7a);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

.cta-banner .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page content */
.page-content {
    padding: 80px 0;
}

.entry-content h2,
.entry-content h3 {
    margin: 32px 0 16px;
}

.entry-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.entry-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
    color: #555;
}

.entry-content ul li {
    margin-bottom: 8px;
}

/* Alert / notice */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* Tags / Pills */
.tag {
    display: inline-block;
    background: rgba(0,31,63,0.08);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-accent {
    background: rgba(227,6,19,0.1);
    color: var(--accent);
}

/* Blockquote */
blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--light-bg);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #555;
}

/* Table */
.remake-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.remake-table th,
.remake-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.remake-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.remake-table tr:hover td { background: var(--light-bg); }

/* Image with caption */
figure {
    margin: 24px 0;
}

figcaption {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 8px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 0 0 var(--radius) 0;
    transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* WordPress alignment classes */
.aligncenter { display: block; margin: 0 auto; }
.alignright  { float: right; margin: 0 0 16px 24px; }
.alignleft   { float: left; margin: 0 24px 16px 0; }

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Selection color */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Focus visible */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Print */
@media print {
    .whatsapp-float,
    #site-header,
    .mobile-menu,
    .free-delivery-banner,
    .hamburger { display: none !important; }
}
