/*
Theme Name: Twenty Twenty-Five Child (Linguza)
Theme URI: https://linguza.com
Description: Child theme of Twenty Twenty-Five with the custom Linguza footer.
Author: Linguza
Template: twentytwentyfive
Version: 1.4.0
Requires at least: 6.7
Text Domain: twentytwentyfive-child
*/

/* ===== Linguza footer (CSS taken from the static site, scoped to the footer) ===== */

footer.linguza-footer {
  background: #fff5e0;
  padding: 40px 0;
  margin-block-start: 0;
  color: #000;
  font-family: "Public Sans", sans-serif;
  box-sizing: border-box;
}

.linguza-footer *,
.linguza-footer *::before,
.linguza-footer *::after {
  box-sizing: border-box;
  font-family: "Public Sans", sans-serif;
}

/* .container */
.linguza-footer .container {
  width: 100%;
  max-width: 1370px;
  margin: auto;
  padding: 0 20px;
}

/* .footer-grid */
.linguza-footer .footer-grid {
  display: grid;
  grid-template-columns: 700px 1fr auto;
  gap: 30px;
  justify-content: space-between;
}

.linguza-footer h5 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: #000;
}

.linguza-footer p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 26px;
  color: #000;
}

.linguza-footer p:last-child {
  margin-bottom: 0;
}

.linguza-footer a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s linear;
}

.linguza-footer a:hover {
  color: #0b62d6;
}

/* email link in first column */
.linguza-footer .footer-grid > div:first-child p a {
  color: #0b62d6;
  line-height: 1.5;
  font-weight: 700;
  font-size: 20px;
}

/* .copy */
.linguza-footer .copy {
  margin-top: 50px;
  font-size: 13px;
  border-top: 1px solid #fff;
  padding-top: 40px;
  text-align: center;
}

.linguza-footer .copy p {
  margin: 0;
  font-size: 13px;
  line-height: 26px;
}

@media (max-width: 1024px) {
  .linguza-footer .footer-grid {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 767px) {
  .linguza-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .linguza-footer .copy {
    margin-top: 20px;
    padding-top: 25px;
  }
}

/* ===== Single post layout (matches the parent-theme version) ===== */

/* Rule found in the parent's Additional CSS (DevTools: global-styles-inline-css) */
.single-post #wp-skip-link--target .wp-block-group-is-layout-constrained {
  padding: 20px !important;
}

/* Typography as used on the Linguza static site (inferred from screenshot measurements:
   h1 36px / 54px line, body text 16px / 26px, h2 26px). Adjust or replace with the exact
   Additional CSS copied from the parent theme if it differs. */
.single-post .wp-block-post-title {
  font-size: 36px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.single-post .wp-block-post-content h2 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
}

.single-post .wp-block-post-content p {
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 12px;
}

@media (max-width: 1024px) {
  .single-post .wp-block-post-title { font-size: 26px; line-height: 36px; }
  .single-post .wp-block-post-content h2 { font-size: 22px; line-height: 32px; }
}
