/* Trang thông tin điện tử Đông Trà 2 — hành chính hiện đại, sáng và dễ đọc. */
.portal {
    --portal-blue: #0758a8;
    --portal-blue-dark: #06427e;
    --portal-red: #b4232c;
    --portal-gold: #dca634;
    --portal-text: #24384d;
    --portal-muted: #53677a;
    --portal-border: #dce5ee;
    --portal-surface: #ffffff;
    --tdp-focus: var(--portal-blue);
    background: #f3f6fa;
    color: var(--portal-text);
    font-size: 16px;
    line-height: 1.65;
}
.portal-container { max-width: 1352px; padding-inline: 28px; box-sizing: border-box; }
.portal a { color: inherit; }
.portal .bi { flex-shrink: 0; }
.portal-topline { background: var(--portal-blue-dark); color: #fff; padding-block: 9px; font-size: 11px; letter-spacing: .03em; }
.portal-topline .portal-container { align-items: center; gap: 12px; }
.portal-topline span { display: inline-flex; align-items: center; gap: 8px; }
.portal-topline .bi-star-fill { color: #ffd572; font-size: 12px; }
.portal-topline a { color: #fff; font-size: 12px; display: inline-flex; gap: 8px; align-items: center; }
.portal-masthead { background: linear-gradient(90deg, #f6fbff 0%, #f1f8ff 55%, #e6f2fc 100%); border-bottom: 1px solid #d3e5f5; position: relative; overflow: hidden; }
.portal-masthead::after { content: ''; position: absolute; right: 0; bottom: 0; width: min(50%, 700px); height: 145px; background: url('../images/portal/civic-skyline.svg') bottom right / contain no-repeat; pointer-events: none; opacity: .65; }
.portal-header { min-height: 148px; padding-block: 28px; position: relative; z-index: 1; gap: 28px; }
.portal-brand { gap: 22px; flex-shrink: 1; min-width: 0; }
.portal-brand-logo { width: 88px; height: 88px; object-fit: contain; flex-shrink: 0; }
.portal .portal-brand small { color: var(--portal-blue-dark); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.portal .portal-brand strong { display: block; color: var(--portal-red); font-size: clamp(25px, 2.3vw, 34px); line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; }
.portal-brand-location { display: block; color: #365e82; font-size: 13px; margin-top: 2px; }
.portal-search { max-width: 340px; gap: 0; padding: 4px; background: white; border: 1px solid #9bb9d5; border-radius: 7px; box-shadow: 0 2px 8px rgb(7 88 168 / 4%); }
.portal .portal-search input { border: 0; background: transparent; font-size: 16px; padding-inline: 12px; min-height: 44px; }
.portal .portal-search button { background: var(--portal-blue); font-size: 13px; padding-inline: 17px; min-height: 44px; border-radius: 5px; }
.portal-nav { --tdp-focus: #ffda80; background: var(--portal-blue); border: 0; box-shadow: 0 2px 4px rgb(7 88 168 / 8%); }
.portal-nav .portal-container { justify-content: space-between; gap: 0; overflow: visible; }
.portal .portal-nav a { color: white; font-size: 14px; font-weight: 600; padding-inline: 18px; min-height: 54px; gap: 8px; border-bottom: 3px solid transparent; white-space: nowrap; }
.portal-nav a.active { background: var(--portal-blue-dark); border-color: var(--portal-gold); color: #fff; }
.portal-nav a:hover { background: #06498d; color: white; }
.portal-main { padding-block: 0 40px; }
.portal-welcome-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 55px; font-size: 13px; border-bottom: 1px solid var(--portal-border); margin-bottom: 22px; color: #4b6075; }
.portal-welcome-strip > span { display: inline-flex; align-items: center; gap: 10px; }
.portal-welcome-strip .bi { color: var(--portal-blue); }
.portal-welcome-strip a { color: var(--portal-blue); white-space: nowrap; padding-block: 12px; }
.portal-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.portal-shortcuts a { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--portal-border); border-radius: 8px; background: white; min-width: 0; text-decoration: none; transition: border-color 150ms, background-color 150ms; }
.portal-shortcuts a:hover { border-color: #7daed9; background: #f5faff; }
.portal-shortcut-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: #eaf3fd; color: var(--portal-blue); font-size: 23px; flex-shrink: 0; }
.portal-shortcuts a:nth-child(3) .portal-shortcut-icon { color: #a66a0b; background: #fff4dc; }
.portal-shortcuts a:nth-child(4) .portal-shortcut-icon { color: #187366; background: #e8f5f0; }
.portal-shortcuts strong { display: block; color: var(--portal-blue-dark); font-size: 14px; }
.portal-shortcuts small { display: block; color: var(--portal-muted); font-size: 11px; margin-top: 4px; }
.portal-shortcuts a > .bi { margin-left: auto; color: #7591aa; font-size: 12px; }
.portal-home-grid { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.portal-home-news { min-width: 0; }
.portal-home-aside { display: grid; gap: 22px; min-width: 0; }
.portal .portal-section-heading { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #c8dbed; gap: 16px; align-items: center; position: relative; }
.portal-section-heading::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 72px; height: 3px; background: var(--portal-blue); }
.portal .portal-section-heading :is(h1, h2) { color: var(--portal-blue-dark); margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.025em; display: flex; gap: 10px; align-items: center; }
.portal-section-heading .bi { font-size: 20px; }
.portal .portal-section-heading a { color: var(--portal-blue); font-size: 12px; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
.portal-section-heading a .bi { font-size: 14px; }
.portal-intro-panel { background: linear-gradient(115deg, #eaf4fd 0%, #f7fbff 100%); padding: 30px 34px; border: 1px solid #cfe1f1; border-radius: 8px; border-top: 3px solid #d7a540; }
.portal-intro-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .055em; font-weight: 600; color: #3d6b93; }
.portal .portal-intro-panel h2 { color: var(--portal-blue-dark); font-size: 28px; line-height: 1.5; font-weight: 700; margin: 14px 0; letter-spacing: -.035em; }
.portal-intro-panel > p { max-width: 660px; font-size: 15px; line-height: 1.8; color: #455f77; margin: 0 0 20px; }
.portal .portal-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 18px; box-sizing: border-box; border-radius: 6px; background: var(--portal-blue); color: white; font-size: 13px; font-weight: 600; text-decoration: none; }
.portal .portal-button:hover { background: var(--portal-blue-dark); }
.portal-publication-note { display: flex; align-items: flex-start; gap: 9px; color: #536a80; margin-top: 24px; padding-top: 16px; border-top: 1px solid #cfe0ee; font-size: 12px; }
.portal-publication-note .bi { color: var(--portal-blue); }
.portal-lead-story { border: 1px solid var(--portal-border); border-radius: 8px; overflow: hidden; background: white; }
.portal-lead-media { display: block; }
.portal-lead-media img { width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; }
.portal-lead-placeholder { min-height: 185px; background: linear-gradient(135deg, #e7f2fd, #f6faff); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-bottom: 1px solid #d2e3f3; color: #356e9f; }
.portal-lead-placeholder > .bi { font-size: 56px; }
.portal-lead-placeholder span { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.portal-lead-copy { padding: 24px; }
.portal .portal-lead-copy h2 { font-size: 25px; line-height: 1.5; margin: 10px 0; color: var(--portal-blue-dark); letter-spacing: -.025em; }
.portal-lead-copy p { color: var(--portal-muted); font-size: 15px; margin-bottom: 12px; }
.portal-text-link { color: var(--portal-blue) !important; display: inline-flex; gap: 8px; padding-block: 8px; font-size: 13px; font-weight: 600; }
.portal-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.portal-news-list article { display: flex; gap: 12px; align-items: start; padding-block: 18px; border-bottom: 1px solid var(--portal-border); }
.portal-news-list time { color: var(--portal-blue); border: 1px solid #c9deef; background: #eaf3fc; border-radius: 5px; padding: 5px 7px; font-size: 12px; margin-top: 4px; }
.portal-news-list article > div { min-width: 0; flex: 1; }
.portal-news-list article > div > span { color: var(--portal-muted); font-size: 11px; }
.portal .portal-news-list h3 { font-size: 15px; font-weight: 600; line-height: 1.6; margin: 3px 0 0; }
.portal-news-list article > .bi { font-size: 12px; color: #8095aa; margin-top: 28px; }
.portal-notice-board, .portal-calendar-board, .portal-about-board { border: 1px solid var(--portal-border); border-radius: 8px; overflow: hidden; background: white; }
.portal .portal-home-aside h2 { font-size: 17px; line-height: 1.5; font-weight: 600; margin: 0; padding: 15px 20px; display: flex; align-items: center; gap: 10px; color: var(--portal-blue-dark); background: #eaf3fc; border-bottom: 1px solid #d5e4f1; }
.portal .portal-notice-board h2 { background: var(--portal-blue); color: white; border-bottom: 3px solid var(--portal-gold); }
.portal-board-body { padding: 0 20px; }
.portal-board-empty { text-align: center; padding: 24px 10px 18px; }
.portal-board-empty > .bi { display: block; color: #6c94b8; font-size: 30px; margin-bottom: 10px; }
.portal-board-empty strong { display: block; font-size: 14px; font-weight: 500; }
.portal-board-empty p { font-size: 12px; color: var(--portal-muted); line-height: 1.7; margin: 6px 0; }
.portal .portal-notice-link { padding-block: 16px; gap: 10px; color: var(--portal-text); border-color: var(--portal-border); align-items: start; }
.portal-notice-link > .bi { color: var(--portal-blue); font-size: 12px; margin-top: 5px; }
.portal-notice-link strong { font-size: 14px; font-weight: 500; line-height: 1.7; display: block; }
.portal .portal-notice-link time { display: block; color: #677b8e; font-size: 11px; margin-top: 5px; }
.portal-board-link { border-top: 1px solid var(--portal-border); display: flex; justify-content: space-between; align-items: center; min-height: 48px; color: var(--portal-blue) !important; font-size: 12px; font-weight: 600; }
.portal-board-description { font-size: 13px; color: var(--portal-muted); margin: 0; padding-block: 22px; }
.portal-about-board a { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid #e6edf4; font-size: 13px; line-height: 1.6; }
.portal-about-board a > .bi:first-child { color: var(--portal-blue); font-size: 18px; }
.portal-about-board a > .bi:last-child { margin-left: auto; color: #7490aa; font-size: 11px; }
.portal-about-board a:last-child { border: 0; }
.portal-about-board a:hover { background: #f4f9ff; }
.portal-document-section { margin-top: 28px; }
.portal-document-list { border: 1px solid var(--portal-border); border-radius: 8px; background: white; padding-inline: 20px; }
.portal-compact-empty { display: flex; align-items: center; gap: 20px; padding: 26px 4px; }
.portal-compact-empty > .bi { font-size: 36px; color: #6f99bd; }
.portal-compact-empty strong { display: block; font-size: 15px; color: #365879; }
.portal-compact-empty p { font-size: 13px; color: var(--portal-muted); margin: 6px 0 0; line-height: 1.7; }
.portal .portal-document-link { gap: 14px; border-color: var(--portal-border); padding-block: 18px; }
.portal-document-link > span:nth-child(2) { flex: 1; min-width: 0; }
.portal-document-link strong { font-size: 14px; font-weight: 500; }
.portal-document-link small { font-size: 11px; color: var(--portal-muted); }
.portal .portal-document-icon { color: var(--portal-red); background: #fff0ef; padding: 8px 10px; font-size: 23px; border-radius: 6px; }
.portal-document-link > .bi { font-size: 12px; color: #7b92a8; }
.portal-culture-banner { display: flex; align-items: center; gap: 22px; padding: 24px; background: #fff9ec; border: 1px solid #ecd9ac; border-radius: 8px; margin-top: 24px; }
.portal-culture-emblem { color: #ab7720; font-size: 48px; flex-shrink: 0; }
.portal-culture-banner > div { flex: 1; }
.portal-culture-banner small { font-size: 9px; font-weight: 600; color: #8c6020; letter-spacing: .035em; line-height: 1.6; display: block; }
.portal .portal-culture-banner h2 { color: #8b4617; font-size: 20px; margin: 5px 0; }
.portal-culture-banner p { font-size: 12px; color: #75634d; margin: 0; }
.portal-culture-banner .portal-button { flex-shrink: 0; background: #a34220; }
.portal-culture-banner .portal-button:hover { background: #833319; }
.portal .portal-footer { --tdp-focus: var(--portal-blue); background: #e8f0f8; border-top: 3px solid var(--portal-blue); padding-block: 30px 0; color: #37536c; }
.portal-footer .portal-container { align-items: start; gap: 32px; }
.portal-footer-identity { display: flex; align-items: start; gap: 20px; }
.portal-footer-identity img { object-fit: contain; flex-shrink: 0; }
.portal-footer small { font-size: 10px; letter-spacing: .08em; color: #5b7287; }
.portal .portal-footer strong { color: var(--portal-blue-dark); font-size: 19px; margin-bottom: 6px; }
.portal-footer p { color: #526a80; font-size: 12px; margin: 4px 0; }
.portal-footer nav a { font-size: 12px; color: #325b83; padding-block: 7px; }
.portal-footer .portal-footer-bottom { border-top: 1px solid #ccdce9; margin-top: 24px; padding-block: 14px; font-size: 11px; color: #536b80; }
.portal .portal-meta { color: var(--portal-muted); font-size: 12px; }
.portal .portal-meta span { color: var(--portal-blue); font-size: 11px; }
.portal .portal-card { border-color: var(--portal-border); border-radius: 8px; }
.portal .portal-card-placeholder { background: #eaf3fc; color: #376d9d; }
.portal .portal-card-placeholder span { border: 0; font-size: 14px; font-weight: 600; background: transparent; }
.portal .portal-card:nth-child(3n+2) .portal-card-placeholder { background: #f1f5fa; color: #426485; }
.portal .portal-card:nth-child(3n+3) .portal-card-placeholder { background: #edf5fb; color: #326890; }
.portal .portal-card h3 { font-size: 19px; line-height: 1.55; color: var(--portal-blue-dark); }
.portal .portal-card p { color: var(--portal-muted); font-size: 15px; }
.portal .portal-read-more { color: var(--portal-blue) !important; }
.portal .portal-breadcrumb { color: var(--portal-muted); margin-top: 24px; }
.portal .portal-page-heading { margin-top: 28px; }
.portal .portal-page-heading h1 { color: var(--portal-blue-dark); font-size: 30px; }
.portal .portal-filter { background: #eaf2fa; border: 1px solid #d4e3f1; border-radius: 8px; }
.portal .portal-filter button { background: var(--portal-blue); }
.portal .portal-article { margin-top: 24px; border: 1px solid var(--portal-border); border-radius: 8px; }
.portal .portal-article h1, .portal .portal-org-card h3 { color: var(--portal-blue-dark); }
.portal .portal-article-summary { color: #315d83; }
.portal .portal-phase, .portal .portal-date { background: #edf3fa; }
.portal .portal-culture th { background: #eaf2fa; color: var(--portal-blue-dark); }
.portal .portal-empty { background: white; border: 1px solid var(--portal-border); border-radius: 8px; }
.portal-document-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.portal-structure { margin-top: 28px; padding: 32px; background: white; border: 1px solid var(--portal-border); border-radius: 10px; }
.portal-structure-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 13px; color: var(--portal-muted); margin-bottom: 28px; }
.portal-structure-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.portal-line-lead, .portal-line-coordinate { width: 28px; border-top: 2px solid var(--portal-red); }
.portal-line-coordinate { border-top: 2px dashed var(--portal-blue); }
.portal-structure-party { max-width: 480px; margin-inline: auto; }
.portal-structure-authority { margin: 0; padding: 10px 18px; text-align: center; background: #edf3fa; border: 1px solid #ccdef0; border-radius: 6px; color: var(--portal-blue-dark); font-weight: 600; }
.portal-structure-direction { text-align: center; font-size: 13px; color: var(--portal-muted); margin: 0; padding: 14px 8px; }
.portal-structure-card { border: 1px solid #cbdced; border-top: 3px solid var(--portal-blue); border-radius: 8px; background: white; overflow: hidden; min-width: 0; }
.portal-structure-card > h3 { font-size: 18px; line-height: 1.5; margin: 0; padding: 15px 20px; background: #edf4fc; color: var(--portal-blue-dark); }
.portal-structure-card[data-organization-kind="Party"] { border-top-color: var(--portal-red); }
.portal-structure-card[data-organization-kind="Party"] > h3 { background: #fff1f1; color: #9b1e28; }
.portal-structure-card[data-organization-kind="Front"] { border-top-color: #bd8b20; }
.portal-structure-card[data-organization-kind="Front"] > h3 { background: #fff8e9; color: #755115; }
.portal-structure-members { list-style: none; padding: 0 20px; margin: 0; }
.portal-structure-members > li { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.portal-structure-members > li + li { border-top: 1px solid var(--portal-border); }
.portal-person-avatar { display: block; width: 56px; height: 56px; flex: 0 0 56px; position: relative; border-radius: 50%; background: #e5eef8; overflow: hidden; }
.portal-person-avatar > span { position: absolute; inset: 0; display: grid; place-items: center; color: #37638c; font-size: 29px; }
.portal-person-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #e5eef8; }
.portal-person-avatar img[hidden] { display: none; }
.portal-person-info { min-width: 0; display: grid; gap: 3px; }
.portal-person-info strong { font-size: 16px; line-height: 1.5; color: var(--portal-text); overflow-wrap: anywhere; }
.portal-person-info > span { font-size: 14px; color: var(--portal-muted); }
.portal-structure-lead { height: 60px; position: relative; display: flex; justify-content: center; align-items: center; }
.portal-structure-lead::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px solid var(--portal-red); }
.portal-structure-lead > span { position: relative; padding: 3px 12px; font-size: 12px; background: white; color: #9b1e28; text-align: center; }
.portal-structure-core { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.portal-structure-core.has-leadership { position: relative; padding-top: 28px; }
.portal-structure-core.has-leadership::before { content: ""; position: absolute; top: 0; left: calc(25% - 8px); right: calc(25% - 8px); border-top: 2px solid var(--portal-red); }
.portal-structure-core.has-leadership > .portal-structure-lane { position: relative; }
.portal-structure-core.has-leadership > .portal-structure-lane::before { content: ""; position: absolute; height: 28px; top: -28px; left: 50%; border-left: 2px solid var(--portal-red); }
.portal-structure-lane > .portal-structure-card + .portal-structure-card { margin-top: 16px; }
.portal-structure-guidance { margin: 12px 0 0; font-size: 13px; color: var(--portal-muted); padding: 10px 14px; background: #f5f8fc; border-radius: 6px; }
.portal-structure-coordination { margin-top: 32px; border-top: 2px dashed #427bab; padding-top: 24px; }
.portal-structure-coordination > h2, .portal-structure-other > h2 { font-size: 20px; color: var(--portal-blue-dark); margin: 0 0 8px; }
.portal-structure-coordination > p { font-size: 14px; color: var(--portal-muted); margin: 0 0 20px; }
.portal-structure-associations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portal-structure-security { margin-top: 32px; padding: 24px; background: #f4f8fd; border: 1px solid var(--portal-border); border-radius: 8px; }
.portal-structure-security .portal-structure-authority { max-width: 600px; margin-inline: auto; }
.portal-structure-security .portal-structure-associations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-structure-security .portal-structure-card:only-child { grid-column: 1 / -1; width: 100%; max-width: 600px; justify-self: center; }
.portal-structure-other { border-top: 1px solid var(--portal-border); margin-top: 32px; padding-top: 24px; }
.portal-structure-basis { margin: 20px 0 0; padding: 16px 20px; background: #eaf2fa; border-radius: 8px; font-size: 14px; color: var(--portal-muted); }
.portal-structure-basis summary { cursor: pointer; min-height: 32px; font-weight: 600; color: var(--portal-blue-dark); }
.portal-structure-pending { color: var(--portal-muted); padding: 20px; border: 1px solid var(--portal-border); border-radius: 8px; }
@media (max-width: 991.98px) { .portal-structure-associations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
    .portal-structure { padding: 20px 16px; }
    .portal-structure-core, .portal-structure-associations, .portal-structure-security .portal-structure-associations { grid-template-columns: 1fr; gap: 20px; }
    .portal-structure-core.has-leadership::before, .portal-structure-core.has-leadership > .portal-structure-lane::before { display: none; }
    .portal-structure-core.has-leadership { border-top: 2px solid var(--portal-red); padding-top: 20px; }
    .portal-structure-card > h3 { padding-inline: 16px; font-size: 17px; }
    .portal-structure-members { padding-inline: 16px; }
    .portal-structure-security { padding: 16px; }
    .portal-person-avatar { width: 48px; height: 48px; flex-basis: 48px; }
}
.portal-document-actions a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.portal .portal-culture .portal-source { font-size: 13px; margin: 6px 0 0; }
.portal :is(.portal-page-heading p, .portal-empty p, .portal-source, .portal-org-card li span) { color: var(--portal-muted); }
@media (max-width: 1199.98px) {
    .portal .portal-nav a { font-size: 13px; padding-inline: 12px; }
    .portal-search { max-width: 290px; }
    .portal .portal-brand strong { font-size: 27px; }
    .portal-shortcuts { gap: 12px; }
    .portal-shortcuts a { padding: 16px 12px; gap: 10px; }
    .portal-shortcuts strong { font-size: 12px; }
    .portal-shortcuts small { font-size: 10px; }
    .portal-shortcut-icon { width: 36px; height: 40px; font-size: 21px; }
    .portal-home-grid { gap: 22px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .portal-culture-banner { flex-wrap: wrap; }
    .portal-culture-banner .portal-button { margin-left: 70px; }
}
@media (max-width: 991.98px) {
    .portal-header { flex-wrap: wrap; padding-block: 22px; }
    .portal-brand { flex-basis: 100%; }
    .portal-search { max-width: 100%; }
    .portal-masthead::after { width: 65%; }
    .portal-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portal-shortcuts strong { font-size: 14px; }
    .portal-shortcuts small { font-size: 12px; }
    .portal-home-grid { grid-template-columns: 1fr; }
    .portal-home-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .portal-about-board { grid-column: 1 / -1; }
    .portal-news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .portal-container { padding-inline: 20px; }
    .portal-topline { font-size: 9px; }
    .portal-topline a { font-size: 10px; }
    .portal-brand { gap: 14px; }
    .portal-brand-logo { width: 64px; height: 64px; }
    .portal .portal-brand small { font-size: 10px; letter-spacing: .055em; }
    .portal .portal-brand strong { font-size: 22px; line-height: 1.45; }
    .portal-brand-location { font-size: 11px; line-height: 1.6; margin-top: 3px; }
    .portal-header { gap: 18px; }
    .portal-nav .portal-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 8px; }
    .portal .portal-nav a { min-height: 48px; padding: 8px 4px; justify-content: center; text-align: center; font-size: 12px; line-height: 1.45; white-space: normal; gap: 4px; }
    .portal-nav a .bi { display: none; }
    .portal-welcome-strip { font-size: 12px; padding-block: 14px; margin-bottom: 16px; min-height: auto; }
    .portal-welcome-strip > a { display: none; }
    .portal-welcome-strip > span { align-items: flex-start; }
    .portal-shortcuts { gap: 10px; margin-bottom: 24px; }
    .portal-shortcuts a { padding: 14px 10px; gap: 10px; }
    .portal-shortcut-icon { width: 32px; height: 38px; font-size: 20px; }
    .portal-shortcuts strong { font-size: 12px; line-height: 1.5; }
    .portal-shortcuts small { display: none; }
    .portal-shortcuts a > .bi { display: none; }
    .portal .portal-section-heading :is(h1, h2) { font-size: 19px; }
    .portal .portal-section-heading a { font-size: 11px; min-width: auto; flex-shrink: 0; }
    .portal-section-heading .bi { font-size: 17px; }
    .portal-intro-panel { padding: 24px; }
    .portal-intro-label { font-size: 9px; }
    .portal .portal-intro-panel h2 { font-size: 23px; }
    .portal-intro-panel > p { font-size: 14px; }
    .portal-publication-note { font-size: 11px; }
    .portal-home-aside { grid-template-columns: 1fr; }
    .portal-news-list { grid-template-columns: 1fr; }
    .portal-lead-copy { padding: 20px; }
    .portal .portal-lead-copy h2 { font-size: 22px; }
    .portal-lead-placeholder { min-height: 155px; }
    .portal-lead-placeholder span { font-size: 10px; }
    .portal-document-list { padding-inline: 16px; }
    .portal-compact-empty { gap: 14px; padding-block: 22px; }
    .portal-compact-empty strong { font-size: 14px; }
    .portal-culture-banner { gap: 16px; padding: 20px; }
    .portal-culture-emblem { font-size: 38px; }
    .portal-culture-banner > div { flex: 1 1 160px; }
    .portal .portal-culture-banner h2 { font-size: 19px; }
    .portal-culture-banner .portal-button { margin-left: 0; }
    .portal-footer-identity { gap: 14px; }
    .portal-footer-identity img { width: 48px; height: 48px; }
    .portal .portal-footer strong { font-size: 17px; }
    .portal-footer .portal-container { flex-direction: column; gap: 18px; }
    .portal .portal-page-heading h1 { font-size: 25px; }
}
@media (max-width: 359.98px) {
    .portal-container { padding-inline: 16px; }
    .portal-topline a .bi { display: none; }
    .portal-topline { font-size: 8px; }
    .portal-brand-logo { width: 54px; height: 54px; }
    .portal .portal-brand strong { font-size: 19px; }
    .portal-intro-panel { padding: 20px; }
    .portal .portal-intro-panel h2 { font-size: 21px; }
    .portal-shortcuts strong { font-size: 11px; }
    .portal .portal-section-heading :is(h1, h2) { font-size: 17px; }
    .portal-section-heading { gap: 8px; }
}

.portal-team-tree, .portal-team-nodes { list-style: none; margin: 0; }
.portal-team-tree { padding: 24px 20px; }
.portal-team-tier { position: relative; padding-top: 24px; }
.portal-team-tier:first-child { padding-top: 0; }
.portal-team-tier + .portal-team-tier::before { content: ""; position: absolute; left: 50%; top: 0; height: 24px; border-left: 2px solid #bdd0e4; }
.portal-team-nodes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; position: relative; }
.portal-team-node { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; width: 260px; max-width: 100%; min-width: 0; border: 1px solid #dce6f0; border-radius: 10px; background: white; box-shadow: 0 2px 6px rgb(20 60 100 / 4%); }
.portal-team-node .portal-person-avatar { width: 40px; height: 40px; flex-basis: 40px; }
.portal-team-node .portal-person-avatar > span { font-size: 23px; }
.portal-team-node .portal-person-info strong { font-size: 15px; }
.portal-team-node .portal-person-info > span { font-size: 13px; }
.portal-team-tier:first-child .portal-team-node { background: #f0f6fd; border-color: #c5d9ee; }
.portal-team-tier[data-team-level="2"] .portal-team-nodes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 0 0 18px; border-left: 2px solid #bdd0e4; }
.portal-team-tier[data-team-level="2"]::after { content: ""; position: absolute; top: 24px; left: 0; right: 50%; border-top: 2px solid #bdd0e4; }
.portal-team-tier[data-team-level="2"] .portal-team-node { position: relative; width: auto; padding: 8px 12px; gap: 10px; }
.portal-team-tier[data-team-level="2"] .portal-team-node::before { content: ""; position: absolute; left: -20px; top: 50%; width: 18px; border-top: 2px solid #bdd0e4; }
.portal-structure-other .portal-structure-associations { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 767.98px) { .portal-structure-other .portal-structure-associations { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
    .portal-team-tree { padding: 20px 16px; }
    .portal-team-tier[data-team-level="2"] .portal-team-nodes { grid-template-columns: 1fr; }
    .portal-team-tier[data-team-level="2"] .portal-team-node::before { content: ""; position: absolute; left: -20px; top: 50%; width: 18px; border-top: 2px solid #bdd0e4; }
}
