/*
Theme Name: SFTLBC
Theme URI: https://sftlbc.org/
Author: SFTLBC
Author URI: https://sftlbc.org/
Description: Lightweight WordPress theme for the San Francisco True Light Baptist Church migration.
Version: 0.1.0
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sftlbc
*/

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  min-width: 320px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sftlbc-theme-main {
  min-height: 55vh;
}

.sftlbc-theme-content {
  margin: 0 auto;
  width: min(1120px, calc(100% - 40px));
}

.sftlbc-theme-page .entry-content > *:first-child,
.sftlbc-theme-front-page .entry-content > *:first-child {
  margin-top: 0;
}

.sftlbc-theme-single {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}

.sftlbc-theme-single-title {
  border-left: 5px solid rgba(217, 155, 43, 0.86);
  color: var(--sftlbc-ink, #2a2118);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 auto clamp(1.35rem, 4vw, 2.2rem);
  max-width: 920px;
  overflow-wrap: anywhere;
  padding: 0.15rem 0 0.15rem clamp(1rem, 2.5vw, 1.35rem);
  text-wrap: balance;
}

@media (max-width: 800px) {
  .sftlbc-theme-content {
    width: min(920px, calc(100% - 40px));
  }

  .sftlbc-theme-single {
    padding-top: 2rem;
  }

  .sftlbc-theme-single-title {
    font-size: clamp(1.65rem, 7.2vw, 2.1rem);
  }
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background: #fff8dc;
  clip: auto;
  clip-path: none;
  color: #2a2118;
  display: block;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}
