/**
 * Office Hours WPBakery Addon – Frontend styles
 * Matches AI Office Hours section: badge, title, CTAs, calendar card with slots.
 */

.oh-wrap {
    --oh-white: #ffffff;
    --oh-slate-50: #f8fafc;
    --oh-slate-100: #f1f5f9;
    --oh-slate-200: #e2e8f0;
    --oh-slate-300: #cbd5e1;
    --oh-slate-400: #94a3b8;
    --oh-slate-500: #64748b;
    --oh-slate-700: #334155;
    --oh-slate-800: #1e293b;
    --oh-slate-900: #0f172a;
    --oh-slate-950: #020617;
    --oh-blue-50: #eff6ff;
    --oh-blue-100: #dbeafe;
    --oh-blue-400: #60a5fa;
    --oh-blue-600: #2563eb;
    --oh-blue-700: #1d4ed8;
    --oh-blue-900: #1e3a8a;
    --oh-green-100: #dcfce7;
    --oh-green-700: #15803d;
    --oh-green-900: #14532d;
    background: var(--oh-white);

}

.oh-wrap p {
    padding-bottom: 0 !important;
}

html.theme-dark .oh-wrap,
.salient .dark .oh-wrap {
    background: var(--oh-slate-950);
    border-color: var(--oh-slate-800);
}

.oh-container {
    max-width: 1425px;
    margin: 0 auto;
    padding: 0 20px;

}



.oh-card {
    position: relative;
    background: var(--oh-white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border: 1px solid var(--oh-slate-200);
}

html.theme-dark .oh-card,
.salient .dark .oh-card {
    background: var(--oh-slate-900);
    border-color: var(--oh-slate-800);
}

/* Background gradients */
.oh-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.oh-card-bg--tr {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 50%);
}

.oh-card-bg--bl {
    background: radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05), transparent 50%);
}

.oh-grid {
    display: grid;
    gap: 3rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .oh-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 4rem;
    }
}

/* Content column */
.oh-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--oh-slate-900);
}

html.theme-dark .oh-content,
.salient .dark .oh-content {
    color: var(--oh-white);
}

.oh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: var(--oh-blue-50);
    color: var(--oh-blue-700);
    border: 1px solid var(--oh-blue-100);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.oh-badge i,
.oh-badge svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

html.theme-dark .oh-badge,
.salient .dark .oh-badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--oh-blue-400);
    border-color: rgba(59, 130, 246, 0.3);
}

.oh-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    color: var(--oh-slate-900);
}

html.theme-dark .oh-title,
.salient .dark .oh-title {
    color: var(--oh-white);
}

@media (min-width: 768px) {
    .oh-title {
        font-size: 3rem;
    }
}

.oh-title-highlight {
    color: var(--oh-blue-600);
}

html.theme-dark .oh-title-highlight,
.salient .dark .oh-title-highlight {
    color: var(--oh-blue-400);
}

.oh-description {
    font-size: 1.125rem;
    color: var(--oh-slate-500);
    margin: 0 0 2rem;
    max-width: 32rem;
    line-height: 1.6;
    padding: 0px;
}

html.theme-dark .oh-description,
.salient .dark .oh-description {
    color: var(--oh-slate-300);
}

.oh-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .oh-buttons {
        flex-direction: row;
    }
}

.oh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.oh-btn i,
.oh-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.oh-btn--primary {
    background: var(--oh-blue-600);
    color: var(--oh-white);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.oh-btn--primary:hover {
    color: #fff;
    background: var(--oh-blue-700);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -4px rgba(37, 99, 235, 0.2);
}

html.theme-dark .oh-btn--primary {
    background: #155dfc ;
}
html.theme-dark .oh-btn--primary:hover {
    background: #1447e6 ;
}
.oh-btn--secondary {
    background: var(--oh-white);
    color: var(--oh-slate-700);
    border: 1px solid var(--oh-slate-200);
}

.oh-btn--secondary:hover {
    background: var(--oh-slate-50);
}

html.theme-dark .oh-btn--secondary,
.salient .dark .oh-btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--oh-white);
    border-color: rgba(255, 255, 255, 0.1);
}

html.theme-dark .oh-btn--secondary:hover,
.salient .dark .oh-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Calendar card column */
.oh-calendar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .oh-calendar-wrap {
        justify-content: flex-end;
    }
}

