/* ---------- Announcement banner (replaces the legacy <marquee>) ---------- */

.announcement-banner {
    background: var(--camc-navy-blue);
    color: #ffffff;
    text-align: center;
}

.announcement-banner__track {
    margin: 0;
    padding: 10px 24px;
}

.announcement-banner a {
    color: #ffffff;
    text-decoration: underline;
}

.announcement-banner a:hover {
    color: var(--camc-yellow);
}

/* Copy of the banner shown inside the mobile menu instead — hidden until
   the @media override below swaps it in for the full-size banner. */
.announcement-banner--menu {
    display: none;
    width: 100%;
    border-radius: 8px;
    text-align: left;
}

.announcement-banner--menu .announcement-banner__track {
    padding: 14px 16px;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ---------- Decorative collage motifs (after Marcelle Cahn's gomettes,
   thick rounded vertical sticks and bold strokes) — scattered faintly
   across the page, behind the content. ---------- */

.geo-confetti {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.geo-confetti span {
    position: absolute;
    display: block;
}

.geo-confetti__stick {
    width: 16px;
    height: 92px;
    border-radius: 999px;
    background: var(--camc-red);
    opacity: 0.1;
}

.geo-confetti__dot {
    border-radius: 50%;
    opacity: 0.08;
}

.geo-confetti__line {
    top: 0;
    width: 4px;
    height: 100%;
    border-radius: 2px;
    background: var(--text-primary);
    opacity: 0.08;
}

.geo-confetti__stick--1 { top: 16%; left: 5%; }
.geo-confetti__stick--2 { bottom: 8%; right: 9%; height: 76px; }

/* Oblique sticks, black — rising from bottom to top, just slightly off
   the vertical (not fully tipped over). */
.geo-confetti__stick--3 { top: 46%; left: 42%; height: 110px; background: var(--text-primary); transform: rotate(-16deg); }
.geo-confetti__stick--4 { bottom: 18%; left: 22%; height: 88px; background: var(--text-primary); transform: rotate(12deg); }

.geo-confetti__dot--1 { top: 8%; right: 14%; width: 30px; height: 30px; background: var(--camc-red); }
.geo-confetti__dot--2 { bottom: 22%; left: 12%; width: 22px; height: 22px; background: var(--text-primary); }

.geo-confetti__line--1 { right: 16%; }
.geo-confetti__line--2 { right: calc(16% + 16px); }
.geo-confetti__line--3 { right: calc(16% + 32px); }
.geo-confetti__line--4 { right: calc(16% + 48px); }
.geo-confetti__line--5 { right: calc(16% + 64px); }

@media (max-width: 700px) {
    .geo-confetti {
        display: none;
    }
}

/* ---------- Header ---------- */

.site-header {
    border-bottom: 1px solid #ececec;
}

/* Frieze of flat black blocks of uneven width, delimiting the nav and the
   footer — a nod to the geometric collage compositions of Marcelle Cahn. */
.geo-band {
    display: flex;
    height: 5px;
}

.geo-band__block {
    flex: 1;
    background: var(--text-primary);
}

.geo-band__block:nth-child(1) { flex: 2; }
.geo-band__block:nth-child(3) { flex: 3; }
.geo-band__block:nth-child(5) { flex: 2; }

.site-header__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 24px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: auto;
}

.site-header__name {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.site-header__menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.menu-toggle {
    display: none;
}

.main-menu,
.language-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a,
.language-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.main-menu a:hover,
.language-menu a:hover {
    color: var(--camc-red);
}

/* Entries with children open as a dropdown rather than an inline list. */
.main-menu > li {
    position: relative;
}

.main-menu .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.main-menu .menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
}

.main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    /* No top margin: a gap here would break :hover continuity between the
       parent link and the dropdown, closing it before the pointer reaches it. */
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: var(--background-light);
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    z-index: 20;
}

.main-menu > li:hover > .sub-menu,
.main-menu > li:focus-within > .sub-menu {
    display: block;
}

.main-menu .sub-menu a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

.main-menu .sub-menu a:hover {
    background: rgba(0, 174, 239, 0.1);
    color: var(--camc-navy-blue);
}

.lang-item.current-lang a {
    box-shadow: inset 0 -2px 0 var(--camc-cyan-blue);
}

.language-menu {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---------- Home: showcase area ---------- */

.home-showcase {
    background: rgba(239, 168, 0, 0.1);
}

.home-showcase__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 64px 24px;
    flex-wrap: wrap;
}

.home-showcase__portrait {
    flex: 0 0 280px;
    max-width: 280px;
}

.home-showcase__portrait img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(27, 58, 140, 0.18);
}

.home-showcase__text {
    flex: 1 1 420px;
}

.home-showcase__text h1 {
    font-size: 2.4rem;
    text-transform: lowercase;
    margin-bottom: 0.3em;
}

