* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; 
    background: #f7f8f9;
    color: #333;
    font-size: 14px;
    line-height: 1.5; 
} */

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* ============ 최상단 정부 안내 바 ============ */
.gov-bar {
    background: #eef2f7;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
}

.gov-bar-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gov-flag {
    flex-shrink: 0;
}

.gov-flag img {
    width: 26px;
    height: auto;
    display: block;
}

.gov-bar a {
    text-decoration: underline;
    color: #333;
}

/* ============ 산불 특별대책기간 배너 ============ */
.alert-banner {
    background: #fff3e6;
    border-bottom: 1px solid #ffd8a8;
    padding: 8px 16px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.alert-banner strong {
    color: #d9230f;
    font-weight: 700;
}

.alert-banner .red-text {
    color: #d9230f;
    font-weight: 700;
}

/* ============ 헤더 ============ */
header {
    background: #fff;
    border-bottom: 1px solid #ececec;
}

.header-inner {
    max-width: 1360px;
    height: 110px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-mark {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark img {
    width: 82px;
    height: auto;
    display: block;
}

.logo-text {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-text .name {
    font-size: 33px;
    font-weight: 700;
    color: #333;
    letter-spacing: -1.2px;
    white-space: nowrap;
    line-height: 1;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
}

.lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #666;
    font-weight: 400;
}

.lang i {
    color: #666;
    font-size: 15px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 56px;
    align-items: center;
}

nav a {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    transition: .2s;
}

nav a:hover,
nav a.active {
    color: #d9230f;
}

.menu-btn {
    display: none;
}

/* ============ 메인 비주얼 ============ */
.hero {
    position: relative;
    width: 100%;
    height: 330px;
    overflow: hidden;
    background: #2a2a2a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .7s ease, transform 4.5s ease;
    z-index: 0;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.58) 0%,
        rgba(0,0,0,.36) 34%,
        rgba(0,0,0,.12) 68%,
        rgba(0,0,0,.18) 100%
    );
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    height: 100%;
    margin: 0 auto;
    padding: 0 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 18px;
    background: rgba(0,0,0,.48);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(3px);
}

.hero-badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4747;
    box-shadow: 0 0 0 4px rgba(255,71,71,.3);
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255,71,71,.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255,71,71,.1);
    }
}

.hero-content h1 {
    margin: 0 0 16px;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.6px;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero-content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    opacity: .95;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    font-size: 54px;
    font-weight: 200;
    line-height: 1;
    transition: color .15s ease;
}

.hero-arrow:hover {
    color: #fff;
}

.hero-arrow.prev {
    left: max(24px, calc((100vw - 1360px) / 2 + 24px));
}

.hero-arrow.next {
    right: max(24px, calc((100vw - 1360px) / 2 + 24px));
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    z-index: 4;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    padding: 0;
    transition: width .2s ease, background .2s ease;
}

.hero-dots button.active {
    width: 28px;
    background: #fff;
}

.title-wrap {
    position: relative;
    text-align: center;
}

.status-title {
    margin: 0;
}

.title-wrap .more-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* ============ 메인 컨테이너 ============ */
.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 32px 18px;
    background: transparent;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}


.grid-row {
    display: grid;
    grid-template-columns: minmax(1fr, 0) minmax(1fr, 0);
    gap: 18px;
}


.grid50 {
    display: grid;
    /* 왼쪽은 2비율, 오른쪽은 1비율로 설정 */
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 8px;
}
.card,
.action-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}


/* ============ 스마트산림재난앱 ============ */
.smart-app-banner {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(
        to bottom,
        rgba(233,219,173,1) 0%,
        rgba(247,239,216,1) 100%
    );
    min-height: 150px  !important;;
}

.smart-app-banner-img {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 55px;
    height: auto;
    object-fit: contain;
}

.smart-app-banner-title {
    position: absolute;
    left: 15px;
    top: 20px;
    color:#0b6f61;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    z-index: 2;
}
.smart-app-banner-title #smart-app-title{
	font-size: 12px;
}

.smart-app-banner-btn {
    position: absolute;
	left: 17%;
    bottom: 28px;
    z-index: 3;

    min-width: 92px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #0f7b68;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 6px;
}

/* ============ 진화 현황 ============ */
.status-card {
    padding: 22px 25px;
}

.status-title {
    margin: 0 0 25px;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.5px;
}

.status-title span {
    color: #007a4d;
    font-weight: 800;
}

.status-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 0;
}

.status-divider {
    width: 1px;
    height: 46px;
    background: #e5e5e5;
    flex-shrink: 0;
}

.status-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.status-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.status-text .label {
    font-size: 14px;
    color: #333;
    font-weight: 700;
    margin-bottom: 7px;
    white-space: nowrap;
}

.status-text .value {
    font-size: 26px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.8px;
    white-space: nowrap;
}

/* ============ 연간 산불 통계 ============ */
.yearly-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 34px;
}

.yearly-header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    margin-bottom: 20px;
}

.yearly-arrow {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8f8f8f;
    cursor: pointer;
    font-size: 38px;
    font-weight: 200;
    line-height: 1;
    padding: 0;
}

.yearly-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    letter-spacing: -0.4px;
}

.yearly-title .title-text {
    font-size: 18px;
    color: #111;
    font-weight: 800;
}

.yearly-title .title-count {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
}

.yearly-title .title-count strong {
    font-size: 19px;
    color: #007a5a;
    font-weight: 900;
}

.region-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

.region-item {
    position: relative;
    text-align: center;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.region-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;
    width: 1px;
    height: 42px;
    background: #e2e2e2;
}

.region-item .name {
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.region-item .count {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
    letter-spacing: -0.6px;
}

.region-item .count strong {
    font-size: 22px;
    font-weight: 900;
    color: #007a5a;
}

.region-item .count span {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* ============ 금일 산불 위험 지도 ============ */
.warning-card {
    padding: 22px 28px;
}

#toDayMap{
    width: 100%;
    height: 100%;
    min-height: 235px;
    overflow: hidden;
    border-radius: 14px;
}

#toDayMap .ol-viewport {
    border-radius: 14px;
    overflow: hidden;
}

