/* =========================================================
   ONDA MEXICANA
   FRONT PAGE
========================================================= */


/* =========================================================
   01. VARIABLES
========================================================= */

:root {
    --om-home-paper: #f7efe2;
    --om-home-paper-light: #fff9ef;

    --om-home-green: #075d45;
    --om-home-green-dark: #054b38;

    --om-home-orange: #d84a24;
    --om-home-red: #d94443;
    --om-home-yellow: #f2a900;
    --om-home-teal: #087d80;
    --om-home-purple: #643d78;

    --om-home-ink: #203a31;
    --om-home-muted: #69675f;

    --om-home-border: rgba(54, 67, 57, .10);

    --om-home-width: 1400px;
}


/* =========================================================
   02. BASE
========================================================= */

.om-home {
    width: 100%;
    margin: 0;
    padding: 0;

    overflow: hidden;

    background: var(--om-home-paper);

    color: var(--om-home-ink);
}


.om-home-container {
    width: min(
        var(--om-home-width),
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* =========================================================
   03. HERO
========================================================= */

.om-home-hero {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: transparent;
}


.om-home-hero-picture {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    line-height: 0;
}


.om-home-hero-picture img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* =========================================================
   04. HERO COPY
========================================================= */

.om-home-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;

    align-items: center;

    pointer-events: none;
}


.om-home-hero-copy {
    width: min(
        var(--om-home-width),
        calc(100% - 64px)
    );

    margin: 0 auto;

    color: #fff;

    pointer-events: auto;
}


.om-home-hero-kicker {
    margin: 0 0 9px;

    color: #ffd65a;

    font-size: 14px;

    font-weight: 900;

    letter-spacing: .04em;
}


.om-home-hero-title {
    max-width: 610px;

    margin: 0;

    color: #fff;

    font-size: clamp(
        42px,
        4.6vw,
        66px
    );

    font-weight: 950;

    line-height: 1.04;

    letter-spacing: -.045em;

    word-break: keep-all;
}


.om-home-hero-description {
    margin: 16px 0 0;

    color: rgba(255,255,255,.96);

    font-size: 16px;

    font-weight: 700;

    line-height: 1.55;
}


/* =========================================================
   05. HERO BUTTONS
========================================================= */

.om-home-hero-actions {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 20px;
}


.om-home-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 900;

    line-height: 1;

    text-decoration: none;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.om-home-button:hover {
    transform: translateY(-2px);
}


.om-home-button-green {
    background: var(--om-home-green);

    color: #fff;
}


.om-home-button-yellow {
    background: var(--om-home-yellow);

    color: #263a31;
}


/* =========================================================
   06. CATEGORY SECTION
========================================================= */

.om-home-categories {
    padding: 28px 0 26px;

    background: var(--om-home-paper-light);
}


.om-home-category-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   07. CATEGORY CARD
========================================================= */

.om-home-category-card {
    position: relative;

    display: block;

    height: 360px;

    overflow: hidden;

    border-radius: 22px;

    color: #fff;

    text-decoration: none;

    isolation: isolate;

    box-shadow:
        0 10px 24px
        rgba(50, 35, 20, .08);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.om-home-category-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 30px
        rgba(50, 35, 20, .13);
}


/* CARD COLORS */

.om-home-category-food {
    background:
        linear-gradient(
            180deg,
            #075b36 0%,
            #063f2a 100%
        );
}


.om-home-category-map {
    background:
        linear-gradient(
            180deg,
            #087b80 0%,
            #055f67 100%
        );
}


.om-home-category-kitchen {
    background:
        linear-gradient(
            180deg,
            #e04356 0%,
            #c82f45 100%
        );
}


.om-home-category-spanish {
    background:
        linear-gradient(
            180deg,
            #68477b 0%,
            #4e315f 100%
        );
}


.om-home-category-symbols {
    background:
        linear-gradient(
            180deg,
            #f4a309 0%,
            #df8500 100%
        );
}


/* =========================================================
   08. CATEGORY COPY
========================================================= */

.om-home-category-copy {
    position: relative;

    z-index: 3;

    padding: 23px 20px;
}


.om-home-category-icon {
    display: block;

    margin-bottom: 10px;

    color: #ffe8a0;

    font-size: 25px;

    font-weight: 900;

    line-height: 1;
}


.om-home-category-copy h2 {
    margin: 0;

    color: #fff;

    font-size: 21px;

    font-weight: 950;

    line-height: 1.2;

    letter-spacing: -.03em;
}


.om-home-category-copy p {
    max-width: 190px;

    margin: 13px 0 0;

    color: rgba(255,255,255,.90);

    font-size: 13px;

    font-weight: 650;

    line-height: 1.7;

    word-break: keep-all;
}


.om-home-category-arrow {
    display: inline-flex;

    width: 34px;
    height: 34px;

    margin-top: 16px;

    align-items: center;
    justify-content: center;

    border:
        2px solid
        rgba(255,255,255,.76);

    border-radius: 50%;

    color: #fff;

    font-size: 19px;

    font-weight: 900;
}


/* =========================================================
   09. CATEGORY IMAGE
========================================================= */

.om-home-category-card > img {
    position: absolute;

    z-index: 1;

    left: 0;
    right: 0;
    bottom: -1px;

    width: 100%;
    height: 57%;

    object-fit: cover;

    object-position: center bottom;

    opacity: .96;

    pointer-events: none;
}


/* 이미지 위쪽을 자연스럽게 녹이기 */

.om-home-category-card::after {
    content: "";

    position: absolute;

    z-index: 2;

    inset: 38% 0 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,.04) 100%
        );

    pointer-events: none;
}


