/* FAMMI questionnaire — Phase 1 RWD (desktop dual-column, mobile wizard) */

.fammi-layout {
    box-sizing: border-box;
    max-width: 100%;
}

.fammi-layout *,
.fammi-layout *::before,
.fammi-layout *::after {
    box-sizing: border-box;
}

/* --- Mobile top bar (progress + chapter toggle) --- */
.fammi-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
}

.fammi-progress-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d6a4f;
    margin-bottom: 0.35rem;
    word-break: break-word;
}

.fammi-progress-track {
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.fammi-progress-fill {
    height: 100%;
    background: #40916c;
    border-radius: 3px;
    transition: width 0.2s ease;
}

.fammi-nav-toggle {
    width: 100%;
}

/* --- Column layout --- */
.fammi-columns {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
}

.fammi-nav {
    background-color: #e9ecef;
    padding: 10px;
    word-wrap: break-word;
}

.fammi-nav h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.fammi-nav h3 {
    font-size: 0.95rem;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.fammi-nav .topic {
    text-indent: 12px;
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.fammi-nav .topic a {
    text-decoration: none;
    color: #1b4332;
}

.fammi-nav .topic a.fammi-nav-active {
    font-weight: 700;
    color: #d00000;
}

.fammi-content {
    background-color: #f8f9fa;
    padding: 10px 12px;
    flex: 1;
    min-width: 0;
}

.fammi-topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.fammi-topic-actions .fammi-save-hint {
    flex: 1 1 100%;
    font-size: 0.85rem;
    margin: 0;
}

@media (min-width: 576px) {
    .fammi-topic-actions .fammi-save-hint {
        flex: 1 1 auto;
        text-align: right;
    }
}

/* --- Weighting removed in Phase 2 (elastic slider) --- */

.fammi-topic-panel h2 {
    font-size: 1.15rem;
    clear: both;
}

.fammi-topic-panel h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

/* --- Per-option dual column scoring --- */
.fammi-scoring {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* --- Scoring: left choices (radio group) + right vertical sliders --- */
.fammi-scoring-split {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fammi-scoring-header,
.fammi-scoring-row {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 0.35rem 0.25rem;
    align-items: stretch;
}

.fammi-scoring-header {
    margin-bottom: 0.15rem;
}

.fammi-column-title--choice {
    min-width: 0;
}

.fammi-column-title--score {
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.25;
    padding-bottom: 0.25rem;
    border-bottom-width: 1px;
}

.fammi-column-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #333;
}

.fammi-column-hint {
    font-weight: 600;
    font-size: 0.78rem;
    color: #40916c;
}

.fammi-column-title--score .fammi-column-hint {
    display: block;
    font-size: 0.62rem;
    line-height: 1.2;
}

.fammi-choice-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.15rem 0.4rem 0;
    border-bottom: 1px solid #e9ecef;
    min-width: 0;
}

.fammi-choice-item label {
    font-weight: normal;
    margin: 0;
    word-break: break-word;
    line-height: 1.35;
    flex: 1;
}

.fammi-score-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 0.4rem 0.1rem 0.4rem 0;
    border-bottom: 1px solid #e9ecef;
    min-width: 0;
    position: relative;
}

/* Compact score chip (mobile default) */
.fammi-score-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.1rem;
    width: 100%;
    min-height: 2.25rem;
    padding: 0.3rem 0.2rem;
    border: 1px dashed #adb5bd;
    border-radius: 8px;
    background: #fff;
    color: #495057;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.fammi-score-chip:active {
    transform: scale(0.97);
}

.fammi-score-chip--set {
    border-style: solid;
    border-color: #40916c;
    background: #f8fff9;
}

.fammi-score-chip .fammi-escore-zone {
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.1;
    color: #40916c;
}

.fammi-score-chip .fammi-escore-value {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.1;
}

.fammi-score-chip[data-zone-tier="warm-mid"] .fammi-escore-zone,
.fammi-score-chip[data-zone-tier="warm-high"] .fammi-escore-zone {
    color: #e85d04;
}

.fammi-score-chip[data-zone-tier="cool-mid"] .fammi-escore-zone,
.fammi-score-chip[data-zone-tier="cool-high"] .fammi-escore-zone {
    color: #1971c2;
}

.fammi-score-chip--overshoot {
    border-color: #e85d04;
    background: #fff8f0;
}

.fammi-score-overlay {
    display: none;
}

.fammi-score-controls {
    display: none;
}

.fammi-score-item.is-editing .fammi-score-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1050;
}

.fammi-score-overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.fammi-score-item.is-editing .fammi-score-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    position: fixed;
    z-index: 1051;
    width: min(18rem, 90vw);
    min-height: 75vh;
    max-height: 92vh;
    padding: 1.75rem 0.5rem 0.85rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    transform: none;
    animation: fammi-pop-in 0.18s ease-out;
}

