@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&family=Noto+Serif+KR:wght@400;500;600;700;800&display=swap');

:root{
    --orange:#FF6C00;
    --orange-soft:#fff5eb;
    --orange-dark:#d54a00;
    --blue:#1976d2;
    --ink:#17221f;
    --muted:#70807a;
    --line:#e5ebe8;
    --bg:#f7f9f7;
    --white:#fff;
    --red:#d32f2f;
    --black:#000;
    --card:#fff;
    --radius:18px;
    --shadow:0 10px 30px rgba(19,47,38,.08);
    --max:1180px;
    --bus-brand: #d54a00;
    --bus-brand-600: #E65F00;
    --bus-brand-700: #C24F00;
    --bus-brand-100: #FFE6D3;
    --bus-brand-50: #FFF6EE;
    --bus-ink: #2B1E14;
    --bus-ink-soft: #8C7767;
    --bus-ink-faint: #B4A395;
    --bus-line: #EBDFD4;
    --bus-page: #F7F2ED;
    --news-orange: #FF6C00;
    --news-black: #171717;
    --news-gray: #666;
    --news-line: #c9c9c9;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;}
body{line-height:1.6}

.news-page {
    color: var(--news-black);
    font-family: 'Noto Sans KR', sans-serif;
    box-sizing: border-box;
    text-align: justify;
    margin: 0px;
}

.news-page * {
    box-sizing: border-box;
}

.news-page a {
    color: inherit;
    text-decoration: none;
}

.news-page a:hover h1, .news-page a:hover h2, .news-page a:hover h3 {
    color: var(--news-orange);
    -webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out
}

.news-page a:hover img {
    transform: scale(1.05);
}

/* 헤더 */
.news-header {
    position: relative;
}

.news-top {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
    padding: 0 15px;
}

.news-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-search {
    display: flex;
    height: 34px;
    border: 1px solid #ccc;
    margin-top: 20px;
}

.news-search input {
    width: 155px;
    border: 0;
    outline: none;
    padding: 0 10px;
    font-size: 12px;
}

.news-search button {
    width: 36px;
    border: 0;
    background: #fff;
    font-size: 25px;
    cursor: pointer;
}

.news-search .fa-magnifying-glass {
    display: block;
    font-size: 14px;
    color: #666;
}

.news-brand {
    margin: 0px;
    padding: 15px 0 20px 0;
    text-align: center;
    border-bottom: 4px solid var(--news-orange);
}

.news-header-nav {
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--news-line);
    text-align: center;
}

.news-header-nav a {
    display: inline-block;
    border-right: 2px solid var(--news-line);
    margin: 5px 0;
    padding: 0px 20px 2px 15px;
}
.news-header-nav a:last-child {
    border-right: 0px;
}
.news-header-nav a:hover {
    color: var(--orange);
    -webkit-transition:all .25s ease-in-out;-o-transition:all .25s ease-in-out;transition:all .25s ease-in-out
}

.news-logo {
    display: inline-block;
    font-size: 53px;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.3;
}

.news-logo span {
    color: var(--news-orange);
}

.news-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    color: #555;
    font-size: 16px;
    font-weight: 500;
}

.news-slogan span {
    width: 85px;
    height: 1px;
    background: #bbb;
}

.news-content {
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* 대표 기사 */
.news-lead {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    border-bottom: 1px solid var(--news-line);
}

.news-lead-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-lead h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(32px, 3.4vw, 43px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -2px;
    margin: 0 0 15px 0;
}

.news-lead-summary {
    font-size: 18px;
    line-height: 1.65;
    font-weight: 600;
    word-break: keep-all;
    margin: 0 0 20px;
}

.news-description {
    display: -webkit-box;
    overflow: hidden;
    color: #555;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
}

.news-lead-image {
    height: 440px;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 0 20px 0;
}

.news-lead-image img,
.news-middle-image img,
.news-feature-image img,
.news-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--news-orange) !important;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
}

.news-more span {
    font-size: 22px;
    line-height: 1;
}

/* 중간 기사 */
.news-middle {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--news-line);
}

.news-middle-item {
    min-width: 0;
}