/* =========================================================
   10. DASHBOARD
========================================================= */

.om-home-dashboard {
    padding: 0 0 30px;

    background: var(--om-home-paper-light);
}


.om-home-dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(230px, .92fr)
        minmax(0, 1.65fr)
        minmax(230px, .84fr);

    gap: 14px;

    align-items: stretch;
}


/* =========================================================
   11. COMMON PANEL
========================================================= */

.om-home-panel {
    min-width: 0;

    padding: 20px;

    border:
        1px solid
        var(--om-home-border);

    border-radius: 22px;

    background:
        rgba(255,250,242,.88);

    box-shadow:
        0 8px 24px
        rgba(54,38,20,.045);
}


.om-home-panel-head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-bottom: 16px;
}


.om-home-panel-head h2 {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;

    color: #302f2c;

    font-size: 20px;

    font-weight: 950;

    line-height: 1.2;
}


.om-home-panel-head h2 span {
    color: var(--om-home-orange);
}


.om-home-panel-head a {
    flex-shrink: 0;

    color: #6b675f;

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;
}


.om-home-panel-head a:hover {
    color: var(--om-home-green);
}


/* =========================================================
   12. NEWS
========================================================= */

.om-home-news-list {
    display: grid;
}


.om-home-news-item {
    border-top:
        1px solid
        rgba(60,72,63,.09);
}


.om-home-news-item:first-child {
    border-top: 0;
}


.om-home-news-item a {
    display: grid;

    grid-template-columns:
        auto
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 9px;

    min-height: 50px;

    color: var(--om-home-ink);

    text-decoration: none;
}


.om-home-news-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 4px 7px;

    border-radius: 6px;

    background: var(--om-home-orange);

    color: #fff;

    font-size: 10px;

    font-weight: 900;
}


.om-home-news-title {
    overflow: hidden;

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

    text-overflow: ellipsis;
}


.om-home-news-item time {
    color: #8f887e;

    font-size: 10px;
}


/* =========================================================
   13. LATEST STORIES
========================================================= */

.om-home-latest-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 10px;
}


