/*
Theme Name:   Signify Child (Α.Α.Σ. Παιανίας)
Theme URI:    https://aaspaianias.gr/
Description:  Child theme of Signify. Keeps all site-specific changes (Greek labels, Times New Roman titles, smaller headings, hidden author byline, 404 page and a header that never crops the logo or the site title) outside the parent theme, so Signify can be updated safely.
Author:       aaspaianias.gr
Template:     signify
Version:      1.0.1
Requires at least: 5.1
Requires PHP: 7.0
License:      GNU General Public License v3 or later
License URI:  http://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  signify-child
*/

/* ---------- Titles: Times New Roman instead of Playfair Display ---------- */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.post-navigation .post-title,
.comment-meta .author-name,
#testimonial-content-section .entry-content,
.ui-tabs .ui-tabs-nav li a,
.entry-title,
.post-navigation .nav-title,
.site-title {
  font-family: "Times New Roman", Times, serif;
}

/* ---------- Smaller page / section headings (was 32px) ---------- */
.entry-content h1,
.entry-summary h1,
.comment-content h1,
.textwidget h1,
.comments-title,
#footer-instagram .widget-title,
.section-title,
#hero-section .entry-title,
.promotion-section .section-title,
#playlist-section .entry-title,
.singular-content-wrap .entry-title,
.page-title,
#contact-section .entry-title,
.events-content-wrapper .date-week-day {
  font-size: 28px;
  font-size: 1.755rem;
}

/* ---------- 404: no "nothing was found" text or search box ---------- */
.error404 .error-404 .page-content {
  display: none;
}

/* ---------- Header: logo + full site title, never cropped ---------- */
.site-header .site-branding {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: 14px;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header .custom-logo-link {
  display: block;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  max-width: 100%;
}

.site-header .custom-logo {
  width: clamp(120px, 24vw, 230px);
  max-width: 100%;
  height: auto;
  margin: 0;
}

.site-header .site-identity,
.wp-custom-logo .site-header .site-identity {
  display: block;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.site-header .site-title {
  font-size: clamp(18px, 0.9rem + 2.1vw, 44px);
  letter-spacing: 0.1em;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: balance;
}

.site-header .site-title a {
  display: inline;
}

@media only screen and (min-width: 48em) {
  .site-header .site-branding {
    -webkit-box-orient: horizontal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 28px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
  }

  .site-header .site-identity,
  .wp-custom-logo .site-header .site-identity {
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    text-align: left;
  }
}
