/* ── Homepage ── */

/* Hero — header (140px) + hero = 100vh */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--cc-header-h));
    min-height: calc(100svh - var(--cc-header-h));
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    color: var(--cc-black);
}

.hero-content p {
    margin: 20px 0 32px;
    font-size: 20px;
    color: var(--cc-black);
    max-width: 560px;
}

.hero-content .ff-btn { font-size: 21px; }

/* Our Products */
.home-products {
    background: var(--cc-bg-light);
    padding: 70px 0 90px;
}

.home-products h2 {
    font-size: 35px;
    margin-bottom: 40px;
}

/* Editor content below the products — readable centered column */
.home-content {
    padding: 80px 0 90px;
}

.home-content .entry-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
}

.home-content .entry-content h2 {
    font-size: 30px;
    margin: 1.4em 0 0.5em;
}

.home-content .entry-content h3 {
    font-size: 20px;
    margin: 1.3em 0 0.4em;
}

.home-content .entry-content h2:first-child,
.home-content .entry-content h3:first-child { margin-top: 0; }

.home-content .entry-content a {
    color: var(--cc-primary);
    text-decoration: underline;
}

.home-content .entry-content a:hover { color: var(--cc-primary-dark); }

.home-content .entry-content img { border-radius: 8px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .home-content { padding: 44px 0 56px; }

    .hero-content h1 { font-size: 50px; }
    .hero-content p { font-size: 18px; }
    .hero-content .ff-btn { font-size: 18px; }

    .home-products { padding: 50px 0 60px; }
    .home-products h2 { font-size: 28px; margin-bottom: 28px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 38px; }
}
