body.honor-wall-page {
    background: transparent;
    overflow-x: hidden;
    font-family: var(--font-primary);
    color: #1d1d1f;
    margin: 0;
    padding: 0;
}

.honor-wall-page .main-content {
    min-height: 100vh;
    background: transparent;
}

.honor-wall-page .ios-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.ios-header-card.honor-wall-header-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.honor-wall-header-card .ios-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f2f2f7;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.honor-wall-header-card .ios-menu-btn:hover {
    background: #e5e5ea;
}

.honor-wall-header-card .ios-menu-btn i {
    font-size: 1.25rem;
    color: #1d1d1f;
}

.honor-wall-header-card .ios-header-content {
    flex: 1;
    min-width: 0;
}

.honor-wall-header-card .ios-header-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.5px;
}

.honor-wall-header-card .ios-header-subtitle {
    font-size: 0.875rem;
    color: #6e6e73;
    margin: 2px 0 0 0;
}

.honor-wall-header-card .ios-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.honor-wall-header-card .ios-heart-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.honor-wall-header-card .ios-heart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 71, 87, 0.4);
}

.honor-wall-header-card .ios-heart-btn i {
    font-size: 1.1rem;
    color: white;
}

body.public-honor-wall {
    padding-top: 70px;
}

body.public-honor-wall .main-content {
    margin-left: 0;
    padding-top: 20px;
}

body.public-honor-wall .page-header {
    position: relative;
    background: white;
}

body.public-honor-wall .menu-toggle-page {
    display: none !important;
}

.page-header {
    padding: 16px 20px;
    background: #f5f5f7;
    border-bottom: 1px solid #d1d1d6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.page-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle-page {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    color: #1C9CFC;
    font-size: 1.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.menu-toggle-page:hover {
    background: #e0e0e0;
}

.menu-toggle-page:active {
    transform: scale(0.95);
    background: #d1d1d6;
}

body.honor-wall-page .menu-toggle {
    display: none !important;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    letter-spacing: -0.5px;
}

.honor-wall-container {
    padding: 20px;
    max-width: min(95vw, 2000px);
    margin: 0 auto;
}

.month-navigation {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding: 0;
}

.month-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.month-btn:hover {
    border-color: var(--ios-cyan);
    color: var(--ios-cyan);
}

.month-btn.active {
    background: linear-gradient(135deg, var(--ios-cyan), var(--ios-teal));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(85, 190, 240, 0.3);
}

.month-selector {
    position: relative;
    display: inline-block;
}

.month-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.month-selector-btn:hover {
    border-color: var(--ios-cyan);
    color: var(--ios-cyan);
}

.month-selector-btn.active {
    background: linear-gradient(135deg, var(--ios-cyan), var(--ios-teal));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(85, 190, 240, 0.3);
}

.month-selector-btn i {
    font-size: 1rem;
}

.month-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 100;
    min-width: 280px;
    display: none;
}

.month-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.month-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.month-dropdown-header button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--ios-cyan);
    font-size: 1rem;
    transition: background 0.2s ease;
}

.month-dropdown-header button:hover {
    background: rgba(28, 156, 252, 0.1);
}

.month-dropdown-header button:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.month-dropdown-header span {
    font-weight: 600;
    font-size: 1rem;
    color: #1d1d1f;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.month-grid-item {
    padding: 10px 8px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    border: none;
    background: #f5f5f7;
}

.month-grid-item:hover {
    background: rgba(28, 156, 252, 0.15);
    color: var(--ios-cyan);
}

.month-grid-item.selected {
    background: linear-gradient(135deg, var(--ios-cyan), var(--ios-teal));
    color: white;
}

.month-grid-item.current {
    border: 2px solid var(--ios-cyan);
}

.month-grid-item.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #fafafa;
}

.month-grid-item.disabled:hover {
    background: #fafafa;
    color: #ccc;
}