.news-middle-item + .news-middle-item {
    border-left: 1px solid var(--news-line);
    padding-left: 18px;
}

.news-middle-image {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin: 0 0 10px 0;
}

.news-middle-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.news-middle-text h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -1px;
    margin: 0 0 10px 0;
}

.news-middle-text p {
    display: -webkit-box;
    overflow: hidden;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* 하단 기사 */
.news-bottom-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 13px;
    padding: 12px 0;
    border-top: 1px solid var(--news-line);
}

.news-bottom-image {
    height: 68px;
    overflow: hidden;
    border-radius: 5px;
}

.news-bottom-item h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 5px 0;
}

.news-bottom-list p {
    color: #555;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* 이미지 호버 */
.news-page img {
    transition: transform .4s ease;
}

.news-page article:hover img {
    transform: scale(1.035);
}

.news-date {
    font-size: 11px;
}

/* 뉴스 상세 내용 */
.news-article {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 24px;
}
.news-view-title {
    font-size: 30px;
    font-weight: 800;
    font-family: 'Noto Serif KR', serif;
    letter-spacing: -1px;
}
.news-view-date {
    font-size: 12px;
}
.news-view-photo {
    width: 100%;
    text-align: center;
}
.news-view-photo img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.news-view-content {
    font-size: 20px;
    margin: 20px 0;
}
.news-view-content b {
    font-size: 24px;
    font-family: 'Noto Serif KR', serif;
    letter-spacing: -1px;
}
.news-menu {
    border-left: 1px solid var(--news-line);
    padding: 0 0 0 20px;
}
.news-menu h2 {
    font-size: 20px;
    font-weight: 600;
    border-left: 5px solid var(--orange);
    border-bottom: 1px solid var(--news-line);
    margin: 0 0 20px 0;
    padding: 3px 0 6px 10px;
}
.news-menu .news-menu-photo {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 10px;
}
.news-menu .news-menu-photo img {
    width: 100%;
}
.news-menu .news-menu-title {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Noto Serif KR', serif;
    letter-spacing: -1px;
    margin-bottom: 20px;
    padding-top: 5px;
    line-height: 1.5;
}
.btn-list {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 9px 20px 10px 20px;
}
.btn-list:hover {
    color: #fff;
    border: 1px solid var(--orange-dark);
    background-color: var(--orange);
}

/* 태블릿 */
@media (max-width: 1032px) {
    .news-lead {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .news-lead-image {
        height: 360px;
    }

    .news-content {
        padding: 0 20px;
    }

    .news-middle {
        grid-template-columns: 1fr;
    }

    .news-middle-item + .news-middle-item {
        border-left: 0;
        border-top: 1px solid var(--news-line);
        padding: 20px 0 0;
    }

    .news-middle-item {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 15px;
    }

    .news-middle-image {
        height: 130px;
        margin: 0px;
    }

    .news-middle-text p {
        margin: 0px;
        padding: 0px;
        -webkit-line-clamp: 3;
    }

    .news-description {
        -webkit-line-clamp: 7;
    }

    .news-bottom {
        grid-template-columns: 1fr;
    }

    .news-bottom-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0 20px;
    }
}

@media (max-width: 768px) {
    .news-description {
        -webkit-line-clamp: 8;
    }

    .news-middle-item {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 15px;
    }

    .news-middle-image {
        height: 140px;
    }
}

/* 모바일 */
@media (max-width: 600px) {
    .news-header {
        position: fixed;
        width: 100%;
        margin-bottom: 18px;
        border-bottom-width: 3px;
        background-color: #fff;
        z-index: 9998;
    }

    .news-header-nav {
        display: none;
    }

    .news-top {
        height: auto;
        padding: 0 10px;
    }

    .news-links {
        gap: 6px;
    }

    .news-tools {
        gap: 0;
    }

    .news-search {
        height: 29px;
        margin-top: 10px;
    }

    .news-search input {
        width: 125px;
        font-size: 11px;
    }

    .news-search button {
        width: 29px;
        font-size: 20px;
    }

    .news-brand {
        display: grid;
        grid-template-columns: 1fr 41px;
        padding: 10px 0 12px 15px;
        text-align: left;
    }

    .news-logo {
        font-size: 30px;
        letter-spacing: -2px;
    }

    .news-slogan {
        font-size: 12px;
        gap: 10px;
    }

    .news-slogan span {
        width: 35px;
    }

    .news-content {
        padding: 80px 15px 0 15px;
    }

    /* 대표 기사 */
    .news-lead {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
        padding-bottom: 20px;
    }

    .news-lead-image {
        height: 230px;
        margin: 0px;
    }

    .news-lead-text {
        padding: 12px 0 0;
    }

    .news-lead h1 {
        font-size: 24px;
        line-height: 1.4;
        margin: 0 0 12px;
        letter-spacing: -1.5px;
    }

    .news-lead-summary {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .news-description {
        display: block;
        font-size: 13px;
        line-height: 1.75;
        margin-bottom: 0px;
    }

    /* 중간 기사 */
    .news-middle {
        padding: 18px 0;
        gap: 18px;
    }

    .news-middle-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-middle-item + .news-middle-item {
        padding-top: 18px;
    }

    .news-middle-image {
        height: 210px;
    }

    .news-middle-text h2 {
        font-size: 23px;
        margin: 0 0 10px;
    }

    .news-middle-text p {
        font-size: 13px;
        display: block;
    }

    /* 하단 기사 */
    .news-bottom {
        gap: 15px;
    }

    .news-bottom-item {
        padding-top: 18px;
    }

    .news-bottom-item h3 {
        font-size: 23px;
    }

    .news-bottom-list {
        grid-template-columns: 1fr;
    }

    .news-bottom-item {
        grid-template-columns: 1fr;
    }

    .news-bottom-image {
        height: 210px;
        border-radius: 10px;
    }

    .news-article {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-view-title {
        font-size: 24px;
    }
    .news-view-content {
        font-size: 16px;
    }
    .news-view-content b {
        font-size: 18px;
    }
    .news-menu {
        border-left: 0px;
        padding: 0px;
    }
}

/* 커뮤니티 */
.comm-section-head{display:flex;align-items:center;justify-content:space-between;margin:0px;padding:20px 0px 10px 0px;border-bottom: 1px solid var(--orange)}
.comm-section-title{display:flex;align-items:center;gap:11px;margin:0;font-size:22px;font-weight:bold;letter-spacing:-.045em}
.comm-dot{width:9px;height:9px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 6px var(--soft)}
.comm-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:15px 0 0 0;}
.comm-info{overflow:hidden;border-radius:16px;border:1px solid var(--line);background:#fff}
.comm-info-img{height:182px;background:linear-gradient(135deg,#34373a,#777b80);position:relative}
.comm-info-img img { width:100%;height:100%; }
.comm-info-body{text-align:center;padding: 12px 0}
.comm-info-body b{display:block;font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.comm-info-body small{color:#9a9da2;font-size:11px;display:block;margin-top:6px}

@media (max-width: 768px){
    .comm-info-grid{grid-template-columns:repeat(4,1fr);gap:14px;padding:15px 0 0 0;}
    .comm-info-img{height:100px;}
}
@media (max-width: 600px){
    .comm-info-grid{grid-template-columns:repeat(2,1fr);gap:14px;padding:15px 0 0 0;}
    .comm-info-img{height:100px;}
}

/* FOOTER */
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}
.brand-mark{
  width:42px;height:34px;position:relative;
  background:linear-gradient(145deg,#ffac70,#d54a00);
  clip-path:polygon(50% 0,100% 100%,76% 100%,50% 48%,27% 100%,0 100%);
}
.brand-name strong{display:block;font-size:29px;letter-spacing:-.05em}
.giwb-inner-ad {
    width: min(600px, calc(100% - 40px));
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background-color: #fff;
}
.giwb-inner-ad.wide {
  width: 100%!important;
}
.footer{background:#393939;padding:38px 0}
.footer .container {max-width: 1400px;margin: auto;padding: 0px 24px 0px;}
.footer-grid{display:grid;grid-template-columns:1fr 2fr;gap:40px}
.footer .brand-name strong{color:#fff}
.footer .brand-name span{color:#fff}
.footer .brand-copyright {font-size:12px;color:#fff;margin-top:5px;}
.footer p{font-size:12px;color:#fff;margin:6px 0}
.footer-links{text-align:right;font-size:12px;color:#E8CDBA}
/* Mobile bottom navigation */
.bottom-nav{
  display:none;
  position:fixed;left:0;right:0;bottom:0;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
  border-top:1px solid var(--line);
  z-index:120;
  grid-template-columns:repeat(5,1fr);
}
.bottom-nav a{padding:9px 3px 8px;text-align:center;font-size:12px;color:#666;}
.bottom-nav a.active{color:#fff;background-color:var(--orange)}
.bottom-nav a strong{display:block;font-size:20px;line-height:1.2}
.mobile-menu{display:none;}
/* 모바일 메뉴 */
/* 배경 딤 처리 */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 전체메뉴 레이어 */
.all-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85%, 200px);
    background: #fff;
    z-index: 9999;

    box-shadow: -10px 0 35px rgba(0,0,0,.12);

    transform: translateX(105%);
    transition: transform .38s cubic-bezier(.22,1,.36,1);

    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.all-menu.active {
    transform: translateX(0);
}

/* 닫기 버튼 */
.menu-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    font-size: 20px;
    color: #222;
    cursor: pointer;
    z-index: 3000;
}

/* 로고 영역 */
.menu-header {
    padding: 82px 25px 30px;
    flex-shrink: 0;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1.2px;
    color: #202629;
}

.logo-symbol {
    width: 32px;
    height: 30px;
    flex-shrink: 0;
}

/* 메뉴 스크롤 영역 */
.menu-scroll {
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    padding: 52px 12px 0 12px;
    scrollbar-width: none;
}

.menu-scroll::-webkit-scrollbar {
    display: none;
}

/* 메뉴 리스트 */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li:first-child {
    border-top: 1px solid #ededed;
}
.menu-list li {
    border-bottom: 1px solid #ededed;
}

.menu-list a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 20px;
    align-items: center;
    column-gap: 10px;
    min-height: 39px;
    padding: 0 10px;
    text-decoration: none;
    color: #30363a;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.5px;

    border-radius: 12px;
    transition: background .2s, color .2s;
}

.menu-list .menu-icon {
    width: 20px;
    font-size: 22px;
    text-align: center;
    color: #30383c;
}

.menu-lsit a span {
    min-width: 0;
    text-align: left;
}

.menu-list .arrow {
    width: 20px;
    margin: 0;
    font-size: 15px;
    text-align: right;
    justify-self: end;
    color: #62686b;
}

/* 활성화 메뉴 */
.menu-list li.active a {
    background: #fff1e5;
    color: #f66a00;
    margin: 5px 0;
}

.menu-list li.active .menu-icon,
.menu-list li.active .arrow {
    color: #ff6c00;
}

/* 터치 효과 */
.menu-list a:active {
    background: #f5f5f5;
}

.search input { font-size: 13px; width: 97%; border: 1px solid #d9d9d9!important; border-radius: 5px; padding: 0 0 0 5px; }
.search button { width:100%; font-size: 12px; color: #fff; border: 0px; background-color:var(--orange);border-radius:5px; margin: 0px; padding: 2px 0 3px 0; box-shadow: none; }
.search button:hover { color: #fff; background-color: #E65400; }

.scroll-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  color: #ddd!important;
  background: rgba(90, 92, 105, 0.5);
  line-height: 46px;
  z-index: 10000;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: #fff!important;
}

.scroll-to-top:hover {
  background: #5a5c69;
}

.scroll-to-top i {
  font-size: 30px;
  font-weight: 800;
}

@media (max-width: 992px){
  .footer{background:#393939;padding:38px 0 100px 0}
  .footer-grid{grid-template-columns:1fr;gap:15px}
  .footer-links{text-align:left}
  .bottom-nav{display:grid}
  .mobile-menu{display:inline-block;margin-top:3px;font-size:20px;}
  .scroll-to-top { bottom: 5rem; }
}