.om-home-latest-card {
    min-width: 0;
}


.om-home-latest-image {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 13px;

    background: #e9dfd0;
}


.om-home-latest-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .25s ease;
}


.om-home-latest-card:hover
.om-home-latest-image img {
    transform: scale(1.035);
}


.om-home-latest-placeholder {
    display: flex;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    background: var(--om-home-orange);

    color: #fff;

    font-weight: 900;
}


.om-home-latest-copy {
    padding-top: 8px;
}


.om-home-latest-copy > span {
    color: var(--om-home-green);

    font-size: 9px;

    font-weight: 900;
}


.om-home-latest-copy h3 {
    margin: 5px 0 0;

    font-size: 12px;

    font-weight: 900;

    line-height: 1.4;

    letter-spacing: -.02em;

    word-break: keep-all;
}


.om-home-latest-copy h3 a {
    color: #282f2c;

    text-decoration: none;
}


/* =========================================================
   14. TODAY'S SPANISH MINI
========================================================= */

.om-home-spanish-panel {
    background:
        linear-gradient(
            145deg,
            #f0f2e4,
            #fff8e9
        );
}


.om-home-spanish-mini {
    position: relative;

    display: block;

    min-height: 165px;

    color: var(--om-home-ink);

    text-decoration: none;
}


.om-home-spanish-mini-copy {
    position: relative;

    z-index: 2;

    max-width: 80%;
}


.om-home-spanish-mini-copy h3 {
    margin: 0;

    color: #21342d;

    font-size: 24px;

    font-weight: 950;

    line-height: 1.15;

    letter-spacing: -.035em;
}


.om-home-spanish-mini-copy p {
    margin: 10px 0 0;

    color: #595b55;

    font-size: 12px;

    line-height: 1.65;
}


.om-home-spanish-mini-copy span {
    display: inline-block;

    margin-top: 13px;

    color: var(--om-home-green);

    font-size: 11px;

    font-weight: 900;
}


.om-home-spanish-mini-image {
    position: absolute;

    right: -5px;
    bottom: -20px;

    width: 110px;
    height: 110px;

    overflow: hidden;

    border-radius: 50%;
}


.om-home-spanish-mini-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center 25%;
}


/* =========================================================
   15. EMPTY
========================================================= */

.om-home-panel-empty {
    display: flex;

    min-height: 120px;

    align-items: center;
    justify-content: center;

    color: #777168;

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   TACO LA MEXICANA
========================================================= */

.om-home-taco {
    padding: 0 0 34px;

    background: var(--om-home-paper-light);
}


.om-home-taco-banner {
    display: grid;

    grid-template-columns:
        320px
        minmax(0, 1fr)
        auto;

    align-items: stretch;

    gap: 0;

    min-height: 190px;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(
            110deg,
            #c83d20 0%,
            #e64d1f 52%,
            #dd850d 100%
        );

    color: #fff;

    box-shadow:
        0 12px 30px
        rgba(80,40,20,.10);
}


/* =========================================================
   TACO IMAGE
========================================================= */

.om-home-taco-image {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 190px;

    overflow: hidden;
}


.om-home-taco-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;
}


/* 이미지와 오렌지 영역 연결 */

.om-home-taco-image::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 34px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(200,61,32,.85)
        );

    pointer-events: none;
}


/* =========================================================
   TACO COPY
========================================================= */

.om-home-taco-copy {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    padding: 25px 34px;
}


.om-home-taco-kicker {
    margin: 0 0 5px;

    color: #ffd459;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .12em;
}


.om-home-taco-copy h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(
        25px,
        2.6vw,
        36px
    );

    font-weight: 950;

    line-height: 1.15;

    letter-spacing: -.03em;
}


.om-home-taco-copy > p:not(.om-home-taco-kicker) {
    margin: 9px 0 0;

    color: rgba(255,255,255,.92);

    font-size: 13px;

    line-height: 1.6;

    word-break: keep-all;
}