.oh-calendar-card {
    background: var(--oh-white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 28rem;
    width: 100%;
    border: 1px solid var(--oh-slate-200);
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.oh-calendar-card:hover {
    transform: rotate(0);
}

html.theme-dark .oh-calendar-card,
.salient .dark .oh-calendar-card {
    background: var(--oh-slate-950);
    border-color: var(--oh-slate-800);
    box-shadow: none;
}

.oh-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--oh-slate-100);
}

html.theme-dark .oh-calendar-header,
.salient .dark .oh-calendar-header {
    border-color: var(--oh-slate-800);
}

.oh-calendar-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.oh-calendar-day {
    width: 3rem;
    height: 3rem;
    background: var(--oh-blue-100);
    color: var(--oh-blue-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

html.theme-dark .oh-calendar-day,
.salient .dark .oh-calendar-day {
    background: rgba(59, 130, 246, 0.2);
    color: var(--oh-blue-400);
}

.oh-calendar-label {
    font-weight: 700;
    color: var(--oh-slate-900);
}

html.theme-dark .oh-calendar-label,
.salient .dark .oh-calendar-label {
    color: var(--oh-white);
}

.oh-calendar-date {
    font-size: 0.875rem;
    color: var(--oh-slate-500);
}

html.theme-dark .oh-calendar-date,
.salient .dark .oh-calendar-date {
    color: var(--oh-slate-400);
}

.oh-calendar-status {
    padding: 0.25rem 0.75rem;
    background: var(--oh-green-100);
    color: var(--oh-green-700);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

html.theme-dark .oh-calendar-status,
.salient .dark .oh-calendar-status {
    background: rgba(22, 163, 74, 0.3);
    color: #4ade80;
}

/* Slots list */
.oh-slots {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.oh-slot {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

.oh-slot--link {
    cursor: pointer;
}

.oh-slot:hover {
    background: var(--oh-slate-50);
}

html.theme-dark .oh-slot:hover,
.salient .dark .oh-slot:hover {
    background: var(--oh-slate-800);
}

.oh-slot-time {
    width: 5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--oh-slate-500);
    font-variant-numeric: tabular-nums;
}
oh-description
html.theme-dark .oh-slot-time,
.salient .dark .oh-slot-time {
    color: var(--oh-slate-400);
}

.oh-slot-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.6;
}

.oh-slot-topic {
    font-weight: 500;
    color: var(--oh-slate-900);
    transition: color 0.2s;
}

html.theme-dark .oh-slot-topic,
.salient .dark .oh-slot-topic {
    color: var(--oh-white);
}

.oh-slot:hover .oh-slot-topic {
    color: var(--oh-blue-600);
}

html.theme-dark .oh-slot:hover .oh-slot-topic,
.salient .dark .oh-slot:hover .oh-slot-topic {
    color: var(--oh-blue-400);
}

.oh-slot-expert {
    font-size: 0.75rem;
    color: var(--oh-slate-400);
}

html.theme-dark .oh-slot-expert,
.salient .dark .oh-slot-expert {
    color: var(--oh-slate-500);
}

.oh-slot-arrow {
    width: 1rem;
    height: 1rem;
    color: var(--oh-slate-300);
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    flex-shrink: 0;
}

.oh-slot:hover .oh-slot-arrow {
    opacity: 1;
    color: var(--oh-blue-600);
}

html.theme-dark .oh-slot:hover .oh-slot-arrow,
.salient .dark .oh-slot:hover .oh-slot-arrow {
    color: var(--oh-blue-400);
}

.oh-calendar-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--oh-slate-100);
    text-align: center;
}

html.theme-dark .oh-calendar-footer,
.salient .dark .oh-calendar-footer {
    border-color: var(--oh-slate-800);
}

.oh-calendar-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--oh-blue-600);
    text-decoration: none;
}

.oh-calendar-link:hover {
    text-decoration: underline;
}

html.theme-dark .oh-calendar-link,
.salient .dark .oh-calendar-link {
    color: var(--oh-blue-400);
}
@media (max-width: 767px) {
    .oh-calendar-card{
        transform: rotate(0deg);
    }
    .oh-grid{
        padding: 20px;
    }
    .oh-calendar-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .oh-slot {
        align-items: flex-start;
        flex-direction: column;
        padding: 0px;
        gap: 5px;
    }
}