.corkboard {
    background-image: url('/images/honor-wall/corkboard-desktop.png');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 16px;
    aspect-ratio: 2816 / 1536;
    width: 100%;
    max-width: 100%;
    padding: 4% 4%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    --polaroid-size: clamp(100px, 10vw, 160px);
}


.corkboard-loading,
.corkboard-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.corkboard-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.corkboard-loading span,
.corkboard-empty h3,
.corkboard-empty p {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.corkboard-empty i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.corkboard-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.corkboard-empty p {
    opacity: 0.8;
    margin-bottom: 24px;
}

.corkboard-empty .btn {
    background: white;
    color: #b8845a;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.corkboard-empty .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.corkboard-canvas {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 2.5vw, 32px);
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    padding: clamp(20px, 3%, 40px);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.corkboard-canvas::-webkit-scrollbar {
    width: 6px;
}

.corkboard-canvas::-webkit-scrollbar-track {
    background: transparent;
}

.corkboard-canvas::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.polaroid-card {
    background: white;
    padding: clamp(6px, 0.8vw, 10px);
    padding-bottom: clamp(28px, 3vw, 38px);
    border-radius: 3px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: var(--polaroid-size);
    flex-shrink: 0;
}

.polaroid-card::before {
    content: '';
    position: absolute;
    top: clamp(4px, 0.5vw, 6px);
    left: 50%;
    transform: translateX(-50%);
    width: clamp(8px, 0.8vw, 12px);
    height: clamp(8px, 0.8vw, 12px);
    background: linear-gradient(145deg, #ff6b6b 0%, #cc4444 100%);
    border-radius: 50%;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.polaroid-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.polaroid-photo {
    width: calc(var(--polaroid-size) - clamp(12px, 1.6vw, 20px));
    height: calc(var(--polaroid-size) - clamp(12px, 1.6vw, 20px));
    overflow: hidden;
    border-radius: 2px;
    margin-top: clamp(4px, 0.5vw, 6px);
    background: #f0f0f0;
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-caption {
    position: absolute;
    bottom: clamp(6px, 0.6vw, 10px);
    left: clamp(6px, 0.8vw, 10px);
    right: clamp(6px, 0.8vw, 10px);
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-size: clamp(0.7rem, 1vw, 0.95rem);
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.photo-count-badge {
    position: absolute;
    top: clamp(16px, 1.8vw, 22px);
    right: clamp(4px, 0.5vw, 8px);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: clamp(0.6rem, 0.7vw, 0.75rem);
    font-weight: 600;
    padding: clamp(2px, 0.25vw, 4px) clamp(4px, 0.5vw, 7px);
    border-radius: 10px;
    z-index: 5;
}

.honor-wall-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 95%;
    max-height: 95vh;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.modal-photos {
    position: relative;
    background: #1d1d1f;
    width: 100%;
    height: 40vh;
    min-height: 300px;
}

.photo-carousel {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.photo-carousel img {
    min-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #1d1d1f;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.photo-carousel img.zoomed {
    object-fit: cover;
    cursor: zoom-out;
    transform: scale(1.5);
}

.photo-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.photo-dots {
    display: flex;
    gap: 6px;
}

.photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease;
}

.photo-dot.active {
    background: white;
}

.modal-story {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(55vh - 50px);
    background: white;
}

.story-header {
    margin-bottom: 16px;
}

.story-header h3 {
    font-size: 1.4rem;
    color: #1d1d1f;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.donor-name {
    font-size: 0.9rem;
    color: #007aff;
    font-weight: 500;
}

.story-description {
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
}

.honor-wall-section-home {
    padding: 80px 0;
    background: #f5f5f7;
}

.honor-wall-section-home .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.honor-wall-section-home .section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(201, 149, 106, 0.15);
    color: #a77550;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.honor-wall-section-home .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.honor-wall-section-home .section-subtitle {
    font-size: 1.1rem;
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
}

.corkboard-home {
    min-height: 350px;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    --polaroid-size: clamp(100px, 12vw, 140px);
}

.corkboard-home .corkboard-canvas {
    min-height: 280px;
}

.corkboard-empty-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.corkboard-empty-home i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.corkboard-empty-home h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.corkboard-empty-home p {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #c9956a, #a77550);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(167, 117, 80, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 117, 80, 0.4);
}

.honor-wall-section-home .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 1441px) {
    .honor-wall-page .ios-container {
        padding: 32px;
        max-width: 2000px;
    }

    .ios-header-card.honor-wall-header-card {
        padding: 24px 28px;
    }

    .corkboard {
        --polaroid-size: clamp(140px, 9vw, 180px);
    }

    .corkboard-canvas {
        gap: clamp(24px, 2vw, 40px);
        padding: clamp(30px, 2.5%, 50px);
    }

    .polaroid-card {
        padding: clamp(8px, 0.6vw, 12px);
        padding-bottom: clamp(32px, 2.5vw, 44px);
    }

    .polaroid-caption {
        font-size: clamp(0.85rem, 0.9vw, 1.1rem);
    }

    .honor-wall-container {
        max-width: min(90vw, 2200px);
    }

    .modal-content {
        max-width: 900px;
    }

    .modal-photos {
        height: 45vh;
        min-height: 350px;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .corkboard {
        --polaroid-size: clamp(110px, 10vw, 150px);
    }

    .corkboard-canvas {
        gap: clamp(18px, 2.2vw, 28px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .honor-wall-page .ios-container {
        padding: 24px;
    }

    .ios-header-card.honor-wall-header-card {
        padding: 18px 22px;
    }

    .corkboard {
        aspect-ratio: 16 / 10;
        --polaroid-size: clamp(95px, 14vw, 135px);
        padding: 3.5% 3.5%;
    }

    .corkboard-canvas {
        gap: clamp(14px, 2vw, 22px);
        padding: clamp(18px, 2.5%, 30px);
    }

    .honor-wall-container {
        padding: 18px;
    }

    .modal-content {
        max-width: 700px;
    }

    .modal-photos {
        height: 38vh;
        min-height: 280px;
    }

    .honor-wall-section-home .section-title {
        font-size: 2.25rem;
    }

    .corkboard-home {
        --polaroid-size: clamp(95px, 14vw, 130px);
    }
}

@media (max-width: 768px) {
    .menu-toggle-page {
        display: flex;
    }

    .honor-wall-header-card .ios-menu-btn {
        display: flex;
    }

    .honor-wall-page .ios-container {
        padding: 16px;
        padding-bottom: 80px;
    }

    .ios-header-card.honor-wall-header-card {
        padding: 16px 20px;
        border-radius: 20px;
        gap: 12px;
    }

    .honor-wall-header-card .ios-header-title {
        font-size: 1.25rem;
    }

    .honor-wall-header-card .ios-header-subtitle {
        font-size: 0.8rem;
    }

    .honor-wall-header-card .ios-heart-btn {
        width: 40px;
        height: 40px;
    }

    .honor-wall-header-card .ios-menu-btn {
        width: 40px;
        height: 40px;
    }

    .honor-wall-container {
        padding: 16px;
    }

    .month-navigation {
        margin-bottom: 16px;
    }

    .month-selector {
        width: 100%;
    }

    .month-selector-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    .month-dropdown {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 32px);
        max-width: 320px;
        min-width: auto;
    }

    .month-dropdown.show {
        animation: dropdownFadeInMobile 0.25s ease;
    }

    .month-grid {
        gap: 6px;
    }

    .month-grid-item {
        padding: 12px 6px;
        font-size: 0.8rem;
    }

    .corkboard {
        background-image: url('/images/honor-wall/corkboard-portrait.png');
        aspect-ratio: 1279 / 3101;
        padding: 3% 4%;
        border-radius: 12px;
        --polaroid-size: clamp(90px, 28vw, 130px);
        max-height: 80vh;
    }

    .corkboard-canvas {
        gap: 16px;
        padding: clamp(16px, 3%, 24px);
    }

    .modal-content {
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
    }

    .modal-photos {
        height: 35vh;
        min-height: 250px;
    }

    .modal-story {
        max-height: calc(50vh - 30px);
        padding: 20px;
    }

    .honor-wall-section-home {
        padding: 60px 0;
    }

    .honor-wall-section-home .section-title {
        font-size: 2rem;
    }

    .corkboard-home {
        min-height: 300px;
    }
}

@keyframes dropdownFadeInMobile {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .honor-wall-container {
        padding: 12px;
    }

    .page-header {
        padding: 12px 16px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .month-selector-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .month-dropdown {
        width: calc(100vw - 24px);
        max-width: 300px;
        padding: 12px;
    }

    .month-dropdown-header {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .month-dropdown-header span {
        font-size: 0.95rem;
    }

    .month-grid-item {
        padding: 10px 4px;
        font-size: 0.75rem;
    }

    .corkboard {
        --polaroid-size: clamp(80px, 35vw, 110px);
        padding: 3% 3%;
        border-radius: 10px;
    }

    .corkboard-canvas {
        gap: 12px;
        padding: clamp(12px, 2.5%, 20px);
    }

    .modal-photos {
        height: 32vh;
        min-height: 220px;
    }

    .modal-story {
        padding: 16px;
        max-height: calc(53vh - 20px);
    }

    .story-header h3 {
        font-size: 1.2rem;
    }

    .story-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .honor-wall-section-home {
        padding: 40px 0;
    }

    .honor-wall-section-home .section-title {
        font-size: 1.75rem;
    }

    .honor-wall-section-home .section-subtitle {
        font-size: 1rem;
    }

    .view-all-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .corkboard-home {
        min-height: 280px;
        --polaroid-size: clamp(85px, 30vw, 115px);
    }
}

@media (max-width: 360px) {
    .honor-wall-container {
        padding: 10px;
    }

    .page-header h1 {
        font-size: 1.25rem;
    }

    .month-selector-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .month-dropdown {
        width: calc(100vw - 20px);
        padding: 10px;
    }

    .month-grid-item {
        padding: 8px 3px;
        font-size: 0.7rem;
    }

    .corkboard {
        --polaroid-size: clamp(75px, 38vw, 100px);
        padding: 2.5% 2.5%;
    }

    .corkboard-canvas {
        gap: 10px;
    }

    .polaroid-caption {
        font-size: clamp(0.6rem, 3vw, 0.75rem);
    }

    .modal-photos {
        height: 30vh;
        min-height: 200px;
    }

    .corkboard-home {
        --polaroid-size: clamp(80px, 35vw, 105px);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .corkboard {
        background-image: url('/images/honor-wall/corkboard-desktop.png');
        aspect-ratio: 16 / 9;
        max-height: 90vh;
        --polaroid-size: clamp(70px, 15vh, 100px);
    }

    .corkboard-canvas {
        gap: 12px;
        padding: 2%;
    }

    .modal-content {
        max-height: 95vh;
        border-radius: 16px;
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: 90vw;
    }

    .modal-photos {
        height: 50vh;
        min-height: 180px;
    }

    .modal-story {
        max-height: 35vh;
        padding: 16px;
    }

    .honor-wall-modal {
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .corkboard {
        --polaroid-size: clamp(60px, 12vh, 85px);
    }

    .polaroid-card {
        padding: clamp(4px, 0.5vw, 6px);
        padding-bottom: clamp(20px, 2vh, 28px);
    }

    .polaroid-caption {
        font-size: clamp(0.55rem, 1.5vh, 0.7rem);
    }
}

@media (min-width: 1025px) and (orientation: portrait) {
    .corkboard {
        aspect-ratio: 3 / 4;
        --polaroid-size: clamp(110px, 12vw, 150px);
    }
}
