/* CSS Variables */
:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #1e3a8a;
    /* Lighter Navy / Blue */
    --accent-color: #d97706;
    /* Gold/Amber */
    --accent-hover: #b45309;
    --text-dark: #0f172a;
    /* Unified Dark to Navy */
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
    --transition: all 0.3s ease;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    /* Hover to Navy as requested */
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    /* Hover to Navy */
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-white:hover {
    background-color: var(--primary-color);
    /* Hover to Navy */
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar span {
    margin-right: 20px;
}

.top-bar i {
    margin-right: 5px;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-sky {
    color: var(--primary-color);
}

.logo-cpa {
    color: var(--accent-color);
    margin-left: 5px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

/* Dropdown Menu */
.nav-menu li {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    gap: 0 !important;
    /* Override parent gap */
    text-align: left;
}

.nav-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
}

.dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    /* Hide nav on smaller screens for now */
    .mobile-toggle {
        display: block;
    }

    .header-buttons .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
        padding: 0 40px;
    }
}

/* Sections Common */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-link {
    display: block;
    /* Make anchor tag fill the grid cell */
    height: 100%;
    /* Ensure full height for equal card sizes */
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Make card fill the anchor */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        width: 100%;
    }
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.text-muted {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 5px;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    font-size: 0.9rem;
    opacity: 0.95;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Mobile menu (added 2026-10) - keep at the END of styles.css ===== */
.mobile-toggle { background: none; border: 0; }
.submenu-toggle,
.mobile-only-buttons { display: none; }
.nav-menu li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 992px) {
    .mobile-toggle { display: block; padding: 6px 10px; font-size: 1.6rem; }
    .header-buttons { display: none; }

    .nav-menu {
        display: block;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }
    body.nav-open .nav-menu { max-height: 85vh; overflow-y: auto; }

    .nav-menu > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px; }
    .nav-menu > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #e2e8f0; }
    .nav-menu > ul > li > a { flex: 1; padding: 14px 0; }
    .nav-menu > ul > li > a .fa-chevron-down { display: none; }

    .submenu-toggle { display: block; background: none; border: 0; padding: 14px; font-size: 1rem; color: var(--secondary-color); cursor: pointer; }
    .submenu-open > .submenu-toggle i { transform: rotate(180deg); }

    .nav-menu .dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; display: none; width: 100%; min-width: 0;
        padding: 0 0 10px 15px;
    }
    .nav-menu li.submenu-open > .dropdown { display: flex; }

    .mobile-only-buttons { display: flex; gap: 10px; flex-wrap: wrap; padding: 15px 20px 20px; }
    .mobile-only-buttons .btn { flex: 1; padding: 10px 16px; text-align: center; }
    .nav-menu .mobile-only-buttons .btn-primary { color: #fff; }
    .nav-menu .mobile-only-buttons .btn-outline { color: var(--accent-color); }
}
/* ===== v1.2: banner, language switch, team, footer, mobile bar ===== */
.sky-banner { background: #fef3c7; color: #78350f; font-size: 0.92rem; }
.sky-banner--alert { background: #b91c1c; color: #fff; }
.sky-banner .container { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; position: relative; }
.sky-banner p { margin: 0; text-align: center; padding-right: 28px; }
.sky-banner a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.sky-banner-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 4px 8px; }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: #94a3b8; margin-right: 4px; }
.lang-switch a { color: var(--secondary-color); padding: 4px 2px; }
.lang-switch a.is-active { color: var(--accent-color); text-decoration: underline; text-underline-offset: 4px; }
.mobile-only-buttons .lang-switch { flex-basis: 100%; justify-content: center; margin-bottom: 4px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.team-card { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); padding: 32px 24px; text-align: center; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; display: block; }
.team-initials { display: flex; align-items: center; justify-content: center; background: var(--primary-color); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 2rem; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 4px; color: var(--primary-color); }
.team-role { color: var(--secondary-color); font-size: 0.95rem; margin-bottom: 6px; }
.team-langs { color: #64748b; font-size: 0.88rem; margin-bottom: 16px; }
.team-card .btn { margin-top: 6px; }

.sky-footer { padding: 50px 0 0; opacity: 1; }
.sky-footer a { color: var(--white); }
.sky-footer a:hover { color: var(--accent-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 30px; }
.footer-col p { margin-bottom: 10px; line-height: 1.7; opacity: 0.9; }
.footer-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem; opacity: 1 !important; }
.footer-heading { font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; opacity: 1 !important; color: #fbbf24; }
.footer-links li { margin-bottom: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent-color); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 20px 22px; text-align: center; font-size: 0.82rem; }
.footer-bottom p { margin: 4px 0; opacity: 0.85; }
.footer-disclaimer { opacity: 0.65 !important; font-size: 0.78rem; }

.sky-mobilebar { display: none; }
@media (max-width: 768px) {
    .sky-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; box-shadow: 0 -2px 10px rgba(15,23,42,0.15); }
    .sky-mobilebar a { flex: 1; text-align: center; padding: 14px 8px calc(14px + env(safe-area-inset-bottom)); font-weight: 700; font-size: 1rem; color: #fff; }
    .sky-mobilebar .mb-call { background: var(--secondary-color); }
    .sky-mobilebar .mb-book { background: var(--accent-color); }
    body.has-mobilebar { padding-bottom: 56px; }
    .sky-banner { font-size: 0.85rem; }
}

/* ==========================================================================
   v1.3 Blog (blog list, single post, 404) — /en and /kr sites
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.sky-blog .page-header { background: var(--primary-color); color: #fff; padding: 64px 0 56px; text-align: center; }
.sky-blog .page-header h1 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 860px; margin: 0 auto 0.6rem; }
.blog-sub { color: rgba(255,255,255,.82); max-width: 720px; margin: 0 auto; }
.blog-kicker { font-size: .85rem; letter-spacing: .04em; margin-bottom: .8rem; color: rgba(255,255,255,.75); }
.blog-kicker a { color: var(--accent-color); font-weight: 600; }
.blog-kicker a:hover { color: #fff; }
.sky-blog .page-header .post-meta { color: rgba(255,255,255,.75); }

.blog-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cats a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #dbe2ea; font-size: .88rem; font-weight: 600; color: var(--secondary-color); }
.blog-cats a:hover, .blog-cats a.is-active { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.blog-search { display: flex; min-width: 240px; max-width: 100%; }
.blog-search input { flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid #cbd5e1; border-right: 0; border-radius: 4px 0 0 4px; font: inherit; background: #fff; }
.blog-search button { padding: 0 16px; border: 0; border-radius: 0 4px 4px 0; background: var(--accent-color); color: #fff; cursor: pointer; }
.blog-search button:hover { background: var(--primary-color); }
.blog-search input:focus-visible, .blog-search button:focus-visible { outline: 3px solid rgba(217,119,6,.45); outline-offset: 1px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: var(--transition); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(15,23,42,.18); }
.post-card-media { display: block; aspect-ratio: 16 / 9; background: var(--bg-light); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2.2rem; color: rgba(255,255,255,.85);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-color); margin-bottom: 8px; }
.post-card-title { font-size: 1.15rem; margin-bottom: 6px; }
.post-card-title a:hover { color: var(--accent-color); }
.post-meta { font-size: .85rem; color: #64748b; margin-bottom: 10px; }
.post-card-excerpt { font-size: .93rem; color: #475569; flex: 1; }
.post-card-excerpt p { margin: 0; }
.post-more { margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--secondary-color); }
.post-more:hover { color: var(--accent-color); }

.sky-blog .navigation.pagination { margin-top: 40px; text-align: center; }
.sky-blog .nav-links { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.sky-blog .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; border-radius: 4px; background: #fff; border: 1px solid #dbe2ea; font-weight: 600; }
.sky-blog .page-numbers.current, .sky-blog a.page-numbers:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.blog-empty { background: #fff; border-radius: 8px; padding: 48px 24px; text-align: center; }
.blog-empty p { margin-bottom: 16px; }

/* Single post */
.post-article { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 40px 48px; box-shadow: var(--shadow); }
.post-article.is-builder { max-width: 1160px; }
.post-alt { font-size: .9rem; margin-bottom: 20px; }
.post-alt a { color: var(--secondary-color); font-weight: 600; text-decoration: underline; }
.post-thumb { margin: 0 0 28px; }
.post-thumb img { width: 100%; height: auto; border-radius: 6px; display: block; }
.entry-content { font-size: 1.04rem; line-height: 1.85; color: #1e293b; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.22rem; margin-top: 1.5em; }
.entry-content a { color: var(--secondary-color); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .35em; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content blockquote { border-left: 4px solid var(--accent-color); padding: 6px 0 6px 18px; color: #475569; font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid #e2e8f0; padding: 8px 10px; text-align: left; }
.entry-content th { background: var(--bg-light); }
.entry-content .alignwide { max-width: none; }
.post-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; }
.post-tags a { color: var(--secondary-color); background: var(--bg-light); padding: 3px 10px; border-radius: 4px; }
.post-note { margin-top: 28px; padding: 14px 16px; background: var(--bg-light); border-radius: 6px; font-size: .86rem; color: #475569; }
.post-cta { margin-top: 28px; padding: 24px 26px; border-radius: 8px; background: var(--primary-color); color: #fff;
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.post-cta-text { color: rgba(255,255,255,.82); font-size: .93rem; }
.post-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.post-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.post-cta .btn-outline:hover { background: #fff; color: var(--primary-color); border-color: #fff; }
.post-nav { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 6px; font-weight: 600; font-size: .95rem; }
.post-nav a span { display: block; font-size: .78rem; font-weight: 600; color: #64748b; margin-bottom: 4px; }
.post-nav a:hover { border-color: var(--accent-color); color: var(--accent-color); }
.post-nav-next { text-align: right; }
.post-back { margin-top: 24px; font-weight: 600; }
.post-back a { color: var(--secondary-color); }
.post-comments { margin-top: 40px; border-top: 1px solid #e2e8f0; padding-top: 28px; }
.post-comments .comment-list { padding-left: 0; }
.post-comments textarea, .post-comments input[type="text"], .post-comments input[type="email"], .post-comments input[type="url"] { width: 100%; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 4px; font: inherit; }
.post-comments .submit { background: var(--accent-color); color: #fff; border: 0; padding: 10px 22px; border-radius: 4px; font-weight: 600; cursor: pointer; }
.comment-warning { font-size: .85rem; color: #b45309; }

.sky-404 { max-width: 640px; text-align: center; }
.sky-404 .blog-search { margin: 0 auto 24px; max-width: 420px; }
.sky-404-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 992px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .sky-blog .page-header { padding: 44px 0 40px; }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .blog-cats a { white-space: nowrap; }
  .blog-search { min-width: 0; }
  .post-article { padding: 24px 18px; border-radius: 0; margin: 0 -20px; box-shadow: none; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .post-cta { padding: 20px; }
  .post-cta-btns, .post-cta-btns .btn { width: 100%; }
}
@media (max-width: 640px) {
  .post-wrap.section-padding { padding-top: 0; }
}

/* ==========================================================================
   v1.4 Videos, series, subscribe
   ========================================================================== */
.sky-yt { position: relative; aspect-ratio: 16 / 9; background: #0f172a; border-radius: 8px; overflow: hidden; margin: 1.4em 0; }
.sky-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sky-yt-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.sky-yt-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, opacity .3s ease; opacity: .92; }
.sky-yt-btn:hover img { transform: scale(1.03); opacity: 1; }
.sky-yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 12px;
  background: rgba(15,23,42,.82); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: background .2s ease; }
.sky-yt-btn:hover .sky-yt-play, .sky-yt-btn:focus-visible .sky-yt-play { background: #dc2626; }
.sky-yt-btn:focus-visible { outline: 3px solid var(--accent-color); outline-offset: -3px; }
.sky-video { margin: 1.4em 0; }
.sky-video .sky-yt { margin: 0; }
.sky-video figcaption { font-size: .9rem; color: #64748b; margin-top: 8px; }

.sky-videos-wrap { max-width: 1100px; }
.sky-videos-content > p:first-child { font-size: 1.08rem; }
.sky-series { margin: 8px 0 48px; }
.sky-series-title { font-size: 1.45rem; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 3px solid var(--accent-color); display: inline-block; }
.sky-series-desc { color: #475569; margin-bottom: 18px; }
.entry-content .sky-series-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.sky-series-item { background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; margin: 0 !important; }
.sky-series-item .sky-yt { margin: 0; border-radius: 0; }
.sky-series-name { padding: 12px 14px 16px; font-weight: 600; font-size: .95rem; line-height: 1.45; margin: 0 !important; display: flex; gap: 10px; align-items: flex-start; }
.sky-series-no { flex: 0 0 auto; min-width: 26px; height: 26px; border-radius: 50%; background: var(--secondary-color); color: #fff; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.sky-series-more a { font-weight: 600; color: var(--secondary-color); }
.sky-series-more .fa-youtube { color: #dc2626; }
.sky-admin-note { background: #fef3c7; padding: 8px 12px; border-radius: 4px; }

.sky-subscribe { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sky-subscribe--box { margin-top: 28px; padding: 22px 24px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.sky-subscribe-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.08rem; margin: 0 0 2px; }
.sky-subscribe-desc { color: #475569; font-size: .92rem; margin: 0; }
.sky-subscribe-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 4px; font-weight: 600; font-size: .9rem; color: #fff; }
.sub-btn:hover { transform: translateY(-2px); color: #fff; filter: brightness(1.08); }
.sub-yt { background: #dc2626; }
.sub-mail { background: var(--secondary-color); }
.sub-kakao { background: #fee500; color: #191919; }
.sub-kakao:hover { color: #191919; }
.footer-subscribe { padding-top: 8px; padding-bottom: 24px; }
.sky-subscribe--footer { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.sky-subscribe--footer .sky-subscribe-title { color: #fff; }

@media (max-width: 992px) {
  .entry-content .sky-series-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .entry-content .sky-series-grid { grid-template-columns: 1fr; }
  .sky-subscribe, .sky-subscribe-btns { flex-direction: column; align-items: stretch; }
  .sub-btn { justify-content: center; }
}
.sky-series-more { margin-top: 18px; }

/* v1.4.1 Send a Message */
.sky-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.sky-contact-btns .btn { font-size: 0.9rem; }
.sky-msg-btn .fa-envelope { margin-right: 4px; }
.sky-form-note { display: flex; gap: 12px; align-items: flex-start; background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid var(--accent-color);
  border-radius: 6px; padding: 14px 16px; margin-bottom: 14px; font-size: .93rem; line-height: 1.6; }
.sky-form-note .fa-shield-alt { color: var(--accent-color); margin-top: 4px; }
.sky-form-note p { margin: 0; }
.sky-form-note a { color: var(--secondary-color); font-weight: 600; text-decoration: underline; white-space: nowrap; }
.sky-form-alt { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 24px; font-size: .9rem; }
.sky-form-alt a { color: var(--secondary-color); font-weight: 600; }
.sky-form-alt a:hover { color: var(--accent-color); }
@media (max-width: 640px) {
  .sky-contact-btns .btn { flex: 1 1 100%; }
  .sky-msg-btn[style*="margin-left"] { margin-left: 0 !important; margin-top: 10px; }
}
.sky-contact-btns .btn, a.btn-lg.sky-msg-btn, a.btn-lg:has(+ .sky-msg-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; vertical-align: middle; }
@media (max-width: 640px) {
  a.btn-lg.sky-msg-btn, a.btn-lg:has(+ .sky-msg-btn) { display: flex; width: 100%; margin-left: 0 !important; }
  a.btn-lg.sky-msg-btn { margin-top: 10px; }
}
.sky-contact-btns { flex-direction: column; align-items: stretch; max-width: 260px; }
@media (max-width: 640px) { .sky-contact-btns { max-width: none; } }
