/* Compact public portal; seasonal colours come from appearance.css. */
.site-header .header-context {
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    min-width: 0;
}
.header-context > span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-context strong {
    color: var(--text);
    font-weight: 600;
}
.header-context a {
    color: var(--plum);
}
@media (min-width: 1101px) {
    .site-header .header-inner {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: 64px 38px;
        height: auto;
        min-height: 0;
        column-gap: 28px;
        row-gap: 0;
    }
    .site-header .brand {
        grid-column: 1;
        grid-row: 1;
        font-size: 24px;
    }
    .site-header .header-context {
        grid-column: 2;
        grid-row: 1;
    }
    .site-header .header-actions {
        grid-column: 3;
        grid-row: 1;
        gap: 12px;
    }
    .site-header .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        gap: 30px;
        align-self: stretch;
        border-top: 1px solid var(--border);
    }
    .site-header .main-nav a {
        padding: 9px 0;
    }
    .site-header .main-nav a.active:after {
        bottom: 0;
        background: var(--accent, var(--plum));
    }
}
@media (max-width: 1100px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        height: auto;
        min-height: 0;
        padding-top: 12px;
        padding-bottom: 10px;
        gap: 10px;
    }
    .site-header .header-context {
        order: 4;
        width: 100%;
        font-size: 11px;
        justify-content: space-between;
    }
}
.site-footer {
    background: var(--surface);
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.site-footer .brand.light {
    color: var(--plum);
    font-size: 22px;
}
.site-footer .brand.light > img {
    background: var(--plum);
    border-radius: 9px;
    padding: 5px;
}
.site-footer p,
.site-footer .footer-bottom {
    color: var(--muted);
}
.site-footer p {
    font-size: 12px;
    line-height: 1.6;
}
.site-footer .footer-grid > div > a:not(.brand) {
    color: var(--text);
    font-size: 13px;
}
.site-footer .footer-grid {
    gap: 24px;
}
.site-footer h3 {
    font-size: 13px;
    margin-bottom: 10px;
}
.site-footer .footer-bottom {
    border-color: var(--border);
    margin-top: 22px;
    font-size: 12px;
    gap: 18px;
}
.portal-home {
    padding-top: 18px;
    padding-bottom: 24px;
}
.portal-home .container {
    max-width: none;
    width: auto;
    padding: 0;
    margin: 0;
}
.portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px 24px;
    grid-auto-flow: row dense;
}
.portal-block {
    min-width: 0;
    grid-column: 1 / -1;
}
.portal-block-news {
    grid-column: 1;
}
.portal-block-city {
    grid-column: 2;
    align-self: start;
}
.portal-grid:not(:has(.portal-block-city)) .portal-block-news {
    grid-column: 1 / -1;
}
.portal-grid:not(:has(.portal-block-news)) .portal-block-city {
    grid-column: 1 / -1;
}
.portal-block-sponsored:not(:has(.sponsored-section)),
.portal-block-renovation:not(:has(.journal-grid)) {
    display: none;
}
.portal-home .section {
    margin: 0;
}
.portal-home .section-heading {
    margin-bottom: 12px;
    gap: 12px;
    align-items: center;
}
.portal-home .section-heading h1,
.portal-home .section-heading h2,
.portal-home h2 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.35px;
    margin: 0;
    color: var(--text);
}
.portal-home .section-heading .eyebrow {
    display: none;
}
.portal-home .text-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--plum);
}
.portal-home .meta {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}
.portal-home a:hover h2,
.portal-home a:hover h3,
.portal-home a:hover > strong {
    color: var(--coral-dark);
}
:is(.portal-home, .portal-directory) .search-bar {
    background: var(--lavender);
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0;
}
:is(.portal-home, .portal-directory) .search-bar > .ui-icon {
    color: var(--plum);
    font-size: 22px;
}
:is(.portal-home, .portal-directory) .search-bar input,
:is(.portal-home, .portal-directory) .search-bar select {
    background: var(--surface);
    border: 1px solid var(--border);
}
.portal-home .category-strip {
    margin: 0;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}
