.obc-front-page .section {
    padding: var(--space-8) 0;
}

.obc-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.obc-hero-slider {
    position: relative;
}

.obc-hero-track {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.obc-hero-inner {
    background: linear-gradient(140deg, var(--krds-color-light-primary-5) 0%, var(--krds-color-light-gray-0) 58%);
    border: 1px solid var(--krds-color-light-primary-20);
    border-radius: var(--krds-radius-medium2);
    padding: var(--space-4);
}

.obc-hero-slide {
    display: none;
}

.obc-hero-slide.is-active {
    display: block;
}

.obc-hero-title {
    margin: var(--space-3) 0 var(--space-4);
    font-size: var(--font-size-2xl);
    line-height: 1.4;
    min-height: calc(1.4em * 2);
}

.obc-hero-inner .hero-text {
    line-height: 1.6;
    min-height: calc(1.6em * 2);
}

.obc-hero-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.obc-hero-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 999px;
    background: var(--krds-color-light-gray-30);
}

.obc-hero-dot.is-active {
    background: var(--krds-color-light-primary-50);
}

.obc-hero-nav {
    margin-top: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.obc-hero-controls {
    display: flex;
    gap: var(--space-2);
    justify-content: flex-end;
}

.obc-hero-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--krds-size-height-5);
    border: 1px solid var(--krds-color-light-gray-40);
    border-radius: var(--krds-radius-small3);
    padding: 0 var(--krds-padding-4);
    background: var(--krds-color-light-gray-0);
    color: var(--krds-color-light-gray-90);
    font-weight: var(--font-weight-medium);
}

.obc-hero-control:hover {
    background: var(--krds-color-light-secondary-5);
}

.obc-services {
    border: 1px solid var(--krds-color-light-gray-20);
    border-radius: var(--krds-radius-medium2);
    background: var(--color-bg-surface);
    padding: var(--space-4);
    box-shadow: var(--elevation-1);
}

.obc-services-head h2 {
    margin: 0 0 var(--space-4);
    font-size: var(--font-size-2xl);
}

.obc-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.obc-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-1);
    min-height: var(--krds-size-height-7);
    padding: 0 var(--krds-padding-4);
    border: 1px solid var(--krds-color-light-gray-30);
    border-radius: var(--krds-radius-small3);
    background: var(--krds-color-light-gray-0);
    color: var(--krds-color-light-gray-90);
    font-weight: var(--font-weight-medium);
    text-align: center;
}

.obc-service-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
}

.obc-service-label {
    line-height: 1.4;
}

.obc-service-button:hover {
    background: var(--krds-color-light-secondary-5);
    border-color: var(--krds-color-light-primary-20);
    text-decoration: none;
}

.obc-service-more {
    margin-top: var(--space-2);
    display: none;
}

.obc-service-grid-extra {
    margin-top: var(--space-2);
}

.obc-service-more-actions {
    margin-top: var(--space-3);
    display: flex;
    justify-content: center;
}

.obc-service-more-button {
    min-height: var(--krds-size-height-5);
    border: 1px solid var(--krds-color-light-gray-40);
    border-radius: var(--krds-radius-small3);
    background: var(--krds-color-light-gray-0);
    padding: 0 var(--krds-padding-5);
    font-weight: var(--font-weight-medium);
    color: var(--krds-color-light-gray-90);
}

.obc-service-more-button:hover {
    background: var(--krds-color-light-secondary-5);
}

.obc-services.is-expanded .obc-service-more {
    display: block;
}

.obc-tab-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    border-bottom: 1px solid var(--krds-color-light-gray-20);
    padding-bottom: var(--space-2);
}

.obc-tab-left {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.obc-tab-active,
.obc-tab-button {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--krds-size-height-6);
    padding: 0 var(--krds-padding-5);
    border: 1px solid transparent;
    border-radius: var(--krds-radius-small3) var(--krds-radius-small3) 0 0;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    transform: translateY(3px);
}

.obc-tab-active {
    background: var(--krds-color-light-gray-0);
    border-color: var(--krds-color-light-gray-20);
    border-bottom-color: var(--krds-color-light-gray-0);
    color: var(--krds-color-light-gray-90);
}

