/* Front page: hero, three pillars, latest news. */

/* ── Hero ── */
.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    padding: 60px 0;
    overflow: hidden;
}

.home-hero-bg,
.home-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero-bg img { object-fit: cover; object-position: center; }

.home-hero .ff-container { position: relative; }

.home-hero-box {
    max-width: 551px;
    padding: 25px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 2px 18px rgba(0, 0, 0, .3);
    color: #000;
    font-size: 18px;
    line-height: 32px;
}

.home-hero-box h1 {
    color: #000;
    margin-bottom: 14px;
}

/* ── Pillars ── */
.home-pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-pillar {
    background: var(--blue);
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.home-pillar-icon {
    display: block;
    width: 73px;
    height: 73px;
    margin: 0 auto 18px;
    color: #fff;
}

/* Titles break before their last word (ff_two_line_title) so all three are two lines. */
.home-pillar h2 {
    font-size: 30px;
    color: #fff;
    text-align: center;
    margin-bottom: 14px;
}

.home-pillar h2 a { color: #fff; text-decoration: none; }
.home-pillar h2 a:hover { text-decoration: underline; }

.home-pillar > p {
    text-align: center;
    line-height: 1.7;
}

.home-proud {
    padding-top: 28px;
}

.home-proud h3 {
    font-size: 26px;
    color: #fff;
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #fff;
}

.home-org-list {
    columns: 2;
    column-gap: 20px;
    font-size: 12px;
    line-height: 1.35;
    min-height: 175px;
}

.home-org-list li {
    break-inside: avoid;
    padding-left: 1.2em;
    position: relative;
    margin: 0 0 10px;
}

.home-org-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
}

.home-org-list a { color: #fff; text-decoration: none; }
.home-org-list a:hover { text-decoration: underline; }

/* ── Latest news ── */
.home-news {
    background: var(--light);
    padding-bottom: 27px;
}

.home-news-title {
    padding-bottom: 8px;
    border-bottom: 2px solid var(--line);
    margin-bottom: 30px;
}

.home-news-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--line);
}

.home-news-image img {
    width: 100%;
    height: auto;
}

.home-news-text h3 { font-size: 28px; line-height: 1.3; }
.home-news-text h3 a { color: var(--heading); text-decoration: none; }
.home-news-text h3 a:hover { color: var(--blue); }
.home-news-text .post-meta { font-style: italic; margin: 8px 0 12px; }
.home-news-text > p { font-size: 18px; line-height: 1.8; }
.home-news-text .ff-btn { margin-top: 20px; }

/* ── Responsive ── */
@media (max-width: 1200px) {
    .home-pillars-row { gap: 20px; }
    .home-pillar { padding: 24px; }
    .home-pillar h2 { font-size: 26px; }
}

@media (max-width: 768px) {
    .home-hero { min-height: 520px; }
    .home-hero-box { font-size: 16px; line-height: 1.7; }
    .home-hero-box h1 { font-size: 30px; }
    .home-pillars-row { grid-template-columns: 1fr; }
    .home-news-item { grid-template-columns: 1fr; gap: 24px; }
    .home-news-text h3 { font-size: 24px; }
}

@media (max-width: 480px) {
    .home-hero { padding: 40px 0; }
    .home-hero-box { padding: 20px; }
    .home-hero-box h1 { font-size: 26px; }
    .home-org-list { columns: 1; min-height: 0; }
}
