/* Base */
:root {
    --primary-color: #B31E8D;
    --background: #FFFFFF;
}

html,
body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.container {
    box-sizing: border-box;
}

/* Site Header */
.site-header {
    background-color: var(background-color);
    margin-bottom: 36px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
}

.site-header__container {
    display: flex;
    align-items: center;
    height: 103px;
    margin-left: 9px;
    margin-right: 40px;
    justify-content: center;
}

.site-header__logo img {
    width: 260px;
    /* height: 260px; */
    margin-right: 6px;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 28px;
    color: var(--primary-color);
}

.menu-toggle__icon {
    font-size: 28px;
}

.main-nav.is-active .menu-close {
    display: block;
    padding-left: 20px;
}

.menu-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-size: 28px;
    color: var(--primary-color);
}

/* Main Navigation */

.main-nav__list {
    display: flex;
    gap: 26px;
    align-items: center;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0px;
    vertical-align: middle;
    line-height: 20.8px;
}

/* First Level Dropdown */
.dropdown-menu {
    position: absolute;
    top: 50%;
    left: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
    padding: 10px;
    width: 161px;
}

.main-nav__item--has-dropdown.is-active>.dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu__item {
    position: relative;
    border-radius: 10px;
}

.dropdown-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #333;
    font-size: 15px;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 10px;
    cursor: default;
}

.dropdown-menu__link:hover {
    background-color: #8169FF;
    color: white;
}

.dropdown-menu__item--has-submenu>.dropdown-menu__link {
    background: white;
    color: black;
}

.dropdown-menu__icon {
    flex-shrink: 0;
    cursor: pointer;
}

.dropdown-menu__link .fa-caret-right {
    cursor: pointer;
}

/* Second Level Dropdown (Submenu) */
.dropdown-submenu {
    position: absolute;
    top: -10px;
    left: calc(100% + 20px);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
    z-index: 101;
    padding: 10px;
    width: 161px;
}

.dropdown-submenu__item {
    border-radius: 10px;
}

.dropdown-menu__item--has-submenu.is-active>.dropdown-submenu {
    opacity: 1;
    visibility: visible;
}

.dropdown-submenu__link {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
    border-radius: 10px;
    cursor: default;
}

.dropdown-submenu__link:hover {
    background-color: #8169FF;
    color: white;
}

/* Search Box */
.search-box {
    position: relative;
    flex-shrink: 0;
    width: 193px;
    height: 51px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #F6F6F6;
    margin-left: 29px;
}

.search-box__input {
    outline: none;
    border: none;
    width: 110px;
    height: 33px;
    background-color: #F6F6F6;
    font-weight: 500;
    font-size: 22px;
    line-height: 33px;
    padding: 0;
}

.search-box__input::placeholder {
    font-weight: 500;
    font-size: 22px;
    color: #979797;
    line-height: 33px;
}

.search-box__icon::before {
    font-size: 29px;
    color: #979797;
}

/*End Site Header*/

/*Hero Slider*/

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1353px;
    height: 808px;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 36px;
}

.hero-slider__container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides */
.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 2s ease-out;
}

.hero-slider__slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Image */
.hero-slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* End Hero Slider*/

/* Container Section */

.layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 31px;
    align-items: start;
    margin: 45px 41px 61px 43px;
}

.recipe-section__title a{
    height: 41px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    border-left: 5px solid var(--primary-color);
    padding-left: 16px;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 100%;
    font-weight: 600;
}

.recipe-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 46px 31px;
    margin-bottom: 42px;
}
/* 
.recipe-section__grid:last-child {
    margin-bottom: 0;
} */

.recipe-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    aspect-ratio: 290 / 272;
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 300ms ease-out;
    z-index: 1;
    pointer-events: none;
}

.recipe-card:hover::before {
    background-color: rgba(0, 0, 0, 0);
}

.recipe-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recipe-card__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-left: 21px;
    padding-bottom: 22px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: default;
    line-height: 100%;
    z-index: 2;
}

.layout__sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.sidebar-box--category {
    margin-top: 50px;
}

