/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/







/* =============================================================================
   Quote of the Day Hero Carousel
   ============================================================================= */

.qotd-hero-wrapper {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.qotd-hero-wrapper .testimonial_slider {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    opacity: 1 !important;
    text-align: center;
}

.qotd-hero-wrapper .testimonial_slider .slides blockquote {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
}

.qotd-hero-wrapper .testimonial_slider .slides blockquote p {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.qotd-hero-wrapper .testimonial_slider .slides blockquote span {
    color: #ffffff !important;
    font-size: 1rem !important;
    letter-spacing: 0.12em;
    display: block;
    font-style: normal;
    opacity: 0.85;
}

/* Dot navigation */
.qotd-hero-wrapper .testimonial_slider .controls {
    margin-top: 30px;
}

.qotd-hero-wrapper .testimonial_slider .controls ul li span.pagination-switch,
.qotd-hero-wrapper .testimonial_slider .controls ul li {
    background-color: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    display: inline-block;
}

.qotd-hero-wrapper .testimonial_slider .controls ul li.active span.pagination-switch,
.qotd-hero-wrapper .testimonial_slider .controls ul li.active {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Arrow navigation */
.qotd-hero-wrapper .testimonial_slider .testimonial-next-prev a {
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: border-color 0.2s, background 0.2s;
}

.qotd-hero-wrapper .testimonial_slider .testimonial-next-prev a:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
}

.qotd-hero-wrapper .testimonial_slider .testimonial-next-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.qotd-hero-wrapper .testimonial_slider .testimonial-next-prev a {
    pointer-events: all;
}

.qotd-hero-wrapper.hide-arrows .testimonial-next-prev {
    display: none !important;
}

/* WPBakery hero row override */
.qotd-hero-row > .vc_row-fluid {
    padding: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .qotd-hero-wrapper {
        min-height: 300px;
        padding: 40px 24px;
    }
    .qotd-hero-wrapper .testimonial_slider .slides blockquote p {
        font-size: 1.3rem !important;
    }
    .qotd-hero-wrapper .testimonial_slider .testimonial-next-prev {
        padding: 0 8px;
    }
}


/* =============================================================================
   OBS Video Grid & Single Video Page
   ============================================================================= */

/* --- Grid Layout --- */
.obs-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 24px 0;
}

.obs-no-videos {
    color: #888;
    font-size: 1rem;
    padding: 24px 0;
}

/* --- Card --- */
.obs-video-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.obs-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* --- Thumbnail --- */
.obs-thumb-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 8px;
}

.obs-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.obs-video-card:hover .obs-thumb {
    transform: scale(1.04);
}

