/* Homepage content only; the shared expanding/shrinking header stays in style.css. */
.lct-homepage #latest {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "heading heading heading" "supporting-left featured supporting-right";
    align-items: start;
}
.lct-homepage #latest > .heading { grid-area: heading; }
.lct-homepage #latest > .lct-top-featured { grid-area: featured; }
.lct-homepage #latest > .lct-top-left { grid-area: supporting-left; }
.lct-homepage #latest > .lct-top-right { grid-area: supporting-right; }
.lct-homepage #latest > a {
    display: flow-root;
    min-width: 0;
}
.lct-homepage #latest > a > .box50,
.lct-homepage #latest > a > .latestbox25 {
    width: 100%;
    float: none;
    display: flow-root;
}
@media (max-width: 960px) {
    .lct-homepage #latest {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "heading" "featured" "supporting-left" "supporting-right";
    }
}
.lct-homepage .lct-home-intro {
    clear: both;
    padding: 12px 20px 26px;
    margin: 0 0 24px;
    border-bottom: 2px solid var(--lct-green, #1f6b2a);
}
.lct-homepage .lct-home-intro h1 {
    margin: 0 0 10px;
    font-size: clamp(25px, 2.5vw, 36px);
    line-height: 1.22;
    text-transform: none;
}
.lct-homepage .lct-home-tagline {
    margin: 0 0 8px;
    color: var(--lct-green-dark, #15511f);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}
.lct-homepage .lct-home-description {
    max-width: 900px;
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}
.lct-homepage #latest h2.lct-home-lead-title {
    font-size: 28px;
    line-height: 1.15;
}
.lct-homepage #latest img,
.lct-homepage #lukewarm img,
.lct-homepage #recent img {
    height: auto;
}
.lct-homepage .lct-home-resources {
    clear: both;
    float: left;
    width: 100%;
    padding: 28px 20px;
    margin: 18px 0;
    border: 1px solid var(--lct-line, #dfe7e1);
    border-radius: 10px;
    background: var(--lct-green-soft, #edf6ee);
}
.lct-homepage .lct-home-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.lct-homepage .lct-home-section-heading h2 {
    margin: 0;
    font: 700 26px/1.25 "Lora", Georgia, serif;
}
.lct-homepage .lct-home-section-heading a {
    color: var(--lct-green-dark, #15511f);
    font-size: 14px;
    font-weight: 700;
    text-underline-offset: 3px;
}
.lct-homepage .lct-home-resources-intro {
    margin: 8px 0 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}
.lct-homepage .lct-home-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.lct-homepage .lct-home-resource-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--lct-line, #dfe7e1);
    border-radius: 8px;
    background: #fff;
    color: #222;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.lct-homepage .lct-home-resource-card h3 {
    margin: 0 0 10px;
    color: var(--lct-green-dark, #15511f);
    font: 700 18px/1.3 "Lora", Georgia, serif;
}
.lct-homepage .lct-home-resource-card p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
}
.lct-homepage .lct-home-resource-action {
    margin-top: auto;
    color: var(--lct-green-dark, #15511f);
    font-size: 13px;
    font-weight: 700;
}
.lct-homepage .lct-home-resource-card:hover {
    border-color: var(--lct-green, #1f6b2a);
}
.lct-homepage .lct-home-resource-card:hover h3 {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lct-homepage .lct-home-archive {
    clear: both;
    float: left;
    width: 100%;
    padding: 20px 25px 30px;
}
.lct-homepage .lct-home-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 6px;
    background: var(--lct-green, #1f6b2a);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
.lct-homepage .lct-home-button:hover {
    background: var(--lct-green-dark, #15511f);
}
.lct-homepage .lct-home-resource-card:focus-visible,
.lct-homepage .lct-home-section-heading a:focus-visible,
.lct-homepage .lct-home-button:focus-visible {
    outline: 3px solid var(--lct-green, #1f6b2a);
    outline-offset: 4px;
}
@media (max-width: 1100px) {
    .lct-homepage .lct-home-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .lct-homepage .lct-home-intro { padding: 8px 20px 22px; margin-bottom: 16px; }
    .lct-homepage .lct-home-tagline { font-size: 16px; }
    .lct-homepage .lct-home-description { font-size: 15px; }
    .lct-homepage .lct-home-resources { padding: 22px 20px; border-radius: 0; }
    .lct-homepage .lct-home-section-heading h2 { font-size: 24px; }
    .lct-homepage .lct-home-resource-grid { grid-template-columns: minmax(0, 1fr); }
}