:root[data-theme] .portal-home .category-strip a {
    border-radius: 0;
    background: transparent;
    min-height: 48px;
    padding: 8px 12px;
    border-right: 1px solid var(--border);
    font-size: 12px;
    gap: 10px;
}
:root[data-theme] .portal-home .category-strip a:last-child {
    border-right: 0;
}
:root[data-theme] .portal-home .category-strip a:hover {
    background: var(--lavender);
}
.portal-home .category-icon {
    width: 32px;
    min-width: 32px;
    flex-shrink: 0;
    text-align: center;
    height: auto;
    font-size: 24px;
    color: var(--plum);
}
.portal-home .category-icon .ui-icon {
    font-size: inherit;
    line-height: 1;
}
.portal-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 18px;
}
.portal-top-stories {
    min-width: 0;
}
.portal-lead {
    display: block;
}
.portal-lead .image-wrap {
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}
.portal-lead img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.portal-lead h2 {
    font-size: 23px;
    line-height: 1.2;
    margin-bottom: 8px;
}
.portal-lead p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.portal-home .image-label {
    background: var(--surface);
    color: var(--plum);
    border: 1px solid var(--border);
    top: 10px;
    left: 10px;
    border-radius: 4px;
    font-size: 10px;
    padding: 3px 7px;
}
.portal-news-teasers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.portal-news-teasers img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 7px;
}
.portal-news-teasers h3 {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 5px;
}
.portal-news-feed {
    border-left: 1px solid var(--border);
    padding-left: 18px;
    min-width: 0;
}
.portal-home .portal-news-feed > h2 {
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.portal-news-feed > a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}
.portal-news-feed .meta span {
    color: var(--plum);
}
.portal-news-feed h3 {
    font-size: 14px;
    line-height: 1.35;
    margin: 4px 0 0;
}
.portal-news-feed > .text-link {
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 0;
    padding-bottom: 0;
}
.portal-service-column {
    display: grid;
    gap: 14px;
}
.portal-panel {
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 0;
}
.portal-home .portal-panel > h2 {
    font-size: 17px;
    margin-bottom: 12px;
}
.portal-weather {
    background: var(--highlight-bg, var(--lavender));
}
.portal-weather-now {
    display: grid;
    grid-template-columns: 34px auto minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 5px 0 14px;
}
.portal-weather-now > .ui-icon {
    font-size: 32px;
    color: var(--plum);
}
.portal-weather-now > strong {
    font-size: 35px;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
}
.portal-weather-now > span {
    font-size: 12px;
    line-height: 1.4;
}
.portal-day-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-top: 1px solid var(--border);
    padding: 12px 0;
}
.portal-day-facts a {
    display: grid;
    gap: 2px;
    font-size: 11px;
    min-width: 0;
}
.portal-day-facts span {
    color: var(--muted);
}
.portal-day-facts strong {
    font-weight: 600;
    overflow-wrap: anywhere;
}
.portal-service-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
}
.portal-service-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 10px 3px;
    min-height: 70px;
    font-size: 11px;
    line-height: 1.35;
    background: var(--surface);
}
.portal-service-links a:hover {
    background: var(--lavender);
}
.portal-service-links .ui-icon {
    font-size: 23px;
    color: var(--plum);
}
.portal-home .home-daily-tip {
    display: block;
    padding: 14px;
    margin: 0;
    border-radius: 8px;
    background: var(--lavender);
}
.portal-home .home-tip-icon {
    width: 26px;
    height: 26px;
    font-size: 20px;
    background: transparent;
    float: left;
    margin: 0 8px 3px 0;
}
.portal-home .home-daily-tip .eyebrow {
    font-size: 10px;
    letter-spacing: 0;
    margin: 4px 0 10px;
}
.portal-home .home-daily-tip h2 {
    clear: both;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 7px;
}
.portal-home .home-daily-tip p {
    font-size: 12px;
    line-height: 1.5;
}
.portal-home .home-tip-link {
    min-height: 32px;
    margin-top: 8px;
    font-size: 12px;
}
.portal-spotlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.portal-spotlight {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
}
.portal-spotlight > img {
    width: 100%;
    height: 100%;
    min-height: 142px;
    object-fit: cover;
}
.portal-spotlight-logo > img {
    object-fit: contain;
    background: #fff;
}
.portal-spotlight-copy {
    padding: 12px 14px 12px 0;
    display: grid;
    gap: 5px;
    align-content: center;
    min-width: 0;
}
.portal-spotlight .eyebrow {
    font-size: 10px;
    letter-spacing: 0.8px;
    margin: 0;
}
.portal-spotlight-copy > strong {
    font-size: 16px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.portal-spotlight .text-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}