.sidebar-box {
    width: inherit;
    background: #F8F8F8;
    border-radius: 16px;
    overflow: hidden;
}

.sidebar-box__header {
    background: #EEEEEE;
    border-radius: 10px 10px 0 0;
    margin-bottom: 9px;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.sidebar-box__title {
    width: 296px;
    height: 42px;
    padding: 12px 79px 14px 21px;
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #000;
    line-height: 100%;
    display: flex;
    align-items: center;
}

.sidebar-box__item {
    padding: 13px 0px 16px 21px;
}

.sidebar-box__item a {
    color: #000;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0px;
}

.post-item {
    display: flex;
    flex-direction: column;
}

.post-item__wrapper {
    gap: 19px;
    display: grid;
    grid-template-columns: auto 1fr;
    height: 66px;
    padding: 10px 0px 12px 21px;
}

.post-item__thumb {
    width: 99px;
    height: 66px;
    object-fit: cover;
    box-sizing: content-box;
}

.post-item__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post-item__divider {
    width: 90%;
    margin: auto;
    height: 0;
    border: none;
    border-top: 1px solid #D9D9D9;
}

.post-item__title {
    color: #000;
    font-size: 15px;
    font-weight: 600;
    line-height: 100%;
}

.post-item__date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #858585;
    font-weight: 400;
    font-size: 15px;
}

.post-item__date i {
    font-size: 16px;
}

/* Site Footer */
.site-footer {
    background-color: #F4F4F4;
    margin-bottom: 13px;
}

.site-footer__container {
    padding: 35px 64px 22.67px 57px;
    display: grid;
    gap: 50px;
    grid-template-columns: auto auto auto auto;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
}

.site-footer__logo {
    display: block;
}

.site-footer__logo img{
    width: 208px;
    height: 64.59px;
    margin-bottom: 16.05px;
}

.site-footer__heading {
    font-size: 20px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 28px;
    line-height: 150%;
    letter-spacing: -0.22px;
}

.site-footer__subheading {
    font-size: 20px;
    font-weight: 700;
    color: #1E1E1E;
    margin: 18.73px 0 13.27px 0;
    line-height: 150%;
    letter-spacing: -0.22px;
}

/* Company Info */
.company-info {
    display: flex;
    flex-direction: column;
}

.company-info__item {
    margin-bottom: 15px;
}

.company-info__title {
    font-size: 18px;
    font-weight: 700;
    color: #1E1E1E;
    margin-bottom: 13.82px;
    line-height: 150%;
    letter-spacing: -0.22px;
}

.company-info__label {
    font-size: 16px;
    font-weight: 700;
    color: #1E1E1E;
    line-height: 150%;
    letter-spacing: -0.22px;
}

.company-info__text {
    font-size: 16px;
    font-weight: 400;
    color: #1E1E1E;
    line-height: 150%;
    letter-spacing: -0.22px;
}

.company-info__link {
    font-size: 16px;
    font-weight: 400;
    color: #1E1E1E;
    text-decoration: none;
    line-height: 150%;
    letter-spacing: -0.22px;
}

