
/* Main website style - public Camp report only */
.public-masthead {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,3fr) minmax(0,1fr);
    align-items: center;
    padding: 2px 12px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}
.public-masthead img {
    display: block;
    width: min(100%, clamp(64px,13vw,160px));
    height: auto;
    object-fit: contain;
}
.public-masthead .crest {
    width: calc(clamp(64px,13vw,160px) / 2);
    animation: public-crest-flip 6s linear infinite;
}
.public-masthead .school-name {
    justify-self: center;
    width: min(100%,60vw);
}
.public-masthead .motto { justify-self: end; }
@keyframes public-crest-flip {
    to { transform: rotateY(360deg); }
}
.public-topbar {
    min-height: 44px;
    background: linear-gradient(#7890b0,#53657e);
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    padding-left: 8px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.public-topbar a,
.public-topbar .menu-label {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}
.public-topbar .home-icon { font-size: 24px; padding: 6px 12px; }
.public-topbar .menu { position: relative; }
.public-topbar .menu-label { cursor: pointer; }
.public-topbar .menu:hover > .menu-label,
.public-topbar > a:hover { background: #43536b; }
.public-topbar .dropdown {
    display: none;
    position: absolute;
    top: 44px;
    left: 0;
    min-width: 235px;
    background: #e8e6da;
    box-shadow: 0 2px 8px #777;
}
.public-topbar .menu:hover .dropdown,
.public-topbar .menu:focus-within .dropdown { display: block; }
.public-topbar .dropdown a {
    color: #111;
    padding: 9px 11px;
    border-bottom: 1px solid #ccc;
    white-space: normal;
}
.public-topbar .dropdown a:hover { background: #d8d5c7; }
.public-indicator {
    margin-left: auto;
    align-self: center;
    color: white;
    font-weight: 700;
    padding: 0 18px;
    white-space: nowrap;
}
@media(max-width:900px) {
    .public-topbar { overflow-x: auto; flex-wrap: nowrap; }
    .public-topbar .dropdown { position: fixed; top: 44px; }
}