/* --- Placeholder --- */
.obs-video-placeholder {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obs-play-icon {
    color: rgba(255,255,255,0.5);
    font-size: 2.5rem;
    line-height: 1;
}

/* --- Badges --- */
.obs-badge-wrap {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.obs-quality,
.obs-duration {
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

/* --- Card Meta --- */
.obs-card-meta {
    padding: 12px 0 8px;
}

.obs-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
    color: inherit;
}

.obs-card-title a {
    color: inherit;
    text-decoration: none;
}

.obs-card-title a:hover {
    color: #8B1A1A;
}

.obs-card-date {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* =============================================================================
   Single Video Page
   ============================================================================= */

/* Row 1: Player - full width, black bg, outside container */
.obs-single-player-wrap {
    width: 100%;
    background: #000;
    display: block;
    line-height: 0;
}

.obs-single-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    background: #000;
}

.obs-single-player iframe,
.obs-single-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.obs-no-video {
    position: relative;
    padding-top: 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obs-no-video p {
    color: #aaa;
    font-size: 1rem;
    line-height: normal;
}

/* Salient override: remove default container-wrap top margin on single page */
.obs-single-content-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.obs-single-content-wrap .container.main-content {
    padding-top: 0 !important;
}

/* Row 2: Meta */
.obs-single-meta {
    padding: 32px 0 8px;
    border-bottom: 1px solid #eee;
    margin-bottom: 24px;
}

.obs-back-link {
    margin: 0 0 16px;
    font-size: 0.9rem;
}

.obs-back-link a {
    color: #8B1A1A;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.obs-back-link a:hover {
    text-decoration: underline;
}

.obs-single-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
    color: #1a1a1a;
}

.obs-single-date {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* Row 3: Navigation */
.obs-single-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0 48px;
}

.obs-nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.obs-nav-btn:hover {
    background: #8B1A1A;
    color: #fff !important;
    border-color: #8B1A1A;
}

.obs-nav-disabled {
    visibility: hidden;
    pointer-events: none;
    border: none;
    background: transparent;
}

.obs-nav-next { margin-left: auto; }

/* =============================================================================
   Responsive
   ============================================================================= */

@media (max-width: 1023px) {
    .obs-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .obs-single-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .obs-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .obs-single-meta {
        padding: 20px 16px 12px;
    }
    .obs-single-nav {
        padding: 16px 16px 36px;
        flex-direction: column;
        align-items: stretch;
    }
    .obs-nav-btn {
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
    .obs-nav-prev,
    .obs-nav-next {
        margin: 0;
    }
    .obs-single-title {
        font-size: 1.4rem;
    }
}



/* === Phase 2: Content Experience === */

/* YouTube Facade */
.obs-youtube-facade {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    cursor: pointer;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
}
.obs-youtube-facade img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.obs-facade-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}
.obs-facade-play:hover svg path:first-child {
    fill: rgba(155, 28, 28, 1.0);
}
.obs-youtube-facade.obs-facade-active {
    padding-top: 56.25%;
}
.obs-youtube-facade.obs-facade-active iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Archive Page Header */
.obs-archive-wrapper {
    padding: 0 0 48px 0;
}
.obs-archive-header {
    background: #F9FAFB;
    padding: 24px 16px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 8px;
    gap: 16px;
}
.obs-archive-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.obs-archive-title {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.obs-post-count {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #9B1C1C;
}
.obs-taxonomy-filter {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 8px 16px;
    color: #1F2937;
    background: #FFFFFF;
    min-height: 44px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.obs-taxonomy-filter:hover {
    background-color: #F9FAFB;
}
.obs-taxonomy-filter:focus {
    outline: none;
    border-color: #9B1C1C;
}

/* Video Card (enhanced) */
.obs-video-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.obs-video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.obs-video-card:hover .obs-card-title {
    color: #9B1C1C;
}
.obs-card-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #F3F4F6;
}
.obs-card-thumb img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.obs-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
    color: #9B1C1C;
    font-size: 32px;
}
.obs-card-info {
    padding: 12px 16px 16px;
}
.obs-card-title {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.obs-card-date {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.4;
}

/* Video Grid */
.obs-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Quote Card */
.obs-quote-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #374151;
}
.obs-quote-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.obs-quote-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 60%;
}
.obs-quote-text {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.5;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.obs-quote-ref {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Related Content */
.obs-related-content {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #E5E7EB;
}
.obs-related-heading {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

/* Load More Button */
.obs-load-more {
    display: block;
    margin: 32px auto 0;
    background: #9B1C1C;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    min-height: 44px;
    transition: background-color 0.2s ease;
}
.obs-load-more:hover {
    background: #7F1616;
}
.obs-load-more.obs-loading {
    opacity: 0.7;
    cursor: wait;
}
.obs-error {
    text-align: center;
    color: #DC2626;
    font-family: inherit;
    font-size: 14px;
    margin-top: 8px;
}
.obs-no-results {
    text-align: center;
    color: #6B7280;
    font-family: inherit;
    font-size: 16px;
    padding: 48px 16px;
}

/* Single Page Layout */
.obs-back-link {
    display: inline-block;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #9B1C1C;
    text-decoration: none;
    margin-bottom: 24px;
}
.obs-back-link:hover {
    text-decoration: underline;
}
.obs-single-header {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.obs-single-title {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}
.obs-single-date {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #6B7280;
    white-space: nowrap;
}
.obs-single-description {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: #1F2937;
    line-height: 1.5;
    margin-top: 24px;
}
.obs-single-description p {
    margin: 0 0 16px 0;
}

/* Prev/Next Navigation */
.obs-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
    gap: 16px;
}
.obs-nav-links a {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #9B1C1C;
    text-decoration: none;
}
.obs-nav-links a:hover {
    text-decoration: underline;
}
.obs-nav-disabled {
    visibility: hidden;
}

/* Quote Single Page */
.obs-quote-single-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
}
.obs-quote-single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.obs-quote-single-text {
    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
    color: #1F2937;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 16px 0;
}
.obs-quote-single-ref {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: #6B7280;
}

/* Empty State */
.obs-empty-state {
    text-align: center;
    padding: 64px 16px;
}
.obs-empty-state h2 {
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}
.obs-empty-state p {
    font-family: inherit;
    font-size: 16px;
    color: #6B7280;
    margin: 0;
}

/* ---- Responsive: Tablet (<=1023px) ---- */
@media (max-width: 1023px) {
    .obs-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .obs-archive-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .obs-taxonomy-filter {
        width: 100%;
    }
}

/* ---- Responsive: Mobile (<=767px) ---- */
@media (max-width: 767px) {
    .obs-video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .obs-load-more {
        width: 100%;
    }
    .obs-single-header {
        flex-direction: column;
    }
    .obs-single-date {
        white-space: normal;
    }
    .obs-nav-links {
        flex-direction: column;
        gap: 12px;
    }
    .obs-nav-links a,
    .obs-nav-links .obs-nav-disabled {
        width: 100%;
        text-align: center;
    }
    .obs-archive-title {
        font-size: 20px;
    }
    .obs-related-heading {
        font-size: 20px;
    }
}

/* === Phase 3: Homepage, Navigation, and Launch === */

/* --- Homepage wrapper --- */
.obs-homepage {
  overflow-x: hidden;
  background-color: #ffffff;
}

.obs-homepage .container-wrap {
  background-color: #ffffff !important;
  margin-bottom: 0 !important;
  padding-bottom: 48px !important;
}

.obs-homepage .container.main-content > .row {
  padding-bottom: 0 !important;
}

.obs-homepage .container.main-content {
  background-color: #ffffff;
}

/* --- Hero Section --- */
.obs-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #8B1A1A;
}

.obs-hero .qotd-hero-wrapper {
  border-radius: 0;
  padding: 0;
  height: 100%;
}

.obs-hero .qotd-hero-wrapper .testimonial_slider {
  height: 100% !important;
  min-height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.obs-hero .testimonial_slider .slides {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

.obs-hero-scroll-arrow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  animation: obs-bounce 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  padding: 8px;
  line-height: 1;
}

.obs-hero-scroll-arrow:hover {
  color: #ffffff;
}

@keyframes obs-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* --- Content Shelves --- */
.obs-shelf {
  padding-top: 48px;
  padding-bottom: 48px;
}

.obs-shelf--first {
  padding-top: 64px;
}

.obs-shelf--alt-bg {
  background: #F9FAFB;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.obs-shelf__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.obs-shelf__title {
  font-size: 46px;
  font-weight: 100;
  text-transform: capitalize;
  color: #111827;
  line-height: 1.2;
  margin: 0;
}

.obs-shelf__link {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #991B1B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.obs-shelf__link:hover {
  color: #7F1616;
}

.obs-shelf__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.obs-shelf__link:hover .obs-shelf__arrow {
  transform: translateX(4px);
}

/* Shelf horizontal scroll track */
.obs-shelf__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 25px;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
}

.obs-shelf__track::-webkit-scrollbar {
  display: none;
}

.obs-homepage .obs-shelf__track > .obs-video-card {
  flex: 0 0 calc((100% - 75px) / 4) !important;
  scroll-snap-align: start;
  min-width: 0;
  max-width: calc((100% - 75px) / 4) !important;
  width: auto !important;
}

/* Card series label in shelf */
.obs-card-series {
  display: block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  color: #991B1B;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 2.17;
  margin-bottom: 2px;
}

/* --- All Categories Icon Grid --- */
.obs-all-categories {
  background: #F9FAFB;
  padding: 64px 0 80px;
}

.obs-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.obs-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #f3f4f6;
  border-radius: 0;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: obsFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--index, 0) * 80ms);
}