#toDayFireList table {width:100%;font-size:12px;border-collapse:separate;border-spacing:1px;}
#toDayFireList table th {font-weight:600;padding:2px 5px;}
#toDayFireList table thead {position: sticky;top:0px;background:#d7e5e5;}
#toDayFireList table thead th {position: sticky;top:0px;background: #e3f1ef;border-bottom: 1px solid #ddd;color:var(--main-color);}
#toDayFireList table tbody tr td {text-align: center;padding:2px 5px;background:#fff;}
#toDayFireList table tbody tr:nth-child(even) td {background:rgb(243, 248, 248);}
#toDayFireList table tbody tr:hover td {background:#fcfbe9;}
#toDayFireList table tfoot tr td {position: sticky;bottom:0;text-align: center;padding:12px 10px;background:#fdfdfd;/* border-bottom: 1px solid var(--main-color); */ font-weight:600; }

#toDayFireList{    height: 230px;    overflow-y: scroll; }


/* ============ 경보단계 ============ */
.map-card {
    padding: 10px 10px;
    height : 255px;
}

.warning-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.warning-tabs,
.warning-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-arrow {
    border: 0;
    background: transparent;
    color: #999;
    cursor: pointer;
    font-size: 32px;
    font-weight: 200;
    line-height: 1;
    padding: 0;
}

.warning-tab {
    font-size: 18px;
    font-weight: 900;
    color: #111;
    letter-spacing: -0.4px;
}

.warning-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 24px;
    padding: 0 12px;
    background: #ffac2f;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
}

.warning-time {
    font-size: 13px;
    color: #888;
}

.warning-body {
    display: flex;
    align-items: center;
    gap: 34px;
}

.gauge {
    position: relative;
    width: 230px;
    height: 145px;
    flex-shrink: 0;
}

.gauge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gauge-label {
    position: absolute;
    z-index: 2;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -0.4px;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
    pointer-events: none;
    line-height: 1;
    transform-origin: center;
    white-space: nowrap;
}

.label-interest {
    left: 37px;
    top: 70px;
    transform: rotate(-68deg);
}

.label-caution {
    left: 78px;
    top: 27px;
    transform: rotate(-25deg);
}

.label-alert {
    left: 130px;
    top: 28px;
    transform: rotate(25deg);
}

.label-danger {
    left: 170px;
    top: 70px;
    transform: rotate(68deg);
}

.warning-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    min-height: 48px;
    background: #f6f6f6;
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.info-row .label {
    font-size: 14px;
    color: #333;
    font-weight: 800;
    margin-right: 16px;
}

.info-row .value-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 24px;
    background: #ffac2f;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 0 12px;
    border-radius: 999px;
}

.info-row.area-row {
    min-height: 66px;
    display: block;
}

.info-row.area-row .label {
    display: block;
    margin: 0 0 8px;
}

.info-row .sub {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* ============ 통계 카드 ============ */
.stats-card {
    padding: 22px 28px;
}

.stats-card .card-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    margin-bottom: 5px;
    grid-column: 1 / -1;
    justify-self: end;
}

.stats-legend {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    column-gap: 30px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 16px;
    color: #111;
    font-weight: 900;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.legend-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.more-link {
    font-size: 13px;
    color: #777;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 12px;
}

.stats-body {
    display: grid;
    grid-template-columns: 1fr 138px;
    align-items: center;
    gap: 24px;
}

.donut-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 120px));
    column-gap: 30px;
    align-items: center;
    justify-content: center;
}

