/* Homepage quick menu, activity videos and mayor profile. */
.home-quick-menu,
.home-community {
    color: var(--color-primary, #305771);
    font-family: var(--font-primary, 'Sarabun', sans-serif);
}

.home-quick-menu *,
.home-community * {
    box-sizing: border-box;
}

.home-quick-menu {
    padding: 12px 0 24px;
    background: #FFFFFF;
}

.home-quick-menu__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-quick-menu__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    min-height: 72px;
    padding: 12px 10px;
    border-radius: 9px;
    color: #FFFFFF;
    background: #39566F;
    box-shadow: 0 3px 8px rgba(48, 87, 113, .12);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: break-word;
    cursor: default;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-quick-menu__item:hover {
    box-shadow: 0 5px 14px rgba(48, 87, 113, .22);
}

.home-quick-menu__item--link {
    cursor: pointer;
    text-decoration: none;
}

.home-quick-menu__item--link:hover,
.home-quick-menu__item--link:focus {
    color: #FFFFFF;
    text-decoration: none;
}

.home-quick-menu__item--link:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-quick-menu__icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.home-quick-menu__icon img {
    display: block;
    width: auto;
    height: auto;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.home-information-services,
.home-information-services * {
    box-sizing: border-box;
}

.home-information-services {
    width: 100%;
    padding: 12px 0 24px;
    background: #FFFFFF;
}

.home-information-services .home-quick-menu__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-report-services .home-quick-menu__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-information-services li {
    min-width: 0;
}

.home-information-services .home-quick-menu__item {
    overflow-wrap: anywhere;
    text-align: center;
}

.home-online-services {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 0;
    background: #FFFFFF;
}

.home-online-services__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
    list-style: none;
}

.home-online-services__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 72px;
    padding: 12px 10px;
    border-radius: 9px;
    color: #FFFFFF;
    box-shadow: 0 3px 8px rgba(48, 87, 113, .12);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: default;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-online-services__button:hover {
    box-shadow: 0 5px 14px rgba(48, 87, 113, .22);
}

.home-online-services__button--primary {
    background: #305771;
}

.home-online-services__button--orange {
    background: #F56600;
}

.home-online-services__button--red {
    background: #790000;
}

.home-online-services__icon {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.home-online-services__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-community {
    width: 100%;
    padding: 28px 0;
    background: #F6F7F9;
}

.home-community__layout {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 2.6fr);
    align-items: stretch;
    gap: 28px;
}

.home-activity-videos {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    min-width: 0;
}

.home-activity-videos__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.home-activity-videos__heading h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid var(--color-secondary, #E48763);
    color: var(--color-primary, #305771);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.home-activity-videos__all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #FFFFFF;
    background: var(--color-secondary, #E48763);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-activity-videos__all:hover {
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(48, 87, 113, .18);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-activity-videos__all--pending {
    cursor: default;
}

.home-activity-videos__all--pending:hover {
    box-shadow: none;
    transform: none;
}

.home-activity-videos__all svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.home-activity-videos__card {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding: 18px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 8px 26px rgba(48, 87, 113, .06);
}

.home-activity-videos__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-activity-videos__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 11px;
    background: #183447;
}

.home-activity-videos__poster,
.home-activity-videos__player iframe,
.home-activity-videos__player video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.home-activity-videos__preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #FFFFFF;
    font-size: 15px;
    text-align: center;
}

.home-activity-videos__preview[hidden],
.home-activity-videos [hidden] {
    display: none;
}

.home-activity-videos__preview--placeholder {
    align-items: flex-end;
    padding: 14px;
}

.home-activity-videos__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    color: #FFFFFF;
    background: var(--color-secondary, #E48763);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .22);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-activity-videos__play:hover {
    box-shadow: 0 6px 26px rgba(0, 0, 0, .4);
    transform: translate(-50%, -50%) scale(1.04);
}

.home-activity-videos__play svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.home-activity-videos__caption {
    margin-top: 12px;
}

.home-activity-videos__caption time,
.home-activity-videos__choice time {
    display: block;
    margin-bottom: 3px;
    color: var(--color-primary, #305771);
    font-size: 13px;
}

.home-activity-videos__caption h3 {
    margin: 0;
    color: var(--color-primary, #305771);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: break-word;
}

.home-activity-videos__external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    align-self: flex-start;
    padding: 8px 14px;
    border: 1px solid #DCE6ED;
    border-radius: 999px;
    color: var(--color-primary, #305771);
    background: #F4F5F9;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.home-activity-videos__external svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-activity-videos__external:hover {
    border-color: #D57551;
    color: #FFFFFF;
    background: #D57551;
    box-shadow: 0 5px 14px rgba(48, 87, 113, .18);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-activity-videos__external:active {
    border-color: #C86846;
    background: #C86846;
    transform: translateY(0);
}

.home-activity-videos__external:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-activity-videos__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-activity-videos__choice {
    display: grid;
    grid-template-columns: minmax(96px, 36%) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 5px;
    border: 0;
    border-radius: 8px;
    color: var(--color-primary, #305771);
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 220ms ease;
}

.home-activity-videos__choice:hover {
    background: #F4F5F9;
}

.home-activity-videos__choice:active {
    background: #F4F5F9;
    box-shadow: inset 3px 0 #E48763;
}

.home-activity-videos__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #DCE6ED;
}

.home-activity-videos__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #183447;
}

.home-activity-videos__thumb svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 18px;
    border-radius: 4px;
    color: #FFFFFF;
    background: var(--color-secondary, #E48763);
    fill: currentColor;
    transform: translate(-50%, -50%);
}

.home-activity-videos__choice-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--color-primary, #305771);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-activity-videos__choice-copy {
    min-width: 0;
}

.home-activity-videos__empty,
.home-activity-videos__notice {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 12px;
    color: #52616B;
    text-align: center;
}

.home-mayor-profile {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 8px 26px rgba(48, 87, 113, .06);
}

.home-mayor-profile__header {
    position: relative;
    padding: 13px 16px 16px;
    color: #FFFFFF;
    background: #305771;
    text-align: center;
}

.home-mayor-profile__header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    margin: 0 auto;
    background: #E48763;
    content: "";
}

.home-mayor-profile__header h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.home-mayor-profile__image {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    background: #F4F5F9;
}

.home-mayor-profile__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3ECF2;
    color: var(--color-primary, #305771);
}

.home-mayor-profile__details {
    padding: 16px 12px;
    text-align: center;
}

.home-mayor-profile__details h3 {
    margin: 0 0 4px;
    color: var(--color-primary, #305771);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.home-mayor-profile__details p {
    margin: 0;
    color: #E48763;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.home-news-and-clerk {
    width: 100%;
    padding: 28px 0;
    background: #F6F7F9;
}

.home-news-and-clerk__layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    align-items: stretch;
    gap: 28px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-clerk-profile {
    height: var(--home-clerk-profile-height, auto);
}

.home-activity-news {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-activity-news__card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    padding: 16px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 8px 26px rgba(48, 87, 113, .06);
}

.home-activity-news__item {
    display: flex;
    flex-direction: row;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #E1E8ED;
    border-radius: 11px;
    color: #305771;
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(48, 87, 113, .07);
    text-decoration: none;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-activity-news__item:hover {
    color: #305771;
    box-shadow: 0 7px 18px rgba(48, 87, 113, .14);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-activity-news__item:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-activity-news__media {
    display: block;
    flex: 0 0 58%;
    align-self: stretch;
    width: 58%;
    height: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
    background: #E3EAF0;
}

.home-activity-news__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-activity-news__image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 16px;
    color: #52616B;
    font-size: 14px;
    text-align: center;
}

.home-activity-news__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
    padding: 14px 16px;
}

.home-activity-news__date {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 5px;
    color: #FFFFFF;
    background: #42CFA0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.home-activity-news__date strong {
    font-size: 12px;
}

.home-activity-news__title {
    display: -webkit-box;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    color: #305771;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    min-height: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.home-activity-news__read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    color: #E48763;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.home-activity-news__empty {
    grid-column: 1 / -1;
    align-self: center;
    margin: 0;
    padding: 32px 12px;
    color: #52616B;
    text-align: center;
}

.home-public-news {
    width: 100%;
    padding: 28px 0;
    color: var(--color-primary, #305771);
    background: #F6F7F9;
}

.home-public-news,
.home-public-news * {
    box-sizing: border-box;
}

.home-public-news__layout {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-public-news__content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.home-public-news__featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    grid-auto-rows: auto;
    min-width: 0;
}

.home-public-news__featured-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    color: #305771;
    background: #FFFFFF;
    box-shadow: 0 5px 16px rgba(48, 87, 113, .08);
    text-decoration: none;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-public-news__featured-card:hover {
    color: #305771;
    box-shadow: 0 10px 22px rgba(48, 87, 113, .16);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-public-news__featured-card:focus-visible,
.home-public-news__list-item:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-public-news__featured-image,
.home-public-news__list-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #E1E8ED;
}

.home-public-news__featured-image img,
.home-public-news__list-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-public-news__image--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3EAF0;
}

.home-public-news__image--fallback img {
    object-fit: contain;
}

.home-public-news__featured-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 11px;
}

.home-public-news__date {
    display: inline-flex;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 54px;
    padding: 4px;
    border-radius: 7px;
    color: #FFFFFF;
    background: #42CFA0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
}

.home-public-news__date-day {
    font-size: 17px;
    font-weight: 700;
}

.home-public-news__date-month,
.home-public-news__date-year {
    display: block;
}

.home-public-news__featured-title {
    display: -webkit-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #305771;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-public-news__list {
    display: grid;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-public-news__list-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 0;
    border-radius: 8px;
    color: #305771;
    text-decoration: none;
    transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.home-public-news__list-item:hover {
    color: #305771;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 4px 12px rgba(48, 87, 113, .07);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-public-news__list-image {
    border-radius: 7px;
}

.home-public-news__list-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.home-public-news__list-copy time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #218365;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.home-public-news__list-copy time::before {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #E48763;
    content: '';
}

.home-public-news__list-copy span {
    display: -webkit-box;
    overflow: hidden;
    color: #305771;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-public-news__empty {
    margin: 0;
    padding: 32px 12px;
    border-radius: 12px;
    color: #52616B;
    background: #FFFFFF;
    text-align: center;
}

.home-activity-videos__all:focus-visible,
.home-activity-videos__choice:focus-visible,
.home-activity-videos__play:focus-visible {
    outline: 3px solid var(--color-secondary, #E48763);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .home-quick-menu__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-community__layout {
        gap: 20px;
    }

    .home-news-and-clerk__layout {
        gap: 20px;
    }

    .home-activity-videos__card {
        gap: 16px;
    }

    .home-public-news__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-public-news__featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }

    .home-public-news__featured-card {
        height: auto;
    }

    .home-public-news__list {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .home-online-services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-community__layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .home-news-and-clerk__layout {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .home-clerk-profile {
        width: min(100%, 380px);
        justify-self: center;
    }

    .home-activity-videos {
        align-self: auto;
    }

    .home-activity-videos__card {
        flex: 0 0 auto;
    }

    .home-mayor-profile {
        align-self: auto;
    }

    .home-mayor-profile__image {
        flex: 0 0 auto;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .home-activity-news__media {
        flex-basis: 44%;
        width: 44%;
    }

    .home-activity-news__title {
        -webkit-line-clamp: 4;
    }

    .home-activity-videos__card {
        grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    }

    .home-activity-videos__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-mayor-profile {
        width: min(100%, 380px);
        justify-self: center;
    }

}

@media (max-width: 767px) {
    .home-online-services {
        display: none;
    }

    .home-quick-menu {
        display: none;
    }

    .home-information-services {
        display: none;
    }

    .home-activity-videos__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 14px;
    }

    .home-activity-news__card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        grid-auto-rows: auto;
        padding: 14px;
    }

    .home-activity-videos__choice {
        grid-template-columns: minmax(100px, 32%) minmax(0, 1fr);
    }

    .home-activity-videos__heading h2 {
        font-size: 22px;
    }

    .home-public-news {
        padding: 0;
        background: transparent;
    }

    .home-public-news__layout {
        width: calc(100% - 32px);
        padding: 0;
    }

    .home-public-news__content {
        gap: 20px;
    }

    .home-public-news__featured-grid,
    .home-public-news__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-public-news__list-item {
        grid-template-columns: 80px minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .home-public-news__featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .home-quick-menu__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-quick-menu__item {
        justify-content: flex-start;
        gap: 8px;
        font-size: 13px;
    }

    .home-activity-news__media {
        flex-basis: 40%;
        width: 40%;
    }

    .home-activity-news__title {
        -webkit-line-clamp: 3;
    }

    .home-quick-menu__icon {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    .home-quick-menu__icon img {
        max-width: 24px;
        max-height: 24px;
    }
}

@media (min-width: 992px) {
    .home-online-services__button {
        gap: 12px;
        min-height: 64px;
        padding: 8px 12px;
    }

    .home-online-services__icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .home-online-services__icon[data-icon-path="images/icon/icon-08.png"],
    .home-online-services__icon[data-icon-path="images/icon/icon-10.png"] {
        flex: 0 0 84px;
        width: 84px;
        height: 48px;
    }
}

@media (min-width: 768px) {
    .home-quick-menu__item:hover,
    .home-online-services__button:hover {
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-quick-menu__item,
    .home-online-services__button,
    .home-activity-videos__all,
    .home-activity-videos__external,
    .home-activity-videos__play,
    .home-activity-videos__choice,
    .home-public-news__featured-card,
    .home-public-news__list-item,
    .home-external-links__card,
    .home-external-links__cta span,
    .home-external-links__media img,
    .home-external-links__quick-chevron,
    .home-journals-external__journal-card,
    .home-journals-external__journal-item,
    .home-journals-external__page,
    .home-journals-external__links-list a {
        transition: none;
    }

    .home-activity-news__item {
        transition: none;
    }

    .home-activity-news__item:hover {
        transform: none;
    }

    .home-quick-menu__item:hover,
    .home-online-services__button:hover {
        transform: none;
    }

    .home-activity-videos__all:hover {
        transform: none;
    }

    .home-activity-videos__external:hover {
        transform: none;
    }

    .home-public-news__featured-card:hover,
    .home-public-news__list-item:hover {
        transform: none;
    }

    .home-external-links__card:hover .home-external-links__cta span {
        transform: none;
    }

    .home-external-links__card:hover .home-external-links__media img,
    .home-external-links__quick-list li:hover .home-external-links__quick-chevron {
        transform: none;
    }

    .home-journals-external__journal-item:hover,
    .home-journals-external__page:hover {
        transform: none;
    }
}

.home-procurement {
    width: 100%;
    padding: 28px 0;
    color: #305771;
    background: #F6F7F9;
}

.home-procurement,
.home-procurement * {
    box-sizing: border-box;
}

.home-procurement__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-procurement__layout > section {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-procurement__layout .home-activity-videos__heading {
    flex: 0 0 auto;
}

.home-procurement__card {
    flex: 1 1 auto;
    margin: 0;
    padding: 6px 20px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 5px 16px rgba(48, 87, 113, .08);
    list-style: none;
}

.home-procurement__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #E1E8ED;
}

.home-procurement__item:last-child {
    border-bottom: 0;
}

.home-procurement__date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1.4;
}

.home-procurement__date svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #E48763;
    stroke-width: 2;
}

.home-procurement__badge {
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 7px;
    color: #173D31;
    background: #6CC99C;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.home-procurement__title {
    color: #305771;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.home-procurement__title:hover,
.home-procurement__title:focus-visible {
    color: #E48763;
    text-decoration: none;
}

.home-procurement__section-title {
    transition: color .18s ease;
}

.home-procurement__section-title:hover {
    color: #E48763;
}

.home-procurement a:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-external-links,
.home-external-links * {
    box-sizing: border-box;
}

.home-external-links {
    width: 100%;
    padding: 28px 0 36px;
    color: #305771;
    background: #F6F7F9;
}

.home-external-links__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 340px;
    gap: 18px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-external-links__card,
.home-external-links__quick-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(48, 87, 113, .12);
}

.home-external-links__card {
    --external-link-color: #65BCA0;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #FFFFFF;
    background: var(--external-link-color);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.home-external-links__card--iit {
    --external-link-color: #305771;
}

.home-external-links__card--info {
    --external-link-color: #E48664;
}

.home-external-links__media {
    position: relative;
    flex: 0 0 70%;
    overflow: hidden;
    background: var(--external-link-color);
    background: color-mix(in srgb, var(--external-link-color) 72%, #FFFFFF);
}

.home-external-links__media::after {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 58%;
    background: linear-gradient(to bottom, transparent, var(--external-link-color));
    pointer-events: none;
    content: '';
}

.home-external-links__media--empty::before,
.home-external-links__media--empty::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    content: '';
}

.home-external-links__media--empty::before {
    width: 190px;
    height: 190px;
    top: -110px;
    right: -42px;
}

.home-external-links__media--empty::after {
    width: 138px;
    height: 138px;
    bottom: -78px;
    left: -30px;
}

.home-external-links__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.home-external-links__content {
    display: flex;
    flex: 0 0 30%;
    flex-direction: column;
    position: relative;
    min-height: 0;
    padding: 9px 18px 14px;
    overflow: hidden;
    background: var(--external-link-color);
}

.home-external-links__content::before,
.home-external-links__content::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    pointer-events: none;
    content: '';
}

.home-external-links__content::before {
    width: 170px;
    height: 170px;
    right: -100px;
    bottom: -116px;
}

.home-external-links__content::after {
    width: 92px;
    height: 92px;
    right: -42px;
    bottom: -78px;
}

.home-external-links__content h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #FFFFFF;
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-external-links__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.home-external-links__cta span {
    font-size: 20px;
    line-height: 1;
    transition: transform 220ms ease;
}

.home-external-links__quick-card {
    display: flex;
    flex-direction: column;
    background: #666666;
}

.home-external-links__quick-header {
    position: relative;
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: #FFFFFF;
    background: #305771;
    overflow: hidden;
}

.home-external-links__quick-header::before,
.home-external-links__quick-header::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    pointer-events: none;
    content: '';
}

.home-external-links__quick-header::before {
    width: 88px;
    height: 88px;
    top: -51px;
    right: -18px;
}

.home-external-links__quick-header::after {
    width: 54px;
    height: 54px;
    top: -31px;
    right: 12px;
}

.home-external-links__quick-header svg {
    display: inline-flex;
    position: relative;
    z-index: 1;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    padding: 4px;
    border-radius: 50%;
    box-sizing: content-box;
    background: rgba(255, 255, 255, .15);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-external-links__quick-header h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: inherit;
    font-size: 16px;
    font-weight: 600;
}

.home-external-links__quick-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-external-links__quick-list li {
    display: flex;
    flex: 1 1 0;
    min-height: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.home-external-links__quick-list li:last-child {
    border-bottom: 0;
}

.home-external-links__quick-list li:hover {
    background: #5A5A5A;
}

.home-external-links__quick-item,
.home-external-links__quick-item:is(:hover, :focus, :active, :visited) {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 16px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.home-external-links__quick-item:focus-visible {
    outline: 3px solid #E48664;
    outline-offset: -3px;
}

.home-external-links__quick-chevron {
    flex: 0 0 auto;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    transition: transform 220ms ease;
}

@media (min-width: 768px) {
    .home-external-links__card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 26px rgba(48, 87, 113, .18);
    }

    .home-external-links__card:hover .home-external-links__cta span {
        transform: translateX(4px);
    }

    .home-external-links__card:hover .home-external-links__media img {
        transform: scale(1.04);
    }

    .home-external-links__quick-list li:hover .home-external-links__quick-chevron {
        transform: translateX(3px);
    }
}

@media (max-width: 991px) {
    .home-procurement__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-external-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-external-links {
        padding: 0;
        background: transparent;
    }

    .home-external-links__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: 16px;
        width: calc(100% - 32px);
        padding: 0;
    }

    .home-external-links__card,
    .home-external-links__quick-card {
        min-height: 330px;
    }

}

.home-journals-external,
.home-journals-external * {
    box-sizing: border-box;
}

.home-journals-external {
    width: 100%;
    padding: 28px 0 36px;
    color: #305771;
    background: #F6F7F9;
}

.home-journals-external__layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-journals-external__journals {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 620px;
}

.home-journals-external__journals .home-activity-videos__heading {
    flex: 0 0 auto;
}

.home-journals-external__journal-card,
.home-journals-external__links-card {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(48, 87, 113, .08);
}

.home-journals-external__journal-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 16px;
    background: #FFFFFF;
    transition: opacity 200ms ease, transform 200ms ease;
}

.home-journals-external__journal-card.is-loading {
    opacity: .6;
    transform: translateX(-8px);
}

.home-journals-external__journal-grid {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
}

.home-journals-external__journal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #E7EDF1;
    border-radius: 8px;
    background: #F6F7F9;
    text-decoration: none;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-journals-external__journal-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-journals-external__journal-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 92px;
    border-radius: 8px;
    color: #8AA0B0;
    background: #E3EAF0;
}

