/*
 Theme Name:   PiH 2026
 Theme URI:    https://generatepress.com
 Description:  Theme for Protest in Harmony, based on GeneratePress
 Author:       Chris Booth
 Author URI:   https://chris-booth-ceremonies.earth/
 Template:     generatepress
 Version:      0.9
*/

/* Buttons */
.button, .form-submit .submit {
    border-radius: 9999px;
}
/* Layout: sidebar first on mobile displays */
@media (max-width: 768px) {
    #content {
        display: flex;
        flex-direction: column;
    }
    #primary {
        order: 1; 
            /* Main content */
    }
    #right-sidebar {
        order: -1;
            padding-bottom: 40px;
            /* Sidebar loads first on mobile */
    }
     #right-sidebar aside {
        margin-top: 0;
    }
}

/* Menu/Slideout nav CTA button */
nav .menu-bar-items .gb-button,
nav.slideout-navigation .inside-navigation .gb-button {
    color: var(--base-2);
}

/* Page layout */
.one-container .site-content {
    padding: 40px;
}

.verse {
        text-indent: -1em;
    margin-left: 1em;
}
.block-editor-iframe__html .verse {
    text-indent:0;
}

/* Post Archive page */
.post-date::before {
  content: "Date: ";
  font-weight: bold;
}
.post-categories::before {
  content: "Categories: ";
  font-weight: bold;
}

/* Song Library */
.song-authors::before {
    content: "By: ";
    font-weight: bold;
}
.song-language::before {
    content: "Language: ";
    font-weight: bold;
}
.song-topics::before {
    content: "Topics: ";
    font-weight: bold;
}
.text-shadow {
    text-shadow: 3px 3px 2px #000000;
}
/* fix featured image width */
.tb-image img  {
    width: 100% !important;
}

/* File block */
.wp-block-file {
    padding-left: 20px;
}
.wp-block-file .wp-block-file__button {
    background-color: var(--accent);
    color: var(--base-2);
    text-transform: uppercase;
}
.wp-block-file .wp-block-file__button:hover {
    background-color: var(--accent-2);
    color: var(--contrast-3);
}
.entry-content a, .widget-area a {
    text-decoration: underline;
}
.gb-container h3 {
    padding-top: 10px;
    font-size: 24px;
}

/* Search filters */
.wpv-custom-search-filter-label-before .wpv-custom-search-filter__input {
    flex:4;
}

/* Song sidebar */
.inside-right-sidebar aside {
    border: 2px solid rgba(7, 2, 16, 1);
    border-radius: 20px;
    margin-top:100px;
    padding: 20px !important;
}
.inside-right-sidebar aside p {
    margin: 0;
    padding: 0 0 10px 0;
}
.song_credits {
    font-size: 1.2em;
    padding: 0 0 20px 0;
}
.song_tax {
    font-size: 0.8em;
    padding-bottom: 5px;
}
/* Events customisations */
.mec-wrap p {
    font-size: 20px;
}
.single-mec-events .mec-events-event-image {
    display: none;
}

/* Events listings */
/* Home page */
.next-rehearsal-block .mec-event-article {
    border:none; margin:0;
}
.next-rehearsal-block .mec-col-table-c {
    vertical-align: top;
    padding-bottom: 0 !important;
} 
.next-rehearsal-block .mec-event-content h3 {
    font-weight:bold;
} 
.next-rehearsal-block .mec-event-content .mec-event-description, 
.next-rehearsal-block .mec-event-meta .mec-date-details span, 
.next-rehearsal-block .mec-event-meta .mec-time-details {
    font-size:16px !important;
}
/* Events archive */
.post-type-archive-mec-events .mec-event-list-standard .mec-event-article {
    border-radius: 20px; 
    border: 2px solid var(--contrast-2);
}

/* Search results */
.search-results .generate-columns .inside-article {
  padding: 0px;
  border: 2px solid rgba( 38, 17, 92, 1 );
  border-radius: 20px;
    height: auto;
}

.search-results .generate-columns h2.entry-title,
.search-results .generate-columns .entry-summary{
    margin: 10px;
}
.search-results .generate-columns h2.entry-title a, .widget-area a {
  text-decoration: underline;
}

.relevanssi-query-term {
    background-color: #72a1d97a;
  padding: 2px 4px;
  color: black;
}

/* Image archive */
.tb-image-caption {
  text-align: left;
  font-size: medium;
  font-style: italic;
  padding-bottom: 40px;
  padding-left: 10px;
}