.donut {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut svg circle {
    stroke-width: 4.4;
}

.donut-center {
    position: absolute;
    text-align: center;
    line-height: 1.05;
}

.donut-center .num {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.donut-green .donut-center .num {
    color: #006b52;
}

.donut-red .donut-center .num {
    color: #c82424;
}

.donut-blue .donut-center .num {
    color: #2d6fa8;
}

.donut-center .unit {
    margin-top: 5px;
    font-size: 12px;
    color: #333;
    font-weight: 800;
    line-height: 1.1;
}

.report-box {
    min-width: 138px;
    padding-left: 28px;
    border-left: 1px dashed #d6d6d6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.report-thumb {
    width: 82px;
    height: 106px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

.report-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.report-btn {
    min-width: 112px;
    height: 32px;
    padding: 0 13px;
    background: #1f735f;
    color: #fff;
    border: 1px solid #1f735f;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

/* ============ 3행 카드 ============ */
.risk-card,
.forecast-card {
    min-height: 260px;
    padding: 22px 28px;
}

/* 산불위험등급 */
.risk-body {
    height: 100%;
    display: grid;
    grid-template-columns: 250px 1fr;
    align-items: center;
    gap: 28px;
}

.risk-left {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.risk-map {
    width: 250px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.risk-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.risk-info-box {
    width: 250px;
    min-height: auto;
    padding: 10px 12px;
    background: #f7f7f7;
    border-radius: 6px;
}

.risk-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #333;
    font-weight: 800;
    white-space: nowrap;
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border: 1px solid #ff9c2c;
    border-radius: 999px;
    color: #ff8a00;
    font-size: 10px;
    font-weight: 800;
    background: #fff7ed;
}

.risk-info-box p {
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
    color: #777;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.risk-info-box p strong {
    color: #d9230f;
    font-weight: 800;
}

.risk-detail-btn {
    margin-top: 6px;
    width: 100%;
    height: 22px;
    padding: 0 8px;
    border-radius: 5px;
    background: #fff;
    color: #555;
    font-size: 10px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
}

.risk-right {
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.risk-title {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #333;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.risk-bar {
    position: relative;
    margin-top: 15px;
    padding-top: 18px;
}

.risk-current {
    text-align: center;
    position: relative;
    margin-bottom: 9px;
}

.risk-current-label {
    display: inline-block;
    background: #ff8a00;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 16px;
    border-radius: 999px;
    position: relative;
    margin-left: 44%;
}

.risk-current-label::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #ff8a00;
}

.risk-current-label-1 {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 16px;
    border-radius: 999px;
    position: relative;
    left: -37.5%;
    background: #14a0df;
}
.risk-current-label-1::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #14a0df;
}



.risk-current-label-1 { display: inline-block;color: #fff;font-size: 12px;font-weight: 900;padding: 5px 16px;border-radius: 999px;position: relative;
    left: -37.5%; background: #14a0df; }

.risk-current-label-1::after {content: '';position: absolute;bottom: -7px;transform: translateX(-50%);width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid transparent;
    left: 50%;border-top: 8px solid #14a0df;}

.risk-current-label-2 { display: inline-block;color: #fff;font-size: 12px;font-weight: 900;padding: 5px 16px;border-radius: 999px;position: relative;
    left: -12.5%; background: #FFC400; }

.risk-current-label-2::after {content: '';position: absolute;bottom: -7px;transform: translateX(-50%);width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid transparent;
    left: 50%;border-top: 8px solid #FFC400;}


.risk-current-label-3 { display: inline-block;color: #fff;font-size: 12px;font-weight: 900;padding: 5px 16px;border-radius: 999px;position: relative;
    left: 12.5%; background: #FF8A00; }

.risk-current-label-3::after {content: '';position: absolute;bottom: -7px;transform: translateX(-50%);width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid transparent;
    left: 37.5%;border-top: 8px solid #FF8A00;}


.risk-current-label-4 { display: inline-block;color: #fff;font-size: 12px;font-weight: 900;padding: 5px 16px;border-radius: 999px;position: relative;
    left: 37.5%; background: #FF0000; }

.risk-current-label-4::after {content: '';position: absolute;bottom: -7px;transform: translateX(-50%);width: 0;height: 0;border-left: 6px solid transparent;border-right: 6px solid transparent;
    left: 50%;border-top: 8px solid #FF0000;}


.risk-gradient {
    width: 100%;
    height: 22px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        #14a0df 0%,
        #14a0df 25%,
        #ffc400 25%,
        #ffc400 50%,
        #ff8a00 50%,
        #ff8a00 75%,
        #f60000 75%,
        #f60000 100%
    );
    margin-bottom: 12px;
}

.risk-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-size: 14px;
    color: #555;
    text-align: center;
    font-weight: 700;
}

.risk-labels span:nth-child(2) {   
    text-underline-offset: 3px;
}

/* 대형산불 예보 */
.forecast-body {
    height: 100%;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    align-items: center;
}

.forecast-image {
    width: 250px;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    background: #23100b;
}

.forecast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.forecast-right {
    min-width: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

.forecast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.forecast-title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: #333;
    letter-spacing: -0.8px;
    line-height: 1.2;
    white-space: nowrap;
}

.forecast-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.forecast-stat {
    min-height: 116px;
    border-radius: 8px;
    background: #fff;
    display: grid;
    grid-template-rows: 38px 1fr;
    overflow: hidden;
}

.forecast-stat.advisory {
    border: 2px solid #2f776b;
}

.forecast-stat.warning {
    border: 2px solid #df3038;
}

.forecast-stat .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.4px;
}

.forecast-stat.advisory .tag {
    background: #2f776b;
}

.forecast-stat.warning .tag {
    background: #df3038;
}

.forecast-stat .count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #111;
    font-size: 18px;
    font-weight: 800;
}

.forecast-stat .count strong {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
}

/* ============ 하단 배너 ============ */
.action-card {
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    min-height: 186px;
    display: block;
}

.action-guide-card,
.action-trail-card {
    padding: 0 !important;
    height: 186px !important;
    min-height: 186px !important;
    background: #e8f1e8;
}

.action-guide-img,
.action-trail-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
}

.action-guide-btn,
.action-trail-btn {
    position: absolute;
    left: 38px;
    bottom: 28px;
    z-index: 3;
    min-width: 92px;
    height: 34px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f7b68;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 6px;
    gap: 6px;
}

.action-trail-btn {
    left: 28px;
    bottom: 38px;
}

/* ============ 푸터 ============ */
footer {
    background: #f4f4f4;
    border-top: 1px solid #e5e5e5;
    padding: 26px 0;
    margin-top: 24px;
}

.footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    color: #444;
    font-size: 14px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d6d6d6;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #444;
    font-size: 15px;
}

.footer-info strong {
    color: #222;
    font-weight: 900;
}

.footer-info .phone {
    color: #222;
    font-weight: 800;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-size: 15px;
    color: #444;
}

.footer-inner .sep {
    color: #aaa;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    color: #444;
    font-size: 15px;
}

.footer-bottom p {
    margin: 0;
}

/* ============ 배너 HTML 타이틀 / PC-MO 이미지 분기 공통 ============ */
.action-guide-card,
.action-trail-card {
    position: relative;
    overflow: hidden;
}

.action-guide-title,
.action-trail-title {
    position: absolute;
    z-index: 3;
    left: 38px;
    top: 38px;
    font-weight: 800;
    max-width:38%;
    letter-spacing: -1px;
    line-height: 1.22;
    pointer-events: none;
}

.action-guide-title {
    font-size: 26px;
    color: #0b6f61;
}

.action-trail-title {
    left: 32px;
    font-size: 18px;
    color: #333;
}

.action-trail-title span {
    color: #df3038;
    font-weight: 900;
}

.trail-pc {
    display: block !important;
}

.trail-mo {
    display: none !important;
}

.action-guide-img,
.action-trail-img {
    object-position: right center;
}

/* ============ PC 좁은 구간 배너 보정 ============ */
@media (min-width: 1170px) and (max-width: 1280px) {
    .action-guide-title {
        left: 28px;
        top: 34px;
        font-size: 28px;
        line-height: 1.2;
    }

    .action-trail-title {
        left: 28px;
        top: 42px;
        max-width: 35%;
        font-size: 20px;
        line-height: 1.3;
    }

    .action-guide-btn,
    .action-trail-btn {
        left: 28px;
        bottom: 24px;
        width: 35%;
    }
   /* .map-card{height:100%}  */
}

/* ============ 태블릿 + 모바일 공통 ============ */
@media (max-width: 1169px) {
    .header-inner,
    .gov-bar-inner,
    .container,
    .footer-inner,
    .hero-content {
        max-width: 100%;
    }

    .header-inner {
        height: 72px;
        padding: 0 22px;
    }

    .logo-mark,
    .logo-mark img {
        width: 72px;
        height: auto;
    }

    .logo-text .name {
        font-size: 27px;
        font-weight: 900;
        letter-spacing: -1px;
    }

    .menu-btn {
        display: flex;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 0;
        z-index: 1003;
    }

    .menu-btn span {
        width: 25px;
        height: 2px;
        background: #444;
        border-radius: 999px;
        transition: .25s;
    }

    .menu-btn.is-open {
        position: fixed;
        top: 14px;
        left: min(calc(78vw - 54px), 266px);
        z-index: 1004;
    }

    .menu-btn.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-btn.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-btn.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-right {
        position: fixed;
        top: 0;
        left: 0;
        width: 78%;
        max-width: 320px;
        height: 100dvh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        background: #eef3f8;
        box-shadow: 8px 0 24px rgba(0,0,0,.16);
        transform: translateX(-105%);
        transition: transform .28s ease;
        z-index: 1002;
        overflow-y: auto;
    }

    .header-right.is-open {
        transform: translateX(0);
    }

    .header-right::after {
        content: none;
    }

    .header-right.is-open::after {
        content: "";
        position: fixed;
        top: 0;
        left: 100%;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,.45);
        pointer-events: none;
    }

    .lang {
        height: 64px;
        padding: 0 58px 0 24px;
        justify-content: flex-start;
        align-items: center;
        font-size: 15px;
        color: #111;
        margin-bottom: 0;
        background: #fff;
        border-bottom: 1px solid #dfe6ee;
    }

     .map-card{height:760px} 
    
    nav {
        padding: 22px 24px;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    nav li {
        border-top: 0;
    }

    nav a {
        display: block;
        padding: 18px 0;
        font-size: 19px;
        font-weight: 900;
        color: #111;
    }

    nav a.active {
        color: #111;
    }

    .hero {
        height: 285px;
    }

    .hero-content {
        padding-left: 72px;
        padding-right: 72px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-badge {
        font-size: 13px;
    }

    .hero-arrow.prev {
        left: 24px;
    }

    .hero-arrow.next {
        right: 24px;
    }

    .container {
        padding: 24px 18px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 18px !important;
    }

    .status-card {
        padding: 22px 24px;
    }

    .status-title {
        font-size: 20px;
    }

    .status-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .status-divider {
        display: none;
    }

    .status-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .status-text {
        align-items: center;
    }

    .status-text .label {
        font-size: 14px;
    }

    .status-text .value {
        font-size: 25px;
    }

    .yearly-title .title-text {
        font-size: 19px;
    }

    .yearly-title .title-count strong {
        font-size: 20px;
    }

    .region-item .name {
        font-size: 15px;
    }

    .region-item .count strong {
        font-size: 23px;
    }

    .region-item .count span {
        font-size: 14px;
    }

    .warning-tab {
        font-size: 18px;
    }

    .warning-time {
        font-size: 13px;
    }

    .warning-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .gauge {
        width: 215px;
        height: 136px;
        margin: 0 auto;
    }

    .gauge-label {
        font-size: 11px;
    }

    .label-interest {
        left: 34px;
        top: 66px;
    }

    .label-caution {
        left: 72px;
        top: 25px;
    }

    .label-alert {
        left: 121px;
        top: 26px;
    }

    .label-danger {
        left: 158px;
        top: 66px;
    }

    .info-row .label,
    .info-row .sub {
        font-size: 15px;
    }

    .info-row .value-tag,
    .warning-tag {
        font-size: 14px;
    }

    .stats-card {
        padding: 24px 28px;
        overflow: hidden;
    }

    .stats-legend,
    .donut-group {
        display: grid;
        grid-template-columns: repeat(3, minmax(105px, 1fr));
        justify-content: stretch;
        column-gap: 0;
        width: 100%;
    }

    .legend-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        font-size: 17px;
        font-weight: 900;
        white-space: nowrap;
    }

    .legend-icon,
    .legend-icon img {
        width: 38px;
        height: 38px;
    }

    .more-link {
        justify-self: end;
        align-self: start;
        margin-top: 0;
        font-size: 15px;
    }

    .stats-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 210px;
        align-items: center;
        column-gap: 24px;
        margin-top: 4px;
    }

    .donut {
        width: 112px;
        height: 112px;
        margin: 0 auto;
        justify-self: center;
    }

    .donut-center .num {
        font-size: 24px;
    }

    .donut-center .unit {
        font-size: 13px;
    }

    .report-box {
        width: 210px;
        min-width: 0;
        padding-left: 24px;
        border-left: 1px dashed #d6d6d6;
        border-top: 0;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .report-thumb {
        width: 102px;
        height: 128px;
    }

    .report-btn {
        min-width: 132px;
        height: 34px;
        font-size: 13px;
    }

    .risk-card {
        min-height: auto;
        padding: 24px 28px;
    }

    .risk-body {
        display: block;
    }

    .risk-left,
    .risk-map,
    .risk-info-box {
        width: 100%;
    }

    .risk-map {
        height: 245px;
        border-radius: 8px;
    }

    .risk-info-box {
        margin-top: 12px;
        padding: 15px 16px;
        border-radius: 8px;
    }

    .risk-location {
        font-size: 17px;
        white-space: normal;
    }

    .risk-badge {
        height: 24px;
        font-size: 13px;
        padding: 0 10px;
    }

    .risk-info-box p {
        display: block;
        font-size: 15px;
        line-height: 1.55;
    }

    .risk-detail-btn {
        height: 34px;
        margin-top: 12px;
        font-size: 14px;
    }

    .risk-right {
        padding-top: 24px;
        gap: 14px;
    }

    .risk-title {
        font-size: 27px;
    }

    .risk-bar {
        margin-top: 8px;
        padding-top: 34px;
    }

    .risk-current {
        position: relative;
        height: 34px;
        margin-bottom: 8px;
        text-align: left;
    }

    .risk-current-label {
        position: absolute;
        left: 62.5%;
        transform: translateX(-50%);
        margin-left: 0;
        font-size: 14px;
        padding: 7px 18px;
        white-space: nowrap;
    }
    
    
    .risk-current-label-1{
        position: absolute;
        left: 12.5%;
        transform: translateX(-50%);
        margin-left: 0;
        font-size: 14px;
        padding: 7px 18px;
        white-space: nowrap;
    }
    
    .risk-current-label-2{
        position: absolute;
        left: 37.5%;
        transform: translateX(-50%);
        margin-left: 0;
        font-size: 14px;
        padding: 7px 18px;
        white-space: nowrap;
    }
    
    .risk-current-label-3{
        position: absolute;
        left: 62.5%;
        transform: translateX(-50%);
        margin-left: 0;
        font-size: 14px;
        padding: 7px 18px;
        white-space: nowrap;
    }
    
    .risk-current-label-4{
        position: absolute;
        left: 87.5%;
        transform: translateX(-50%);
        margin-left: 0;
        font-size: 14px;
        padding: 7px 18px;
        white-space: nowrap;
    }

    .risk-gradient {
        height: 25px;
    }

    .risk-labels {
        margin-top: 10px;
        font-size: 15px;
    }

    .forecast-card {
        min-height: auto;
        padding: 24px 28px;
    }

    .forecast-body {
        display: grid;
        grid-template-columns: 55% 1fr;
        gap: 24px;
        align-items: center;
    }

    .forecast-image {
        width: 100%;
        height: 230px;
        border-radius: 8px;
    }

    .forecast-right {
        height: auto;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .forecast-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 42px;
    }

    .forecast-title {
        font-size: 23px;
        line-height: 1.25;
        white-space: normal;
    }

    .forecast-stats {
        display: grid;
        grid-template-columns: repeat(2, 104px);
        justify-content: start;
        gap: 12px;
        margin-top: 0;
        width: auto;
    }

    .forecast-stat {
        width: 104px;
        height: 104px;
        min-height: 0;
        aspect-ratio: auto;
        grid-template-rows: 32px 1fr;
    }

    .forecast-stat .tag,
    .forecast-stat .count {
        font-size: 14px;
    }

    .forecast-stat .count strong {
        font-size: 28px;
    }

    .action-guide-card,
    .action-trail-card {
        height: auto !important;
        min-height: 0 !important;
        border-radius: 10px;
        overflow: hidden;
        background: transparent;
        position: relative;
    }

    .action-guide-img,
    .action-trail-img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
        object-fit: contain;
        object-position: center center;
    }

    .action-guide-title,
    .action-trail-title {
        left: 42px;
        top: 32px;
        font-weight: 900;
        letter-spacing: -1px;
        line-height: 1.22;
    }

    .action-guide-title {
        font-size: 32px;
    }

    .action-trail-title {
        font-size: 22px;
    }

    .action-guide-btn,
    .action-trail-btn {
        left: 42px;
        bottom: 18px;
        height: auto;
        min-height: 34px;
        max-width: 250px;
        padding: 8px 15px;
        font-size: 13px;
        line-height: 1.25;
        border-radius: 5px;
        white-space: normal;
        text-align: center;
    }

    footer {
        margin-top: 0;
        padding: 26px 0 34px;
        background: #d9d9d9;
        border-top: 1px solid #cfcfcf;
    }

    .footer-inner {
        padding: 0 24px;
        font-size: 14px;
        color: #444;
    }

    .footer-top {
        display: block;
        padding-bottom: 14px;
        border-bottom: 2px solid #c3c3c3;
    }

    .footer-left {
        display: block;
    }

    .footer-logo {
        margin-bottom: 14px;
    }

    .footer-logo img {
        height: 44px;
    }

    .footer-info {
        display: block;
        font-size: 14px;
        line-height: 1.75;
    }

    .footer-info span {
        display: block;
    }

    .footer-info strong,
    .footer-info .phone {
        display: inline;
    }

    .footer-info strong::after {
        content: " ";
    }

    .footer-info .sep {
        display: none;
    }

    .footer-links {
        display: flex;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 14px;
        font-size: 14px;
        color: #333;
        white-space: nowrap;
    }

    .footer-bottom {
        display: block;
        padding-top: 14px;
        font-size: 14px;
        line-height: 1.65;
    }
    
    .smart-app-banner-btn{
   	    bottom: 15px;
    }
    
    .smart-app-banner-img{
    	width:80px;	
    }
}

/* ============ 모바일 ============ */
@media (max-width: 768px) {
    .gov-bar {
        padding: 7px 0;
        font-size: 13px;
    }

    .gov-bar-inner {
        justify-content: center;
        padding: 0 12px;
        gap: 6px;
    }

    .gov-flag img {
        width: 18px;
    }

    .alert-banner {
        padding: 7px 12px;
        font-size: 14px;
        line-height: 1.25;
        background: #e90000;
        color: #fff;
        border-bottom: 0;
    }

    .alert-banner strong,
    .alert-banner .red-text {
        color: #fff200;
    }

    .header-inner {
        height: 64px;
        padding: 0 16px;
    }

    .logo {
        gap: 8px;
    }

    .logo-mark,
    .logo-mark img {
        width: 76px;
    }

    .logo-text .name {
        font-size: 21px;
        font-weight: 900;
        letter-spacing: -0.9px;
        color: #111;
    }

    .hero {
        height: 235px;
    }

    .hero-content {
        padding: 0 58px;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.22;
        margin-bottom: 9px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 11px;
    }

    .hero-arrow {
        width: 28px;
        height: 28px;
        font-size: 36px;
    }

    .hero-arrow.prev {
        left: 10px;
    }

    .hero-arrow.next {
        right: 10px;
    }

    .container {
        width: 100%;
        padding: 16px 12px 24px;
    }

    .grid {
        gap: 12px;
        margin-top: 12px !important;
    }

    .card,
    .action-card {
        width: 100%;
        border-radius: 10px;
    }

     .map-card{height:760px} 


    .status-card {
        padding: 20px 14px;
    }

    .status-title {
        margin-bottom: 16px;
        font-size: 18px;
    }

    .status-icon,
    .status-icon img {
        width: 40px;
        height: 40px;
    }

    .status-text .label {
        font-size: 13px;
        margin-bottom: 2px;
        letter-spacing: -0.4px;
    }

    .status-text .value {
        font-size: 20px;
    }

    .yearly-card {
        padding: 18px 14px;
    }

    .yearly-title .title-text {
        font-size: 17px;
    }

    .yearly-title .title-count strong {
        font-size: 18px;
    }

    .yearly-arrow {
        font-size: 30px;
    }

    .region-item .name {
        font-size: 14px;
    }

    .region-item .count strong {
        font-size: 19px;
    }

    .region-item .count span {
        font-size: 13px;
    }

    .warning-card {
        padding: 18px 14px 16px;
    }

    .warning-card .card-header {
        margin-bottom: 4px;
    }

    .warning-tab {
        font-size: 16px;
    }

    .warning-time {
        font-size: 12px;
    }

    .warning-body {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .gauge {
        width: 176px;
        height: 112px;
    }

    .gauge-label {
        font-size: 10px;
    }

    .label-interest {
        left: 28px;
        top: 57px;
    }

    .label-caution {
        left: 60px;
        top: 21px;
    }

    .label-alert {
        left: 101px;
        top: 22px;
    }

    .label-danger {
        left: 132px;
        top: 57px;
    }

    .info-row {
        min-height: 42px;
        padding: 9px 10px;
    }

    .info-row .label {
        font-size: 13px;
        margin-right: 7px;
    }

    .info-row .value-tag,
    .warning-tag {
        min-width: 38px;
        height: 22px;
        font-size: 13px;
        padding: 0 10px;
    }

    .info-row.area-row {
        min-height: 54px;
    }

    .info-row.area-row .label {
        margin-bottom: 5px;
    }

    .info-row .sub {
        font-size: 13px;
    }

    .stats-card {
        padding: 18px 12px 16px;
        overflow: hidden;
    }

    .stats-legend,
    .donut-group {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 0;
    }

    .legend-item {
        gap: 4px;
        font-size: 12px;
    }

    .legend-icon,
    .legend-icon img {
        width: 24px;
        height: 24px;
    }

    .stats-body {
        grid-template-columns: 1fr 92px;
        column-gap: 6px;
        margin-top: 4px;
    }

    .donut {
        width: clamp(66px, 18vw, 84px);
        height: clamp(66px, 18vw, 84px);
    }

    .donut-center .num {
        font-size: clamp(17px, 3.8vw, 22px);
    }

    .donut-center .unit {
        font-size: 11px;
    }

    .report-box {
        width: 92px;
        min-width: 0;
        padding-left: 6px;
        border-left: 1px solid #e2e2e2;
        gap: 6px;
        overflow: hidden;
    }

    .report-thumb {
        width: 58px;
        height: 72px;
        padding: 3px;
    }

    .report-btn {
        min-width: 76px;
        height: auto;
        min-height: 28px;
        padding: 5px 7px;
        font-size: 10px;
        line-height: 1.2;
        white-space: normal;
    }

    .risk-card {
        padding: 16px 14px 18px;
    }

    .risk-map {
        height: 145px;
    }

    .risk-location {
        font-size: 14px;
    }

    .risk-info-box p {
        font-size: 13px;
    }

    .risk-title {
        font-size: 22px;
    }

    .risk-right {
        padding-top: 16px;
    }

    .risk-bar {
        margin-top: 4px;
        padding-top: 26px;
    }

    .risk-current {
        height: 30px;
        margin-bottom: 6px;
    }

    .risk-current-label {
        left: 62.5%;
        margin-left: 0;
        font-size: 12px;
        padding: 6px 14px;
    }

    .forecast-card {
        padding: 16px 14px;
    }

    .forecast-body {
        grid-template-columns: 44% 1fr;
        gap: 12px;
        align-items: center;
    }

    .forecast-image {
        height: 122px;
    }

    .forecast-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .forecast-header {
        margin-bottom: 10px;
    }

    .forecast-title {
        font-size: 15px;
        line-height: 1.3;
    }

    .forecast-stats {
        grid-template-columns: repeat(2, minmax(58px, 1fr));
        gap: 8px;
        margin-top: 0;
    }

    .forecast-stat {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        grid-template-rows: 28px 1fr;
    }

    .forecast-stat .tag,
    .forecast-stat .count {
        font-size: 13px;
    }

    .forecast-stat .count strong {
        font-size: 23px;
    }

    .action-guide-card {
        height: 120px !important;
        min-height: 120px !important;
        position: relative;
    }

    .action-guide-img {
        height: 100%;
        object-fit: cover;
    }

    .action-guide-title {
        top: 17px;
        left: 20px;
        font-size: 22px;
        letter-spacing: -0.8px;
        line-height: 1.2;
    }

    .action-guide-btn {
        left: 20px;
        bottom: 15px;
        max-width: 150px;
        padding: 7px 10px;
        font-size: 11px;
        line-height: 1.25;
        white-space: normal;
    }

    .trail-pc {
        display: none !important;
    }

    .trail-mo {
        display: block !important;
    }

    .action-trail-card {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 0 18px !important;
        background: #fff;
        overflow: hidden;
    }

    .action-trail-img.trail-mo {
        width: 100%;
        height: 170px;
        object-fit: cover;
        object-position: center center;
        border-radius: 0;
    }

    .action-trail-title {
        position: static;
        margin: 16px 18px 10px;
        max-width: none;
        font-size: 16px;
        line-height: 1.35;
        background: transparent;
    }
    
	.action-trail-title  br{
		display:none;
	}

    .action-trail-btn {
        position: static;
        width: calc(100% - 36px);
        max-width: none;
        margin: 0 18px 14px;
        min-height: 38px;
        white-space: normal;
    }
    
       .smart-app-banner-img{
    	width:75px;	
    }
    
    .smart-app-banner-title {
        font-size: 18px;
        top: 82px;
    }

    .smart-app-banner-title .mobile-hide {
        display: none;
    }
}

/* ============ 431~768 모바일 가로형 보정 ============ */
@media (min-width: 431px) and (max-width: 768px) {
    .container {
        padding: 16px 14px 0;
    }

    .stats-card {
        padding: 20px 18px;
    }

    .stats-card .card-header,
    .stats-body {
        grid-template-columns: minmax(0, 1fr) 140px;
        column-gap: 14px;
    }

    .stats-legend,
    .donut-group {
        grid-template-columns: repeat(3, minmax(82px, 1fr));
        column-gap: 4px;
    }

    .legend-item {
        font-size: 13px;
        gap: 5px;
    }

    .legend-icon,
    .legend-icon img {
        width: 27px;
        height: 27px;
    }

    .donut {
        width: 82px;
        height: 82px;
    }

    .donut-center .num {
        font-size: 20px;
    }

    .report-box {
        width: 140px;
        padding-left: 12px;
        gap: 8px;
    }

    .report-thumb {
        width: 72px;
        height: 90px;
    }

    .report-btn {
        min-width: 104px;
        font-size: 11px;
    }

    .forecast-card {
        padding: 18px 16px;
    }

    .forecast-body {
        grid-template-columns: 42% 1fr;
        gap: 12px;
        align-items: center;
    }

    .forecast-image {
        height: 128px;
    }

    .forecast-header {
        margin-bottom: 12px;
    }

    .forecast-title {
        font-size: 16px;
        letter-spacing: -0.6px;
    }

    .forecast-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(82px, 1fr));
        gap: 10px;
        width: 100%;
    }

    .forecast-stat {
        width: 100%;
        height: 82px;
        aspect-ratio: auto;
        grid-template-rows: 28px 1fr;
    }

    .forecast-stat .tag {
        font-size: 13px;
    }

    .forecast-stat .count strong {
        font-size: 24px;
    }

    .grid:has(.action-guide-card),
    .grid:has(.action-trail-card) {
        gap: 12px;
        margin-bottom: 18px !important;
    }

    .action-guide-card {
        height: 200px !important;
        min-height: 200px !important;
        overflow: hidden;
    }

    .action-guide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .action-guide-title {
        top: 24px;
        left: 22px;
        font-size: 30px;
        line-height: 1.18;
    }

    .action-guide-btn {
        left: 22px;
        bottom: 18px;
        min-height: 32px;
        padding: 7px 12px;
        font-size: 12px;
        line-height: 1.25;
    }

    footer {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: 18px !important;
        border-radius: 0;
    }

    .footer-inner {
        padding: 0 24px;
    }
    
    .smart-app-banner-btn{
   	    bottom: 11px;
   	    left: 12%;
    }
}

/* ============ 430 이하 모바일 ============ */
@media (max-width: 430px) {
    body {
        background: #d9d9d9;
    }

    .container {
        padding-bottom: 0 !important;
        background: #f7f8f9;
    }

    .stats-card .card-header,
    .stats-body {
        grid-template-columns: 1fr 86px;
    }

    .legend-item {
        font-size: 11px;
    }

    .legend-icon,
    .legend-icon img {
        width: 22px;
        height: 22px;
    }

    .donut {
        width: 64px;
        height: 64px;
    }

    .report-box {
        width: 86px;
        padding-left: 5px;
    }

    .report-thumb {
        width: 52px;
        height: 66px;
    }

    .report-btn {
        min-width: 70px;
        min-height: 28px;
        padding: 4px 6px;
        font-size: 9px;
    }

    .forecast-body {
        grid-template-columns: 42% 1fr;
        gap: 10px;
        align-items: center;
    }

    .forecast-image {
        height: 112px;
    }

    .forecast-header {
        align-items: flex-start;
        margin-bottom: 8px;
    }

    .forecast-title {
        max-width: 120px;
        font-size: 14px;
        line-height: 1.25;
        word-break: keep-all;
    }

    .forecast-stats {
        grid-template-columns: repeat(2, minmax(58px, 1fr));
        gap: 8px;
    }

    .forecast-stat {
        min-height: 74px;
        aspect-ratio: auto;
        grid-template-rows: 28px 1fr;
    }

    .forecast-stat .tag,
    .forecast-stat .count {
        font-size: 12px;
    }

    .forecast-stat .count strong {
        font-size: 22px;
    }

    .grid:has(.action-trail-card) {
        margin-bottom: 20px !important;
    }

    .action-guide-card {
        height: 165px !important;
        min-height: 165px !important;
        overflow: hidden;
    }

    .action-guide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
    }

    .action-guide-title {
        top: 18px;
        left: 18px;
        max-width: 145px;
        font-size: 22px;
        line-height: 1.16;
    }

    .action-guide-btn {
        left: 18px;
        bottom: 16px;
        max-width: 92px;
        min-height: 31px;
        padding: 7px 10px;
        font-size: 11px;
        white-space: nowrap;
    }

    .action-trail-card {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 0 18px !important;
        background: #fff;
        overflow: hidden;
    }

    .action-trail-img.trail-mo {
        display: block;
        width: 100%;
        height: 150px;
        object-fit: cover;
        object-position: center center;
        margin: 0;
        border-radius: 0;
    }

    .action-trail-title {
        position: static;
        max-width: none;
        margin: 16px 18px 12px;
        padding: 0;
        background: transparent;
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: -0.6px;
    }

    .action-trail-btn {
        position: static;
        width: calc(100% - 36px);
        max-width: none;
        min-height: 42px;
        margin: 0 18px 14px;
        padding: 10px 14px;
        font-size: 12px;
        line-height: 1.25;
        white-space: nowrap;
    }

    footer {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 34px;
        border-radius: 0;
    }

    .footer-inner {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .smart-app-banner-img{
  		 width: 138px;
 		 right: 10px;
    }
    
    .smart-app-banner-title{
    	top: 37px;
    }
    
    .smart-app-banner-btn{
  		left: 12px;	
     	bottom: 13px;
     	min-width: 76px;
    }
   	.grid50 {
		grid-template-columns: 1fr;
	}    
}

/* ============ 380 이하 모바일 ============ */
@media (max-width: 380px) {
    .hero-content {
        padding: 0 50px;
    }

    .logo-mark,
    .logo-mark img {
        width: 66px;
    }

    .logo-text .name {
        font-size: 19px;
    }

    .stats-card .card-header,
    .stats-body {
        grid-template-columns: 1fr 78px;
        column-gap: 5px;
    }

    .legend-item {
        font-size: 10px;
    }

    .legend-icon,
    .legend-icon img {
        width: 20px;
        height: 20px;
    }

    .donut {
        width: 58px;
        height: 58px;
    }

    .report-box {
        width: 78px;
    }

    .report-thumb {
        width: 48px;
        height: 62px;
    }

    .report-btn {
        min-width: 64px;
        font-size: 9px;
    }

    .forecast-body {
        grid-template-columns: 42% 1fr;
        gap: 10px;
    }
}

/* ============ PC 카드 타이틀 보정 ============ */
@media (min-width: 1025px) {
    .risk-body,
    .forecast-body {
        align-items: start;
    }

    .risk-right,
    .forecast-right {
        padding-top: 10px;
    }

    .forecast-stats {
        margin-top: 30px;
    }
    #gnb2{
    	display:none;
    }
}

/* ============ hover ============ */
.more-link:hover {
    color: #1f735f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.report-btn:hover,
.action-guide-btn:hover,
.action-trail-btn:hover,
.action-btn:hover {
    background: #0a6354;
    border-color: #0a6354;
}

.yearly-arrow:hover,
.warning-arrow:hover {
    color: #333;
}

.card:hover,
.action-card:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

/*****************************원인별 산불 CSS*****************************/
#causeChat .cause_chart_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0px 10px 0px 10px;
    height: 60%;
}

#causeChat .cause_chart_left {
    width: 260px;
    height: 155px;
    flex: 0 0 255px  ;
}

#causeChat .cause_chart_left canvas {
    width: 100% !important;
    height: 100% !important;
}

#causeChat .cause_chart_right {
    flex: 1;
    min-width: 180px;
}

