@font-face {
    font-family: 'NotoSansKR';
    font-weight: 400;
    src: local('NotoSansKR'), url(../daegurun_2026/font/NotoSansKR.ttf) format('truetype');
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'NotoSansKR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── 헤더 ── */
.portal-header {
    width: 100vw;
    background-color: #ffbe00;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6vw 0 4vw;
    border-bottom: 0.3vw solid #ffb300;
}

.portal-header .brand-name {
    font-size: 5vw;
    font-weight: 700;
    color: #096af5;
    letter-spacing: 0.3vw;
}

.portal-header .brand-name img{
	width: 50vw;
}

.portal-header .brand-sub {
    font-size: 2.8vw;
    color: #888;
    margin-top: 1vw;
}

/* ── 섹션 제목 ── */
.section-title {
    width: 88vw;
    font-size: 3.2vw;
    font-weight: 700;
    color: #333;
    margin: 5vw 5vw 3vw 5vw;
    padding-bottom: 2vw;
    border-bottom: 0.3vw solid #ffbe00;
}

/* ── 이벤트 카드 목록 ── */
.event-list {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vw;
    padding: 0 0 8vw;
}

.event-card {
    width: 88vw;
    background-color: #fff;
    border-radius: 2vw;
    overflow: hidden;
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    transition: box-shadow 0.15s, transform 0.15s;
    cursor: pointer;
    min-height: 18vw;
}

.event-card:active {
    box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.12);
    transform: scale(0.98);
}

.event-card-logo {
    width: 28vw;
    min-width: 28vw;
    height: 18vw;
    background-color: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.event-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2vw;
}

.event-card-info {
    flex: 1;
    padding: 3vw 4vw;
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
}

.event-card-name {
    font-size: 3.8vw;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.event-card-action {
    font-size: 2.6vw;
    color: #ffbe00;
    display: flex;
    align-items: center;
    gap: 0.5vw;
}

.event-card-action::after {
    content: '>';
    font-size: 3.5vw;
    line-height: 1;
}

/* ── 푸터 ── */
.portal-footer {
    width: 100vw;
    background-color: #ffbe00;
    color: #aaa;
    text-align: center;
    padding: 5vw 4vw;
    font-size: 2.5vw;
    line-height: 1.8;
    margin-top: auto;
}

.portal-footer .footer-brand {
    color: #fff;
    font-size: 3vw;
    font-weight: 700;
    margin-bottom: 1.5vw;
}

.portal-footer .footer-brand img{
    width:50vw;
}
