/* Information page header */
.ms-info-page {
    background: var(--limats-bg);
}

.ms-info-intro {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3rem;
    background:
        radial-gradient(ellipse 70% 80% at 0% 0%, rgba(239, 163, 73, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 100% 100%, rgba(214, 125, 19, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--limats-primary-light) 0%, var(--limats-secondary) 100%);
    border-bottom: 1px solid rgba(214, 125, 19, 0.15);
}

.ms-info-intro__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(214, 125, 19, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 125, 19, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 90%);
}

.ms-info-header {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem;
    align-items: center;
}

.ms-info-header__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--limats-primary-dark);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(214, 125, 19, 0.28);
}

.ms-info-header__pill i {
    font-size: 0.8rem;
    color: var(--limats-primary);
}

.ms-info-header__title {
    font-family: var(--limats-font-title);
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1rem;
    color: var(--limats-text);
}

.ms-info-header__lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--limats-text-secondary);
    max-width: 540px;
    margin-bottom: 0.85rem;
}

.ms-info-header__intro {
    max-width: 540px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--limats-text-muted);
    margin-bottom: 1.35rem;
}

.ms-info-header__highlights {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.65rem;
    max-width: 540px;
}

.ms-info-header__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-radius: calc(var(--limats-radius) + 2px);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(214, 125, 19, 0.18);
    box-shadow: 0 6px 18px rgba(214, 125, 19, 0.07);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--limats-text-secondary);
}

.ms-info-header__highlight-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    background: linear-gradient(145deg, rgba(239, 163, 73, 0.22) 0%, rgba(239, 163, 73, 0.08) 100%);
    color: var(--limats-primary-dark);
    font-size: 0.82rem;
}

.ms-info-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ms-info-header__actions .btn-limats-primary {
    box-shadow: 0 8px 24px rgba(214, 125, 19, 0.25);
}

.ms-info-header__visual {
    position: relative;
}

.ms-info-header__media {
    position: relative;
    border-radius: calc(var(--limats-radius) + 6px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow:
        0 24px 56px rgba(214, 125, 19, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(239, 163, 73, 0.3);
}

.ms-info-header__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ms-info-header__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(239, 163, 73, 0.15) 0%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.ms-info-header__media-caption {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: auto;
    bottom: auto;
    z-index: 3;
    max-width: min(calc(100% - 2rem), 22rem);
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    background: rgba(17, 17, 17, 0.78);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.ms-info-header__media-caption p {
    margin: 0;
    font-family: var(--limats-font-title);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.ms-info-header__media-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--limats-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(214, 125, 19, 0.35);
}

.ms-info-header__float-card {
    position: absolute;
    left: 1.25rem;
    bottom: -1.25rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(214, 125, 19, 0.22);
    border-radius: calc(var(--limats-radius) + 2px);
    box-shadow: 0 16px 40px rgba(214, 125, 19, 0.15);
    min-width: 240px;
}

.ms-info-header__float-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    background: var(--limats-primary-light);
    color: var(--limats-primary-dark);
    font-size: 1rem;
}

.ms-info-header__float-card strong {
    display: block;
    font-family: var(--limats-font-title);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--limats-text);
    margin-bottom: 0.15rem;
}

.ms-info-header__float-subtitle {
    display: block;
    font-size: 0.78rem;
    color: var(--limats-text-secondary);
}

@media (max-width: 991px) {
    .ms-info-intro {
        padding: 3rem 0 2.5rem;
    }

    .ms-info-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ms-info-header__visual {
        max-width: 560px;
    }

    .ms-info-header__float-card {
        left: 1rem;
        bottom: -1rem;
    }

    .ms-info-header__media-caption {
        top: 0.85rem;
        left: 0.85rem;
        max-width: min(calc(100% - 1.7rem), 100%);
    }
}

/* Information hub page */
.ms-info-hub {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 3.5rem;
    background:
        radial-gradient(ellipse 70% 55% at 0% 0%, rgba(239, 163, 73, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 60% 45% at 100% 100%, rgba(245, 242, 221, 0.9) 0%, transparent 55%),
        linear-gradient(180deg, #fff 0%, var(--limats-primary-light) 100%);
}

.ms-info-hub__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(239, 163, 73, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(214, 125, 19, 0.08) 0%, transparent 45%);
}

.ms-info-hub__layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: start;
}

.ms-info-hub__sidebar {
    padding: 1.25rem;
    border-radius: calc(var(--limats-radius) + 6px);
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 245, 233, 0.88) 100%
    );
    border: 1px solid rgba(214, 125, 19, 0.18);
    box-shadow: 0 14px 36px rgba(214, 125, 19, 0.08);
}

.ms-info-hub__search-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.85rem;
    border-radius: var(--limats-radius-pill);
    background: #fff;
    border: 1px solid rgba(214, 125, 19, 0.24);
}

.ms-info-hub__search-wrap:focus-within {
    border-color: rgba(214, 125, 19, 0.45);
    box-shadow: 0 0 0 3px rgba(239, 163, 73, 0.14);
}

.ms-info-hub__search-icon {
    color: var(--limats-primary-dark);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.ms-info-hub__search {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--limats-text);
    font-size: 0.9rem;
    outline: none;
}

.ms-info-hub__search::placeholder {
    color: var(--limats-text-muted);
}

.ms-info-hub__topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 420px;
    overflow-y: auto;
}

.ms-info-hub__topic-item.is-hidden {
    display: none;
}