/* Footer Navigation */
.footer-nav__list {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.footer-nav__item {
    line-height: 1.4;
    margin-bottom: 8px;
}

.footer-nav__link {
    font-size: 16px;
    font-weight: 400;
    color: #1E1E1E;
    text-decoration: none;
    line-height: 150%;
    letter-spacing: -0.22px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;   /* Cho phép tự xuống hàng */
    gap: 10px;         /* Thay cho margin-right */
    
}

.social-links__item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-links__icon {
    width: 50px;
    height: 40px;
    object-fit: contain;
}

.social-links__icon--youtube {
    width: 49.78px;
    height: 34.86px;
}

.social-links__icon--zalo {
    width: 39px;
    height: 39px;
}

.social-links__icon--facebook {
    width: 39px;
    height: 39px;
}

.social-links__icon--instagram {
    width: 39px;
    height: 39px;
}

.social-links__icon--tiktok {
    width: 35.31px;
    height: 40px;
}

/* App Download */
.app-download {
    display: flex;
    flex-direction: column;
    gap: 17.87px;
}

.app-download__badge {
    width: 160px;
    height: auto;
    display: block;
}

.app-download__badge--app-store {
    width: 165px;
    height: 58.13px;
    display: block;
}

.app-download__badge--google-play {
    width: 212.75px;
    height: 61.33px;
    display: block;
}

/* ===================================
   RESPONSIVE - Dưới 480px
   =================================== */
   @media (max-width: 479px) {
    /* Header Mobile */
    .site-header__container {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 15px;
        margin: 0;
        position: relative;
    }

    .site-header__left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }

    .site-header__top {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .site-header__logo img {
        width: 160px;
        height: auto;
        margin: 0;
    }

    /* Hiện menu toggle button */
    .menu-toggle {
        display: flex;
        order: 0;
    }

    /* Main Navigation Mobile */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding: 60px 0 20px;
    }

    .main-nav.is-active {
        left: 0;
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .main-nav__item {
        border-bottom: 1px solid #eee;
    }

    .main-nav__link {
        justify-content: space-between;
        padding: 15px 20px;
        font-size: 18px;
    }

    .main-nav__arrow {
        transition: transform 0.3s;
    }

    .main-nav__item--has-dropdown.is-active .main-nav__arrow {
        transform: rotate(180deg);
    }

    /* Dropdown Mobile */
    .dropdown-menu {
        position: static;
        background: #f9f9f9;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0;
        width: 100%;
        transform: none;
    }

    .main-nav__item--has-dropdown.is-active > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        padding: 10px 0;
    }

    .dropdown-menu__link {
        padding: 12px 30px;
        font-size: 16px;
        border-radius: 0;
    }

    /* Submenu Mobile */
    .dropdown-submenu {
        position: static;
        background: #eeeeee;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        padding: 0;
        width: 100%;
        transform: none;
    }

    .dropdown-menu__item--has-submenu.is-active > .dropdown-submenu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-submenu__link {
        padding: 12px 40px;
        font-size: 15px;
        border-radius: 0;
    }

    /* Search Box Mobile */
    .search-box {
        width: 100%;
        height: 45px;
        margin: 0;
        border: 2px solid var(--primary-color);
        background-color: #FFFFFF;
    }

    .search-box__input {
        flex: 1;
        font-size: 16px;
        background-color: transparent;
        padding-left: 10px;
    }

    .search-box__input::placeholder {
        font-size: 16px;
    }

    .search-box img {
        width: 24px;
        height: 24px;
        padding-right: 10px;
    }

    /* Hero Slider Mobile */
    .hero-slider {
        height: 200px;
        margin: 15px auto;
    }

    /* Layout Mobile */
    .layout {
        display: block;
        padding: 20px 15px;
        margin: 0;
    }

    .layout__main {
        margin-bottom: 30px;
    }

    /* Recipe Section Mobile */
    .recipe-section__title {
        height: auto;
        font-size: 20px;
        padding-left: 12px;
        margin-bottom: 15px;
    }

    .recipe-section__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    /* Recipe Card Mobile */
    .recipe-card {
        width: 100%;
        height: 200px;
    }

    .recipe-card__title {
        font-size: 16px;
        padding: 15px;
    }

    /* Sidebar Mobile */
    .layout__sidebar {
        width: 100%;
        gap: 25px;
    }

    .sidebar-box--category {
        margin-top: 0;
    }

    .sidebar-box__title {
        width: 100%;
        height: auto;
        padding: 12px 15px;
        font-size: 20px;
    }

    .sidebar-box__item {
        padding: 13px 15px;
    }

    .sidebar-box__item a {
        font-size: 18px;
    }

    /* Post Item Mobile */
    .post-item__wrapper {
        gap: 12px;
        grid-template-columns: 80px 1fr;
        height: auto;
        padding: 10px 15px;
    }

    .post-item__thumb {
        width: 80px;
        height: 60px;
        border-radius: 8px;
    }

    .post-item__title {
        font-size: 14px;
        line-height: 1.3;
    }

    .post-item__date {
        font-size: 13px;
    }

    .post-item__date img {
        width: 14px;
        height: 14px;
    }

    /* Footer Mobile */
    .site-footer {
        margin-bottom: 0;
    }

    .site-footer__container {
        padding: 25px 15px;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .site-footer__column {
        margin-right: 0;
    }

    .site-footer__logo img {
        width: 150px;
        height: auto;
        margin-bottom: 15px;
    }

    .site-footer__heading {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .site-footer__subheading {
        font-size: 18px;
        margin: 15px 0 10px 0;
    }

    .company-info__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .company-info__label,
    .company-info__text,
    .company-info__link,
    .footer-nav__link {
        font-size: 14px;
    }

    .social-links__icon {
        width: 35px;
        height: 35px;
    }

    .app-download__badge {
        width: 140px;
    }
}



/* List Post Page*/

.box__list {
    padding-right: 21px;
}
.list-post-item {
    display: flex;
    flex-direction: column;
}

.list-post-item__wrapper {
    gap: 19px;
    display: grid;
    grid-template-columns: auto 1fr;
    height: 139px;
    padding: 10px 88px 12px 0px;
}

.list-post-item__thumb {
    width: 209px;
    height: 139px;
    object-fit: cover;
    box-sizing: content-box;
}

.list-post-item__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-post-item__title {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
}

.list-post-item__infor {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 130%;
}

.list-post-item__date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #858585;
    font-weight: 400;
    font-size: 15px;
}

.list-post-item__date i {
    font-size: 16px;
}

.breadcrumb {
    font-size: 20px;
    color: #7a7a7a;
    padding-bottom: 43px;
    width: fit-content;
    font-weight: 600;
}

.breadcrumb a {
    color: #7a7a7a;
}

.read-more-btn {
    font-size: 26px;
    font-weight: 600;
    color: #B31E8D;
    border: 1px solid #B31E8D;
    background-color: transparent;
    padding: 12px 33px;
    margin-top: 59px;
    margin-left: 362px;
    cursor: pointer;
    margin-bottom: 30px;
}
.hide-posts-btn {
    font-size: 26px;
    font-weight: 600;
    color: #B31E8D;
    border: 1px solid #B31E8D;
    background-color: transparent;
    padding: 12px 33px;
    margin-top: 59px;
    margin-left: 362px;
    cursor: pointer;
    margin-bottom: 30px;
}
/* ===================================
   RESPONSIVE - Dưới 480px
   =================================== */
@media (max-width: 480px) {
    .box__list {
      padding-right: 0;
    }

    .list-post-item {
        margin-bottom: 10px;
    }

    .list-post-item__wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px 0;
      height: auto;
      gap: 12px;
      border-bottom: 1px solid #ddd;
    }
  
    .list-post-item__thumb {
      width: 100%;
      max-width: 100%;
      height: auto;
      border-radius: 8px;
    }
  
    .list-post-item__content {
      width: 100%;
      text-align: left;
      gap: 6px;
    }
  
    .list-post-item__title {
      font-size: 16px;
      line-height: 1.4;
    }
  
    .list-post-item__infor {
      font-size: 14px;
      line-height: 1.6;
      width: 130%;
    }
  
    .list-post-item__date {
      font-size: 13px;
      gap: 6px;
    }

    .read-more-btn {
      font-size: 18px;
      padding: 10px 24px;
      margin: 24px auto 0;
      display: block;
      text-align: center;
      width: fit-content;
    }
    .hide-posts-btn {
      font-size: 18px;
      padding: 10px 24px;
      margin: 24px auto 0;
      display: block;
      text-align: center;
      width: fit-content;
    }
}
  

