#sac-home {
    width: 100%;
    padding: clamp(16px, 3vw, 40px);
    color: #30243e;
    text-align: left;
}

#sac-home h1,
#sac-home h2,
#sac-home h3 {
    color: #361b50;
    font-weight: 700;
}

#sac-home h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.15;
    max-width: 18ch;
}

#sac-home h2 {
    font-size: clamp(22px, 2vw, 28px);
    margin: 0 0 16px;
}

#sac-home a {
    color: #59307b;
}

#sac-home a:focus-visible,
#sac-home summary:focus-visible {
    outline: 3px solid #8d43c6;
    outline-offset: 3px;
}

#sac-home .home-hero {
    display: grid;
    grid-template-columns: 3fr 2fr;
    overflow: hidden;
    border-radius: 18px;
    background: #f3edf8;
}

#sac-home .home-hero__content {
    padding: clamp(24px, 3vw, 44px);
}

#sac-home .home-eyebrow {
    margin: 0 0 12px;
    color: #6b527e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#sac-home .home-lead {
    max-width: 58ch;
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.7;
}

#sac-home .home-hero__image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: right center;
}

#sac-home .home-search label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

#sac-home .home-language-picker {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 12px;
    background: #361b50;
    color: #fff;
}

#sac-home .home-language-picker h2 {
    margin-bottom: 8px;
    color: #fff;
}

#sac-home .home-language-picker p {
    margin-bottom: 16px;
    line-height: 1.6;
}

#sac-home .home-language-picker .home-browse__links {
    padding: 0;
}

#sac-home .home-language-picker a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    background: #fff;
    color: #361b50;
    font-weight: 600;
    text-decoration: none;
}

#sac-home .home-language-picker a:hover {
    background: #e9dcf3;
    text-decoration: underline;
}

#sac-home .home-search__controls {
    display: flex;
    gap: 8px;
}

#sac-home .home-search input {
    min-width: 0;
    min-height: 48px;
    border: 1px solid #b8a8c6;
    border-radius: 8px;
}

#sac-home .home-search button {
    padding: 10px 18px;
    border-radius: 8px;
    background: #361b50;
    color: #fff;
    white-space: nowrap;
}

#sac-home .home-search button:hover {
    background: #512b72;
}

#sac-home .home-hero__link {
    display: inline-block;
    padding: 12px 0;
    font-weight: 600;
}

#sac-home .home-access {
    margin: 8px 0 0;
    color: #655a70;
    font-size: 13px;
    line-height: 1.6;
}

#sac-home .home-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 32px;
}

#sac-home .home-shortcuts a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid #e2d9ea;
    border-radius: 12px;
    text-decoration: none;
}

#sac-home .home-shortcuts a:hover {
    background: #faf7fd;
    border-color: #b8a8c6;
}

#sac-home .home-shortcuts a > i:first-child {
    font-size: 26px;
}

#sac-home .home-shortcuts a > i:last-child {
    margin-left: auto;
}

#sac-home .home-shortcuts strong,
#sac-home .home-shortcuts small {
    display: block;
}

#sac-home .home-shortcuts small {
    margin-top: 6px;
    color: #655a70;
    line-height: 1.5;
}

#sac-home .home-browse__panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

#sac-home .home-browse details {
    border: 1px solid #e2d9ea;
    border-radius: 10px;
}

#sac-home .home-browse summary {
    padding: 16px 20px;
    cursor: pointer;
    color: #361b50;
    font-weight: 600;
}

#sac-home .home-browse__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0 20px 20px;
    list-style: none;
}

#sac-home .home-browse__links a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f3edf8;
}

#sac-home .home-notice,
#sac-home .home-did-you-know {
    margin: 28px 0;
    padding: 20px 24px;
    border-radius: 12px;
    background: #faf5e7;
    line-height: 1.7;
}

#sac-home .home-notice {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

#sac-home #openingTimes {
    padding: 0;
}

#sac-home .home-notice p:last-child,
#sac-home .home-did-you-know p:last-child,
#sac-home .home-news-card__excerpt p:last-child {
    margin-bottom: 0;
}

#sac-home .home-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

#sac-home .home-section-heading h2 {
    margin: 0;
}

#sac-home .home-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#sac-home .home-news-card {
    overflow: hidden;
    border: 1px solid #e2d9ea;
    border-radius: 12px;
    background: #fff;
}

#sac-home .home-news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#sac-home .home-news-card__body {
    padding: 20px;
}

#sac-home .home-news-card__category {
    margin: 0 0 10px;
    color: #6b527e;
    font-size: 12px;
    font-weight: 700;
}

#sac-home .home-news-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.4;
}

#sac-home .home-news-card h3 a {
    text-decoration: none;
}

#sac-home .home-news-card h3 a:hover {
    text-decoration: underline;
}

#sac-home .home-news-card__excerpt {
    color: #655a70;
    line-height: 1.7;
}

#sac-home .home-did-you-know {
    background: #f3edf8;
}

#sac-home .home-did-you-know h2 {
    font-size: 20px;
}

#sac-home .home-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid #e2d9ea;
    border-radius: 14px;
}

#sac-home .home-support > img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
}

#sac-home .home-support__content {
    padding: clamp(24px, 3vw, 40px);
    line-height: 1.7;
}

@media (max-width: 991px) {
    #sac-home .home-hero {
        grid-template-columns: 2fr 1fr;
    }

    #sac-home .home-shortcuts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #sac-home .home-news__grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    #sac-home .home-hero,
    #sac-home .home-news__grid,
    #sac-home .home-support,
    #sac-home .home-browse__panels {
        grid-template-columns: 1fr;
    }

    #sac-home .home-hero__image {
        min-height: 0;
        height: 200px;
    }

    #sac-home .home-support > img {
        max-height: 240px;
    }
}
