/* =========================================
   HOME PAGE — matches the original WordPress home page
   (file name kept for compatibility; the page is the light site theme)
   ========================================= */
.home-top { padding: 30px 0 10px; text-align: center; }
.home-top .page-title { margin-top: 0; }
.home-top.has-banner { position: relative; padding: 90px 0 70px; background-size: cover; background-position: center; }
.home-top.has-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.home-top.has-banner .container { position: relative; z-index: 1; }
.home-top.has-banner :is(.page-title, .home-eyebrow, .home-sub, .home-intro) { color: #fff; }
.home-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: var(--color-muted); margin-bottom: 8px; }
.home-sub { font-family: var(--font-heading); font-style: italic; font-size: 18px; color: var(--color-heading); margin-bottom: 10px; }
.home-intro { max-width: 760px; margin: 0 auto; }
.home-section-title { font-style: italic; text-align: center; margin-bottom: 25px; }

.home-grid { padding: 10px 0 20px; }

/* Bordered feature box (Porto info boxes) */
.home-features-wrap { padding: 45px 0 40px; }
.home-features { display: grid; grid-template-columns: 1fr; border: 3px solid var(--color-border); padding: 4px 0; }
@media (min-width: 768px) { .home-features { grid-template-columns: repeat(3, 1fr); } }
.home-feature { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 12px 10px; min-height: 61px; text-align: center; }
@media (min-width: 768px) { .home-feature + .home-feature { border-left: 1px solid var(--color-border); } }
@media (max-width: 767px) { .home-feature + .home-feature { border-top: 1px solid var(--color-border); } }
.home-feature-title { font-size: 16px; line-height: 16px; font-weight: 700; color: var(--color-heading); }
.home-feature-text { font-size: 13px; line-height: 1.4; font-weight: 300; }

.home-text { padding: 20px 0 30px; }

/* Latest posts on a blush panel (Porto posts block) */
.home-posts-wrap { padding: 20px 0 40px; }
.home-posts { background: var(--color-blush); padding: 80px 20px 58px; }
@media (max-width: 767px) { .home-posts { padding: 30px 15px; } }
.home-posts-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1060px; margin: 0 auto; }
@media (min-width: 768px) { .home-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-post-img { position: relative; display: block; margin-bottom: 14px; background: #fff; }
.home-post-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.home-post h3 { font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
.home-post h3 a { color: var(--color-heading); }
.home-post p { font-size: 11px; line-height: 1.7; margin: 0; }

.home-testimonials { padding: 40px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial { border: 1px solid var(--color-border); padding: 24px; }
.testimonial blockquote { font-style: italic; margin: 10px 0; }
.testimonial figcaption { font-weight: 600; color: var(--color-heading); }

.home-areas { padding: 40px 0; }
.home-areas-inner.has-img { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 900px) { .home-areas-inner.has-img { grid-template-columns: 3fr 2fr; } }
.home-areas .home-section-title { text-align: left; }
.home-area-list { columns: 3 160px; column-gap: 20px; }
.home-area-list li { line-height: 30px; }
.home-area-list a { color: var(--color-text); }
.home-area-list a:hover { color: var(--color-heading); }

.home-contact { padding: 50px 0; border-top: 1px solid var(--color-border); }
.home-contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
