/*
// main.css
// uriseednet
//
// Created by Dusu Park on 2026-03-12.
// Copyright (C) Uriseed. All rights reversed.
 */
 
.preview-item {
    display: inline-block;
    margin: 10px;
    position: relative;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
}

.preview-item img {
    max-width: 100px;
    max-height: 100px;
    display: block;
}

.delete-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 3px 8px;
    font-size: 14px;
}
/* Added by Dusu Park on 2026-03-18 */
.img-size {
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.img-container {
  position: relative;
  display: inline-block;
}

.btn-position {
  position: absolute;
  top: 5px;
  right: 18px;
  z-index: 100;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 100;
}

.modal-position {
    position: fixed;
    bottom: 86px;
    right: 20px;
    width: 50%;
}
/* . */

/* Added by EB Song on 2026-03-17. */
 /*== Design System ==*/
:root {
    /* Font */
    --font-ko: "Pretendard";
    --font-en: "Roboto";
    --font-number: "Roboto";

    /* Color */
    --color-black: #111111;
    --color-gray-900: #3D3D3D;
    --color-gray-700: #AAAAAA;
    --color-gray-500: #D9D9D9;
    --color-gray-300: #F9F9F9;
    --color-white: #FFFFFF;
    --color-primary: #DB494A;
}

body {
    font-family: var(--font-ko), var(--font-en);
    color: var(--color-black);
    background-color: var(--color-white);
}

.h1 {
    font-family: var(--font-ko);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.3;
}

.h2 {
    font-family: var(--font-ko);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
}

.h3 {
    font-family: var(--font-ko);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
}

.sub1 {
    font-family: var(--font-ko);
    font-weight: 500;
    font-size: 26px;
    line-height: 1.4;
}

.sub2 {
    font-family: var(--font-ko);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
}

.sub3 {
    font-family: var(--font-ko);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

.body1 {
    font-family: var(--font-ko);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
}

.body2 {
    font-family: var(--font-ko);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
}

.data {
    font-family: var(--font-number);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
}

.caption1 {
    font-family: var(--font-number);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
}

.caption2 {
    font-family: var(--font-ko);
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
}

.caption3 {
    font-family: var(--font-ko);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.4;
}
/* . */

/* Added by EB Song on 2026-03-18. */
/*== Card / Section Common ==*/
.card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
}

.card-img-top {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
}

.card-body {
    padding: 10px 4px 0;
}

.card-category {
    font-size: 14px;
    font-weight: 500;
    color: #3D3D3D;
    margin-bottom: 4px;
    transform: translateY(2px);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #111111;
    letter-spacing: -0.3px;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #AAAAAA;
    transform: translateX(-2px);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-text i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.home-section-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
}

.news-section {
    margin-top: 60px;
}

.community-section,
.dictionary-section {
    margin-top: 140px;
}

.dictionary-section img {
  border-radius: 4px;
}

.dictionary-section .row {
    row-gap: 12px;
}

.section-count {
    font-size: 16px;
    color: var(--color-gray-700);
}

.section-more {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.2px;
    color: #AAAAAA;
    text-decoration: none;
}

.section-more:hover {
    color: var(--color-black);
}

.home-news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.home-news-tab {
    background: #F5F5F5;
    color: #AAAAAA;
    border: none;
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.home-news-tab.active,
.home-news-tab.active:hover,
.home-news-tab.active:focus,
.home-news-tab.active:active {
    background: #111111;
    color: #ffffff;
}

.home-news-tab:not(.active):hover,
.home-news-tab:not(.active):focus,
.home-news-tab:not(.active):active {
    background: #e9e9e9;
    color: #111111;
}

/*== Home - Hero ==*/
.main-hero {
    margin-top: 10px;
    padding: 10px 0 60px;
}

.main-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.hero-visual {
    position: relative;
    width: 854px;
    height: 620px;
    border-radius: 5px;
    overflow: hidden;
    background: #ddd;
}

.hero-visual::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
}

.hero-visual-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-visual-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-side {
    width: 324px;
    min-height: 635px;
    display: flex;
    flex-direction: column;
    background: transparent;
    transform: translateY(-5px);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
    word-break: keep-all;
}

.hero-desc {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.3px;
    color: #3D3D3D;
    word-break: keep-all;
}

.hero-popular {
    margin-top: auto;
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.8px;
    color: #111111;
    word-break: keep-all;
}

.hero-pagination {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 0;
}

.hero-page {
    font-family: var(--font-number);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #AAAAAA;
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.hero-page.active {
    color: #111111;
    font-weight: 600;
}

.hero-page:hover {
    color: #111111;
}

.hero-overlay {
    position: absolute;
    right: 32px;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    color: var(--color-white);
}

.hero-overlay-category {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.hero-overlay-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    word-break: keep-all;
}

.hero-overlay-desc {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    word-break: keep-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-overlay-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 0;
    font-size: 14px;
    transform: translateX(-2px);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

.hero-overlay-meta i {
    font-size: 14px;
    line-height: 1;
    margin: 0;
}

.hero-meta-item span {
    font-size: 14px;
    line-height: 1;
}

.hero-meta-category {
    margin-right: 6px;
}

.hero-overlay-meta .hero-meta-category {
    font-weight: 300;
}

/*== Home - News ==*/
.news-section .row {
    row-gap: 32px;
    margin-bottom: 72px;
}

.news-section .row > * {
    width: 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.article-section .row > * {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
}
/* . */
/*== Home - Shortcut Section ==*/
.shortcut-section {
    margin-top: 185px;
    margin-bottom: 80px;
    padding: 56px 0;
    background: #f9f9f9;
}

.shortcut-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shortcut-card {
    position: relative;
    display: block;
    min-height: 280px;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.shortcut-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.shortcut-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.shortcut-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #e85b5b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.shortcut-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.shortcut-desc {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    word-break: keep-all;
}

.shortcut-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 63px;
    height: 32px;
    padding: 0 10px;
    border-radius: 3px;
    background: #F5F5F5;
    font-size: 12px;
    font-weight: 600;
    color: #111111;
}

.shortcut-card:hover .shortcut-overlay {
    background: rgba(0, 0, 0, 0.48);
}

.shortcut-card-magazine {
    background-image: url('/img/shortcut-magazine.jpg');
}

.shortcut-card-gardenjoa {
    background-image: url('/img/shortcut-gardenjoa.jpg');
}

.shortcut-card-youtube {
    background-image: url('/img/shortcut-youtube.jpg');
}

.header-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-lang-inside {
    display: block;
}

.header-lang-outside {
    display: none;
}

/* Added by EB Song on 2026-03-20. */
/*== Responsive ==*/
/* 기본 */
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

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

/* =========================================================
   1000px 이하 : 태블릿/모바일 공통 헤더
========================================================= */
@media (max-width: 1000px) {
    .header-lang-desktop {
        display: none !important;
    }

    .header-lang-outside {
        display: flex;
        align-items: center;
    }

    #navbarSupportedContent.show,
    #navbarSupportedContent.collapsing {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    padding: 12px 0 0 0;
    }

    #navbarSupportedContent.show > .d-flex,
    #navbarSupportedContent.collapsing > .d-flex {
    order: -1;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 14px !important;
    padding-left: 6px;
    }

    #navbarSupportedContent.show > .d-flex .navbar-nav {
        margin: 0;
    }

    #navbarSupportedContent.show .navbar-nav.nav-underline,
    #navbarSupportedContent.collapsing .navbar-nav.nav-underline {
    width: 100%;
    padding-left: 6px;
    }

    #navbarSupportedContent.show .nav-link,
    #navbarSupportedContent.collapsing .nav-link {    
        display: inline-block;
        padding: 10px 0 !important;
        font-size: 16px;
        line-height: 1.4;
    }

    #navbarSupportedContent.show .nav-item + .nav-item,
    #navbarSupportedContent.collapsing .nav-item + .nav-item {    
        margin-top: 2px;
    }

    #navbarSupportedContent.show .nav-link.active,
    #navbarSupportedContent.collapsing .nav-link.active {    
        border-bottom: 2px solid #e60023;
        padding-bottom: 6px !important;
    }

    #navbarSupportedContent.show .nav-link.active::after
        #navbarSupportedContent.collapsing .nav-link.active::after {
        display: none;
    }

    .navbar-toggler {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
        background-size: 24px 24px;
        color: #111111;
    }

    .header-mobile-actions {
        display: flex;
        align-items: center;
        gap: 4px !important;
    }

    .header-lang-outside {
        display: flex;
        align-items: center;
        margin-right: -6px;
    }

    .header-lang-outside .nav-item,
    .header-lang-outside .nav-link,
    .header-lang-outside select,
    .header-lang-outside .dropdown,
    .header-lang-outside .btn {
        margin: 0;
    }

    .login-icon {
        width: 26px;
        height: 26px;
    }

    .news-section .card-text,
    .article-section .card-text {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        margin-top: 2px;
    }

    .news-section .card-text .card-meta-item,
    .article-section .card-text .card-meta-item {
        width: auto !important;
    }

    .news-section .card-title,
    .article-section .card-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        line-height: 1.4;
        min-height: calc(1.4em * 2); 
        margin-bottom: 6px;
    }

    .news-section .card-category,
    .article-section .card-category {
        margin-bottom: 4px;
        min-height: 17px;
    }
}

