/* Lichfield home page — hero, meeting cards, news/match-report feeds, welcome.
   Source theme uses html { font-size: 62.5% } so 1rem = 10px. All font sizes
   below are on that scale. Body text is 1.6rem (16px), prose 1.7rem (17px).
   Colours derive from --ghost-accent-color (Settings → Design → Brand). */

.lc-home {
    --lc-accent: var(--ghost-accent-color, #2e7d32);
    --lc-accent-dark: color-mix(in srgb, var(--lc-accent) 80%, #000);
    --lc-accent-soft: color-mix(in srgb, var(--lc-accent) 12%, #fff);
    --lc-text-muted: #5a5a5a;
    --lc-border: #dde1e3;
}

/* --- Hero --- */
.lc-hero {
    background: var(--lc-accent);
    color: #fff;
    padding: 6rem 0 5.5rem;
    text-align: center;
    position: relative;
}
/* When a banner image is set, layer it behind a darkening overlay so the
   title and tagline stay legible regardless of the photo. */
.lc-hero.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.lc-hero.has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.62));
    pointer-events: none;
    z-index: 0;
}
.lc-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.lc-hero-title {
    font-size: clamp(3.6rem, 6vw, 5.6rem);
    line-height: 1.1;
    margin: 0 0 0.4em;
    color: #fff;
    letter-spacing: -0.01em;
}
.lc-hero-tagline {
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    line-height: 1.5;
    margin: 0 auto 2rem;
    max-width: 640px;
    opacity: 0.95;
}
.lc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.lc-btn {
    display: inline-block;
    padding: 1.1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.7rem;
    transition: opacity 0.15s, transform 0.15s, background 0.15s;
}
.lc-btn:hover { opacity: 0.92; transform: translateY(-1px); }
.lc-btn-primary {
    background: #fff;
    color: var(--lc-accent-dark);
}
.lc-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.lc-welcome .lc-btn-primary {
    background: var(--lc-accent);
    color: #fff;
}
.lc-welcome .lc-btn-primary:hover { background: var(--lc-accent-dark); opacity: 1; }

/* --- Meeting times --- */
.lc-meet {
    padding: 4rem 0 3rem;
    background: var(--lc-accent-soft);
}
.lc-meet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 2rem;
}
.lc-meet-card {
    background: #fff;
    border: 1px solid var(--lc-border);
    border-radius: 10px;
    padding: 2.4rem 2.4rem;
    line-height: 1.5;
    font-size: 1.7rem;
}
.lc-meet-day {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--lc-accent-dark);
    margin-bottom: 0.1em;
    line-height: 1.15;
}
.lc-meet-time {
    color: var(--lc-text-muted);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}
.lc-meet-place {
    margin-bottom: 0.6em;
    font-size: 1.7rem;
}
.lc-meet-when {
    font-size: 1.5rem;
    color: var(--lc-text-muted);
    font-style: italic;
}

/* --- Latest news + match reports --- */
.lc-feeds {
    padding: 4rem 0 3.5rem;
}
.lc-feeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}
.lc-feed-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 3px solid var(--lc-accent);
    padding-bottom: 0.6rem;
    margin-bottom: 1.2rem;
}
.lc-feed-header h2 {
    margin: 0;
    font-size: 2.4rem;
    color: var(--lc-accent-dark);
}
.lc-feed-all {
    text-decoration: none;
    color: var(--lc-accent-dark);
    font-size: 1.5rem;
    font-weight: 600;
}
.lc-feed-all:hover { text-decoration: underline; }
.lc-feed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lc-feed-item {
    border-bottom: 1px solid var(--lc-border);
}
.lc-feed-item:last-child { border-bottom: none; }
.lc-feed-item a {
    display: block;
    padding: 1.4rem 0;
    text-decoration: none;
    color: inherit;
}
.lc-feed-item a:hover .lc-feed-title { color: var(--lc-accent-dark); }
.lc-feed-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 0 0 0.3em;
    line-height: 1.3;
    transition: color 0.15s;
}
.lc-feed-excerpt {
    font-size: 1.6rem;
    color: var(--lc-text-muted);
    line-height: 1.5;
    margin: 0 0 0.4em;
}
.lc-feed-date {
    font-size: 1.3rem;
    color: var(--lc-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Welcome --- */
.lc-welcome {
    background: var(--lc-accent-soft);
    padding: 4rem 0;
    margin-bottom: 6rem;  /* gap before the footer panel so the two soft-tinted
                             bands don't blend into one */
}
.lc-welcome-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.lc-welcome h2 {
    color: var(--lc-accent-dark);
    margin-top: 0;
    font-size: 2.8rem;
}
.lc-welcome p {
    line-height: 1.6;
    color: #2a2a2a;
    font-size: 1.8rem;
    margin: 1rem 0;
}
.lc-welcome a:not(.lc-btn) {
    color: var(--lc-accent-dark);
}
.lc-welcome .lc-btn {
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .lc-hero { padding: 4rem 0 3.5rem; }
    .lc-meet { padding: 3rem 0 2rem; }
    .lc-feeds { padding: 3rem 0 2.5rem; }
    .lc-welcome { padding: 3rem 0; }
}