@keyframes fammi-pop-in {
    from {
        transform: scale(0.82);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fammi-modal-head {
    padding: 0 0.4rem 0.35rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.fammi-modal-scope {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1b4332;
    margin: 0 0 0.4rem;
    line-height: 1.4;
    padding-right: 1.5rem;
}

.fammi-modal-context {
    font-size: 0.76rem;
    color: #495057;
    margin: 0 0 0.35rem;
    line-height: 1.4;
    padding-right: 1.5rem;
}

.fammi-modal-choice {
    font-weight: 600;
    color: #1b4332;
}

.fammi-modal-feeling {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1b4332;
    margin: 0;
    line-height: 1.35;
}

.fammi-modal-score {
    font-variant-numeric: tabular-nums;
    color: #212529;
}

.fammi-modal-feeling .fammi-escore-zone--popover {
    font-size: 0.82rem;
    margin-left: 0.15rem;
}

.fammi-slider-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-height: 0;
}

.fammi-thermometer {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.fammi-therm-bands {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.fammi-therm-bands .fammi-zone {
    flex: 5;
    min-height: 0;
}

.fammi-therm-bands .fammi-zone--neutral {
    flex: 11;
}

.fammi-therm-face {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    margin: 0.1rem 0.15rem;
    overflow: visible;
}

.fammi-therm-annot {
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    overflow: visible;
}

.fammi-therm-scale-left {
    left: calc(50% - 3.5rem);
    width: 1.85rem;
    text-align: right;
}

.fammi-therm-scale-right {
    left: calc(50% + 1.75rem);
    right: auto;
    width: 1.85rem;
    text-align: left;
}

.fammi-therm-labels-left {
    left: calc(50% - 5.85rem);
    width: 2.75rem;
    text-align: right;
}

.fammi-therm-labels-right {
    left: calc(50% + 3rem);
    right: auto;
    width: 2.75rem;
    text-align: left;
}

.fammi-therm-mark,
.fammi-therm-label {
    position: absolute;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.fammi-therm-scale-right .fammi-therm-mark {
    left: 0;
    right: auto;
}

.fammi-therm-mark {
    font-size: 0.81rem;
    color: #212529;
    font-weight: 600;
    text-shadow: 0 0 2px #fff, 0 1px 2px rgba(255, 255, 255, 0.95);
}

.fammi-therm-mark--zero {
    font-weight: 800;
    color: #1b4332;
}

.fammi-therm-label {
    font-weight: 800;
    font-size: 0.87rem;
    letter-spacing: 0.01em;
}

.fammi-therm-label--neutral {
    font-size: 0.87rem;
    color: #212529 !important;
}

.fammi-therm-labels-right .fammi-therm-label {
    color: #3a1200;
    text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 1px 1px rgba(255, 255, 255, 0.9);
}

.fammi-therm-labels-left .fammi-therm-label {
    color: #021a33;
    text-shadow: 0 0 3px #fff, 0 0 6px #fff, 0 1px 1px rgba(255, 255, 255, 0.9);
}

.fammi-therm-mercury {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    z-index: 3;
}

.fammi-mercury-well {
    --glass-stem-w: 21px;
    --glass-inner-w: 13px;
    --glass-bulb-size: 36px;
    --glass-bulb-drop: 0.2rem;
    --mercury-bulb-size: 26px;
    --meniscus-h: calc(var(--glass-inner-w) / 2);
    position: absolute;
    top: -0.65rem;
    bottom: -0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    cursor: ns-resize;
    touch-action: none;
}

.fammi-mercury-shell {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.fammi-mercury-cap {
    position: absolute;
    top: -0.55rem;
    left: 50%;
    transform: translateX(-50%);
    width: 23px;
    height: 14px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.1) 55%,
        rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-bottom: none;
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.55),
        0 2px 5px rgba(0, 0, 0, 0.12);
}

.fammi-mercury-stem {
    position: absolute;
    top: 0.28rem;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: var(--glass-stem-w);
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(255, 255, 255, 0.07) 14%,
        transparent 38%,
        transparent 62%,
        rgba(255, 255, 255, 0.07) 86%,
        rgba(0, 0, 0, 0.2) 100%);
    box-shadow:
        inset 4px 0 8px rgba(0, 0, 0, 0.14),
        inset -4px 0 8px rgba(0, 0, 0, 0.14);
    z-index: 2;
}

.fammi-mercury-bulb {
    position: absolute;
    bottom: calc(-1 * var(--glass-bulb-drop));
    left: 50%;
    transform: translateX(-50%);
    width: var(--glass-bulb-size);
    height: var(--glass-bulb-size);
    border-radius: 50%;
    clip-path: inset(38% 0 0 0);
    background: radial-gradient(circle at 32% 55%,
        rgba(255, 255, 255, 0.28) 0%,
        rgba(255, 255, 255, 0.06) 38%,
        transparent 68%);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-top: none;
    box-shadow:
        inset 5px 0 12px rgba(0, 0, 0, 0.16),
        inset -5px 0 12px rgba(0, 0, 0, 0.16),
        0 3px 8px rgba(0, 0, 0, 0.18);
    z-index: 1;
}

.fammi-mercury-level {
    position: absolute;
    left: 50%;
    bottom: calc(var(--glass-bulb-size) / 2 - var(--glass-bulb-drop) - var(--mercury-bulb-size) / 2);
    transform: translateX(-50%);
    width: var(--mercury-bulb-size);
    min-height: calc(var(--meniscus-h) + var(--mercury-bulb-size));
    z-index: 2;
    transition: height 0.06s ease-out;
    overflow: visible;
    pointer-events: none;
}

body.fammi-mercury-dragging .fammi-mercury-level {
    transition: none;
}

.fammi-mercury-fill {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--glass-inner-w);
    bottom: calc(var(--mercury-bulb-size) / 2);
    top: var(--meniscus-h);
    border-radius: 0;
    background: linear-gradient(90deg,
        #9aa5b1 0%,
        #c5d0db 18%,
        #e8eef5 42%,
        #ffffff 50%,
        #d5dde6 62%,
        #b8c4d0 82%,
        #9aa5b1 100%);
    box-shadow:
        inset 2px 0 6px rgba(0, 0, 0, 0.2),
        inset -2px 0 6px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.fammi-mercury-fill::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--mercury-bulb-size) / 2);
    left: 50%;
    transform: translateX(-50%);
    width: var(--mercury-bulb-size);
    height: var(--mercury-bulb-size);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,
        #f0f4f8 0%, #d5dde6 35%, #b8c4d0 65%, #9aa5b1 100%);
    box-shadow:
        inset 3px 0 8px rgba(0, 0, 0, 0.18),
        inset -3px 0 8px rgba(0, 0, 0, 0.18),
        inset 0 -3px 6px rgba(0, 0, 0, 0.12);
}

.fammi-mercury-meniscus {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--glass-inner-w);
    height: var(--meniscus-h);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(90deg,
        #9aa5b1 0%,
        #c5d0db 18%,
        #e8eef5 42%,
        #d5dde6 50%,
        #c5d0db 62%,
        #b8c4d0 82%,
        #9aa5b1 100%);
    box-shadow:
        inset 2px 0 5px rgba(0, 0, 0, 0.18),
        inset -2px 0 5px rgba(0, 0, 0, 0.18);
    cursor: ns-resize;
    touch-action: none;
    pointer-events: auto;
    z-index: 5;
}

.fammi-score-item.is-editing .fammi-mercury-meniscus {
    animation: fammi-meniscus-pulse 1.15s ease-in-out infinite;
}

body.fammi-mercury-dragging .fammi-mercury-meniscus,
.fammi-score-item:not(.is-editing) .fammi-mercury-meniscus {
    animation: none;
}

@keyframes fammi-meniscus-pulse {
    0%, 100% {
        filter: brightness(1);
        box-shadow:
            inset 2px 0 5px rgba(0, 0, 0, 0.18),
            inset -2px 0 5px rgba(0, 0, 0, 0.18);
    }
    50% {
        filter: brightness(1.22);
        box-shadow:
            inset 2px 0 6px rgba(255, 255, 255, 0.45),
            inset -2px 0 6px rgba(255, 255, 255, 0.45),
            0 0 8px rgba(255, 255, 255, 0.5);
    }
}

.fammi-escore-slider--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.fammi-score-readout--desktop {
    display: none;
}

.fammi-score-close {
    position: absolute;
    top: 0.35rem;
    right: 0.45rem;
    border: none;
    background: #f1f3f5;
    color: #495057;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.fammi-score-close:hover {
    background: #e9ecef;
}

.fammi-escore-zone--popover,
.fammi-escore-zone--inline {
    font-weight: 700;
}

.fammi-score-readout[data-zone-tier="neutral"] .fammi-escore-zone--inline {
    color: #40916c;
}

.fammi-score-readout[data-zone-tier="warm-mid"] .fammi-escore-zone--inline,
.fammi-score-readout[data-zone-tier="warm-high"] .fammi-escore-zone--inline,
.fammi-modal-feeling[data-zone-tier="warm-mid"] .fammi-escore-zone--popover,
.fammi-modal-feeling[data-zone-tier="warm-high"] .fammi-escore-zone--popover {
    color: #e85d04;
}

.fammi-score-readout[data-zone-tier="cool-mid"] .fammi-escore-zone--inline,
.fammi-score-readout[data-zone-tier="cool-high"] .fammi-escore-zone--inline,
.fammi-modal-feeling[data-zone-tier="cool-mid"] .fammi-escore-zone--popover,
.fammi-modal-feeling[data-zone-tier="cool-high"] .fammi-escore-zone--popover {
    color: #1971c2;
}

.fammi-modal-feeling[data-zone-tier="neutral"] .fammi-escore-zone--popover {
    color: #40916c;
}

body.fammi-score-editing {
    overflow: hidden;
}

/* --- Semantic zone escore sliders (-25..+25) --- */
.fammi-scoring-tip {
    font-size: 0.85rem;
    color: #495057;
    background: #e8f5e9;
    border-left: 4px solid #40916c;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.75rem;
}

.fammi-vslider-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 6.5rem;
    flex-shrink: 0;
    overflow: visible;
}