#causeChat .cause_legend {
    margin: 0;
    padding: 0;
    list-style: none;
}

#causeChat .cause_legend li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #333;
}

#causeChat .legend_item_left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#causeChat .legend_color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: 0 0 12px;
}

#causeChat .legend_label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#causeChat .legend_value {
    font-weight: 600;
    color: #111;
    flex: 0 0 auto;
}

#causeChat .cause_legend {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 2열 */
    gap: 0px 10px;
}

@media screen and (max-width: 590px) {
    #causeChat .cause_chart_wrap {flex-wrap: wrap;justify-content: center;}
    #causeChat .cause_chart_left {flex: 0 0 255px;}
    #causeChat .cause_chart_right {flex: 0 0 100%;margin-top: 10px;}
    #causeChat .cause_legend {grid-template-columns: 1fr;}
}
/*****************************도넛차트 CSS*****************************/
.stats-grid {
	display: grid;
	grid-template-columns: 3fr auto 1fr;
	gap: 16px;
}
.stats-grid3{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}

.stats-divider-line {
	width: 1px;

	background-image: linear-gradient(
		to bottom,
		#cfd8df 50%,
		transparent 50%
	);

	background-size: 1px 8px;
	background-repeat: repeat-y;
}

.stats-item {
	background: #fff;
	border-radius: 16px;
	text-align: center;
}

