/*
Theme Name: Primal Mutual (Hostello Child)
Template: Hostello
Description: Child theme for Primal Mutual. Keeps Hostello's header, footer, colors, fonts and logo loader, but shows the Home page's own content instead of the hotel sections.
Version: 1.0.3
Text Domain: primal-mutual-child
*/

/* Let full-width WordPress blocks stretch edge to edge on the home page */
.pm-home-content { width: 100%; overflow-x: hidden; }
.pm-home-content > .alignfull { margin-left: 0; margin-right: 0; max-width: none; width: 100%; }
.pm-home-content .wp-block-group.is-layout-constrained > * { margin-left: auto; margin-right: auto; }

/* Header button as a link */
.pm-header-btn { display: inline-flex; align-items: center; text-decoration: none; }
.pm-header-btn p { margin: 0; }
.pm-header-btn:hover { text-decoration: none; }

/* Gold accent line in the hero headline */
.slider .h1-gold { color: #C9A24D !important; }
.slider .slide-label { color: #C9A24D; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

/* Home page sections */
.pm-home-content a { text-decoration: none; }
.pm-home-content .pm-card { background: #fff; transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.pm-home-content .pm-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10, 36, 99, .12); }
.pm-home-content .pm-step-num { font-size: 34px; font-weight: 800; color: #C9A24D; margin: 0; line-height: 1; }
.pm-home-content .wp-block-button__link { text-decoration: none; }
.pm-home-content .wp-block-columns { gap: 24px; }
@media (max-width: 781px) {
  .pm-home-content h2 { font-size: 32px !important; }
  .pm-home-content .pm-tiles { flex-wrap: wrap !important; }
}

/* Header and hero buttons in brand colors */
.navbar .pm-header-btn, .pm-header-btn { background: #0A2463 !important; border-color: #0A2463 !important; justify-content: center; }
.pm-header-btn p, .pm-header-btn .asdas { color: #ffffff !important; }
.pm-header-btn:hover { background: #C9A24D !important; border-color: #C9A24D !important; }
.pm-header-btn:hover p { color: #0A2463 !important; }
.slider .btn-3 { background: #C9A24D !important; border-color: #C9A24D !important; }
.slider .btn-3 .btnn3, .slider .btn-3 span { color: #0A2463 !important; font-weight: 700; }
.slider .btn-3:hover { background: #ffffff !important; }

/* Keep the logo readable on the navy footer */
footer img[src*="primal-mutual-registered-logo"] { background: #ffffff; padding: 8px; border-radius: 12px; width: 170px; max-width: 170px; height: auto; }
footer .logo { text-align: left !important; }
footer .logo img[src*="primal-mutual-registered-logo"] { width: 160px !important; max-width: 160px !important; height: auto !important; max-height: none !important; margin: 0 0 20px 0 !important; }