/* Post Detail Page*/

.post-detail__title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #3B3B3B;
}

.post-detail__meta {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #777;
    margin-bottom: 17px;
}

.post-detail__meta-item {
    display: flex;
    align-items: center;
}

.post-detail__author {
    margin-right: 24px;
}

.post-detail__icon {
    width: 22px;
    height: 22px;
    margin-right: 3px;
}
  
.post-detail__image {
    position: relative;
    margin-bottom: 25px;
}
  
.post-detail__img {
    width: 100%;
    object-fit: cover;
}
  
.post-detail__content {
    margin-top: 10px;
}
  
.post-detail__intro {
    margin-bottom: 25px;
    font-size: 1rem;
}
  
.post-detail__heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #222;
    border-left: 4px solid #77b255;
    padding-left: 10px;
}
  
.post-detail__ingredients {
    list-style: disc;
    padding-left: 25px;
    margin: 0;
}
  
.post-detail__ingredient {
    margin-bottom: 6px;
}
/* Các thẻ cơ bản trong post-detail */
.post-detail h1 {
    font-size: 36px;
    font-weight: 800;
    color: #3B3B3B;
    margin-bottom: 15px;
}

.post-detail h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin: 25px 0 15px;
    border-left: 4px solid #77b255;
    padding-left: 10px;
}