.om-home-taco-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}


.om-home-taco-tags span {
    padding: 6px 10px;

    border:
        1px solid
        rgba(255,255,255,.24);

    border-radius: 999px;

    background:
        rgba(255,255,255,.10);

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   TACO BUTTON
========================================================= */

.om-home-taco-button {
    align-self: center;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 110px;
    min-height: 44px;

    margin-right: 32px;

    padding: 0 18px;

    border-radius: 999px;

    background: var(--om-home-green);

    color: #fff;

    font-size: 13px;

    font-weight: 900;

    text-decoration: none;

    transition:
        transform .18s ease,
        background .18s ease;
}


.om-home-taco-button:hover {
    transform: translateY(-2px);

    background: var(--om-home-green-dark);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .om-home-taco-banner {
        grid-template-columns:
            250px
            minmax(0,1fr);

        min-height: 180px;
    }


    .om-home-taco-button {
        grid-column: 2;

        justify-self: start;

        margin:
            -12px
            0
            22px
            34px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .om-home-taco {
        padding-bottom: 26px;
    }


    .om-home-taco-banner {
        display: block;

        min-height: 0;

        border-radius: 19px;
    }


    .om-home-taco-image {
        height: 210px;

        min-height: 0;
    }


    .om-home-taco-image::after {
        display: none;
    }


    .om-home-taco-copy {
        padding:
            23px
            22px
            12px;
    }


    .om-home-taco-copy h2 {
        font-size: 26px;
    }


    .om-home-taco-button {
        margin:
            10px
            0
            22px
            22px;
    }

}

@media (max-width: 768px) {

    .om-home-hero-title {
        max-width: 78%;
        font-size: 28px;
        line-height: 1.08;
    }

    .om-home-hero-title span {
        display: block;
        white-space: nowrap;
    }

}

/* =========================================================
   17. RESPONSIVE 1200
========================================================= */

@media (max-width: 1200px) {

    .om-home-category-grid {
        grid-template-columns:
            repeat(3, minmax(0,1fr));
    }


    .om-home-category-card {
        height: 330px;
    }


    .om-home-dashboard-grid {
        grid-template-columns:
            1fr
            1.7fr;
    }


    .om-home-spanish-panel {
        grid-column: 1 / -1;
    }


    .om-home-spanish-mini {
        min-height: 120px;
    }


    .om-home-spanish-mini-copy {
        max-width: 70%;
    }

}


/* =========================================================
   18. RESPONSIVE 900
========================================================= */

@media (max-width: 900px) {

    .om-home-container {
        width: calc(100% - 36px);
    }


    .om-home-hero-copy {
        width: calc(100% - 36px);
    }


    .om-home-category-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }


    .om-home-dashboard-grid {
        grid-template-columns: 1fr;
    }


    .om-home-spanish-panel {
        grid-column: auto;
    }


    .om-home-taco-banner {
        grid-template-columns:
            180px
            minmax(0,1fr);
    }


    .om-home-taco-button {
        grid-column: 2;
        justify-self: start;
    }

}


/* =========================================================
   19. MOBILE HERO
========================================================= */

@media (max-width: 600px) {

    .om-home-hero-overlay {
        align-items: flex-start;
    }


    .om-home-hero-copy {
        width: calc(100% - 30px);

        padding-top: 92px;
    }


    .om-home-hero-kicker {
        font-size: 12px;
    }


    .om-home-hero-title {
        max-width: 95%;

        font-size: clamp(
            36px,
            10vw,
            50px
        );
    }


    .om-home-hero-description {
        margin-top: 14px;

        font-size: 14px;
    }


    .om-home-hero-actions {
        flex-direction: column;

        align-items: flex-start;

        gap: 8px;

        margin-top: 17px;
    }


    .om-home-button {
        min-height: 42px;

        padding: 0 18px;

        font-size: 12px;
    }

}


/* =========================================================
   20. MOBILE
========================================================= */

@media (max-width: 680px) {

    .om-home-container {
        width: calc(100% - 28px);
    }


    /* 카드 가로 스크롤 */

    .om-home-categories {
        padding: 20px 0 22px;
    }


   .om-home-category-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    overflow: visible;

    padding-bottom: 0;
}


.om-home-category-card {
    width: 100%;

    height: 250px;
}

@media (max-width: 420px) {

    .om-home-category-grid {
        grid-template-columns: 1fr;
    }

    .om-home-category-card {
        height: 280px;
    }

}

    /* dashboard */

    .om-home-dashboard {
        padding-bottom: 24px;
    }


    .om-home-panel {
        padding: 17px;

        border-radius: 18px;
    }


    .om-home-panel-head h2 {
        font-size: 18px;
    }


    .om-home-latest-grid {
        grid-template-columns: 1fr;
    }


    .om-home-latest-card {
        display: grid;

        grid-template-columns:
            115px
            minmax(0,1fr);

        gap: 12px;

        align-items: center;
    }


    .om-home-latest-image {
        aspect-ratio: 4 / 3;
    }


    .om-home-latest-copy {
        padding-top: 0;
    }


    .om-home-news-item time {
        display: none;
    }


    .om-home-news-item a {
        grid-template-columns:
            auto
            minmax(0,1fr);
    }


    /* taco */

    .om-home-taco {
        padding-bottom: 26px;
    }


    .om-home-taco-banner {
        display: block;

        padding: 22px;

        border-radius: 19px;
    }


    .om-home-taco-mark {
        display: none;
    }


    .om-home-taco-copy h2 {
        font-size: 26px;
    }


    .om-home-taco-button {
        margin-top: 18px;
    }

}


