/*
Theme Name: Pinnacle Premium Child Theme
Theme URI: http://themes.kadencethemes.com/pinnacle-premium/
Description: Child Theme for Pinnacle Premium
Author: Kadence Themes
Author URI: http://kadencethemes.com/
Template: pinnacle_premium
Version: 1.0
*/

.wpfc_sermon-template-default #sidebar {
    display: none;
}

.sf-menu .menu-item-4080 ul ul {
    width: 100%;
    left: -100%;
}

/* ── TEC List View Customizations ───────────────────────────────────── */
.tribe-events-view--list .tribe-events-calendar-series-archive__container {
    display: none !important;
}


/* 3. Hide date tag — !important needed to beat the breakpoint-specific width rules */
.tribe-events-calendar-list__event-date-tag {
    display: none !important;
}

/* Expand event wrapper to fill vacated space */
.tribe-events-calendar-list__event-wrapper {
    flex: 1 !important;
    width: 100% !important;
}

.tribe-events .tribe-events-widget-events-list__event-title a {
	transition: color 0.2s ease-in-out;
}

/* 4. Image left: flip row direction so DOM order (image, details) reads left-to-right */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event {
    flex-direction: row !important;
    justify-content: flex-start !important;
}

/*.tribe-events-calendar-list__event-featured-image-wrapper {
    flex: none !important;
    width: 150px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-right: 1.25em;
    margin-bottom: 0 !important;
}*/

.tribe-events-calendar-list__event-featured-image-wrapper {
    flex: none !important;
    width: calc(150px + var(--tec-grid-gutter-half) * 2) !important;
    padding-left: var(--tec-grid-gutter-half);
    padding-right: var(--tec-grid-gutter-half);
    margin-right: 0;
    margin-bottom: 0 !important;
}

.tribe-events-calendar-list__event-featured-image {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    display: block;
}

/* Details fill remaining space */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {
    flex: 1 !important;
    width: auto !important;
}

/* Mobile: restore column stacking */
@media (max-width: 767px) {
    .tribe-events-calendar-list__event {
        flex-direction: column !important;
    }
    .tribe-events-calendar-list__event-featured-image-wrapper {
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 1em !important;
    }
    .tribe-events-calendar-list__event-featured-image {
        width: 100% !important;
        height: auto !important;
    }
}

.tribe-events .tribe-events-calendar-list__event-title {
    margin-top:0 !important;
    font-style: normal;
}

.tribe-events .tribe-events-widget-events-list__event-title a {
    border: none;
    text-decoration: underline;
    color: #494949 !important;
}

.tribe-events .tribe-events-widget-events-list__event-title a:hover {
    border: none;
    color: #cd94b4 !important;
}


.tribe-events .tribe-events-calendar-list__event-datetime {
    font-style:italic;
}


.tribe-common .tribe-events-calendar-list__event-description a {
    color: #774f8c !important;
    display: inline-block !important;
    padding-left: .5em;
    font-weight: bold;
    text-decoration: underline;
}
    

.tribe-common .tribe-events-calendar-list__event-description a:hover,
.tribe-events-calendar-list__event-description a:focus {
    color: #cd94b4 !important;
    text-decoration: underline !important;
}

.tribe-events .tribe-events-calendar-list__event-header .tribe-events-calendar-list__event-title {
    order: 1 !important;
}

.tribe-events .tribe-events-calendar-list__event-header .tribe-events-calendar-list__event-datetime-wrapper {
    order: 2 !important;
}

/* hide featured image from event page */
.tribe-events-pg-template .tribe-events-event-image {
    display: none;
}

