/*
Theme Name: Choral
Theme URI: https://choral.cz
Description: Child theme for Choral.cz
Author: Tomáš Houška
Template: generatepress
Version: 1.0.0
*/
:root {
  --ink: #2b2118;
  --cream: #efe3cf;
  --paper: #f6ecd8;
  --red: #9f251d;
  --gold: #c6a15a;
  --brown: #332315;
  --dark: #1d120c;
}

body {
  font-family: "EB Garamond", Georgia, serif;
  background:
    linear-gradient(rgba(246,236,216,.88), rgba(246,236,216,.88)),
    url("/wp-content/themes/choral/assets/bg.webp");
  background-size: 900px auto;
  color: var(--ink);
}

h1, h2, h3,
.main-navigation a,
.site-title {
  font-family: "Cinzel", Georgia, serif;
}

/* GeneratePress cleanup */
.site-content,
.inside-article {
  background: transparent;
}

.inside-article {
  padding: 0;
}

.entry-title {
  display: none;
}

.site-header {
  background: rgba(43, 28, 17, .96);
  border-bottom: 1px solid rgba(198,161,90,.35);
}

.site-branding .main-title a,
.main-navigation .main-nav ul li a {
  color: #f4ead7;
  letter-spacing: .04em;
}

.main-navigation,
.main-navigation ul ul {
  background: transparent;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--gold);
  background: transparent;
}

/* HERO */
.choral-hero {
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem 2rem;
  color: #f8eedc;
  background:
    linear-gradient(rgba(30,18,10,.58), rgba(30,18,10,.68)),
    url("/wp-content/themes/choral/assets/header.webp") center / cover no-repeat;
  border-bottom: 6px solid rgba(198,161,90,.5);
}

.choral-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  margin-bottom: 1.2rem;
}

.choral-hero h1 {
  max-width: 980px;
  margin: 0 auto 1.3rem;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 1.02;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}

.choral-hero p {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 1.35rem;
  color: #f1e2c9;
}

.choral-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.choral-button {
  display: inline-block;
  padding: .85rem 1.35rem;
  border: 1px solid var(--gold);
  color: #f8eedc;
  background: rgba(51,35,21,.55);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .9rem;
}

.choral-button:hover {
  background: var(--red);
  color: #fff;
}

/* CARDS SECTION */
.choral-section {
  padding: 4.5rem 2rem 5rem;
  background:
    linear-gradient(rgba(246,236,216,.82), rgba(246,236,216,.9)),
    url("/wp-content/themes/choral/assets/bg.webp");
  background-size: 900px auto;
}

.choral-section h2 {
  text-align: center;
  color: var(--red);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.choral-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.choral-card {
  position: relative;
  background: rgba(255,248,232,.92);
  border: 1px solid rgba(120,82,40,.45);
  box-shadow: 0 14px 34px rgba(43,28,17,.25);
  overflow: hidden;
}

.choral-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(159,37,29,.42);
  pointer-events: none;
  z-index: 2;
}

.choral-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(.88) contrast(1.05);
}

.choral-card-body {
  padding: 1.35rem 1.35rem 1.6rem;
}

.choral-card h3 {
  margin: 0 0 .7rem;
  color: var(--brown);
  font-size: 1.35rem;
}

.choral-card p {
  margin: 0;
  color: #5d4b38;
  line-height: 1.55;
}

.choral-card a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.choral-card a:hover {
  color: var(--brown);
}

/* tighter page width */
.separate-containers .inside-article,
.contained-content .inside-article {
  max-width: none;
}

/* responsive */
@media (max-width: 1050px) {
  .choral-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .choral-hero {
    min-height: 420px;
  }

  .choral-grid {
    grid-template-columns: 1fr;
  }
}

/* Blok se seznamem zájemců pod kartami */
.choral-interest {
    width: 100%;
    padding: 70px 24px;
    box-sizing: border-box;
}

.choral-interest-inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 45px 55px;
    box-sizing: border-box;

    background: #f7f3eb;
    border: 1px solid rgba(94, 69, 42, 0.18);
    box-shadow: 0 12px 35px rgba(45, 31, 20, 0.1);
    text-align: center;
}

.choral-interest h2 {
    margin: 8px 0 16px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 400;
}

.choral-interest > .choral-interest-inner > p {
    max-width: 590px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.65;
}

/* Fluent Forms */
.choral-interest .fluentform {
    margin-top: 25px;
    text-align: left;
}

.choral-interest .ff-el-group {
    margin-bottom: 18px;
}

.choral-interest .ff-el-input--label label {
    font-weight: 600;
}

.choral-interest input[type="email"],
.choral-interest input[type="text"],
.choral-interest textarea,
.choral-interest select {
    width: 100%;
    padding: 13px 15px;
    box-sizing: border-box;

    background: #fff;
    border: 1px solid rgba(70, 53, 37, 0.3);
    border-radius: 2px;

    font-family: inherit;
    font-size: 16px;
}

.choral-interest input:focus,
.choral-interest textarea:focus,
.choral-interest select:focus {
    border-color: #2c70a8;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 112, 168, 0.12);
}

/* Odesílací tlačítko */
.choral-interest .ff-btn-submit {
    display: block;
    min-width: 190px;
    margin: 8px auto 0;
    padding: 13px 24px;

    background: #2c70a8;
    border: 1px solid #2c70a8;
    border-radius: 2px;

    color: #fff;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

.choral-interest .ff-btn-submit:hover {
    background: #20567f;
    border-color: #20567f;
}

/* Text souhlasu a drobné poznámky */
.choral-interest .ff-el-form-check {
    font-size: 14px;
    line-height: 1.45;
}

/* Mobil */
@media (max-width: 700px) {
    .choral-interest {
        padding: 45px 15px;
    }

    .choral-interest-inner {
        padding: 32px 22px;
    }

    .choral-interest h2 {
        font-size: 29px;
    }

    .choral-interest > .choral-interest-inner > p {
        font-size: 16px;
    }
}