.post-detail p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 23px;
}

.post-detail span {
    font-size: 0.95rem;
    color: #555;
}

.post-detail ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.post-detail li {
    margin-bottom: 6px;
}

/* Hình ảnh vẫn giữ như cũ */
.post-detail img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*Bài viết liên quan*/
/* Container bài viết liên quan */
.related-posts {
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
}

.related-posts h4 {
    font-size: 1.2rem;
    color: var(--primary-color); /* màu giống tiêu đề hình */
    margin-bottom: 15px;
    font-weight: 600;
}
.related-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  
  .slider-track {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .slide-item {
    flex: 0 0 calc(100% / 3); /* 3 item/lần */
    box-sizing: border-box;
    padding: 10px;
    text-decoration: none;
    color: #333;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .slide-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 8px 8px 0 0;
  }
  
  .slide-item span {
    display: block;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
  }
  
  /* dots */
  .slider-dots {
    text-align: center;
    margin-top: 10px;
    
  }
  
  .slider-dots button {
    width: 8px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 4px;
    background: #ccc;
    cursor: pointer;
  }
  
  .slider-dots button.active {
    background: var(--primary-color);
  }

  /* ===================================
   RESPONSIVE - Dưới 480px
   =================================== */

@media (max-width: 480px) {
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 14px;
        padding-bottom: 20px;
        line-height: 1.4;
    }
    
    .breadcrumb__link,
    .breadcrumb__current {
        display: inline-block;
        max-width: 100%;
        word-break: break-word;
    }
    
    .breadcrumb__separator {
        margin: 0 4px;
    }

    .post-detail {
      width: 100%;
    }
  
    .post-detail__title {
      font-size: 24px;
      line-height: 1.3;
      margin-bottom: 10px;
    }

    .post-detail__meta {
      flex-direction: column;
      align-items: flex-start;
      font-size: 13px;
      gap: 4px;
      margin-bottom: 14px;
    }
  
    .post-detail__author {
      margin-right: 0;
    }
  
    .post-detail__icon {
      width: 18px;
      height: 18px;
      margin-right: 6px;
    }

    .post-detail__image {
      margin-bottom: 20px;
    }

    .post-detail__intro {
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 20px;
    }
  
    .post-detail__heading {
      font-size: 18px;
      margin: 20px 0 10px;
      padding-left: 8px;
    }
  
    .post-detail__ingredients {
      padding-left: 18px;
    }
  
    .post-detail__ingredient {
      font-size: 14px;
      line-height: 1.5;
    }
}

@media screen and (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   RESPONSIVE - Trên 1420px
   =================================== */

   @media screen and (min-width: 1441px) {
    /* CSS áp dụng cho màn hình có chiều rộng từ 1441px trở lên */
    .site-header__container {
        max-width: 1420px;
        margin: auto;
    }
    .main-nav__link {
        font-size: 23px;
    }

    .hero-slider {
        max-width: 1420px;
        margin: auto;
    }

    .layout {
        max-width: 1420px;
        margin: auto;
        padding-top: 50px;
    }

    .layout__sidebar {
        width: 100%;
    }

    .site-footer__container {
        padding: 35px 64px 22.67px 57px;
        display: grid;
        gap: 50px;
        margin: auto;
        max-width: 1420px;
        justify-content: space-around;
    }
  }
  