/* style.css for Yehuda Carmel Memorial Site - legacy panel bar recreation */

html,
body {
    margin: 0;
    padding: 0;
    border: none;
    height: 100%;
    background: transparent;
}

body {
    background: url('../shared/template/images/HRepeat.jpg') repeat-x top;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 14px;
    color: #1b1b1b;
}

.style1 {
    font-weight: bold;
}

#container {
    width: 100%;
    min-height: 100vh;
}

#layout-table {
    width: 100%;
    min-height: 100vh;
    border-collapse: collapse;
    table-layout: fixed;
}

#layout-table td {
    padding: 0;
    margin: 0;
    border: none;
    vertical-align: top;
}

#left-column {
    width: 220px;
    background: url('../shared/template/images/VRepeat.jpg') repeat-y left top;
    position: relative;
    z-index: 2;
}

#left-column img {
    display: block;
    border: none;
}

#left-column > a img {
    width: 220px;
    height: 290px;
}

.top-bar {
    width: 100%;
    border-collapse: collapse;
    background: url('../shared/template/images/HRepeat.jpg') repeat-x top;
}

.top-bar td {
    border: none;
    padding: 0;
}

#audio-player {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

#audio-player .site-audio-player {
    width: 100%;
}

.audio-play-button {
    display: flex;
    width: 100%;
    margin-bottom: 8px;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font: bold 15px/1 "Trebuchet MS", Arial, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #f7c96a 0%, #f29d31 55%, #d07710 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.audio-play-button[hidden] {
    display: none !important;
}

.audio-play-button:focus-visible {
    outline: 3px solid #25358e;
    outline-offset: 2px;
}

#audio-player.audio-awaiting-interaction .audio-play-button {
    display: flex;
}

#audio-player.audio-awaiting-interaction .site-audio-player {
    opacity: 0;
    height: 0;
    pointer-events: none;
}

.audio-noscript-banner {
    margin: 8px 0;
    padding: 10px 14px;
    border-radius: 999px;
    font: bold 13px/1 "Trebuchet MS", Arial, sans-serif;
    color: #5f410a;
    background: linear-gradient(135deg, #fdefc8 0%, #f8d994 60%, #f0b865 100%);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);
}

.audio-noscript-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25358e;
    color: #fff;
    font: bold 13px/1 "Trebuchet MS", Arial, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#main-content {
    min-height: 400px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#left-menu {
    width: 160px;
    margin: 10px 0 0 15px;
    border: 1px solid #e5e5e5;
    background: #fff;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.menu-section {
    position: relative;
}

.menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.menu-toggle:not(:checked) ~ .menu-submenu {
    display: none;
}

.menu-toggle:checked ~ .menu-submenu {
    display: block;
}