.fammi-escore-slider--v {
    -webkit-appearance: none;
    appearance: none;
    width: 6.5rem;
    height: 1.5rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transform: rotate(-90deg);
    transform-origin: center center;
    flex-shrink: 0;
    accent-color: #2d6a4f;
}

.fammi-escore-slider--v::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border-radius: 50%;
    background: #ffc107;
    border: 2px solid #e9a100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.fammi-escore-slider--v::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffc107;
    border: 2px solid #e9a100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.fammi-escore-slider--v::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border-radius: 2px;
}

.fammi-escore-slider--v::-moz-range-track {
    height: 4px;
    background: transparent;
    border-radius: 2px;
}

.fammi-escore-slider--v[data-zone-tier="warm-mid"]::-webkit-slider-thumb,
.fammi-escore-slider--v[data-zone-tier="warm-high"]::-webkit-slider-thumb {
    background: #ff922b;
    border-color: #e85d04;
}

.fammi-escore-slider--v[data-zone-tier="cool-mid"]::-webkit-slider-thumb,
.fammi-escore-slider--v[data-zone-tier="cool-high"]::-webkit-slider-thumb {
    background: #74c0fc;
    border-color: #1971c2;
}

.fammi-zone--super-pos { background: #ff6b35; }
.fammi-zone--high-pos { background: #ff9f68; }
.fammi-zone--mid-pos { background: #ffd8a8; }
.fammi-zone--low-pos { background: #fff3bf; }
.fammi-zone--neutral { background: #e9ecef; }
.fammi-zone--low-neg { background: #d0ebff; }
.fammi-zone--mid-neg { background: #91c9ff; }
.fammi-zone--high-neg { background: #4dabf7; }
.fammi-zone--super-neg { background: #228be6; }

.fammi-score-item.is-editing .fammi-escore-slider--v::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -9px;
    background: radial-gradient(circle at 35% 30%, #ffe066, #f59f00 55%, #e67700);
    border: 2px solid #d9480f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.fammi-score-item.is-editing .fammi-escore-slider--v::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 35% 30%, #ffe066, #f59f00 55%, #e67700);
    border: 2px solid #d9480f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.fammi-escore-value {
    font-weight: 700;
    font-size: 0.78rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    min-width: 0;
}

.fammi-escore-hint {
    font-size: 0.58rem;
    color: #e85d04;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    max-width: 100%;
}

.fammi-escore-hint-active {
    display: block;
}

/* Desktop: same chip + modal flow as mobile */
@media (min-width: 768px) {
    .fammi-scoring-header,
    .fammi-scoring-row {
        gap: 0.75rem 0.5rem;
    }

    .fammi-score-item {
        justify-content: center;
    }

    .fammi-column-title--score {
        font-size: 0.88rem;
    }
}

.fammi-topic-nav-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

/* --- Desktop: side nav + content --- */
@media (min-width: 992px) {
    .fammi-nav {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .fammi-content {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .fammi-nav,
    .fammi-content {
        font-size: 1rem;
    }

    .fammi-scoring {
        font-size: 1rem;
    }
}

/* --- Mobile: collapsible nav, full-width content --- */
@media (max-width: 991.98px) {
    .fammi-nav {
        flex: 0 0 100%;
        max-width: 100%;
        display: none;
        max-height: 45vh;
        overflow-y: auto;
        border-bottom: 2px solid #adb5bd;
    }

    .fammi-nav.fammi-nav-open {
        display: block;
    }

    .fammi-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Legacy class hooks (kept for JS selectors) */
.column.left,
.column.right {
    float: none;
    width: auto;
    padding: 0;
}

#fammi_div.row {
    margin-left: 0;
    margin-right: 0;
}