:is(.portal-home, .portal-page) .places-grid {
    gap: 16px;
}
:is(.portal-home, .portal-page) .place-card {
    border-radius: 8px;
}
:is(.portal-home, .portal-page) .place-image {
    height: auto;
    aspect-ratio: 1.85;
}
:is(.portal-home, .portal-page) .place-image img {
    height: 100%;
    aspect-ratio: auto;
}
:is(.portal-home, .portal-page) .place-card-body {
    padding: 12px;
}
:is(.portal-home, .portal-page) .place-card h3 {
    margin: 5px 0 7px;
    font-size: 14px;
    line-height: 1.35;
}
:is(.portal-home, .portal-page) .place-bottom {
    margin-top: auto;
    padding-top: 9px;
    font-size: 12px;
    line-height: 1.5;
    gap: 8px;
}
:is(.portal-home, .portal-page) .journal-grid {
    gap: 18px;
}
:is(.portal-home, .portal-page) .article-card .image-wrap img {
    height: auto;
    aspect-ratio: 1.85;
    object-fit: cover;
    border-radius: 7px;
}
:is(.portal-home, .portal-page) .article-card h3 {
    font-size: 17px;
    margin: 7px 0;
}
:is(.portal-home, .portal-page) .article-card p {
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.portal-map-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.portal-home .map-illustration {
    min-height: 170px;
    height: 100%;
    border-radius: 0;
    position: relative;
}
.portal-map-panel > div {
    padding: 18px 20px 18px 0;
    min-width: 0;
}
.portal-map-panel h2 {
    font-size: 21px;
    margin-bottom: 10px;
}
.portal-map-panel p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}
.portal-map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.portal-home .tools-strip {
    border-radius: 8px;
    padding: 14px 16px;
    margin: 0;
    background: var(--highlight-bg, var(--lavender));
    gap: 16px;
}
.portal-home .tools-strip h2 {
    font-size: 17px;
}
.portal-home .tools-strip .eyebrow {
    display: none;
}
.portal-home .tools-strip > a {
    padding-left: 16px;
}
.portal-home .tools-strip > a > .ui-icon:first-child {
    font-size: 23px;
    width: 28px;
}
.portal-home .business-banner {
    margin: 0;
    padding: 16px 20px;
    border-radius: 8px;
    background: var(--lavender);
    border: 1px solid var(--border);
}
.portal-home .business-banner .eyebrow {
    display: none;
}
.portal-home .business-banner h2 {
    font-size: 20px;
}
.portal-home .business-banner p {
    font-size: 12px;
    margin: 5px 0 0;
}
@media (min-width: 1500px) {
    .container {
        max-width: 1480px;
    }
    .portal-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}
@media (max-width: 1100px) {
    .portal-grid {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 18px;
    }
    .portal-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .portal-news-feed {
        border-left: 0;
        padding-left: 0;
    }
    .portal-spotlight {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
    }
    .portal-spotlight-copy > strong {
        font-size: 14px;
    }
    .portal-home .category-strip a {
        padding: 7px;
        font-size: 11px;
    }
}
@media (max-width: 760px) {
    .portal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    .portal-block-news,
    .portal-block-city {
        grid-column: 1 / -1;
    }
    .portal-news-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
    .portal-news-feed {
        border-left: 1px solid var(--border);
        padding-left: 14px;
    }
    .portal-service-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .portal-service-column > .container {
        grid-column: 1 / -1;
    }
    .portal-home .portal-map-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .portal-map-panel > div {
        padding: 16px;
    }
    .portal-home .map-illustration {
        height: 150px;
        min-height: 150px;
    }
}
@media (max-width: 600px) {
    .portal-home {
        padding-top: 12px;
    }
    .portal-home .section-heading h1,
    .portal-home .section-heading h2 {
        font-size: 21px;
    }
    .portal-home .section-heading .text-link {
        font-size: 11px;
    }
    :is(.portal-home, .portal-directory) .search-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
    }
    :is(.portal-home, .portal-directory) .search-bar > .ui-icon {
        display: none;
    }
    :is(.portal-home, .portal-directory) .search-bar input,
    :is(.portal-home, .portal-directory) .search-bar > button {
        grid-column: 1 / -1;
    }
    .portal-home .category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-bottom: 8px;
    }
    :root[data-theme] .portal-home .category-strip a {
        font-size: 12px;
        min-height: 76px;
        padding: 6px;
        gap: 6px;
    }
    :root[data-theme] .portal-home .category-strip a:nth-child(3n) {
        border-right: 0;
    }
    .portal-home .category-icon {
        min-width: 20px;
        width: 20px;
        font-size: 20px;
    }
    .portal-news-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .portal-lead h2 {
        font-size: 22px;
    }
    .portal-news-feed {
        border-left: 0;
        padding-left: 0;
    }
    .portal-news-teasers h3 {
        font-size: 13px;
    }
    .portal-service-column {
        grid-template-columns: minmax(0, 1fr);
    }
    .portal-spotlights {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding-top: 0;
        border-top: 0;
    }
    .portal-spotlight-copy {
        padding: 10px 10px 10px 0;
    }
    .portal-spotlight > img {
        min-height: 130px;
    }
    :is(.portal-home, .portal-page) .places-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    :is(.portal-home, .portal-page) .place-image {
        aspect-ratio: 1.45;
    }
    :is(.portal-home, .portal-page) .place-card-body {
        padding: 10px;
    }
    :is(.portal-home, .portal-page) .place-card h3 {
        font-size: 14px;
    }
    :is(.portal-home, .portal-page) .journal-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .portal-home .business-banner {
        padding: 16px;
        gap: 14px;
    }
    .portal-home .business-banner .button {
        width: 100%;
    }
    .site-footer .footer-bottom {
        flex-wrap: wrap;
        gap: 12px;
    }
}