/* =========================================================
   760px 이하 : 모바일 기본
========================================================= */
@media (max-width: 760px) {
    /* Hero */
    .main-hero-inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .hero-visual,
    .hero-side {
        width: 100%;
        max-width: 100%;
    }

    .hero-visual {
        order: 2;
        height: auto;
        aspect-ratio: 4 / 5;
    }

    .hero-visual-image {
        object-position: center top;
    }

    .hero-side {
        display: contents;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        margin-top: 0;
    }

    .hero-copy {
        order: 1;
    }

    .hero-title {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 8px;
        letter-spacing: -0.3px;
    }

    .hero-desc {
        font-size: 14px;
        line-height: 1.55;
        margin-top: 0;
    }

    .hero-popular {
        order: 3;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        margin-top: 12px;
        margin-bottom: 0;
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: -0.3px;
    }

    .hero-popular-title {
        margin: 0;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 600;
        word-break: keep-all;
    }

    .hero-pagination {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 0;
        margin-right: 4px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .hero-page {
        font-size: 14px;
    }

    #heroOverlayTitle {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #heroOverlayDesc {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* News / Article card list */
    .news-section .row,
    .article-section .row {
        display: block !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
    }

    .news-section .row > *,
    .article-section .row > .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 16px;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .news-section .card,
    .article-section .card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        border: none;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .news-section .card a,
    .article-section .card a {
        display: block;
        width: 100px;
        flex-shrink: 0;
    }

    .news-section .card-img-top,
    .article-section .card-img-top {
        display: block;
        width: 100px;
        height: 86px;
        object-fit: cover;
        border-radius: 4px;
    }

    .news-section .card-body,
    .article-section .card-body {
        flex: 1;
        min-width: 0;
        padding: 0;
    }

    .news-section .card-title,
    .article-section .card-title {
        margin-bottom: 4px;
        font-size: 14px;
        line-height: 1.4;
    }

    .news-section .card-meta {
        font-size: 12px;
        color: #888888;
    }

    .news-section .card-category,
    .article-section .card-category {
    font-size: 12px;
    margin-bottom: 2px;
    }

    /* Shortcut */
    .shortcut-section {
        margin-top: 120px;
        margin-bottom: 60px;
    }

    .shortcut-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shortcut-card {
        min-height: 180px;
    }

    .shortcut-content {
        padding: 24px 20px;
    }

    .shortcut-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
        font-size: 20px;
    }

    .shortcut-title {
        font-size: 22px;
    }

    .shortcut-desc {
        font-size: 13px;
        margin-bottom: 14px;
    }

    /* Section spacing */
    .community-section,
    .dictionary-section {
        margin-top: 60px;
    }

    .section-more {
    font-size: 12px;
    }

    .dictionary-section .row > * {
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
}

    /* Community */
    .community-section .row > * {
        margin-bottom: 20px;
    }

    .community-section .card-title {
        margin-bottom: 6px;
    }
}