.ms-info-hub__topic {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-radius: var(--limats-radius);
    border: 1px solid transparent;
    background: transparent;
    color: var(--limats-text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ms-info-hub__topic:hover {
    color: var(--limats-primary-dark);
    background: rgba(239, 163, 73, 0.1);
    border-color: rgba(214, 125, 19, 0.18);
}

.ms-info-hub__topic.is-active {
    color: var(--limats-primary-dark);
    background: rgba(239, 163, 73, 0.16);
    border-color: rgba(214, 125, 19, 0.32);
}

.ms-info-hub__empty {
    margin: 0.75rem 0 0;
    font-size: 0.86rem;
    color: var(--limats-text-muted);
}

.ms-info-hub__panel {
    display: none;
}

.ms-info-hub__panel.is-active {
    display: block;
    width: 100%;
}

.ms-info-hub__content-lead {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--limats-text-secondary);
}

.ms-info-hub__content-card {
    padding: 1.75rem 1.85rem;
    border-radius: calc(var(--limats-radius) + 8px);
    background: #fff;
    border: 1px solid rgba(214, 125, 19, 0.16);
    box-shadow:
        0 18px 42px rgba(214, 125, 19, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.ms-info-hub__content-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 3px solid rgba(239, 163, 73, 0.35);
}

.ms-info-hub__content-title {
    font-family: var(--limats-font-title);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--limats-text);
    margin: 0;
    flex: 1;
    min-width: 0;
}

.ms-info-hub__download-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.ms-info-hub__download {
    flex-shrink: 0;
    white-space: nowrap;
}

.ms-info-hub__pdf-root {
    font-family: var(--limats-font-body, 'Source Sans 3', sans-serif);
    color: #333;
    background: #fff;
}

.ms-info-hub__pdf-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #efa349;
}

.ms-info-hub__pdf-header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.ms-info-hub__pdf-logo {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.ms-info-hub__pdf-header-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ms-info-hub__pdf-site-name {
    display: block;
    font-family: var(--limats-font-title, 'Lusitana', serif);
    font-size: 1.15rem;
    line-height: 1.2;
    color: #222;
}

.ms-info-hub__pdf-meta {
    display: block;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #666;
}

.ms-info-hub__pdf-header-aside {
    text-align: right;
    flex-shrink: 0;
}

.ms-info-hub__pdf-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d67d13;
    margin-bottom: 0.15rem;
}

.ms-info-hub__pdf-date {
    display: block;
    font-size: 0.78rem;
    color: #888;
}

.ms-info-hub__pdf-title {
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e8e8e8;
    font-family: var(--limats-font-title, 'Lusitana', serif);
    font-size: 1.35rem;
    line-height: 1.25;
    color: #222;
}

.ms-info-hub__pdf-note {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #f0d2a8;
    background: #fff8ef;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #555;
}

.ms-info-hub__pdf-root .ms-info-hub__appendices {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e0e0e0;
    page-break-inside: auto;
}

.ms-info-hub__pdf-root .ms-info-hub__appendix {
    page-break-inside: avoid;
    background: #fafafa;
    border-color: #e5e5e5;
}

.ms-info-hub__pdf-root .ms-info-hub__appendix-title,
.ms-info-hub__pdf-root .ms-info-hub__bialaws-body,
.ms-info-hub__pdf-root .ms-info-hub__paragraph,
.ms-info-hub__pdf-root .ms-info-hub__content-lead {
    color: #333;
}

.ms-info-hub__paragraph {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--limats-text-secondary);
}

.ms-info-hub__paragraph:last-of-type {
    margin-bottom: 0;
}

.ms-info-hub__highlights {
    list-style: none;
    margin: 1.15rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ms-info-hub__highlights li {
    position: relative;
    padding-left: 1.45rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--limats-text-secondary);
}

.ms-info-hub__highlights li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.72rem;
    color: var(--limats-primary-dark);
}

.ms-info-hub__bialaws-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--limats-text-secondary);
}

.ms-info-hub__bialaws-body > *:first-child {
    margin-top: 0;
}

.ms-info-hub__bialaws-body > *:last-child {
    margin-bottom: 0;
}

.ms-info-hub__bialaws-frame {
    width: 100%;
    min-height: 420px;
    border: 1px solid rgba(214, 125, 19, 0.18);
    border-radius: 10px;
    background: #fff;
}

.ms-info-hub__bialaws-file {
    padding: 1rem;
    border-radius: 10px;
    border: 1px dashed rgba(214, 125, 19, 0.28);
    background: rgba(255, 245, 233, 0.45);
}

.ms-info-hub__appendices {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px dashed rgba(214, 125, 19, 0.22);
}

.ms-info-hub__appendix {
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(214, 125, 19, 0.2);
    background: rgba(255, 245, 233, 0.35);
}

.ms-info-hub__appendix-title {
    margin: 0 0 0.45rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--limats-text);
}

.ms-info-hub__appendix-body {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--limats-text-secondary);
}

.ms-info-hub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(214, 125, 19, 0.14);
}

@media (max-width: 991px) {
    .ms-info-hub__layout {
        grid-template-columns: 1fr;
    }

    .ms-info-hub__topic-list {
        max-height: 220px;
    }
}

@media (max-width: 575px) {
    .ms-info-hub {
        padding: 2rem 0 2.75rem;
    }

    .ms-info-hub__sidebar,
    .ms-info-hub__content-card {
        padding: 1.15rem;
    }

    .ms-info-hub__content-head {
        flex-direction: column;
        align-items: stretch;
    }

    .ms-info-hub__download-group,
    .ms-info-hub__download {
        align-self: flex-start;
    }
}