/* try to override some of the padding and min-height */
.tribe-events-view--list .tribe-events-l-container {
    min-height: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.tribe-events .tribe-events-calendar-list__event-row:last-child {
    margin-bottom: 0px !important;
}

/* ── TEC Widget Events List Customizations ──────────────────────────────── */

/* Expand event wrapper to fill the row (mirrors list view behaviour) */
.tribe-events-widget-events-list__event-wrapper {
    flex: 1 !important;
    width: 100% !important;
}

/* Image: fixed 150 × 150 with gutter padding — matches list view image sizing */
.tribe-events-widget-events-list__event-featured-image-wrapper {
    flex: none !important;
    width: calc(150px + var(--tec-grid-gutter-half) * 2) !important;
    padding-left: var(--tec-grid-gutter-half);
    padding-right: var(--tec-grid-gutter-half);
    margin-bottom: 0 !important;
}

.tribe-events-widget-events-list__event-featured-image {
    width: 150px !important;
    height: 150px !important;
    object-fit: cover;
    display: block;
	border-radius: 10px;
}

/* Details column fills remaining space */
.tribe-events-widget-events-list__event-details {
    flex: 1 !important;
    width: auto !important;
}

/* Title: remove default top margin */
.tribe-events-widget-events-list .tribe-events-widget-events-list__event-title {
    margin-top: 0 !important;
    font-style: normal;
}

/* Date/time: italic to match list view */
.tribe-events-widget-events-list .tribe-events-widget-events-list__event-datetime {
    font-style: italic;
}

/* Description Read More link — purple/teal matching list view */
.tribe-common .tribe-events-widget-events-list__event-description a {
    color: #774f8c !important;
    display: inline-block !important;
    padding-left: .5em;
    font-weight: bold;
    text-decoration: underline;
}

.tribe-common .tribe-events-widget-events-list__event-description a:hover,
.tribe-common .tribe-events-widget-events-list__event-description a:focus {
    color: #cd94b4 !important;
    text-decoration: underline !important;
}

/* Mobile: stack image above details */
@media (max-width: 767px) {
    .tribe-events-widget-events-list__event-featured-image-wrapper {
        width: 100% !important;
        margin-bottom: 1em !important;
    }
    .tribe-events-widget-events-list__event-featured-image {
        width: 100% !important;
        height: auto !important;
    }
}

/* Remove extra bottom spacing from last event row */
.tribe-events-widget-events-list__event-row:last-child {
    margin-bottom: 0 !important;
}

/* ── Event registration link (shown when Event Website field is set) ─────── */
.tribe-event-url-link {
    display: block;
    margin-top: 0.3em !important;
    color: #774f8c !important;
    font-weight: bold;
    font-style: normal;
    text-decoration: none;
    font-size: 0.9em;
	transition: color 0.2s ease-in-out;
}

.tribe-event-url-link:hover,
.tribe-event-url-link:focus {
    color: #cd94b4 !important;
    text-decoration: underline !important;
}

.tribe-events-widget-events-list__view-more {
    text-align: center;
}


/* TEC Single Event overrides */
.tribe-events-single .tribe-events-schedule {
    font-weight: bold;
}

/*-------------------*/
/* Event Calendar view more button */
.tribe-events-widget .tribe-events-widget-events-list__view-more-link {
    background: #3e1051;
    display: inline-block;
    padding: 10px 20px;
    color: white !important;
    border-radius: 8px;
    border: none !important;
    transition: background 0.2s ease-in-out !important;
	
	font-family: 'Nunito Sans';
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 20px;
}

.tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover {
    background: #cd94b4;
    border: none !important;
}

/* ── .dark_box overrides: TEC widget-events-list view only ───────────── */

/* Base text color */
.dark_box .tribe-common,
.dark_box .tribe-events {
    color: white;
}

/* Event title link */
.dark_box .tribe-events .tribe-events-widget-events-list__event-title a {
    color: white !important;
}

/* Description Read More link */
.dark_box .tribe-common .tribe-events-widget-events-list__event-description a {
    color: white !important;
}

/* Registration link */
.dark_box .tribe-event-url-link {
    color: white !important;
}

/* All link hovers → #cd94b4 */
.dark_box .tribe-events .tribe-events-widget-events-list__event-title a:hover,
.dark_box .tribe-common .tribe-events-widget-events-list__event-description a:hover,
.dark_box .tribe-common .tribe-events-widget-events-list__event-description a:focus,
.dark_box .tribe-event-url-link:hover,
.dark_box .tribe-event-url-link:focus {
    color: #cd94b4 !important;
}

/* View More button */
.dark_box .tribe-events-widget .tribe-events-widget-events-list__view-more-link {
    background: #b7d5e8;
    color: #121f6b !important;
}

.dark_box .tribe-events-widget .tribe-events-widget-events-list__view-more-link:hover {
    background: #cd94b4;
    color: white !important;
}

.dark_box .tribe-common .tribe-common-b2,
.dark_box .textwidget a,
.dark_box .tribe-common .tribe-common-c-svgicon {
	color: white;
}

.dark_box .tribe-common .tribe-common-c-svgicon path {
    stroke: white;
}