.obc-tab-button {
    background: var(--krds-color-light-secondary-5);
    border-color: var(--krds-color-light-gray-20);
    color: var(--krds-color-light-gray-70);
    gap: var(--space-1);
}

.obc-tab-button:hover {
    background: var(--krds-color-light-secondary-10);
    color: var(--krds-color-light-gray-90);
    text-decoration: none;
}

.obc-link-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.obc-more-link {
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.obc-notice-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.obc-notice-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 0;
    border: 1px solid var(--krds-color-light-gray-20);
    border-radius: var(--krds-radius-medium1);
    background: var(--color-bg-surface);
    padding: var(--space-4) var(--space-4) var(--space-3);
    box-shadow: var(--elevation-1);
    min-height: 15.5rem;
    height: 100%;
}

.obc-notice-card.is-sticky {
    border-color: var(--krds-color-light-primary-30);
    background: var(--krds-color-light-secondary-5);
}

.obc-sticky-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    border-radius: 999px;
    padding: 0 0.625rem;
    background: var(--krds-color-light-primary-50);
    color: var(--krds-color-light-gray-0);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
}

.obc-sticky-badge.is-placeholder {
    visibility: hidden;
}

.obc-notice-card-title {
    margin: var(--space-3) 0 0;
    font-size: var(--font-size-lg);
}

.obc-notice-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: calc(1.5em * 2);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.obc-notice-card-excerpt {
    margin: var(--space-3) 0 0;
    color: var(--color-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.6em * 3);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.obc-notice-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.obc-notice-date {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.obc-notice-more {
    font-weight: var(--font-weight-medium);
}

.obc-empty-notice {
    margin: 0;
    color: var(--color-text-muted);
}

@media (max-width: 47.99rem) {
    .obc-front-page .section {
        padding-top: var(--space-6);
        padding-bottom: var(--space-6);
    }

    .home .site-footer {
        margin-top: var(--space-6);
    }

    .obc-tab-head {
        align-items: flex-end;
        gap: var(--space-2);
    }

    .obc-tab-left {
        gap: var(--space-1);
        flex-wrap: wrap;
    }

    .obc-tab-active,
    .obc-tab-button {
        min-height: var(--krds-size-height-5);
        padding: 0 var(--krds-padding-4);
        font-size: var(--font-size-sm);
    }

    .obc-hero-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .obc-hero-controls {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: var(--space-1);
    }

    .obc-service-more-actions {
        display: flex;
    }

    .obc-notice-card {
        min-height: auto;
    }

    .obc-notice-card-excerpt {
        -webkit-line-clamp: 3;
    }
}

@media (min-width: 64rem) {
    .obc-top.section {
        padding-top: var(--space-6);
        padding-bottom: var(--space-5);
    }

    .obc-notices.section {
        padding-top: var(--space-5);
    }

    .obc-top-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .obc-hero-slider {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .obc-hero-track {
        flex: 1 1 auto;
        display: flex;
    }

    .obc-hero-slide.is-active {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .obc-hero-nav {
        margin-top: auto;
        padding-top: var(--space-3);
    }

    .obc-services {
        height: 100%;
        padding: var(--space-5);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .obc-service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-3);
        align-content: stretch;
        flex: 1 1 0;
        grid-auto-rows: 1fr;
    }

    .obc-hero-inner {
        padding: var(--space-5);
    }

    .obc-hero-title {
        margin-top: var(--space-2);
        margin-bottom: var(--space-3);
    }

    .obc-services-head h2 {
        margin-top: var(--space-2);
        margin-bottom: var(--space-3);
    }

    .obc-service-button {
        min-height: 0;
        height: 100%;
        padding-top: var(--space-3);
        padding-bottom: var(--space-3);
    }

    .obc-service-more {
        display: block;
        margin-top: var(--space-3);
        flex: 1 1 0;
    }

    .obc-service-grid-extra {
        margin-top: 0;
        gap: var(--space-3);
        height: 100%;
        grid-auto-rows: 1fr;
    }

    .obc-service-more-actions {
        display: none;
    }

    .obc-notice-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}