/* =========================================================
   414px 이하 : 작은 모바일
========================================================= */
@media (max-width: 414px) {
    .home-news-tabs {
        gap: 6px;
    }

    .home-news-tab {
        font-size: 14px;
        padding: 12px 18px;
    }

    .community-section,
    .dictionary-section {
        margin-top: 100px;
    }
}

/* =========================================================
   370px 이하 : 아주 작은 모바일
========================================================= */
@media (max-width: 370px) {
    .news-section .card {
        align-items: flex-start;
        gap: 10px;
    }

    .news-section .card a {
        width: 92px;
        flex-shrink: 0;
    }

    .news-section .card-img-top {
        width: 92px;
        height: 120px;
        object-fit: cover;
        border-radius: 4px;
    }

    .news-section .card-body {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .news-section .card-text {
        display: flex;
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 4px;
        margin-top: 2px;
    }

    .news-section .card-text .card-meta-item:first-child {
        width: 100%;
    }
}

/* =========================================================
   431px ~ 1000px : 태블릿
========================================================= */
@media (min-width: 431px) and (max-width: 1000px) {
    /* News / Article card list */
    .news-section .row > *,
    .article-section .row > * {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
    }

    .news-section .card,
    .article-section .card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .news-section .card a,
    .article-section .card a {
        width: 120px;
        flex-shrink: 0;
    }

    .news-section .card-img-top,
    .article-section .card-img-top {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 4px;
    }

    .news-section .card-body,
    .article-section .card-body {
        flex: 1;
        min-width: 0;
        padding: 0;
    }

    .news-section .card-title,
    .article-section .card-title {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .news-section .card-text,
    .article-section .card-text {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .news-section .card-text .card-meta-item:first-child,
    .article-section .card-text .card-meta-item:first-child {
        width: 100%;
    }

    /* Community meta */
    .community-section .card-text {
        display: grid;
        grid-template-columns: max-content max-content max-content max-content;
        column-gap: 6px;
        row-gap: 4px;
        align-items: center;
        justify-content: start;
        font-variant-numeric: tabular-nums;
    }

    .community-section .card-text .card-meta-item {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        margin: 0;
        min-width: 0;
    }

    .community-section .card-text .card-meta-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .community-section .card-text .card-meta-item:nth-child(2) {
        grid-column: 2 / 5;
        grid-row: 1;
        white-space: nowrap;
    }

    .community-section .card-text .card-meta-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .community-section .card-text .card-meta-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .community-section .card-text .card-meta-item:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
    }

    .community-section .card-text .card-meta-item:nth-child(6) {
        grid-column: 4;
        grid-row: 2;
    }

    .community-section .card-meta-item i {
        width: 14px;
        font-size: 12px;
        line-height: 1;
        margin-right: 1px;
        text-align: center;
        flex-shrink: 0;
    }

    .community-section .card-meta-item span {
        line-height: 1;
    }
}

/* =========================================================
   344px,430px 기준
========================================================= */
@media (min-width: 344px) and (max-width: 430px) {
    .home-news-tabs {
        gap: 8px;
    }

    .home-news-tab {
        padding: 12px 14px;
        border-radius: 22px;
    }
}

/* =========================================================
   768px,820px 기준
========================================================= */
@media (min-width: 768px) and (max-width: 820px) {
    .news-section .row > *,
    .article-section .row > * {
        width: 33.3333% !important;
        max-width: 33.3333% !important;
        flex: 0 0 33.3333% !important;
    }

    .news-section .card,
    .article-section .card {
        display: block;
    }

    .news-section .card a,
    .article-section .card a {
        display: block;
        width: 100%;
    }

    .news-section .card-img-top,
    .article-section .card-img-top {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 4px;
    }

    .news-section .card-body,
    .article-section .card-body {
        padding: 10px 4px 0;
    }

    .news-section .card-title,
    .article-section .card-title {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .news-section .card-text,
    .article-section .card-text {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .news-section .card-text .card-meta-item:first-child,
    .article-section .card-text .card-meta-item:first-child {
        width: 100%;
    }
}