/*
Theme Name: Alter this one - Newsmatic Pro Child
Template: newsmatic-pro-premium
Author: Child Theme Configurator
Description: Transform your news site into BBC, CNN, or The New York Times in a snap with Newsmatic Theme. With the perfect mix of all the right elements, you'll get a theme that provides a tailor-made system that ticks every checkbox any aspiring news site needs. Quicker setup with beautiful pre-built layouts, news in audio and video formats, breaking news on the ticker, fast page loading speed, and custom unlimited news blocks for different sections - all available in Newsmatic Pro Theme. Check out all pre built demos at: https://blazethemes.com/theme/newsmatic-pro
Tags: news,blog,entertainment,one-column,two-columns,grid-layout,block-styles,left-sidebar,right-sidebar,custom-header,flexible-header,custom-background,custom-colors,custom-menu,featured-images,full-width-template,post-formats,sticky-post,rtl-language-support,footer-widgets,theme-options,threaded-comments,translation-ready
Version: 1.2.22.1704848866
Updated: 2024-01-09 18:07:46

*/

.centered-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

/* Events Sidebar - Narrow width (2/3/2026) */
/* Make sidebar narrower */
body.single-tribe_events .secondary-sidebar,
body.post-type-archive-tribe_events .secondary-sidebar,
body.events-single .secondary-sidebar,
body.tribe-events-style-full .secondary-sidebar {
    max-width: 180px !important;
    flex: 0 0 180px !important;
    width: 180px !important;
}

body.single-tribe_events #secondary.widget-area,
body.post-type-archive-tribe_events #secondary.widget-area,
body.events-single #secondary.widget-area,
body.tribe-events-style-full #secondary.widget-area {
    max-width: 180px !important;
    width: 180px !important;
}

/* Make primary content expand to fill remaining space */
body.single-tribe_events .primary-content,
body.post-type-archive-tribe_events .primary-content,
body.events-single .primary-content,
body.tribe-events-style-full .primary-content {
    flex: 1 1 auto !important;
    max-width: calc(100% - 200px) !important;
}

/* Make event list widget compact */
body.single-tribe_events .tribe-events-list-widget,
body.tribe-events .tribe-events-list-widget {
    font-size: 0.85em;
}

body.single-tribe_events .tribe-events-list-widget .tribe-event-title,
body.tribe-events .tribe-events-list-widget .tribe-event-title {
    font-size: 0.9em;
    line-height: 1.25;
}

body.single-tribe_events .tribe-events-list-widget .tribe-events-venue-details,
body.tribe-events .tribe-events-list-widget .tribe-events-venue-details {
    font-size: 0.8em;
}

/* Hide prev/next event navigation (2/3/2026) */
body.single-tribe_events .tribe-events-sub-nav,
body.single-tribe_events .tribe-events-nav-pagination,
body.single-tribe_events nav.tribe-events-nav-pagination {
    display: none !important;
}

/* Hide Advanced Ads in event content (2/3/2026) */
body.single-tribe_events .advads-close-button,
body.single-tribe_events .advanced-ads-wrapper,
body.single-tribe_events .advads,
body.single-tribe_events [class*="advads"],
body.single-tribe_events .tribe-events-single-event-description .advanced-ads-wrapper,
body.single-tribe_events .tribe-events-content .advanced-ads-wrapper {
    display: none !important;
}

/* Hide duplicate/incorrect page title on event pages (2/3/2026) */
body.single-tribe_events .entry-header,
body.single-tribe_events header.entry-header {
    display: none !important;
}

/* Hide moabs ad content on event pages (2/3/2026) */
body.single-tribe_events .moabs-content,
body.single-tribe_events .moabs-target,
body.single-tribe_events [id^="moabs-"] {
    display: none !important;
}

/* Single event featured image - float right with text wrap (2/6/2026) */
body.single-tribe_events .tribe-events-event-image {
    clear: none !important;
    float: right !important;
    max-width: 45% !important;
    margin: 0 0 15px 20px !important;
    text-align: center;
}

body.single-tribe_events .tribe-events-event-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Clear float after event description */
body.single-tribe_events .tribe-events-single-event-description {
    overflow: hidden;
}