.home-showcase__tagline {
    font-size: 1.15rem;
    color: var(--camc-navy-blue);
    font-weight: 500;
}

.home-showcase__intro {
    color: var(--text-light);
}

/* ---------- Home: section cards ---------- */

.home-sections {
    padding-top: 20px;
}

.home-sections__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.section-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 24px;
    border-radius: 10px;
    background: var(--section-background);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.section-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

/* ---------- Category archive ---------- */

.category-archive__header h1 {
    font-size: 2rem;
}

.category-archive__description {
    max-width: 760px;
    margin-top: 12px;
    padding-bottom: 36px;
    border-bottom: 2px solid var(--text-primary);
    color: var(--text-light);
}

.category-archive__description p:last-child {
    margin-bottom: 0;
}

.category-archive__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.article-summary {
    display: flex;
    align-items: stretch;
    gap: 28px;
    padding: 18px;
    border-radius: 16px;
    background: var(--section-background);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-summary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.article-summary__thumbnail {
    flex: 0 0 260px;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.article-summary__thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.25s ease;
}

.article-summary:hover .article-summary__thumbnail img {
    transform: scale(1.05);
}

.article-summary__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 8px;
}

.article-summary__body h2 {
    margin-bottom: 0.4em;
    font-size: 1.4rem;
}

.article-summary__body h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-summary__body h2 a:hover {
    color: var(--camc-red);
}

.article-summary__body p {
    color: var(--text-light);
}

.article-summary__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .article-summary {
        flex-direction: column;
        padding: 14px;
    }

    .article-summary__thumbnail {
        flex: 0 0 auto;
        width: 100%;
    }

    .article-summary__thumbnail img {
        aspect-ratio: 16 / 9;
    }
}

/* ---------- Page content ---------- */

.section {
    padding: 48px 0;
}

.page-content__header h1 {
    font-size: 2rem;
}

.page-content__image {
    margin: 24px 0;
}

.page-content__text p {
    margin: 0 0 1.2em;
}

.page-content__text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.page-content__text table {
    width: 100%;
    max-width: none;
    border-collapse: collapse;
    margin: 0 0 1.5em;
}

.page-content__text table:not(.page-content__text table table) {
    table-layout: fixed;
}

.page-content__text td,
.page-content__text th {
    padding: 10px 16px 10px 0;
    vertical-align: top;
    text-align: left;
}

.page-content__text tr {
    border-bottom: 1px solid #ececec;
}

.page-content__text table table tr {
    border-bottom: none;
}

.page-content__text blockquote {
    margin: 0 0 1.2em;
    padding: 4px 20px;
    border-left: 3px solid var(--camc-cyan-blue);
    color: var(--text-light);
}

@media (max-width: 700px) {
    .page-content__text table,
    .page-content__text tbody,
    .page-content__text tr,
    .page-content__text td {
        display: block;
        width: 100%;
    }

    .page-content__text tr {
        margin-bottom: 1.2em;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--section-background);
    margin-top: 48px;
}

.site-footer__inner {
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--text-light);
}

.site-footer a:hover {
    color: var(--camc-red);
}

/* ---------- Responsive ---------- */

@media (max-width: 700px) {
    .main-content {
        padding: 0 10px;
    }

    .announcement-banner:not(.announcement-banner--menu) {
        display: none;
    }

    .announcement-banner--menu {
        display: block;
    }

    .site-header__inner {
        position: relative;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 36px;
        margin-left: auto;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle__bar {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-primary);
        border-radius: 1px;
        transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-header__menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
        padding: 16px 0 4px;
    }

    .site-header__menu.is-open {
        display: flex;
        margin-top: 12px;
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
    }

    .site-header__navigation,
    .site-header__languages {
        flex-basis: 100%;
        width: 100%;
    }

    /* Regular entries stack one per line; language-switcher flags (which
       Polylang can inject straight into .main-menu) are grouped together
       on their own row instead of stacking on top of one another. */
    .main-menu,
    .language-menu {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 14px;
    }

    .main-menu > li,
    .language-menu > li {
        flex: 1 0 100%;
    }

    .main-menu > li.lang-item,
    .language-menu > li.lang-item {
        flex: 0 0 auto;
    }

    .lang-item a {
        display: flex;
        align-items: center;
    }

    .main-menu .sub-menu {
        display: block;
        position: static;
        min-width: 0;
        margin: 6px 0 0 18px;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .main-menu .sub-menu a {
        padding: 6px 0;
        white-space: normal;
    }

    .home-showcase__inner {
        padding: 40px 24px 0px 24px;
    }

    .home-showcase__portrait {
        flex: 0 0 auto;
        max-width: 200px;
    }

    .home-showcase__text h1 {
        font-size: 1.9rem;
    }
}

.wp-block-quote {
    margin:0px
}