.home-journals-external__journal-placeholder svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.home-journals-external__journal-item:focus-visible,
.home-journals-external__page:focus-visible,
.home-journals-external__links-list a:focus-visible {
    outline: 3px solid #E48664;
    outline-offset: 3px;
}

.home-journals-external__pagination {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 28px;
    margin-top: 12px;
}

.home-journals-external__page {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6D7275;
    text-decoration: none;
    transition: background-color 220ms ease, transform 220ms ease;
}

.home-journals-external__page:hover,
.home-journals-external__page.is-current {
    background: #E48664;
    transform: scale(1.12);
}

.home-journals-external__empty,
.home-journals-external__links-empty {
    margin: 0;
    padding: 32px 18px;
    text-align: center;
}

.home-journals-external__empty {
    color: #52616B;
}

.home-journals-external__links-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: #FFFFFF;
    background: #666666;
}

.home-journals-external__links-card .home-external-links__quick-header {
    flex: 0 0 58px;
}

.home-journals-external__links-list {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    scrollbar-color: rgba(255, 255, 255, .55) transparent;
    scrollbar-width: thin;
}

.home-journals-external__links-list li {
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.home-journals-external__links-list li:last-child {
    border-bottom: 0;
}

.home-journals-external__links-list a,
.home-journals-external__links-list a:is(:hover, :focus, :active, :visited) {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 8px 12px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: background-color 220ms ease;
}

.home-journals-external__links-list a:hover {
    background: #5A5A5A;
}

.home-journals-external__links-list img,
.home-journals-external__link-fallback {
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    object-fit: contain;
}

.home-journals-external__link-fallback svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-system-links,
.home-system-links * {
    box-sizing: border-box;
}

.home-system-links {
    width: 100%;
    padding: 36px 0;
    background: #FFFFFF;
}

.home-system-links__layout {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-system-links__heading {
    min-width: 0;
    padding: 0 8px;
}

.home-system-links__heading h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid #E48763;
    color: #305771;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.home-system-links__heading p {
    margin: 0 0 0 16px;
    color: #52616B;
    font-size: 13px;
    line-height: 1.35;
}

.home-system-links__grid {
    display: contents;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-system-links__grid li {
    min-width: 0;
}

.home-system-links__banner {
    display: block;
    overflow: hidden;
    border-radius: 5px;
}

a.home-system-links__banner {
    transition: box-shadow 220ms ease, transform 220ms ease;
}

a.home-system-links__banner:hover {
    box-shadow: 0 6px 14px rgba(48, 87, 113, .2);
    transform: translateY(-2px);
}

a.home-system-links__banner:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-system-links__banner img {
    display: block;
    width: 100%;
    height: auto;
}

.home-contact-facebook,
.home-contact-facebook * {
    box-sizing: border-box;
}

.home-contact-facebook {
    width: 100%;
    padding: 40px 0;
    color: #305771;
    background: #F6F7F9;
}

.home-contact-facebook__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
}

.home-contact-facebook__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 460px;
    overflow: hidden;
    padding: 28px 32px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 6px 18px rgba(48, 87, 113, .08);
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-contact-facebook__card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #305771, #E48763);
    content: '';
}