/* Stack image on mobile */
@media (max-width: 768px) {
    body.single-tribe_events .tribe-events-event-image {
        float: none !important;
        max-width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
}

/* ============================================
   SINGLE EVENT PAGE — MSN Custom Layout
   Phase 1a: Visual Foundation (2/8/2026)
   ============================================ */

/* Featured badge */
.msn-featured-badge {
    display: inline-block;
    background: #c41e3a;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    margin-bottom: 8px;
}

/* Schedule bar — date/time + cost in a prominent strip */
.msn-event-schedule-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    border-left: 4px solid #c41e3a;
    padding: 12px 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.msn-event-datetime {
    font-size: 1.05em;
    color: #333;
}

.msn-event-date {
    font-weight: 600;
}

.msn-event-cost {
    background: #c41e3a;
    color: #fff;
    padding: 4px 12px;
    font-weight: 600;
    font-size: 0.9em;
}

/* Main body: image floats right next to description */
.msn-event-body {
    overflow: hidden;
    margin-bottom: 24px;
}

.msn-event-image {
    float: right;
    max-width: 40%;
    margin: 0 0 16px 20px;
}

.msn-event-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* Details grid — up to 3 cards side by side */
.msn-event-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.msn-event-card {
    background: #f8f8f8;
    padding: 16px;
    border-radius: 6px;
}

.msn-event-card h3 {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
    margin: 0 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}

.msn-event-card dl {
    margin: 0;
}

.msn-event-card dt {
    font-weight: 600;
    font-size: 0.85em;
    color: #666;
    margin-top: 8px;
}

.msn-event-card dt:first-child {
    margin-top: 0;
}

.msn-event-card dd {
    margin: 2px 0 0 0;
    font-size: 0.95em;
    color: #333;
}

.msn-venue-name {
    font-weight: 600;
    font-size: 1em;
    margin: 0 0 4px 0;
}

.msn-venue-address {
    font-size: 0.9em;
    color: #555;
    margin: 0 0 8px 0;
}

.msn-venue-map-link,
.msn-event-website-link {
    color: #c41e3a;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
}

.msn-venue-map-link:hover,
.msn-event-website-link:hover {
    text-decoration: underline;
}

.msn-organizer-name {
    font-weight: 600;
    margin: 0 0 4px 0;
}

.msn-organizer-phone,
.msn-organizer-email,
.msn-organizer-website {
    font-size: 0.9em;
    margin: 2px 0;
}

.msn-organizer-phone a,
.msn-organizer-email a,
.msn-organizer-website a {
    color: #c41e3a;
    text-decoration: none;
}

.msn-organizer-phone a:hover,
.msn-organizer-email a:hover,
.msn-organizer-website a:hover {
    text-decoration: underline;
}

/* Add to calendar strip */
.msn-event-add-to-cal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9em;
}

.msn-add-cal-label {
    font-weight: 600;
    color: #666;
}

.msn-cal-link {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 0.9em;
    transition: border-color 0.15s, color 0.15s;
}

.msn-cal-link:hover {
    border-color: #c41e3a;
    color: #c41e3a;
}

/* Promo CTA box */
.msn-event-promo-box {
    background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
    border: 2px solid #c41e3a;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.msn-event-promo-box p {
    margin: 0;
    font-size: 0.95em;
    color: #333;
}

.msn-event-promo-box .promo-button {
    display: inline-block;
    background: #c41e3a;
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.15s;
}

.msn-event-promo-box .promo-button:hover {
    background: #a01830;
}

/* Hide the old TEC meta section styling since we have our own cards */
.msn-event-single .tribe-events-single-section {
    display: none;
}

/* But keep related events if shown via meta module */
.msn-event-single .tribe-related-events {
    display: block !important;
}

/* Hide duplicate nav (we removed it from template but just in case) */
.msn-event-single #tribe-events-header,
.msn-event-single #tribe-events-footer {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .msn-event-image {
        float: none;
        max-width: 100%;
        margin: 0 0 16px 0;
    }

    .msn-event-details-grid {
        grid-template-columns: 1fr;
    }

    .msn-event-promo-box {
        flex-direction: column;
        text-align: center;
    }

    .msn-event-schedule-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .msn-event-add-to-cal {
        flex-wrap: wrap;
    }
}

/* ============================================
   CALENDAR PAGE & ARCHIVE — Unified Styling
   Phase 1b: Archive Consistency (2/8/2026)
   ============================================ */

/* Featured events header */
.featured-events-header,
.all-events-header {
    background: #b23e3d;
    color: #fff !important;
    padding: 6px 16px;
    margin-bottom: 12px;
    font-size: 1.1em;
    font-weight: 700;
}

