@charset "UTF-8";
/* ===================== CSS 변수 및 전역 스타일 ===================== */
:root {
    --ast-global-color-0: #DD4B39;
    --ast-global-color-1: #C0392B;
    --ast-global-color-2: #1e293b;
    --ast-global-color-3: #111111;
    --ast-global-color-4: #FFFFFF;
    --ast-global-color-5: #FEF2F0;
    --ast-global-color-7: #D1D5DB;
    --ast-normal-container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ast-global-color-3);
    background-color: var(--ast-global-color-4);
}

a {
    color: var(--ast-global-color-0);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ast-global-color-1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    color: var(--ast-global-color-2);
    line-height: 1.4;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; line-height: 1.3em; }
h3 { font-size: 24px; line-height: 1.3em; }
h4 { font-size: 20px; line-height: 1.2em; }

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

th, td {
    border: 1px solid var(--ast-global-color-7);
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: var(--ast-global-color-5);
    font-weight: 600;
}

/* ===================== 헤더 스타일 ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--ast-global-color-4);
    border-bottom: 1px solid var(--ast-global-color-5);
}

.header-wrap {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 20px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    max-width: 180px;
    width: 180px;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-navigation .menu-link {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--ast-global-color-3);
    padding: 10px 15px;
    display: block;
}

.main-navigation .menu-link:hover {
    color: var(--ast-global-color-3);
}

.header-button .ast-custom-button {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #111111;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--ast-global-color-0);
}

/* ===================== 메인 콘텐츠 ===================== */
.site-content {
    min-height: calc(100vh - 200px);
}

.ast-container {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== Hero 섹션 ===================== */
.hero-section {
    width: 100%;
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-section .hero-image {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-section h1 {
    color: #DD4B39;
    font-size: 36px;
    font-weight: 600;
    margin: 30px 0 20px;
    text-align: center;
}

.hero-cta,
.guide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--ast-global-color-0);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta {
    margin: 10px 0 30px;
}

.hero-cta:hover,
.guide-cta:hover {
    background-color: var(--ast-global-color-1);
    color: #ffffff;
}

.hero-cta:hover {
    transform: scale(1.05);
}

.hero-cta svg,
.guide-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Buzz 애니메이션 */
@keyframes e-animation-buzz {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.elementor-animation-buzz:hover {
    animation: e-animation-buzz 0.4s ease-in-out;
}

/* ===================== 콘텐츠 섹션 ===================== */
.content-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.content-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--ast-global-color-2);
    padding-bottom: 10px;
    display: inline-block;
}

.content-section h2.section-title {
    border-bottom: none;
    display: block;
}

.content-section p,
.comparison-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ===================== 아이콘 리스트 ===================== */
.icon-list-item {
    margin-bottom: 20px;
}

.icon-list-item .item-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.icon-list-item .item-desc {
    color: var(--ast-global-color-3);
}

/* ===================== 웹툰 추천 그리드 ===================== */
.webtoon-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.webtoon-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
}

.genre-group {
    margin-bottom: 40px;
}

.genre-label {
    background-color: var(--ast-global-color-5);
    padding: 10px 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

.webtoon-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.webtoon-card .card-image {
    flex-shrink: 0;
    width: 120px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.webtoon-card .card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.webtoon-card .card-content {
    flex: 1;
}

.webtoon-card .card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ast-global-color-2);
}

.webtoon-card .card-content p {
    font-size: 14px;
    color: var(--ast-global-color-3);
    line-height: 1.6;
}

/* ===================== 비교 테이블 ===================== */
.comparison-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
    overflow-x: auto;
}

.comparison-section h2.table-title-bar,
h2.table-title-bar {
    background-color: #DD4B39;
    color: #ffffff;
    text-align: center;
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 4px;
    display: block;
}

.comparison-section table {
    min-width: 600px;
}

.comparison-section th,
.comparison-section td {
    vertical-align: top;
}

.comparison-section td.col-phishing {
    color: var(--ast-global-color-0);
}

/* ===================== FAQ 섹션 ===================== */
.faq-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.faq-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--ast-global-color-2);
    padding-bottom: 10px;
    display: inline-block;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ast-global-color-7);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ast-global-color-2);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--ast-global-color-3);
    line-height: 1.7;
}

/* ===================== 안전 가이드 섹션 ===================== */
.guide-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.guide-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.guide-section p {
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* ===================== 푸터 ===================== */
.site-footer {
    background-color: var(--ast-global-color-4);
    border-top: 1px solid var(--ast-global-color-7);
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
}

.footer-nav {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ast-global-color-7);
}