.home-contact-facebook__card:hover {
    box-shadow: 0 10px 24px rgba(48, 87, 113, .13);
    transform: translateY(-2px);
}

.home-contact-facebook__card--contact {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-contact-facebook__heading {
    flex: 0 0 auto;
    margin-bottom: 18px;
}

.home-contact-facebook__heading h2 {
    margin: 0;
    padding-left: 12px;
    border-left: 4px solid #E48763;
    color: #305771;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.home-contact-facebook__details {
    margin: 20px 0 0;
}

.home-contact-facebook__details > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 5px;
    padding: 2px 0;
}

.home-contact-facebook__details dt,
.home-contact-facebook__details dd {
    margin: 0;
}

.home-contact-facebook__details dt {
    color: #263F52;
    font-size: 15px;
    font-weight: 600;
}

.home-contact-facebook__address {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    max-width: 480px;
    margin: 0;
    color: #52616B;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.home-contact-facebook__detail-icon {
    color: #E48763;
    font-size: 18px;
    line-height: 1;
}

.home-contact-facebook__details dd,
.home-contact-facebook__details a {
    color: #52616B;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.home-contact-facebook__details a {
    color: #305771;
    font-weight: 600;
    text-decoration: none;
}

.home-contact-facebook__details a:hover {
    color: #E48763;
    text-decoration: underline;
}

