/*
Theme Name:   UWM Web Identity 2.0 - Student Affairs
Theme URI:    http://uwm.edu
Author:       UW-Milwaukee
Author URI:   http://uwm.edu
Description:  UWM Web Identity 2.0 Child Theme - Student Affairs
Template:     uwmwebid2
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  uwmwebid2-studentaffairs
*/

/* Calendar Image Styling */

    .aspect-ratio-box {
        position: relative;
        width: 100%;
        padding-bottom: 55%; /* 550 ÷ 1000 = 0.55 = 55% */
        overflow: hidden;
    }

    .aspect-ratio-box img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* or 'contain' depending on how you want it to scale */
    }

/* Events Calendar Pro */

    div.tribe-community-events form div.tribe-section-event-status,
    /* div.tribe-community-events form div.tribe-section-website, */
    div.tribe-community-events form div.tribe-section-cost,
    div.tribe-community-events form div.tribe-section-venue tfoot,
    div.tribe-community-events form div.edit-linked-post-link{
        display: none;
    }

    div.tribe-community-events div.tribe-section div.tribe-section-header{
        margin-bottom: 0px;
    }

    div.tribe-community-events form div.uwm-p-notice {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    body.tribe_community_edit div.uwm-p-notice ol {
        font-size: .9375rem !important;
    }

    .tribe-block__venue {
        display:none;
    }
    #tribe-events-footer {
        display: none;
    }

    .tribe-community-events .events-community-post-content:nth-of-type(1) .tribe-section-header,
    .tribe-community-events .events-community-post-content:nth-of-type(2) .tribe-section-header {
        border: 1px solid var(--tec-color-border-default);
        padding: var(--tec-spacer-3);
        margin: var(--tec-spacer-5) 0 0 0;
    }

    .single-tribe_events .tribe-events-schedule {
        background: transparent;
        border: none;
        margin: 10px 0 15px;
        padding: 0;
    }

    .single-tribe_events .tribe-events-schedule .tribe-events-schedule__datetime,
    .single-tribe_events .tribe-events-schedule .tribe-events-schedule__datetime span {
        font-size: 21px;
        color: var(--tec-color-text-primary);
        font-family: var(--tec-font-family-sans-serif);
        font-weight: 400;
        letter-spacing: normal;
        line-height: 1.63;
    }

    ul.comma-list {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }
    
    ul.comma-list li::after {
        content: ",";
        padding-right: 4px;
    }
    
    ul.comma-list li:last-child::after {
        content: "";
    }

    dd.tribe-event-tags {
        margin: 0;
    }

    .uwm-p-card--subtitle .tribe-events-series-relationship-single-marker {
        display:none;
    }
    

/* Events Calendar Pro Venue and Organizer Temp Fix */

    div#event_tribe_venue select.tribe-dropdown + span,
    div#event_tribe_organizer select.tribe-dropdown + span
    {
        display: none;
    }

    div#event_tribe_venue select.tribe-dropdown.select2-hidden-accessible, 
    div#event_tribe_organizer select.tribe-dropdown.select2-hidden-accessible
    {
        border: 2px solid #d4d5d6 !important;
        clip: unset !important;
        height: unset !important;
        margin: unset !important;
        overflow: unset !important;
        padding: 3px !important;
        position: unset !important;
        width: unset !important;
    }