.stats-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 16px;
	font-weight: 600;
}

.stats-title img {
	width: 40px;
	height: 40px;
}

.report-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.report-thumb {
	margin: 10px 0 20px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.report-thumb img {
	display: block;
	max-width: 120px;
	height: auto;
}

.report-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #1f7a4f;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 
.card-period{
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-right: 22px;
    margin-top: -6px;
}

.card-header .more-link{
	margin-top: 0px;
}

 .stats-item .chart_con{
	width: 120px;
	margin: 0 auto;
 }
 
.stats-item .chart-wrapper {
	position: relative;
	width: 120px;
	margin: 0 auto;
}

.chart-wrapper canvas {
	width: 100% !important;
	height: 100% !important;
}

.center-label {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	pointer-events: none;
	transition: opacity 0.2s;
}

.label-value {
    display: flex;
    flex-direction: column;   /* ↓ 세로 정렬 */
    align-items: center;
    justify-content: center;
}

.value-num {
    font-size: 22px;
    font-weight: 700;
}

.value-unit {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.info-row .warning-tag{padding: 4px 20px;}
.warning-tabs .warning-tag{padding: 4px 20px;}
.headerEng{display: block;position: absolute;font-size: small;left: 124px;margin-top: -60px;color: #cac7c7;}

@media screen and (max-width: 590px) {
	.stats-grid {grid-template-columns: 1fr;gap: 12px;}
	.stats-grid3 {grid-template-columns: 1fr;gap: 12px;}
	.stats-item {width: 100%;}
	.stats-divider-line {display: none;}
	.report-thumb{height: 150px;}
	.warning-body .gauge{width: 129px;}
	.info-row .warning-tag{padding: 4px 5px;}
	.warning-tabs .warning-tag{padding: 4px 3px;}
	.headerEng{display: block;position: absolute;font-size: small;left: -6px;margin-top: -48px;color: #cac7c7;}
} 

/*****************************연보다운로드 팝업 CSS*****************************/
/* 팝업 배경 */
.ebook-popup {display: none;position: fixed;inset: 0;background: rgba(0, 0, 0, 0.5);z-index: 9999;}
/* 팝업 본체 */
.ebook-content {position: relative;width: 1100px;max-width: 90%;background: #fff;margin: 50px auto;padding: 30px;border-radius: 16px;box-sizing: border-box;box-shadow: 0 10px 30px rgba(0,0,0,.2);}
/* 헤더 */
.popup-header {position: relative;margin-bottom: 25px;padding-bottom: 15px;border-bottom: 1px solid #e5e5e5;}
.popup-header h3 {margin: 0;text-align: center;font-size: 24px;font-weight: 700;color: #333;}
/* 닫기 버튼 */
.popup-close {position: absolute;top: -5px;right: 0;width: 40px;height: 40px;border: none;background: transparent;font-size: 28px;font-weight: 700;color: #666;cursor: pointer;transition: all .2s ease;}
.popup-close:hover {color: #1f7337;transform: scale(1.1);}
/* 책 목록 */
.book-list {display: flex;flex-wrap: wrap;gap: 24px;justify-content: center;}
/* 책 카드 */
.book-item {width: 180px;cursor: pointer;text-align: center;transition: all .2s ease;}
.book-item:hover {transform: translateY(-6px);}
/* 표지 이미지 */
.book-item img {width: 100%;height: 240px;object-fit: cover;border-radius: 10px;border: 1px solid #ddd;box-shadow: 0 4px 12px rgba(0,0,0,.15);}
/* 책 제목 */
.book-item span {display: block;margin-top: 10px;font-size: 15px;font-weight: 600;color: #333;}

/* 모바일 */
@media (max-width: 768px) {
    .ebook-popup {padding: 10px;box-sizing: border-box;}
    .ebook-content {width: 100%;max-width: 100%;margin: 0;max-height: 90vh;overflow-y: auto;padding: 20px;}
    .book-list {gap: 15px;justify-content: center;}
    .book-item {width: 120px;}
    .book-item img {height: 170px;object-fit: cover;}
}

/* Custom Cleanups for Inline Styles */
#fireExtinguishItem, #fireEXceptionEndItem {
    cursor: pointer;
}
.mt22 {
    margin-top: 22px !important;
}