.home-contact-facebook__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 190px);
    margin: 20px auto 0;
}

.home-contact-facebook__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 6px;
    color: #FFFFFF;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 220ms ease, transform 220ms ease;
}

.home-contact-facebook__action--google {
    background: #65BCA0;
}

.home-contact-facebook__action--map {
    background: #305771;
}

.home-contact-facebook__action img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.home-contact-facebook__action:hover {
    color: #FFFFFF;
    box-shadow: 0 5px 13px rgba(48, 87, 113, .2);
    text-decoration: none;
    transform: translateY(-2px);
}

.home-contact-facebook__action:focus-visible,
.home-contact-facebook__facebook-link:focus-visible {
    outline: 3px solid #E48763;
    outline-offset: 3px;
}

.home-contact-facebook__cover {
    position: relative;
    padding: 28px 24px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #305771, #426F8D);
    color: #FFFFFF;
    text-align: center;
}

.home-contact-facebook__cover::before,
.home-contact-facebook__cover::after {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    pointer-events: none;
    content: '';
}

.home-contact-facebook__cover::before {
    top: -75px;
    right: -20px;
}

.home-contact-facebook__cover::after {
    bottom: -85px;
    left: -25px;
}

.home-contact-facebook__cover p {
    margin: 0 0 4px;
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.home-contact-facebook__cover span {
    font-size: 15px;
}

.home-contact-facebook__profile {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    text-align: center;
}

.home-contact-facebook__logo {
    width: 88px;
    height: 88px;
    padding: 6px;
    border: 1px solid #E3EAF0;
    border-radius: 50%;
    background: #FFFFFF;
    object-fit: contain;
}

.home-contact-facebook__profile h2 {
    margin: 12px 0 0;
    color: #305771;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.home-contact-facebook__description {
    max-width: 360px;
    margin: 8px 0 0;
    color: #52616B;
    line-height: 1.5;
}

.home-contact-facebook__facebook-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    min-height: 46px;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 8px;
    color: #FFFFFF;
    background: #1877F2;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 220ms ease, box-shadow 220ms ease;
}