/* Quick filter chips */
.calendar-quick-filters {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.quick-filter-btn {
    display: inline-block;
    padding: 7px 15px;
    background: #fff;
    border: 1.5px solid #ccc;
    border-radius: 20px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
    cursor: pointer;
}

.quick-filter-btn:hover {
    border-color: #c41e3a;
    color: #c41e3a !important;
    background: #fdf2f4;
}

/* Search compact form */
.calendar-search-compact {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.calendar-search-input-compact {
    width: 140px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.calendar-search-btn-compact {
    padding: 8px 12px;
    background: #c41e3a;
    border: 1px solid #c41e3a;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.calendar-search-btn-compact:hover {
    background: #a01830;
}

/* Promote event CTA on archive */
.promote-event-cta {
    background: #f8f8f8;
    border-left: 4px solid #c41e3a;
    padding: 12px 16px;
    margin-top: 20px;
    font-size: 0.95em;
}

.promote-event-cta a {
    color: #c41e3a;
    font-weight: 600;
    text-decoration: none;
}

.promote-event-cta a:hover {
    text-decoration: underline;
}

/* Calendar sponsor ad container */
.calendar-sponsor-ad {
    text-align: center;
    margin-bottom: 16px;
}

/* Summary view + featured highlight rules moved to calendar-overrides.css — Feb 8, 2026 */

/* Mobile: filter chips */
@media (max-width: 768px) {
    .calendar-quick-filters {
        flex-direction: column;
    }
    
    .filter-chips {
        justify-content: center;
    }
    
    .quick-filter-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .calendar-search-compact {
        width: 100%;
    }
    
    .calendar-search-input-compact {
        flex: 1;
        width: auto;
    }
}

/* ============================================
   FULL-WIDTH CALENDAR PAGE (ID 86751)
   Keep existing override — no sidebar on main calendar
   ============================================ */
body.page-id-86751 .secondary-sidebar,
body.page-id-86751 #secondary {
    display: none !important;
}

body.page-id-86751 .primary-content {
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

/* Hide month separators in summary view (cleaner look) */
.tribe-events-pro-summary__month-separator {
    display: none !important;
}

/* Event website button styling (from JS URL conversion) */
.msn-event-website-btn {
    display: inline-block;
    background: #c41e3a;
    color: #fff !important;
    padding: 8px 16px;
    text-decoration: none !important;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.15s;
}

.msn-event-website-btn:hover {
    background: #a01830;
}

.msn-event-website-btn span {
    font-weight: 400;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Calendar sidebar ad on single event pages */
.msn-event-ad-placement {
    text-align: center;
    margin: 20px 0;
    padding: 16px;
    background: #f8f8f8;
    border-radius: 6px;
}

/* Request a change link */
.msn-event-change-request {
    text-align: right;
    margin: 8px 0 16px;
}
.msn-change-request-link {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-bottom: 1px dotted #999;
}
.msn-change-request-link:hover {
    color: #c41e3a;
    border-bottom-color: #c41e3a;
}

/* === Subscribe to Calendar Button === */
.tribe-events .tribe-events-c-subscribe-dropdown__container {
    display: block !important;
    text-align: right;
    margin: -10px 0 15px;
}
.tribe-events-c-subscribe-dropdown {
    display: inline-block;
    position: relative;
}
.tribe-events-c-subscribe-dropdown__button {
    cursor: pointer;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
}
.tribe-events-c-subscribe-dropdown__button:hover {
    border-color: #c41e3a;
}
.tribe-events-c-subscribe-dropdown__content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 100;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 180px;
    margin-top: 4px;
}
.tribe-events-c-subscribe-dropdown.tribe-events-c-subscribe-dropdown--active .tribe-events-c-subscribe-dropdown__content {
    display: block !important;
}
.tribe-events-c-subscribe-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}
.tribe-events-c-subscribe-dropdown__list-item a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}
.tribe-events-c-subscribe-dropdown__list-item a:hover {
    background: #f5f5f5;
    color: #c41e3a;
}

/* === Filter States === */
.quick-filter-btn.active-filter {
    background: #c41e3a !important;
    color: #fff !important;
    border-color: #c41e3a !important;
}
.quick-filter-btn.highlights-btn {
    border-color: #D4A574;
    color: #9B7B4F !important;
    font-weight: 600;
}
.quick-filter-btn.highlights-btn:hover {
    background: #fdf6ef;
    border-color: #D4A574;
    color: #9B7B4F !important;
}
.quick-filter-btn.highlights-btn.active-filter {
    background: #D4A574 !important;
    color: #fff !important;
    border-color: #D4A574 !important;
}
.quick-filter-btn.show-all-btn {
    border-style: dashed;
    color: #999 !important;
}
.quick-filter-btn.show-all-btn:hover {
    color: #333 !important;
    border-color: #999;
    background: #f9f9f9;
}
.quick-filter-btn.show-all-btn.active-filter {
    background: #f0f0f0 !important;
    color: #333 !important;
    border-color: #999 !important;
}

/* === Two-Row Filter Layout === */
.filter-narrow {
    margin-bottom: 6px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}
.filter-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-narrow .quick-filter-btn {
    white-space: nowrap;
}
.filter-cats .quick-filter-btn {
    font-size: 0.82em;
    padding: 5px 12px;
}

/* Photo card rules moved to calendar-overrides.css — Feb 8, 2026 */

/* Sponsored label on Advanced Ads widgets */
.widget.moabs-widget .moabs-target {
    position: relative;
}
.widget.moabs-widget .moabs-target::after {
    content: 'Advertisement';
    display: block;
    text-align: center;
    font-size: 0.6rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Pages with hide_page_title — strip theme chrome, shortcode/content handles everything */
.msn-no-title .entry-header {
    display: none !important;
}
.msn-no-title .post-inner-wrapper,
.msn-no-title .entry-content,
.msn-no-title .primary-content {
    padding-top: 0;
    margin-top: 0;
}
.msn-no-title #theme-content {
    padding-top: 0;
}

/* Hide prev/next post navigation on single posts (2/15/2026) */
.single-post .post-navigation { display: none !important; }

/* Hide prev/next event navigation on venue pages (2/24/2026) */
body.single-tribe_venue .tribe-events-c-nav,
body.single-tribe_venue .tribe-events-c-top-bar__nav-link--prev,
body.single-tribe_venue .tribe-events-c-top-bar__nav-link--next {
    display: none !important;
}


/* Fix: sidebar scrolling behind sticky header (2/28/2026) */
/* Theme sets top:0 on .secondary-sidebar — override to clear sticky nav */
.sidebar-sticky .secondary-left-sidebar,
.sidebar-sticky .secondary-sidebar {
  top: 80px !important;
}
body.admin-bar .sidebar-sticky .secondary-left-sidebar,
body.admin-bar .sidebar-sticky .secondary-sidebar {
  top: 112px !important;
}
/* Remove masthead bottom margin when /LOCAL/ sub-nav is present (kills white strip) */
body.has-subnav #masthead { margin-bottom: 0 !important; }
body.has-subnav #theme-content { margin-top: 0 !important; padding-top: 0 !important; }
/* Bump sidebar down when /LOCAL/ sub-nav bar is present (site-wide) */
body.has-subnav.sidebar-sticky .secondary-left-sidebar,
body.has-subnav.sidebar-sticky .secondary-sidebar {
  top: 120px !important;
}
body.has-subnav.admin-bar.sidebar-sticky .secondary-left-sidebar,
body.has-subnav.admin-bar.sidebar-sticky .secondary-sidebar {
  top: 152px !important;
}

/* Fix: Freeze header — disable scroll-up/down show/hide behavior (2026-03-01)
   Theme builder.css: .header-sticky--enabled uses position:fixed on .bb-bldr--normal,
   then .fixed--off applies transform:translateY(-1000px) to hide it on scroll-down.
   Override: prevent the translateY hide, kill the slide-in animation. */
.site-header.header-sticky--enabled.fixed--off {
    transform: none !important;
}
.site-header.header-sticky--enabled .bb-bldr--normal,
.site-header.header-sticky--enabled .bb-bldr--responsive {
    transition: none !important;
    animation: none !important;
}
.site-header.header-sticky--enabled.fixed--on .bb-bldr--normal,
.site-header.header-sticky--enabled.fixed--on .bb-bldr--responsive {
    animation: none !important;
}

/* Hide "Tagged:" label on single posts (2026-03-01) */
.single-post .tags-links {
    display: none;
}

/* === HOMEPAGE CARD IMPROVEMENTS (2026-03-03; box 4:3 -> 3:2 on 2026-10-15) === */
/* Listing thumbnails match the 3:2 featured images and the 600x400 newsmatic-list copy,
   so nothing is cropped. Faces in non-3:2 photos are handled by the SmartCrop focal point
   when the copy is generated. (Was 4:3 over a 600x500 copy = ~10% lost off every side.) */
article.post figure.post-thumb-wrap {
    aspect-ratio: 3 / 2;
    min-height: unset;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}

/* Fallback crop for any old copy that isn't 3:2: favor the top of the frame */
article.post figure.post-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Category labels — styled as crimson tags above headline */
/* Override theme customizer display:none !important via higher specificity */
article.post .post-element > .post-categories {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
    display: flex !important;
    gap: 6px;
}
article.post .post-element > .post-categories li {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
article.post .post-element > .post-categories li a {
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #c41e3a !important;
    text-decoration: none;
    background: none !important;
    padding: 0 !important;
}
article.post .post-element > .post-categories li a:hover {
    text-decoration: underline;
}

/* Hide the old category overlay inside figure (now rendered in .post-element) */
article.post figure.post-thumb-wrap .post-categories {
    display: none !important;
}

/* Alignment fix — flex column eliminates inline formatting gap */
article.post .post-element {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

