/* ===========================================================
   SINGLE POST - PARENT CONTAINERS CENTERED
   =========================================================== */
.single-post .site-content,
.single-post .content-area,
.single-post .wrap,
.single-post .container {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* SINGLE POST TITLE - CENTERED */
.single-post .entry-title,
.single-post h1.entry-title {
    text-align: cen
/* ===================== HYMNS / MAIN BLOG PAGE ===================== */

/* Center and widen each letter section */
.letter-section {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Center letter section titles */
.letter-section .letter-title {
    text-align: center !important;
    display: block !important;
    margin-bottom: 16px !important;
    font-size: clamp(20px, 2.5vw, 32px) !important;
}

/* Force az-columns to center, ignore theme floats */
.letter-section .az-columns.max-3-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
    list-style: none !important;
    padding-left: 0 !important;
}

/* List items styling */
.letter-section .az-columns.max-3-columns li {
    margin-bottom: 6px !important;
    float: none !important; /* override old theme float if any */
}

/* Links styling */
.letter-section .az-columns.max-3-columns li a {
    display: inline-block !important;
    text-decoration: none !important;
    color: #333 !important;
}

/* Back-to-top link */
.letter-section .back-to-top {
    text-align: center !important;
    margin-top: 16px !important;
}

/* ===================== MOBILE ===================== */
@media (max-width: 740px) {
    .letter-section {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .letter-section .az-columns.max-3-columns {
        flex-direction: column !important;
        gap: 8px !important;
        max-width: 100% !important;
    }
}
/* ===================== FORCE WIDE & CENTERED HYMNS ===================== */

/* Outer letter section */
.letter-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Center titles */
.letter-section .letter-title {
    text-align: center !important;
    display: block !important;
    margin-bottom: 16px !important;
    font-size: clamp(20px, 2.5vw, 32px) !important;
}

/* Force ul container to flex and center */
.letter-section .az-columns.max-3-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    gap: 12px !important;
}

/* Force li items to NOT have fixed widths */
.letter-section .az-columns.max-3-columns li {
    float: none !important;
    width: auto !important;       /* override inline widths */
    margin-bottom: 6px !important;
    display: inline-block !important;
}

/* Links styling */
.letter-section .az-columns.max-3-columns li a {
    display: inline-block !important;
    text-decoration: none !important;
    color: #333 !important;
}

/* Back-to-top link */
.letter-section .back-to-top {
    text-align: center !important;
    margin-top: 16px !important;
}

/* ===================== MOBILE ===================== */
@media (max-width: 740px) {
    .letter-section {
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .letter-section .az-columns.max-3-columns {
        flex-direction: column !important;
        gap: 8px !important;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
body,
p,
h1, h2, h3, h4, h5, h6,
button,
input,
textarea,
nav,
.menu,
.site-title {
    font-family: 'Playfair Display', serif !important;
}
.entry-title,
.page-title,
.wp-block-post-title {
    font-family: 'Playfair Display', serif !important;
}
.wp-block,
.dzs-audio-player,
.playlist,
audio,
.dzsap-main,
.dzsap-track-title {
    font-family: 'Playfair Display', serif !important;
}
body * { 
/* Target the search bar container on mobile only */
@media only screen and (max-width: 768px) {
  /* Main search wrapper - try these common selectors one at a time */
  .search-form,               /* Standard WP search */
  .wp-block-search,           /* Gutenberg block */
  [class*="search"],          /* Anything with 'search' in class */
  input[type="search"],       /* The input field itself */
  .search-input-container,    /* Possible custom class */
  .search-bar {               /* If there's a custom .search-bar */
    width: 100% !important;   /* Full width of its parent */
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* If the search input has extra padding or is centered with limited width */
  input[type="search"],
  input.search-field {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* If the buttons are in a container like .letter-grid or .alphabet-buttons,
     match the search to that parent's width */
  .search-form,
  .wp-block-search {
    width: auto !important;   /* Let it take natural parent width */
  }
}
	@media only screen and (max-width: 767px) {
  /* Super broad targeting for search forms/blocks */
  form[role="search"],
  .search-form,
  .wp-block-search,
  .wp-block-search__wrapper,
  .wp-block-search__inside-wrapper,
  .wp-block-search.has-button-outside-icon,
  div[class*="search"],
  section[class*="search"],
  .widget_search form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important; /* Small side padding if needed; remove if too much */
    box-sizing: border-box !important;
  }

  /* The input itself - force full stretch */
  input[type="search"],
  input[type="text"][placeholder*="Search"],
  .wp-block-search__input,
  .search-field {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px 15px !important; /* Adjust padding to match button feel */
    box-sizing: border-box !important;
  }

  /* If there's a submit button/icon, keep it inline */
  .wp-block-search__button,
  button.search-submit {
    margin-left: 0 !important;
  }

  /* If parent has padding/margin limiting width, override common ones */
  .entry-content,
  .site-main,
  .page-content,
  .hymns-container,
  main,
  .content-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}