/* =====================================================
   Smoky Fans Featured Business Directory — Styles
   Theme: Everything Smokies
   Colors: #ff6600 (orange), #141004 (dark), #ffffff
   ===================================================== */

/* ── WRAPPER ── */
.sfbd-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* ── HEADER ── */
.sfbd-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #141004 0%, #2a1f00 100%);
    padding: 14px 20px 10px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.sfbd-header-text {
    font-size: 17px;
    font-weight: 700;
    color: #ff6600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sfbd-star-icon {
    color: #ff6600;
    font-size: 16px;
}

.sfbd-subtitle {
    background: #1e1500;
    color: #d09a40;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 6px 20px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 12px;
}

/* ── GRID ── */
.sfbd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 4px;
}

@media (min-width: 600px) {
    .sfbd-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .sfbd-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .sfbd-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1600px) {
    .sfbd-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ── CARD ── */
.sfbd-card {
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 10px 10px;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.sfbd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.18);
    border-color: #ff6600;
}

/* ── CARD INNER LINK (profile) ── */
.sfbd-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}

.sfbd-card-link:hover .sfbd-name {
    color: #ff6600;
}

.sfbd-card-link:hover .sfbd-thumb-wrap {
    border-color: #ff6600;
}

/* Featured card accent */
.sfbd-card--featured {
    border-top: 3px solid #ff6600;
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 40%);
}

/* ── FEATURED BADGE ── */
.sfbd-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ff6600;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: 30px;
    text-transform: uppercase;
    line-height: 1.6;
    white-space: nowrap;
}

/* ── THUMBNAIL ── */
.sfbd-thumb-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ededed;
    margin-bottom: 8px;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sfbd-card--featured .sfbd-thumb-wrap {
    border-color: #ff6600;
}

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

.sfbd-thumb--placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6600, #e1740e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

/* ── INFO BLOCK ── */
.sfbd-info {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
}

.sfbd-name {
    font-size: 12px;
    font-weight: 700;
    color: #141004;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
}

.sfbd-tag {
    font-size: 10px;
    color: #ff6600;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.sfbd-phone {
    font-size: 10px;
    color: #404040;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    line-height: 1.4;
}

.sfbd-icon {
    font-size: 10px;
}

.sfbd-url-display {
    font-size: 9px;
    color: #808080;
    word-break: break-all;
    line-height: 1.3;
}

/* ── BUTTON ── */
.sfbd-btn {
    display: inline-block;
    background: #ff6600;
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.12s ease;
    white-space: nowrap;
    margin-top: auto;
    border: none;
    cursor: pointer;
    line-height: 1.4;
}

.sfbd-btn:hover {
    background: #e1740e;
    transform: scale(1.04);
    color: #ffffff !important;
}

/* ── FOOTER ── */
.sfbd-footer {
    text-align: center;
    padding: 12px 0 4px;
}

.sfbd-footer a {
    color: #ff6600;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.sfbd-footer a:hover {
    text-decoration: underline;
    color: #e1740e;
}

/* ── EMPTY STATE ── */
.sfbd-empty {
    color: #808080;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