.portal-news-grid:not(:has(.portal-news-feed)) {
    grid-template-columns: minmax(0, 1fr);
}

/* Keep the utility footer short while retaining every useful link. */
.site-footer .footer-grid > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    align-content: start;
}
.site-footer .footer-grid > div:last-child > h3,
.site-footer .footer-grid > div:last-child > a[href^='mailto:'] {
    grid-column: 1 / -1;
}
.site-footer .footer-grid > div:last-child > a {
    margin: 3px 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
@media (min-width: 901px) {
    .site-footer .footer-grid {
        grid-template-columns: 1.1fr 1fr 1fr 1.6fr;
    }
}
@media (max-width: 600px) {
    .site-footer .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
    .site-footer .footer-grid > div:nth-child(3) {
        display: block;
    }
}

@media (min-width: 601px) and (max-width: 1100px) {
    :is(.portal-home, .portal-directory) .search-bar {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 8px;
    }
    :is(.portal-home, .portal-directory) .search-bar > .ui-icon {
        display: none;
    }
    :is(.portal-home, .portal-directory) .search-bar input {
        grid-column: 1 / -1;
    }
    :is(.portal-home, .portal-directory) .search-bar > button {
        grid-column: auto;
    }
}
/* Interior pages share the portal's spacing, cards and seasonal tokens. */
.portal-page {
    padding-top: 20px;
    padding-bottom: 32px;
}
.portal-page .breadcrumbs {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.5;
}
.portal-page h1 {
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.65px;
    color: var(--text);
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}
.portal-page h2 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: var(--text);
    margin: 20px 0 10px;
}
.portal-page .section-heading {
    margin-bottom: 12px;
    gap: 16px;
    align-items: center;
}
.portal-page .section-heading h1 {
    margin: 0;
}
.portal-directory .section-heading .eyebrow,
.portal-feed .portal-feed-heading .eyebrow {
    display: none;
}
.portal-page .section-intro,
.portal-page .page-intro {
    max-width: none;
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
}
.portal-page .section-intro > p:last-child {
    margin-bottom: 0;
}
.portal-page .tool-actions {
    gap: 10px;
    margin: 14px 0;
}
.portal-page .account-section {
    margin: 22px 0;
}
.portal-page .prose {
    max-width: none;
    font-size: 15px;
    line-height: 1.7;
}
.portal-page .detail-panel,
.portal-page .form-card {
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 18px;
}
.portal-page .detail-panel h2:first-child {
    margin-top: 0;
}
.portal-page .detail-panel h3 {
    font-size: 16px;
    margin: 0 0 10px;
}
.portal-page .detail-panel p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
}
.portal-page .form-card {
    margin: 16px 0;
    max-width: none;
}
.portal-page .field {
    margin-bottom: 12px;
}
.portal-page .meta {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.portal-page .image-label {
    background: var(--highlight-bg, var(--lavender));
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 10px;
    padding: 3px 7px;
    top: 9px;
    left: 9px;
}
:is(.portal-directory, .portal-feed) .catalog-categories {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}
:is(.portal-directory, .portal-feed) .catalog-categories:empty {
    display: none;
}
:is(.portal-directory, .portal-feed) .catalog-categories .catalog-category {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 180px;
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
}
:is(.portal-directory, .portal-feed) .catalog-category-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 7px;
    background: var(--lavender);
    color: var(--plum);
    font-size: 18px;
}
:is(.portal-directory, .portal-feed) .catalog-category > span:not(.catalog-category-icon) {
    min-width: 0;
    overflow-wrap: anywhere;
}
:is(.portal-directory, .portal-feed) .catalog-category > .ui-icon {
    flex-shrink: 0;
    margin-left: auto;
    color: var(--plum);
    font-size: 10px;
}
:is(.portal-directory, .portal-feed) .catalog-category:hover,
:is(.portal-directory, .portal-feed) .catalog-category:focus-visible {
    background: var(--lavender);
    border-color: var(--plum);
    color: var(--plum);
}
:is(.portal-directory, .portal-feed) .catalog-category:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 2px;
}
.portal-directory .catalog-filters .catalog-apply {
    background: var(--plum);
    border-color: var(--plum);
    color: #fff;
}
.portal-directory .catalog-filters .catalog-apply:hover {
    filter: brightness(1.12);
}
.portal-directory .catalog-filters .catalog-nearby {
    background: var(--surface);
    border-color: var(--plum);
    color: var(--plum);
}
.portal-directory .catalog-filters .catalog-nearby:hover {
    background: var(--lavender);
}
.portal-directory .catalog-filters {
    margin: 12px 0;
    padding: 12px 0;
    border-block: 1px solid var(--border);
    gap: 10px 14px;
    font-size: 12px;
}
.portal-directory .catalog-filters label {
    min-width: 0;
    max-width: 100%;
}
.portal-directory .catalog-filters select {
    max-width: 100%;
}
.portal-directory .catalog-districts {
    margin: 12px 0;
}
.portal-directory .catalog-districts summary {
    font-size: 13px;
    min-height: 32px;
}
.portal-directory .places-grid {
    margin-top: 14px;
}
:is(.portal-home, .portal-page) .place-card {
    display: flex;
    flex-direction: column;
}
:is(.portal-home, .portal-page) .place-image {
    flex-shrink: 0;
}
:is(.portal-home, .portal-page) .place-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
:is(.portal-home, .portal-page) .place-address {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.5;
}
.portal-page .empty-state {
    grid-column: 1 / -1;
    padding: 24px 18px;
}
.portal-feed .feed-filters {
    padding: 12px;
    background: var(--lavender);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0 0 18px;
    align-items: flex-end;
}
.portal-feed .feed-filters .field {
    flex: 1 1 180px;
    max-width: 440px;
    margin: 0;
}
.portal-feed .journal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.portal-feed .article-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-width: 0;
}
.portal-feed .article-card .image-wrap img {
    border-radius: 0;
}
.portal-feed .article-card-body {
    padding: 12px;
}
.portal-feed .article-card h3 {
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.portal-record-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}
.portal-record-heading:not(:has(.organization-logo)) {
    grid-template-columns: minmax(0, 1fr);
}
.portal-record-heading .organization-logo {
    width: 96px;
    height: 64px;
    margin: 0;
    object-fit: contain;
    border: 1px solid var(--border);
    background: white;
    border-radius: 7px;
}
.portal-record-heading .eyebrow,
.portal-article > .eyebrow {
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
    color: var(--plum);
}
.portal-record-heading h1 {
    margin: 0;
    font-size: clamp(26px, 2.4vw, 34px);
}
.portal-place .detail-grid {
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
}
.portal-place .place-content {
    min-width: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
}
.portal-place .place-contact {
    grid-column: 2;
    grid-row: 1;
}
.portal-place .detail-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 8;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}
.portal-place .cover-caption {
    margin: 0 0 16px;
    line-height: 1.45;
}
.portal-place .place-sidebar {
    gap: 16px;
    grid-column: 2;
    grid-row: 2;
}
.portal-place .place-contact > .eyebrow {
    display: none;
}
.portal-place .place-contact h2 {
    margin-top: 0;
    font-size: 20px;
}
.portal-place .place-contact > .button {
    margin: 0 6px 8px 0;
}
.portal-place .place-contact > form {
    margin: 8px 0;
}
.portal-place .place-contact .account-section {
    margin: 12px 0 0;
}
.portal-place .place-sidebar h2 {
    margin-top: 0;
    font-size: 19px;
}
.portal-place .place-nearby-list {
    margin: 12px 0;
    gap: 12px;
}
.portal-place .place-nearby-item {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
}
.portal-place .place-nearby-item img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
}
.portal-place .place-nearby-item strong {
    font-size: 12px;
    line-height: 1.4;
}
.portal-place .place-journal-card h3 {
    font-size: 16px;
}
.portal-place .place-journal-card img {
    max-height: 170px;
    margin-bottom: 10px;
    border-radius: 6px;
}
.portal-place .place-branches {
    gap: 14px;
}
.portal-place .hours-list,
.portal-branch .hours-list {
    margin-top: 10px;
    font-size: 13px;
}
.portal-place .public-gallery {
    gap: 12px;
}
.portal-place .public-gallery img {
    aspect-ratio: 16 / 10;
}
.portal-article > .eyebrow {
    display: inline-block;
}
.portal-article > h1 {
    margin-bottom: 12px;
}
.portal-article .article-meta {
    gap: 8px 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.portal-article .article-source {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.5;
}
.portal-article .detail-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 6;
    max-height: 360px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 16px;
}
.portal-article .page-intro {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 16px;
}
.portal-article .prose {
    max-width: none;
}
.portal-article .prose > p {
    margin-bottom: 12px;
}
.portal-article .prose h2 {
    font-size: 24px;
    margin: 24px 0 10px;
}
.portal-article .prose h3 {
    font-size: 19px;
    margin: 18px 0 8px;
}
.portal-article .article-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
    margin: 16px 0;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: var(--surface);
}
.portal-article .article-toc a {
    background: var(--lavender);
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.5;
}
.portal-article .article-actions {
    padding: 14px 0;
    border-block: 1px solid var(--border);
    margin: 20px 0;
}
.portal-article .prose figure {
    margin: 16px 0;
}
@media (min-width: 1500px) {
    .portal-page {
        max-width: 1480px;
    }
}
@media (max-width: 1100px) {
    .portal-feed .journal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .portal-place .detail-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 18px;
    }
}
@media (max-width: 900px) {
    .portal-feed .journal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .portal-place .detail-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 18px;
    }
    .portal-place .place-sidebar {
        grid-column: 1;
        grid-row: 3;
    }
    .portal-place .place-contact {
        grid-column: 1;
        grid-row: 1;
    }
    .portal-place .place-content {
        grid-row: 2;
    }
}
@media (max-width: 600px) {
    .portal-page {
        padding-top: 14px;
        padding-bottom: 24px;
    }
    .portal-page h1,
    .portal-record-heading h1 {
        font-size: 26px;
        line-height: 1.2;
        letter-spacing: -0.4px;
    }
    .portal-page h2 {
        font-size: 21px;
    }
    .portal-page .section-intro,
    .portal-page .page-intro {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .portal-page .section-heading {
        align-items: flex-start;
        gap: 10px;
    }
    .portal-directory .section-heading > .button {
        max-width: 35%;
        flex-shrink: 0;
        padding: 9px 11px;
    }
    :is(.portal-directory, .portal-feed) .catalog-categories {
        gap: 7px;
    }
    :is(.portal-directory, .portal-feed) .catalog-categories .catalog-category {
        flex: 1 1 42%;
        padding: 8px;
        font-size: 11px;
    }
    .portal-directory .catalog-filters {
        align-items: stretch;
        gap: 10px;
        padding: 10px 0;
    }
    .portal-directory .catalog-filters label {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }
    .portal-directory .catalog-filters select {
        flex: 1 1 140px;
        width: 100%;
    }
    .portal-directory .catalog-filters > .button {
        flex: 1 1 44%;
        padding: 10px;
        font-size: 12px;
    }
    .portal-feed .feed-filters {
        padding: 10px;
        gap: 10px;
    }
    .portal-feed .feed-filters .field {
        flex: 1 1 150px;
    }
    .portal-feed .journal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .portal-feed .article-card h3 {
        display: block;
        font-size: 18px;
    }
    .portal-page .detail-panel,
    .portal-page .form-card {
        padding: 14px;
    }
    .portal-record-heading {
        gap: 10px;
        margin-bottom: 14px;
        align-items: start;
    }
    .portal-record-heading .organization-logo {
        width: 72px;
        height: 48px;
    }
    .portal-record-heading .eyebrow {
        font-size: 10px;
    }
    .portal-place .detail-cover {
        max-height: none;
        aspect-ratio: 16 / 9;
    }
    .portal-place .place-contact h2 {
        font-size: 20px;
    }
    .portal-place .place-contact p {
        margin-bottom: 8px;
    }
    .portal-place .place-contact > form .button {
        width: 100%;
    }
    .portal-place .place-branches {
        gap: 12px;
    }
    .portal-article .detail-cover {
        aspect-ratio: 16 / 9;
        max-height: none;
    }
    .portal-article .page-intro {
        font-size: 16px;
    }
    .portal-article .prose {
        font-size: 15px;
        line-height: 1.7;
    }
    .portal-article .prose h2 {
        font-size: 22px;
    }
    .portal-article .article-actions .button {
        flex: 1 1 42%;
        padding: 10px;
    }
    .portal-article .article-toc a {
        width: 100%;
        min-height: 40px;
    }
}

.portal-feed-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 18px;
}
.portal-feed-heading > div {
    min-width: 0;
}
.portal-feed .portal-feed-heading .section-intro {
    margin-bottom: 0;
}
.portal-feed .portal-feed-heading .feed-filters {
    margin: 0;
}
.portal-feed .feed-filters .field {
    max-width: none;
}
@media (min-width: 601px) {
    :is(.portal-directory, .portal-feed) .catalog-categories {
        margin: 8px 0;
    }
    :is(.portal-directory, .portal-feed) .catalog-categories .catalog-category {
        min-height: 36px;
    }
    .portal-directory .catalog-filters {
        padding: 8px 0;
        margin: 10px 0;
    }
    .portal-directory .catalog-districts {
        margin: 6px 0;
    }
    .portal-directory .catalog-districts summary {
        min-height: 26px;
    }
}
@media (max-width: 900px) {
    .portal-feed-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

.portal-record-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.portal-record-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--plum);
    font-size: 12px;
    font-weight: 600;
}
.portal-record-nav a:hover {
    background: var(--lavender);
}
.portal-place :is(#place-contacts, #place-about, #place-reviews) {
    scroll-margin-top: 16px;
}
/* Brand marks sit inside a frame; photographs keep their edge-to-edge crop. */
:is(.portal-home, .portal-page) .place-image.company-logo-image {
    --logo-inset: 16px;
    background: #fff;
}
:is(.portal-home, .portal-page) .place-image.company-logo-image img {
    inset: var(--logo-inset, 16px);
    width: calc(100% - 2 * var(--logo-inset, 16px));
    height: calc(100% - 2 * var(--logo-inset, 16px));
    object-fit: contain;
    border-radius: 5px;
}
.portal-record-heading .organization-logo {
    padding: 8px;
}
.site-header .brand {
    padding-block: 8px;
}
.site-footer .footer-grid,
.site-footer .footer-bottom {
    width: 100%;
}
.record-panel {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    min-width: 0;
}
.record-panel > :first-child {
    margin-top: 0;
}
.record-panel > :last-child {
    margin-bottom: 0;
}
.record-panel h2 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.3;
}
.record-panel .prose {
    margin: 0;
}
.portal-place .record-panel {
    margin-block: 16px;
}
.portal-place .place-sidebar > .record-panel {
    margin: 0;
}
.portal-place .place-sidebar .hours-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 12px;
    font-size: 12px;
}
.portal-place .place-sidebar .hours-list :is(dt, dd) {
    padding: 7px 0;
    margin: 0;
    border-bottom: 1px solid var(--border);
}
.portal-place .place-sidebar .hours-list dd {
    text-align: right;
}
.portal-place .place-services ul {
    margin: 0;
    padding-left: 19px;
    line-height: 1.65;
    font-size: 14px;
}
.portal-place .organization-sources p {
    font-size: 13px;
    line-height: 1.65;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}
