/* ============================================================
   MiaBella Resort – Shared styles (all pages)
   ============================================================ */

/* --- Logo --- */
.header-logo {
  display: inline-flex !important;
  align-items: center;
}

.header-logo-icon {
  height: 117px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 992px) {
  .header-logo-icon { height: 78px; }
}

@media (max-width: 480px) {
  .header-logo-icon { height: 57px; }
}

/* --- Slim inner-page hero --- */
#header.header-blog .bottom-header.blog {
  padding: 60px 0 50px;
}

#header.header-blog .bottom-header.blog h1 {
  hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
  font-size: clamp(2rem, 6vw, 80px);
  line-height: 1.15;
}

/* --- Brochure download button (hero) --- */
.brochure-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: #2a4a7f;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  height: 63px;
  width: 242px;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.brochure-hero-link:hover {
  background: #1e3a6a;
  color: #fff;
  text-decoration: none;
}

/* --- Feature cards (home page) --- */
.feature-cards {
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
}

.feature-card-header h3 {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex: 1;
  text-align: left;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.2;
  width: 100%;
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #f5c518;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-icon i {
  font-size: 22px;
  color: #fff;
}

.feature-card-header + p,
.feature-card-header + * {
  border-top: 3px solid #f5c518;
  padding-top: 14px;
  margin-top: 0;
}

.feature-card p {
  color: #555;
  flex: 1;
}

.feature-card-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  font-size: 16px;
  color: #c49a00;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.feature-card-link:hover {
  color: #2c2c2c;
  text-decoration: none;
}

/* --- Brochure strip --- */
.brochure-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2a3f5f;
  border-radius: 12px;
  padding: 24px 32px;
  margin: 28px 0;
  gap: 24px;
  flex-wrap: wrap;
}

.brochure-strip-text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 16px;
  flex: 1;
}

.brochure-strip-text i {
  font-size: 28px;
  color: #f5c518;
  flex-shrink: 0;
}

.brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5c518;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.brochure-btn:hover {
  background: #e0b000;
  color: #1a1a1a;
  text-decoration: none;
}

/* ============================================================
   Phase 2 – Inner page content styles
   ============================================================ */

/* General page content spacing */
.blog-post-entry.markup-format {
  padding: 40px 0 60px;
}

.blog-post-entry.markup-format p,
.blog-post-entry.markup-format li {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* Activity cards */
.activity-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 24px;
  margin-bottom: 24px;
}

.activity-card-img {
  width: 220px;
  min-width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.activity-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c2c2c;
  padding-bottom: 8px;
  border-bottom: 3px solid #f5c518;
  display: inline-block;
}

.activity-card-body p { margin-top: 12px; }

.activity-card-body a.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
  color: #c49a00;
  text-decoration: none;
}

.activity-card-body a.more-link:hover { color: #2c2c2c; text-decoration: none; }

@media (max-width: 600px) {
  .activity-card { flex-direction: column; }
  .activity-card-img { width: 100%; min-width: unset; height: 200px; }
}

/* Contact page */
.contact-info-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 28px;
  margin: 30px 0;
}

.contact-info-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.ci-field {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 220px;
}

.ci-field .ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #f5c518;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.ci-field .ci-text {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.ci-field .ci-text strong {
  display: block;
  color: #2c2c2c;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.ci-location {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.ci-location i {
  font-size: 30px;
  color: #f5c518;
  min-width: 34px;
  text-align: center;
}

.ci-location p {
  font-size: 20px;
  line-height: 1.5;
  color: #2c2c2c;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 600px) {
  .ci-location {
    align-items: flex-start;
  }

  .ci-location p {
    font-size: 17px;
  }
}

.contact-map {
  margin: 30px 0 12px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
}

.contact-surrounding-image {
  margin: 0 0 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.contact-surrounding-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Reviews section */
.google-business-reviews-rating {
  margin-top: 40px;
}

/* About page */
.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

.wp-block-quote {
  border-left: 4px solid #f5c518;
  padding: 16px 24px;
  margin: 28px 0 !important;
  background: #fffdf0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.wp-block-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #888;
  font-style: normal;
}

/* Apartment cards */
.apartment-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 28px;
  margin-bottom: 32px;
}

.apartment-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 3px solid #f5c518;
  display: inline-block;
}

.apartment-card .apt-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.apartment-card .apt-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  background: #f9f9f9;
  padding: 4px 12px;
  border-radius: 20px;
}

.apartment-card .apt-meta span i {
  color: #f5c518;
}

.apt-book-btn,
.markup-format .apt-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: #f1d204;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.3s;
}

.apt-book-btn:hover,
.markup-format .apt-book-btn:hover {
  background: #c9ae00;
  color: #fff !important;
  text-decoration: none;
}

/* ============================================================
   Sub-page styles (cycling, tennis)
   ============================================================ */

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.back-link:hover { color: #c49a00; text-decoration: none; }

/* CTA / info highlight box */
.cta-box {
  background: #2a3f5f;
  color: #fff;
  border-radius: 10px;
  padding: 20px 28px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.cta-box i { font-size: 22px; color: #f5c518; flex-shrink: 0; }
.cta-box a { color: #f5c518; font-weight: 700; }
.cta-box a:hover { color: #fff; }

/* Icon list (highlights) */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.icon-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}
.icon-list li:last-child { border-bottom: none; }
.icon-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #f5c518;
  position: absolute;
  left: 0;
  top: 11px;
}

/* Routes list */
.routes-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.routes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  margin-bottom: 10px;
  font-size: 15px;
}
.routes-list li i { color: #f5c518; }
.routes-list li a { color: #2a4a7f; font-weight: 600; text-decoration: none; }
.routes-list li a:hover { color: #c49a00; }

/* Section heading with yellow accent */
.section-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2c2c2c;
  padding-bottom: 8px;
  border-bottom: 3px solid #f5c518;
  display: inline-block;
  margin: 28px 0 16px;
}

/* Info cards (When/What) */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.info-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 24px;
}
.info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2a4a7f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f5c518;
}
.info-card p { font-size: 15px; color: #444; margin: 0; line-height: 1.6; }

/* Responsive video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  margin: 28px 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Coach profile */
.coach-profile {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 24px;
  margin: 24px 0;
}
.coach-profile img {
  width: 100px;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.coach-profile-bio h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 8px;
}
.coach-profile-bio p { font-size: 15px; color: #555; margin: 0 0 8px; }

@media (max-width: 480px) {
  .coach-profile { flex-direction: column; }
}

/* Two-column content panels (also used for 4-col with auto-fit) */
.content-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.content-column {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 24px;
}
.content-column h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid #f5c518;
  display: inline-block;
}
@media (max-width: 768px) {
  .content-columns { grid-template-columns: 1fr; }
}

/* --- Utility --- */
.margin-top-30 { margin-top: 30px; }
.margin-top-60 { margin-top: 60px; }

@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column !important;
  }
  .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
  }
}