.home-contact-facebook__facebook-link svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.home-contact-facebook__facebook-link:hover {
    color: #FFFFFF;
    background: #1666CE;
    box-shadow: 0 4px 12px rgba(24, 119, 242, .25);
    text-decoration: none;
}

.home-contact-facebook__caption {
    margin: 10px 0 0;
    color: #52616B;
    font-size: 13px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .home-journals-external__journal-item:hover {
        box-shadow: 0 6px 15px rgba(48, 87, 113, .16);
        transform: translateY(-3px);
    }
}

@media (max-width: 1100px) {
    .home-journals-external__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-journals-external__journals {
        min-height: 560px;
    }

    .home-journals-external__links-card {
        min-height: 390px;
        max-height: 500px;
    }

    .home-system-links__layout {
        display: block;
    }

    .home-system-links__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .home-contact-facebook__card {
        padding: 26px;
    }
}

@media (max-width: 767px) {
    .home-journals-external {
        padding: 0;
        background: transparent;
    }

    .home-journals-external__layout {
        gap: 16px;
        width: calc(100% - 32px);
        padding: 0;
    }

    .home-journals-external__journals {
        min-height: 560px;
    }

    .home-journals-external__journal-card {
        padding: 12px;
    }

    .home-journals-external__journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .home-journals-external__links-card {
        min-height: 360px;
        max-height: 480px;
    }

    .home-system-links {
        padding: 0;
        background: #FFFFFF;
    }

    .home-system-links__layout {
        gap: 16px;
        width: calc(100% - 32px);
        padding: 0;
    }

    .home-system-links__heading {
        padding: 0;
    }

    .home-system-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-contact-facebook {
        padding: 0;
        background: #F6F7F9;
    }

    .home-contact-facebook__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        width: calc(100% - 32px);
        padding: 0;
    }

    .home-contact-facebook__card {
        min-height: 0;
        padding: 24px 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .home-contact-facebook__card,
    .home-contact-facebook__action,
    .home-contact-facebook__facebook-link {
        transition: none;
    }

    .home-contact-facebook__card:hover,
    .home-contact-facebook__action:hover {
        transform: none;
    }
}

