/* ========== 헤더 ========== */
.ast-primary-header-bar,
.site-header,
.ast-primary-header,
#ast-desktop-header .ast-primary-header-bar,
.ast-header-stacked-desktop .ast-primary-header-bar,
.main-header-bar {
    background-color: #2d3480 !important;
    border-bottom: none !important;
}

/* 로고 */
.custom-logo {
    max-width: 300px !important;
    width: auto !important;
    height: auto !important;
}
.ast-site-identity {
    padding: 10px 0 !important;
}
.site-branding .custom-logo-link img {
    max-width: 300px !important;
}

/* 사이트 제목 숨기기 */
.site-title, .site-description, .ast-site-title-wrap .site-title {
    display: none !important;
}

/* 메뉴 */
.main-header-menu > .menu-item > a,
.ast-header-break-point .ast-mobile-header-content a,
.main-navigation ul li a {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.main-header-menu > .menu-item > a:hover {
    color: #f2a100 !important;
}

/* 모바일 메뉴 아이콘 */
.ast-mobile-menu-trigger-minimal .ast-button-wrap,
.ast-header-break-point .ast-mobile-menu-buttons-minimal .menu-toggle {
    color: #fff !important;
}

/* ========== 본문 ========== */
.entry-content, .page .entry-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 80px;
    font-family: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 제목 */
.entry-content h1 {
    margin-top: 5px;
    font-size: 35px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    line-height: 2;
}
.entry-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2d3480;
}
.entry-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 35px;
    margin-bottom: 15px;
}

/* 본문 텍스트 */
.entry-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 리스트 */
.entry-content ul, .entry-content ol {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 25px;
}
.entry-content li {
    margin-bottom: 8px;
}

/* 테이블 */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}
.entry-content table th {
    background-color: #2d3480;
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}
.entry-content table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: #555;
}
.entry-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}
.entry-content table tr:hover {
    background-color: #f0f1f5;
}

/* 이미지 */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* ========== 카지노 카드 CTA 버튼 ========== */
a.toplist-insidersports__offer-cta-btn,
a[class*="offer-cta-btn"] {
    background-color: #0058c5 !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-block !important;
    transition: background-color 0.3s !important;
}
a.toplist-insidersports__offer-cta-btn:hover,
a[class*="offer-cta-btn"]:hover {
    background-color: #004099 !important;
}

/* ========== FAQ ========== */
.ms_faq.ms_card {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.ms_faq h3 {
    background: #f5f5f5;
    padding: 15px 20px;
    margin: 0;
    font-size: 17px;
    cursor: pointer;
    border-bottom: none;
}
.ms_faq p {
    padding: 0 20px 15px;
    margin: 0;
}

/* ========== 페이지 레이아웃 ========== */
.ast-page-builder-template .site-content > .ast-container {
    max-width: 100%;
}
.ast-separate-container .ast-article-single {
    padding: 0;
}

/* Astra 기본 사이드바 제거 */
.ast-right-sidebar .site-content .ast-container,
.ast-left-sidebar .site-content .ast-container {
    display: block;
}
#secondary {
    display: none;
}

/* ========== 푸터 ========== */
.site-footer, .ast-footer-overlay {
    background-color: #1a1d4e !important;
    color: #ccc !important;
}
.site-footer a {
    color: #aaa !important;
}

/* ========== 반응형 ========== */
@media (max-width: 768px) {
    .entry-content h1 {
    margin-top: 5px; font-size: 24px; }
    .entry-content h2 { font-size: 20px; }
    .entry-content h3 { font-size: 18px; }
    .entry-content { padding: 15px 20px; }
    .custom-logo { max-width: 300px !important; width: 180px !important; }
}

/* 기사 영역 상단 패딩 제거 */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.ast-separate-container .site-content .ast-container {
    padding-top: 0 !important;
}
.ast-page-builder-template .site-content > .ast-container,
.ast-plain-container .site-content > .ast-container {
    padding-top: 0 !important;
}

/* 페이지 제목 영역 패딩 맞춤 */
.entry-header.ast-no-thumbnail {
    max-width: 1140px;
    margin: 0 auto;
    padding: 15px 30px 0;
}
.entry-header .entry-title {
    font-size: 35px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin-bottom: 5px !important;
}
@media (max-width: 768px) {
    .entry-header.ast-no-thumbnail {
        padding: 10px 20px 0;
    }
    .entry-header .entry-title {
        font-size: 24px !important;
        line-height: 1.4 !important;
    }
}

/* 푸터 Astra 크레딧 숨기기 */
.ast-footer-copyright a[href*="wpastra"],
.ast-small-footer .ast-footer-site-title {
    display: none !important;
}
.site-info {
    visibility: hidden;
    position: relative;
}
.site-info::after {
    content: " A9  2026 korea-kr.pp.ua";
    visibility: visible;
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* ========== 보너스 버튼 (div 변환 후) ========== */
div.toplist-insidersports__offer-cta-btn,
div[class*="offer-cta-btn"] {
    background-color: #0058c5 !important;
    color: #fff !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: center !important;
    font-size: 16px !important;
    max-width: 280px !important;
    margin: 10px auto 0 !important;
}
.toplist-insidersports__offer-actions {
    text-align: center !important;
}
.toplist-insidersports__offer-title {
    text-align: center !important;
}

/* ========== 보너스 버튼 통합 (a + div) ========== */
.toplist-insidersports__offer-cta-btn {
    background-color: #0058c5 !important;
    color: #fff !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: center !important;
    font-size: 16px !important;
    max-width: 280px !important;
    margin: 10px auto 0 !important;
    cursor: default !important;
}
.toplist-insidersports__offer-cta-btn:hover {
    background-color: #0058c5 !important;
    color: #fff !important;
}
