.shared-detail {
    --detail-navy: #062637;
    --detail-gold: #ffb912;
    --detail-cream: #f7f3ec;
    --detail-line: #e3ddd3;
    color: var(--detail-navy);
    background: #fff;
}

.itum-live .shared-detail-hero {
    --page-hero-height: clamp(390px, 34vw, 500px);
    --page-hero-fade: linear-gradient(to right, transparent 27%, #0526373d 43%, #052637e8 68%, #052637 96%);
}
.itum-live .shared-detail-hero p { max-width: 42ch; }
.shared-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 17px; }
.shared-detail .shared-detail-actions .button, .shared-detail .shared-detail-contact .button {
    min-height: 44px;
    padding: 9px 20px;
    border: 0;
    border-radius: 26px;
    background: var(--detail-gold);
    color: var(--detail-navy);
    font-size: 17px;
    font-weight: 850;
}
.shared-detail .shared-detail-actions .button:hover, .shared-detail .shared-detail-contact .button:hover { background: #ffce55; }
.shared-detail-price { color: #fff; text-decoration: underline; text-underline-offset: 4px; font-weight: 750; }
.shared-detail-price:hover { color: #ffe08d; }
.shared-detail-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 470px;
    margin: 21px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #ffffff55;
    list-style: none;
}
.shared-detail-features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-inline: 6px;
    text-align: center;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 800;
    line-height: 1.35;
}
.shared-detail-features li + li { border-inline-start: 1px solid #ffffff55; }
.shared-detail-features .icon { display: block; width: 29px; height: 29px; color: #ffc548; }

.shared-detail-wrap { width: calc(100% - 64px); max-width: 1280px; margin-inline: auto; }
.shared-detail-answer {
    margin: 32px 0 30px;
    padding: clamp(16px, 2.1vw, 27px);
    border-inline-start: 5px solid var(--detail-gold);
    border-radius: 12px;
    background: var(--detail-cream);
}
.shared-detail :is(.shared-detail-answer, .shared-detail-contact) h2 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); font-weight: 850; line-height: 1.2; }
.shared-detail-answer p { margin: 0; font-size: 18px; line-height: 1.55; }
.shared-detail-layout {
    display: grid;
    grid-template-areas: "reading sidebar";
    grid-template-columns: minmax(0, 1fr) minmax(210px, 255px);
    align-items: start;
    gap: clamp(25px, 3.5vw, 50px);
    margin-bottom: 36px;
}
.shared-detail-sidebar { grid-area: sidebar; position: sticky; top: 94px; }
.shared-detail-sidebar nav { padding: 15px 13px 8px; border: 1px solid var(--detail-line); border-radius: 10px; background: #fff; }
.shared-detail-sidebar h2 { padding: 0 7px; margin: 0 0 8px; font-size: 22px; line-height: 1.25; font-weight: 850; }
.shared-detail-sidebar h2::after { display: block; width: 44px; height: 4px; margin-top: 8px; background: var(--detail-gold); content: ""; }
.shared-detail-sidebar ul { margin: 0; padding: 0; max-height: calc(100vh - 195px); overflow-y: auto; list-style: none; }
.shared-detail-sidebar li + li { border-top: 1px solid var(--detail-line); }
.shared-detail-sidebar a { display: block; padding: 8px 7px; font-size: 15px; line-height: 1.3; font-weight: 650; }
.shared-detail-sidebar a:hover, .shared-detail-sidebar a:focus-visible { border-radius: 5px; background: var(--detail-cream); color: #795100; }

.shared-detail-reading { grid-area: reading; min-width: 0; line-height: 1.7; }
.shared-detail-reading > :first-child { margin-top: 0; }
.shared-detail-reading [id], .shared-detail-contact { scroll-margin-top: 101px; }
.shared-detail-reading :is(h2, h3, h4) { color: var(--detail-navy); font-weight: 850; }
.shared-detail-reading h2 { font-size: clamp(25px, 2.4vw, 35px); line-height: 1.22; margin: 32px 0 13px; }
.shared-detail-reading h3 { font-size: clamp(22px, 2vw, 29px); line-height: 1.25; margin: 27px 0 11px; }
.shared-detail-reading ul, .shared-detail-reading ol { padding-inline-start: 24px; }
.shared-detail-reading figure { max-width: 100%; margin: 18px 0; }
.shared-detail-reading img { display: block; max-width: 100%; height: auto; margin-block: 18px; }
.shared-detail-reading table { border: 1px solid var(--detail-line); margin: 18px 0 23px; }
.shared-detail-reading tr:nth-child(even) td { background: var(--detail-cream); }
.shared-detail-reading :is(th, td) { padding: 9px 10px; border-color: var(--detail-line); vertical-align: top; }
.shared-detail-reading :is(th, td) p { margin: 0; }
.shared-detail-reading :is(th, td) p + p { margin-top: 5px; }
.shared-detail-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px 22px;
    margin-bottom: 32px;
    padding: 20px clamp(16px, 3vw, 35px);
    border-radius: 12px;
    background: var(--detail-cream);
}
.shared-detail .shared-detail-contact h2 { margin: 0; }

@media (max-width: 900px) {
    .itum-live .shared-detail-hero { --page-hero-fade: linear-gradient(to bottom, #052637, #05263738 18%, transparent 43%); }
    .itum-live .shared-detail-hero .shared-detail-photo-faded img {
        position: absolute;
        inset: 0 auto 0 0;
        width: 145%;
        max-width: none;
        object-position: left center;
    }
}
@media (max-width: 760px) {
    .shared-detail-wrap { width: calc(100% - 40px); }
    .shared-detail-answer { margin: 25px 0 20px; }
    .shared-detail-answer p, .shared-detail-reading { font-size: 17px; }
    .shared-detail-layout { grid-template-areas: "sidebar" "reading"; grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .shared-detail-sidebar { position: static; }
    .shared-detail-sidebar ul { max-height: none; overflow-y: visible; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shared-detail-sidebar li + li { border-top: 0; }
    .shared-detail-sidebar li { border-bottom: 1px solid var(--detail-line); }
    .shared-detail-reading :is(th, td) { padding: 6px; }
}