.menu-toggle:checked + .menu-header {
    background: linear-gradient(to bottom, #fef5d2 0%, #fde498 50%, #fbd865 100%);
    color: #000;
}

.menu-toggle:checked + .menu-header::before {
    border-left-color: #bd8600;
    transform: translateY(-50%) rotate(90deg);
}

.menu-section {
    margin: 0;
    padding: 0;
}

.menu-header,
.menu-header.single-link {
    position: relative;
    display: block;
    padding: 3px 8px 3px 46px;
    font: normal 11px/18px Arial, Verdana, sans-serif;
    color: #111;
    background: linear-gradient(to bottom, #f7f7f7 0%, #eeeeee 55%, #d9d9d9 100%);
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #bbbbbb;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.menu-section:first-child .menu-header,
.menu-section:first-child .menu-header.single-link {
    border-top: 0;
}

.menu-header img.menu-icon,
.menu-header.single-link img.menu-icon {
    position: absolute;
    left: 26px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
}

.menu-header::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    margin-top: -4px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #666;
    transition: border-left-color 0.2s;
}

.menu-header.single-link {
    cursor: pointer;
}

.menu-header.single-link::before {
    content: none;
}

.menu-header.active {
    background: linear-gradient(to bottom, #fef5d2 0%, #fde498 50%, #fbd865 100%);
    color: #000;
}

.menu-header.hovering,
.menu-header.single-link.hovering {
    background: linear-gradient(to bottom, #fef5d2 0%, #fde498 50%, #fbd865 100%);
    color: #000;
    text-decoration: none;
    outline: none;
}

.menu-header.active::before,
.menu-header.hovering::before {
    border-left-color: #bd8600;
}

/* single-link headers share padding so text clears icon */
.menu-header.single-link {
    padding-left: 46px;
}

/* single-link shares same alignment */
.menu-header.single-link img.menu-icon {
    left: 26px;
}

.menu-submenu {
    border-top: 1px solid #f5f5f5;
    background: #fff;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list li {
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list a {
    display: block;
    padding: 2px 8px 2px 30px;
    font: normal 11px/14px Arial, Verdana, sans-serif;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-list a.hebrew {
    direction: rtl;
    text-align: right;
    padding-right: 30px;
    padding-left: 8px;
}

.menu-list a:hover {
    color: #000;
    text-decoration: underline;
    background: none;
}

.menu-list a.active-link {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(to right, #fff9de 0%, #fff3c4 100%);
    border-left: 3px solid #bd8600;
    padding-left: 27px;
}

.menu-list a.active-link:hover {
    text-decoration: none;
    background: linear-gradient(to right, #fff9de 0%, #fff3c4 100%);
}

.menu-list a.hebrew.active-link {
    border-left: 0;
    border-right: 3px solid #bd8600;
    padding-left: 8px;
    padding-right: 27px;
}

/* top utility links */
#main-menu {
    background: transparent;
    margin-top: 5px;
}

.top-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
    padding: 6px 18px;
    font: bold 13px/1 "Trebuchet MS", Arial, sans-serif;
    color: #fff;
}

.top-links a {
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.top-links a.active-top-link {
    text-decoration: underline;
}

.top-links a:hover,
.top-links a:focus-visible {
    text-decoration: underline;
    outline: none;
}

/* song pages */
.song-page {
    font-family: "Trebuchet MS", Arial, sans-serif;
    padding: 24px 20px 48px;
    color: #111;
    line-height: 1.5;
    font-size: 14px;
}


.song-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #888888;
}

.song-credit {
    margin: 0;
    font-size: 13px;
    font-style: italic;
    color: #333333;
}

.song-title h1 {
    margin: 0;
    font-size: 28px;
    font-variant: small-caps;
    color: #25358e;
}


.song-page table {
    width: 100%;
}

.song-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.song-lyrics p {
    margin-top: 0;
    line-height: 1.65;
}

.song-art {
    margin: 0;
    text-align: center;
}

.song-art img {
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid #d6c79f;
    background: #fff;
    padding: 4px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .song-layout {
        grid-template-columns: 1fr;
    }
}

/* story pages */
.story-page {
    font-family: "Georgia", "Times New Roman", "FrankRuehl", serif;
    padding: 32px 28px 48px;
    color: #1b1b1b;
    line-height: 1.75;
    font-size: 16px;
    max-width: 880px;
    margin: 0 auto;
}

.story-hero {
    border-bottom: 1px solid #d6c79f;
    padding-bottom: 18px;
    margin: 0 0 28px;
}

.story-hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
    letter-spacing: 0.6px;
    color: #17286b;
}

.story-byline {
    margin: 0;
    font-size: 0.95em;
    font-style: italic;
    color: #444;
}

.story-tagline {
    margin: 4px 0 0;
    font-size: 0.85em;
    color: #666;
}

.story-body {
    display: flex;
    flex-direction: column;
    gap: 1.4em;
}

.story-body p {
    margin: 0;
}

.story-figure {
    margin: 0 auto 1.5em;
    text-align: center;
}

.story-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid #d6c79f;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
    .story-page {
        padding: 24px 18px 40px;
        font-size: 15px;
    }

    .story-hero h1 {
        font-size: 28px;
        letter-spacing: 0.3px;
    }
}

/* home page column layout */
.page-content.home-page {
    font-family: "Trebuchet MS", Arial, sans-serif;
    padding: 24px 16px 32px;
    margin: 0;
    color: #1b1b1b;
    line-height: 1.45;
    font-size: 14px;
}

.home-hero {
    border-bottom: 4px solid #1d2d66;
    padding-bottom: 16px;
}

.home-hero h1 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: 0.5px;
    color: #0e2667;
}

.home-hero p {
    margin: 0;
    font-size: 15px;
}

.home-columns-grid {
    width: 100%;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.home-column {
    padding: 18px 20px;
    box-sizing: border-box;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.short-stories-section {
    padding-top: 0;
}

.story-card {
    border-radius: 12px;
    background: #fff9dc;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: inset 0 0 0 1px rgba(209, 184, 102, 0.35);
}

.story-card:last-of-type {
    margin-bottom: 18px;
}

.story-title {
    margin: 0 0 6px;
    font-weight: bold;
    color: #0a2e73;
}

.story-thumb {
    margin: 0 0 10px;
    text-align: center;
}

.story-thumb img {
    display: block;
    border-radius: 8px;
    border: 2px solid #d2c06a;
    margin: 0 auto;
}

.story-abstract {
    margin: 0;
    line-height: 1.5;
}

.story-links {
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 6px;
    white-space: nowrap;
}

.story-link-divider {
    margin: 0 6px;
}

.story-more {
    font-weight: bold;
}

.story-title {
    margin: 0 0 4px;
    font-weight: bold;
    color: #0a2e73;
}

.stories-more {
    margin-top: 12px;
    font-weight: bold;
}

.column-vision {
    background: #fffdf0;
}

.column-broshim {
    background: #fffbed;
}

.column-quotes {
    background: #ddeeff;
}

.column-heading-vision {
    color: #000066;
    margin-top: 0;
    padding-top: 12px;
    display: block;
}

.column-section-spacer {
    height: 12px;
}

.column-section {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home-column .column-section:first-child {
    padding-top: 0;
}

.column-section.column-section-intro {
    border-bottom: none;
    padding-bottom: 0;
}

.column-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.column-heading {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0e2667;
    letter-spacing: 0.4px;
}

.column-quotes-section {
    background: rgba(255, 255, 255, 0.6);
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(40, 69, 140, 0.1);
}

.column-subheading {
    margin: 0 0 10px;
    font-size: 16px;
    color: #1d2d66;
    letter-spacing: 0.2px;
}

.column-section p {
    margin: 0 0 0.9rem;
}

.broshim-highlight {
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(205, 168, 95, 0.35);
}

.quote-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.quote-card {
    padding: 6px 0 10px;
    border-bottom: 1px solid rgba(12, 44, 116, 0.15);
}

.quote-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quote-stack::after {
    content: '';
    display: block;
    height: 12px;
}

.quote-text {
    margin: 0;
    color: #12325e;
    line-height: 1.5;
}

.quote-emphasis {
    font-weight: bold;
    color: #0c2c74;
    font-style: normal;
}
.broshim-figure {
    margin: 18px 0;
    text-align: center;
}

.broshim-figure img {
    border: 1px solid #d2c06a;
    border-radius: 6px;
    padding: 4px;
    background: #fff;
}

.broshim-figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.broshim-artist img {
    margin-left: auto;
    margin-right: auto;
}

.broshim-artist figcaption {
    font-weight: bold;
    color: #0a2e73;
}

.broshim-trivia {
    font-size: 13px;
}

.trivia-question {
    font-weight: bold;
}

.trivia-answer {
    margin-bottom: 0;
}

.home-column p,
.home-column table,
.home-column td,
.home-column tr {
    font-family: inherit;
}

.home-column p {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.home-column p:last-child {
    margin-bottom: 0;
}

/* general page spacing */
#main-content > .page-content {
    display: block;
    margin-top: 18px;
}

/* site footer */
.site-footer {
    margin-top: 32px;
    padding: 18px 12px 26px;
    border-top: 3px solid #1d2d66;
    /* background: linear-gradient(to bottom, #fffbe1 0%, #fff2bb 100%);*/
    text-align: center;
    font: normal 13px/1.6 "Trebuchet MS", Arial, sans-serif;
    color: #1a1a1a;
}

/* about page */
.page-content.about-page {
    font-family: "Trebuchet MS", Arial, sans-serif;
    direction: rtl;
    color: #111;
    background: #fff9d9;
    padding: 24px 18px 32px;
}

.about-section {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.55);
    padding: 12px 14px;
    border: 1px solid #f0dc8e;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.about-section h1 {
    font-size: 20px;
    margin: 0 0 12px;
    color: #002b72;
}

.about-section p {
    margin: 0 0 12px;
    line-height: 1.6;
}

.broshim-layout {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-block {
    max-width: 240px;
    text-align: center;
}

.gallery-block img {
    border: 1px solid #d2c06a;
    border-radius: 10px;
    background: #fff;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.gallery-copy {
    flex: 1;
    min-width: 240px;
}

.external-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.external-links-list li {
    line-height: 1.5;
}

.external-links-list a {
    color: #0a3a87;
}
.about-section {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.75);
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-section h1,
.about-section h2 {
    font-size: 22px;
    margin: 0 0 12px;
    color: #002b72;
}

.about-section p {
    margin: 0 0 12px;
    line-height: 1.7;
}

.about-links {
    gap: 10px;
}

.about-links li {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.external-links-index {
    font-weight: bold;
    display: inline-block;
    min-width: 1.5em;
    text-align: center;
}

/* contact page */
.page-content.contact-page {
    font-family: "Trebuchet MS", Arial, sans-serif;
    padding: 36px 12px;
    text-align: center;
    color: #1d1d1d;
}

.contact-panel {
    display: inline-block;
    min-width: 320px;
    background: #fff7c5;
    border: 1px solid #e7d384;
    border-radius: 14px;
    padding: 28px 36px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.contact-thanks {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 18px;
}

.contact-email {
    font-weight: bold;
    color: #153b8a;
    text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
    text-decoration: underline;
}

/* song page */
.page-content.song-page {
    font-family: "Trebuchet MS", Arial, sans-serif;
    padding: 24px 20px;
}

.song-header {
    margin-bottom: 18px;
    font-style: italic;
    color: #222;
}
.song-title {
    margin: 0 0 6px;
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    font-style: normal;
    color: #1b1b1b;
}
.song-divider {
    margin: 10px 0 0;
    border: 0;
    height: 3px;
    background: linear-gradient(90deg, #09285d 0%, #2c63b7 40%, transparent 100%);
}

.song-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: flex-start;
}


.song-artwork {
    justify-self: center;
}

.song-lyrics {
    font-size: 15px;
    line-height: 1.8;
}

.song-lyrics p {
    margin-top: 0;
    margin-bottom: 1.2em;
}

.song-artwork img {
    border: 4px double #bda85b;
    padding: 6px;
    background: #fff;
    display: block;
    margin: 0 auto 14px;
}

@media (max-width: 1024px) {
    .home-columns-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 720px) {
    .broshim-layout {
        flex-direction: column;
    }
    .song-body {
        grid-template-columns: 1fr;
    }
    .song-artwork {
        justify-self: flex-start;
    }
}

@media (max-width: 640px) {
    .home-columns-grid {
        grid-template-columns: 1fr;
    }
}