.footer-nav a {
    color: var(--ast-global-color-3);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--ast-global-color-0);
}

.footer-nav span {
    color: var(--ast-global-color-7);
    margin: 0 8px;
}

.footer-content p {
    font-size: 14px;
    color: var(--ast-global-color-3);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* ===================== 스크롤 투 탑 ===================== */
#ast-scroll-top {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--ast-global-color-0);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 999;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

#ast-scroll-top.show {
    display: flex;
}

#ast-scroll-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transform: rotate(180deg);
}

#ast-scroll-top:hover {
    background-color: var(--ast-global-color-1);
}

/* ===================== 스페이서 ===================== */
.elementor-spacer {
    height: 30px;
}

/* ===================== 반응형 스타일 ===================== */
@media (max-width: 1024px) {
    .webtoon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 921px) {
    html {
        font-size: 91.2%;
    }

    h1 { font-size: 30px; }
    h2 { font-size: 25px; }
    h3 { font-size: 20px; }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-wrap {
        padding: 0 15px;
    }

    .site-branding .custom-logo {
        max-width: 140px;
        width: 140px;
    }

    .webtoon-card {
        flex-direction: column;
    }

    .webtoon-card .card-image {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .webtoon-grid {
        grid-template-columns: 1fr;
    }

    .comparison-section table {
        font-size: 14px;
    }
}

@media (max-width: 544px) {
    .hero-section h1 {
        font-size: 26px;
    }

    .hero-cta,
    .guide-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .content-section,
    .webtoon-section,
    .comparison-section,
    .faq-section,
    .guide-section {
        padding: 20px 15px;
    }

    #ast-scroll-top {
        right: 15px;
        bottom: 15px;
    }
}

/* ===================== 모바일 메뉴 드로어 ===================== */
.mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.mobile-menu-drawer.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-close-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--ast-global-color-3);
}

.mobile-nav {
    margin-top: 50px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav .menu-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ast-global-color-3);
    border-bottom: 1px solid var(--ast-global-color-5);
}


/* ===================== 블로그 리스트 ===================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-thumbnail {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 16px;
}

.blog-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.blog-tag {
    font-size: 0.75rem;
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 20px;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 12px;
}

.blog-card-rating {
    color: #f59e0b;
    font-weight: 600;
}

/* ===================== 블로그 아티클 ===================== */
.article-breadcrumb {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: #555;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: var(--ast-global-color-0);
}

.article-category-tag {
    display: inline-block;
    background: #fdecea;
    color: #DD4B39;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.9rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 14px;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.88rem;
    color: #666;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
    margin-bottom: 28px;
}

.manga-info-box {
    background: #fef5f4;
    border-left: 4px solid var(--ast-global-color-0);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
    margin: 0 0 24px;
}

.manga-info-box dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 20px;
    margin: 0;
}

.manga-info-box dt {
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.manga-info-box dd {
    margin: 0;
    color: #333;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 24px 0;
}

.rating-score {
    font-size: 2.8rem;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1;
}

.rating-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars {
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: #f59e0b;
}

.rating-count {
    font-size: 0.88rem;
    color: #666;
}

/* ===================== 댓글 섹션 ===================== */
.comment-section {
    margin-top: 40px;
}

.comment-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.comment-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-badge {
    background: var(--ast-global-color-0);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.comment-author {
    font-weight: 600;
    font-size: 0.88rem;
    color: #333;
}

.comment-time {
    font-size: 0.78rem;
    color: #bbb;
    margin-left: auto;
}

.comment-body {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.65;
    white-space: pre-wrap;
}

.comment-likes {
    margin-top: 8px;
}

.comment-likes span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .article-title { font-size: 1.4rem; }
    .rating-score { font-size: 2.2rem; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* ===================== 리뷰 폼 ===================== */
.review-form {
    margin-top: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.review-form h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ast-global-color-2);
}

.review-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ast-global-color-7);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    background: #fff;
    color: var(--ast-global-color-3);
    box-sizing: border-box;
}

.review-form-row input { flex: 1; }
.review-form-row select { flex: 0 0 140px; }

.review-form textarea {
    display: block;
    width: 100%;
    height: 90px;
    resize: none;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.review-form button {
    padding: 10px 28px;
    background: var(--ast-global-color-0);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
}

.review-form button:hover {
    background: var(--ast-global-color-1);
}

@media (max-width: 544px) {
    .review-form-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===================== 스킵 링크 ===================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ast-global-color-0);
    color: white;
    padding: 8px;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}