.article-main,
.article-sidebar {
    min-width: 0;
}
.article-sidebar {
    display: grid;
    gap: 16px;
}
.article-sidebar .record-panel {
    padding: 18px;
}
.article-sidebar h2 {
    font-size: 20px;
}
.article-sidebar .place-nearby-list {
    display: grid;
    gap: 14px;
    margin-block: 14px;
}
.article-sidebar .place-nearby-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}
.article-sidebar .place-nearby-item:not(:has(img)) {
    grid-template-columns: minmax(0, 1fr);
}
.article-sidebar .place-nearby-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}
.article-sidebar .place-nearby-item .company-logo-image {
    object-fit: contain;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--border);
}
.article-sidebar .place-nearby-item strong {
    font-size: 13px;
    line-height: 1.4;
    display: block;
}
.article-sidebar .place-nearby-item .meta {
    font-size: 11px;
    line-height: 1.45;
    display: block;
    margin-top: 4px;
}
.article-sidebar .place-sidebar-footer {
    margin-top: 14px;
    font-size: 12px;
}
.portal-article .article-main .detail-cover {
    aspect-ratio: 16/9;
    max-height: 440px;
}
@media (min-width: 1500px) {
    .site-header .header-inner {
        grid-template-rows: 76px 40px;
    }
    .site-footer .container {
        max-width: 1480px;
    }
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
    }
}
@media (max-width: 1000px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    :is(.portal-home, .portal-page) .place-image.company-logo-image {
        --logo-inset: 12px;
    }
    .record-panel,
    .article-sidebar .record-panel {
        padding: 16px;
    }
    .article-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
    .portal-article .article-main .detail-cover {
        max-height: none;
    }
}
@media print {
    .article-layout {
        display: block;
    }
    .article-sidebar {
        display: none;
    }
}
.article-layout:not(:has(.article-sidebar .record-panel)) {
    grid-template-columns: minmax(0, 1fr);
}
.article-sidebar:not(:has(.record-panel)) {
    display: none;
}
.portal-place #place-hours {
    scroll-margin-top: 16px;
}
.portal-article .cover-credit {
    margin: 8px 0 18px;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.portal-article .cover-credit a {
    color: var(--plum);
    text-decoration: underline;
}

.portal-feed .feed-rubrics {
    margin-block: 14px;
}
.portal-feed .feed-rubrics .catalog-category {
    flex: 0 1 auto;
}
:is(.portal-directory, .portal-feed) .catalog-category.is-active {
    border-color: var(--plum);
    box-shadow: inset 0 0 0 1px var(--plum);
    background: var(--lavender);
}
@media (max-width: 600px) {
    .portal-feed .feed-rubrics .catalog-category {
        flex: 1 1 42%;
    }
}

@media (max-width: 380px) {
    :is(.portal-home, .portal-directory) .search-bar,
    :is(.portal-home, .portal-page) .places-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    :is(.portal-directory, .portal-feed) .catalog-categories .catalog-category {
        flex-basis: 100%;
    }
}

/* Shared collapsible rubrics for editorial feeds and the directory. */
.rubric-heading {
    position: relative;
    margin-bottom: 16px;
}
.rubric-heading > :is(.portal-feed-heading, .section-heading, .page-intro, .section-intro) {
    margin-right: 280px;
}
.rubric-disclosure {
    margin: 0;
}
.rubric-disclosure > summary {
    position: absolute;
    top: 26px;
    right: 0;
    width: max-content;
    max-width: 260px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--lavender);
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px;
    list-style: none;
    cursor: pointer;
    color: var(--text);
}
.rubric-disclosure > summary::-webkit-details-marker {
    display: none;
}
.rubric-disclosure > summary:hover {
    background: var(--lavender);
}
.rubric-disclosure > summary:focus-visible {
    outline: 2px solid var(--plum);
    outline-offset: 2px;
    border-radius: 8px;
}
.rubric-disclosure-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--plum);
}
.rubric-disclosure-current {
    min-width: 0;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--muted);
    text-align: right;
}
.rubric-disclosure > summary > .ui-icon {
    flex-shrink: 0;
    color: var(--plum);
}
.rubric-disclosure[open] > summary {
    border-color: var(--plum);
}
.rubric-disclosure[open] > summary > .ui-icon {
    transform: rotate(90deg);
}
:is(.portal-directory, .portal-feed) .rubric-disclosure .catalog-categories {
    flex-wrap: wrap;
    margin: 0;
    padding: 12px;
}

.rubric-disclosure[open] .catalog-categories {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}
@media (max-width: 900px) {
    .rubric-heading > :is(.portal-feed-heading, .section-heading, .page-intro, .section-intro) {
        margin-right: 0;
    }
    .rubric-heading > .portal-feed-heading {
        margin-bottom: 10px;
    }
    .rubric-disclosure > summary {
        position: static;
        margin: 0 0 10px auto;
        max-width: 100%;
    }
}