@media (max-width: 380px) {
    .home-system-links__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.home-mobile-content-sections {
    display: contents;
}

@media (max-width: 767px) {
    .home-mobile-content-sections {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 28px 0;
        background: #F6F7F9;
    }

    .home-mobile-content-sections > .home-community,
    .home-mobile-content-sections > .home-news-and-clerk {
        display: contents;
    }

    .home-mobile-content-sections .home-community__layout,
    .home-mobile-content-sections .home-news-and-clerk__layout {
        display: contents;
    }

    .home-mobile-content-sections .home-mayor-profile:not(.home-clerk-profile) {
        order: 1;
        width: min(calc(100% - 32px), 380px);
        margin: 0 auto;
    }

    .home-mobile-content-sections .home-clerk-profile {
        order: 2;
        width: min(calc(100% - 32px), 380px);
        height: auto;
        margin: 0 auto;
    }

    .home-mobile-content-sections .home-activity-videos {
        order: 3;
        width: calc(100% - 32px);
        max-width: 1360px;
        margin: 0 auto;
    }

    .home-mobile-content-sections .home-activity-news {
        order: 4;
        width: calc(100% - 32px);
        max-width: 1360px;
        margin: 0 auto;
    }

    .home-mobile-content-sections .home-public-news {
        order: 5;
    }

    .home-mobile-content-sections .home-procurement {
        order: 6;
        padding: 0;
    }

    .home-mobile-content-sections .home-external-links {
        order: 7;
    }

    .home-mobile-content-sections .home-journals-external {
        order: 8;
    }

    .home-mobile-content-sections .home-system-links {
        order: 9;
    }

    .home-mobile-content-sections .home-contact-facebook {
        order: 10;
    }
}