.obs-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.obs-category-icon {
  color: #991B1B;
  margin-bottom: 12px;
  line-height: 1;
}

.obs-category-label {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  line-height: 1.5;
}

.obs-category-count {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  margin-top: 4px;
}

/* ponytail: sidebar styling consolidated in functions.php wp_footer output */

/* --- Footer custom styling --- */
#footer-outer {
  border-top: 1px solid #F3F4F6;
}

#footer-outer .row .col .widget h4 {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-transform: none;
  letter-spacing: 0;
}

#footer-outer .row .col a {
  color: #6B7280;
  transition: color 0.2s ease;
}

#footer-outer .row .col a:hover {
  color: #991b1b;
}

#footer-outer .widget ul li {
  border-bottom: none !important;
  padding: 3px 0 !important;
}

#footer-outer .widget ul li a {
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
}

.obs-footer-tagline {
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  margin-top: 12px;
  line-height: 1.5;
}

#footer-outer .obs-footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer-outer .obs-footer-social a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

#footer-outer .obs-footer-social a:hover {
  color: #991b1b;
}

#footer-outer .obs-footer-social svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

/* --- Responsive: Tablet --- */
@media (max-width: 1023px) {
  .obs-hero {
    height: 80dvh;
  }

  .obs-shelf__title {
    font-size: 36px;
  }

  .obs-homepage .obs-shelf__track > .obs-video-card {
    flex: 0 0 calc((100% - 25px) / 2.5) !important;
    max-width: calc((100% - 25px) / 2.5) !important;
  }

  .obs-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive: Mobile --- */
@media (max-width: 767px) {
  .obs-hero {
    height: 100dvh;
  }

  .obs-homepage .obs-shelf__track > .obs-video-card {
    flex: 0 0 calc(100% / 1.2) !important;
    max-width: calc(100% / 1.2) !important;
  }

  .obs-shelf__title {
    font-size: 28px;
  }

  .obs-all-categories {
    padding: 48px 0;
  }



  .obs-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .obs-category-card {
    padding: 16px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .obs-hero-scroll-arrow {
    animation: none;
  }

  .obs-shelf__track > .obs-video-card,
  .obs-category-card,
  .obs-shelf__link,
  .obs-shelf__arrow {
    transition-duration: 0s !important;
  }
}


/* ── Phase 3 Plan 02: Social Share Buttons ── */
.obs-share {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}
.obs-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.obs-share__btn:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}
.obs-share__btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.obs-share__btn--whatsapp {
    background: #25D366;
}
.obs-share__btn--facebook {
    background: #1877F2;
}
.obs-share__btn--twitter {
    background: #1DA1F2;
}


/* OBS CARD FINAL OVERRIDE */
/* Definitive card title + meta - matches nectar_post_grid reference */
.obs-card-meta {
    padding: 10px 10px 25px 10px !important;
}

.obs-card-title,
.obs-card-title a {
    font-family: "Poppins", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: inherit !important;
    line-height: 1.4 !important;
    margin: 0 0 6px !important;
    text-decoration: none !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.obs-card-title a:hover {
    color: #8B1A1A !important;
}

.obs-card-date {
    font-family: "Poppins", sans-serif !important;
    font-size: 0.8rem !important;
    color: #888 !important;
    margin: 0 !important;
}