/* =========================================================
   21. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .om-home-hero-copy {
        padding-top: 76px;
    }


    .om-home-hero-title {
        font-size: 34px;
    }


    .om-home-category-card {
        flex-basis: 84%;
    }


    .om-home-category-copy h2 {
        font-size: 20px;
    }


    .om-home-spanish-mini-image {
        width: 92px;
        height: 92px;
    }

}

/* =========================================================
   MOBILE HERO FIX
========================================================= */

@media (max-width: 768px) {

    .om-home-hero-overlay {
        align-items: flex-start;
    }

    .om-home-hero-copy {
        width: calc(100% - 28px);
        padding-top: 44px;
    }

    .om-home-hero-kicker {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .om-home-hero-title {
        max-width: 68%;
        font-size: 31px;
        line-height: 1.08;
    }

    .om-home-hero-description {
        max-width: 60%;
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .om-home-hero-actions {
        margin-top: 13px;
        gap: 7px;
    }

    .om-home-button {
        min-height: 38px;
        padding: 0 15px;
        font-size: 11px;
    }

}

/* =========================================================
   TABLET HERO
========================================================= */

@media (min-width: 601px) and (max-width: 900px) {

    .om-home-hero-overlay {
        align-items: center;
    }

    .om-home-hero-copy {
        width: calc(100% - 40px);
        padding-top: 0;
    }

    .om-home-hero-kicker {
        margin-bottom: 6px;
        font-size: 11px;
    }

    .om-home-hero-title {
        max-width: 47%;
        font-size: clamp(25px, 4vw, 35px);
        line-height: 1.05;
    }

    .om-home-hero-title span {
        display: block;
        white-space: nowrap;
    }

    .om-home-hero-description {
        max-width: 43%;
        margin-top: 10px;
        font-size: 11px;
        line-height: 1.45;
    }

    .om-home-hero-actions {
        flex-direction: row;
        gap: 8px;
        margin-top: 12px;
    }

    .om-home-button {
        min-width: 0;
        min-height: 36px;
        padding: 0 13px;
        font-size: 10px;
    }

}