#MainMenuHeader {
    width: 100%;
    height: 93px;
    opacity: 1;
    box-shadow: 0px 12px 32px 0px #0000000D;
    position: fixed;
    z-index: 1000;
    background-color: #fff;
    text-align: -webkit-center;
}

#MainMenuContainer {
    display: flex;
    height: 93px;
    max-width: 1400px;
    gap: 48px;
    opacity: 1;
    background: #fff;
    align-items: center;
}

#MainMenuLogo {
    width: 141px;
    height: 47px;
    opacity: 1;
    background-image: url("../assets/img/Logo-AkademieKvality.svg");
}

#MainMenuNavigation {
    flex: 1;
    height: 93px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

    #MainMenuNavigation > div {
        flex: 1;
    }

#MainMenuFirstRow {
    background: #fff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#MainMenuSecondRow {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#MainMenuLoginLink {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    cursor: pointer;
    background: #fff;
    width: auto;
    height: auto;
}

.ak-link {
    font-family: "font-family", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0;
    text-decoration-thickness: 0;
    text-decoration-skip-ink: auto;
    color: #1869B9;
}

    .ak-link:hover {
        color: #0C365F;
        text-decoration: none;
    }

.login-icon {
    width: 18px;
    height: auto;
}

#MainMenuMainNavigation, #MainMenuMicroSites {
    display: flex;
    align-items: center;
    background-color: #fff;
    gap: 16px;
    height: -webkit-fill-available;
}

    #MainMenuMainNavigation .NavItem, #MainMenuMicroSites .NavItem {
        color: #08437F;
        font-family: "Fira Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%; /* 24px */
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 8px 12px;
        position: relative;
        height: -webkit-fill-available;
    }

    #MainMenuMainNavigation .NavItemSelected, #MainMenuMicroSites .NavItemSelected {
        color:#0B1C2D ;
    }

        #MainMenuMainNavigation .NavItem::before,
        #MainMenuMicroSites .NavItem::before {
            content: "";
            height: 4px;
            width: 100%;
            position: absolute;
            bottom: 0;
            border-radius: 4px 4px 0 0;
            left: 0;
            background: #E76F73;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.3s ease-in-out;
        }

        #MainMenuMainNavigation .NavItem:hover::before,
        #MainMenuMicroSites .NavItem:hover::before {
            transform: scaleX(1);
        }

    #MainMenuMainNavigation .NavItemSelected::before,
    #MainMenuMicroSites .NavItemSelected::before {
        background-color: #D80C13;
        transform: scaleX(1);
        transition: none;
    }

footer {
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #F2F2F2;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    padding-top: 93px;
    flex: 1;
}

#FooterContainer {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.footer-flex {
    display: flex;
    justify-content: space-between; /* rozloží rovnomerne */
}

    .footer-flex > div {
        flex: 1; /* každý div má rovnakú šírku */
        padding: 0 10px; /* trošku priestoru */
    }

        .footer-flex > div:last-child {
            text-align: right;
            font-family: font-family;
            font-weight: 700;
            font-style: Bold;
            font-size: 16px;
            leading-trim: NONE;
            line-height: 150%;
            letter-spacing: 0%;
        }

.FooterSocialButton {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease, background-image 0.2s ease;
}

    /* Hover stav – zväčšíme na 32px (čo je 32/26 ≈ 1.23) */
    .FooterSocialButton:hover {
        transform: scale(1.23);
    }

    /* Facebook */
    .FooterSocialButton.fb {
        background-image: url("/TheBlogTheme/assets/img/fb.svg");
    }

        .FooterSocialButton.fb:hover {
            background-image: url("/TheBlogTheme/assets/img/fb-dark.svg");
        }

    /* Instagram */
    .FooterSocialButton.ig {
        background-image: url("/TheBlogTheme/assets/img/ig.svg");
    }

        .FooterSocialButton.ig:hover {
            background-image: url("/TheBlogTheme/assets/img/ig-dark.svg");
        }

    /* YouTube */
    .FooterSocialButton.yt {
        background-image: url("/TheBlogTheme/assets/img/yt.svg");
    }

        .FooterSocialButton.yt:hover {
            background-image: url("/TheBlogTheme/assets/img/yt-dark.svg");
        }

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

#HeroCarousel {
    width: 100%;
    height: 484px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#BluredTrikolora {
    position: absolute;
    left: -245px;
    bottom: -827.426px;
    width: 93%;
    height: 1374px;
    background: linear-gradient(90deg, white 0%, #D80C13 50%, #08437F 100%);
    opacity: 0.15;
    transform: rotate(-30deg);
    transform-origin: center;
    filter: blur(250px);
}

#HeroCarouselSlideShow {
    width: 70%;
    height: 420px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 36px;
    position:relative;
}

.SideButton {
    width: 50px;
    height: 50px;
    z-index: 2;
    cursor: pointer;
    background-image: url("/TheBlogTheme/assets/img/button-up.svg");
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 50%;
}

    .SideButton:hover {
        opacity: 100%;
    }

    .SideButton.left {
        margin-right: 10px;
        transform: rotate(-90deg);
    }

    .SideButton.right {
        margin-left: 10px;
        transform: rotate(90deg);
    }

.Headlines {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.Image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .Image img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.headline-title {
    font-family: "Fira Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 0; 
}

.headline-text {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0;
    margin-top: 7px; 
    margin-bottom: 0; 
}

.headline-actions {
    display: flex;
    padding-top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.btn {
    display: flex;
    font-family: "Fira Sans", sans-serif;
    font-weight: 600;
    border-radius: 600px;
    padding: 14px 24px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.btn-danger {
    background-color: #D80C13;
    color: #fff;
}

    .btn-danger:hover {
        background-color: #A41419;
        cursor: pointer;
    }

.btn-basic {
    background-color: #08437F; 
    color: #FFF;
}

    .btn-basic:hover {
        background-color: #1869B9;
        cursor: pointer;
        color: #FFF;
    }

.slideItem {
    position: absolute;
    top: 0;
    left: 48px;
    width: 100%;
    height: 100%;
    display: none; 
    align-items: center;
    gap: 36px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

    .slideItem.showing {
        display: flex;
    }

    .slideItem.active {
        opacity: 1; 
        z-index: 2;
        display:flex;
    }

#SectionIntro {
    display: flex;
    padding: 24px 24px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

#Intro {
    display: flex;
    width: 70%;
    margin-left: 15%;
    padding: 0;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

#IntroImage {
    display: flex;
    width: 338px;
    height: 370px;
    align-items: flex-end;
    gap: 8px;
   /* background: url("/TheBlogTheme/assets/img/Kuchar-Varecka.svg") lightgray -70.461px -44.125px / 138.501% 138.71% no-repeat;*/
    background-position: center top;  
    background-repeat: no-repeat;
    background-size: auto 450px;  

    position: relative;
    overflow: visible;
}

#IntroContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
}

#LogosGrid {
    display: flex;
    padding: 0 0;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 12px;
    z-index: 10;
    justify-content: center;
}

.LogoTile {
    display: flex;
    width: 100px;
    height: 100px;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #FFF;
}

    .LogoTile:hover {
        padding: 12px;
        box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.09);
        cursor: pointer;
    }

        .LogoTile:hover .LogoTileItem {
            width: 56.42px;
            flex: 1 0 0;
            aspect-ratio: 49/66;
        }

.LogoTileItem {
    width: 50.481px;
    flex: 1 0 0;
    aspect-ratio: 49/66;
}

.LogoTileSelected {
    box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.09);
    position:relative;
}

    .LogoTileSelected::before {
        content: "";
        width: 68px;
        height: 3px;
        position: absolute;
        left: 16px;
        bottom: 0;
        border-radius: 8px 8px 0 0;
        background: #D80C13;
        transform: scaleX(1);
        transform-origin: center;
        transition: transform 0.3s ease-in-out;
    }

#IntroText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

#IntroTextHeading {
    align-self: stretch;
}

.Heading2 {
    font-family: "Fira Sans";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 36.4px */
}

.Heading1 {
    font-family: "Fira Sans";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 46.8px */
}

.Heading4 {
    font-family: "Fira Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */
}

.TextHeadlines {
    color: #0C2945;
}

.TextBody1 {
    font-family: "Fira Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
}

.TextBody2 {
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.TextBodyS {
    font-family: "Fira Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

.TextBodySBold {
    font-family: "Fira Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 21px */
}

.TextBodyM {
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.TextBodyMBold {
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 24px */
}

.TextBodyMUnderline {
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.TextBody {
    color: #333;
}

.TextMuted {
    color: #808080;
}

.TextLink {
    color: #1869B9;
}

.ColorDanger {
    color: #A41419;
}

#IntroTextBody {
    align-self: stretch;
    padding: 0;
    margin: 0;
}

#SectionNews, #SectionRecipes {
    display: flex;
    padding: 56px 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: #F2F7FC;
}

#SectionRecipes {
    background: #FAFAFA;
}

#NewsContainer, #RecipesContainer {
    display: flex;
    width: 70%;
    margin-left: 15%;
    max-width: 1400px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 12px;
}

#NewsGrid, #RecipesGrid {
    display: flex;
    max-width: 1400px;
    align-items: stretch;
    gap: 16px;
   /* align-self: stretch;*/
}

#NewsGridColumn, #RecipesGridColumn {
    display: flex;
    width: 338px;
    flex-direction: column;
    align-items: flex-start;
}

.CardArticle {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    border-radius: 12px;
    border: 1px solid #E5EDF5;
    background: rgba(255, 255, 255, 0.00);
    width: 300px;
    position: relative;
}

    .CardArticle:hover {
        border: 1px solid #C4D9ED;
        background: #FFF;
        box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.09);
        cursor: pointer;
    }

        .CardArticle:hover .CardArticleTitle {
            text-decoration-line: underline;
            text-decoration-style: solid;
        }

#NewsGridColumnSection, #RecipesGridColumnSection {
    display: flex;
    padding: 24px 32px 0 0;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

#NewsGridColumnSectionHeadline, #RecipesGridColumnSectionHeadline {
    font-family: "Fira Sans";
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 42px */

    display: flex;
    padding-bottom: 8px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.CountTag {
    display: flex;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #DBFFEB;
    font-family: "Fira Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 14px */
}

#NewsGridColumnSectionText, #RecipesGridColumnSectionText {
    align-self: stretch;
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

#NewsGridColumnSectionActions, #RecipesGridColumnSectionActions {
    display: flex;
    padding-top: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.btn-primary {
    border: 1px solid #C4D9ED;
    background: rgba(255, 255, 255, 0.00);
    color: #1869B9;
}

    .btn-primary:hover {
        border: 1px solid #87B5E3;
        background: #E5EDF5;
        color: #0C365F;
    }

.CardArticle > img {
    height: 189.935px;
    align-self: stretch;
    aspect-ratio: 142/93;
    border-radius: 6px;
}

.CardArticleTitlePerex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.CardArticleTitle {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    flex: 1 0 0;
    color: #1869B9;
    font-family: "Fira Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 25.2px */
}

.CardArticlePerex {
    display: flex;
    padding-top: 8px;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
}

.TextBodyS {
    font-family: "Fira Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

#SectionPromo {
    display: flex;
    padding: 56px 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

#SectionPromoContainer {
    width: 70%;
    margin-left: 15%;
    display: flex;
    max-width: 1400px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

#SectionPromoBlock {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

#SectionPromoBlockIntroRow {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

#PromoBlockIntroRowSectionIntro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

#PromoBlockIntroRowSectionIntroTitle {
    display: flex;
    padding-bottom: 8px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

#SectionPromoBlockActions {
    display: flex;
    padding-top: 24px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 8px;
    flex: 1 0 0;
    align-self: stretch;
}

#SectionPromoBlockGrid {
    display: flex;
    max-width: 1400px;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.StatsBlock {
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    flex: 1 0 0;
    border-radius: 8px;
    border: 1px solid #E5EDF5;
    background: #FAFAFA;
}

    .StatsBlock:hover {
        border: 1px solid #C4D9ED;
        background: #F2F7FC;
    }

.StatsBlockIcon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 64px;
    height: 64px;
}

.StatsBlockText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

    .StatsBlockText h2 {
        align-self: stretch;
    }

.NavItem.is-uppercase {
    text-transform: uppercase;
}

.NavItem.is-red {
    color: #D80C13 !important;
}

.my-login-wrapper {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: 'Open Sans', sans-serif;
}

    .my-login-wrapper h2 {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 25px;
        text-align: center;
        color: #002e5d; /* tmavě modrá z loga */
    }

.login-form label {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.login-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

    .login-form .form-control:focus {
        border-color: #e30613; /* červená akcent */
        outline: none;
        box-shadow: 0 0 0 2px rgba(227,6,19,0.2);
    }

.toggle-password {
    position: absolute;
    right: 15px;
    top: 38px;
    cursor: pointer;
    color: #888;
}

.mb-3 {
    position: relative;
    margin-bottom: 20px;
}

.login-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form .btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #e30613; /* červená */
    border: none;
    color: #fff; /* biely text */
    transition: background-color 0.2s ease;
}

    .login-form .btn-primary:hover {
        background-color: #c50510; /* tmavšia červená pri hover */
        color: #fff; /* nech zostane biely */
    }

.PageIntro {
    display: flex;
    padding: 56px 0px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: #F2F7FC;
    position: relative;
    overflow: hidden;
}

.PageIntroContainer {
    display: flex;
    max-width: 1400px;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    width: 100%;
}

.PageIntroContainerSectionIntro {
    display: flex;
    max-width: 700px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.PageIntroHeading {
    display: flex;
    padding-bottom: 8px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.PageIntroImage {
    width: 269.181px;
    height: 274px;
    aspect-ratio: 269.18/274.00;
    position: absolute;
    right: 345.819px;
    bottom: -40px;
}

.PageContentSection {
    display: flex;
    padding: 40px 24px 56px 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.QualityMarksContentBlock a {
    color: #1869B9;
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.PageContentHeaderContainer {
    display: flex;
    max-width: 1400px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

.PageContentHeader {
    display: flex;
    padding-bottom: 16px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    flex: 1 0 0;
}

.PageContentContainer {
    display: flex;
    max-width: 1400px;
    align-items: flex-start;
    gap: 24px;
}

.PageContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.ArticlesGrid {
    display: flex;
    max-width: 1400px;
    align-items: stretch;
    align-content: flex-start;
    gap: 24px 24px;
    align-self: stretch;
    flex-wrap: wrap;
}

.Pagination {
    display: flex;
    padding-top: 24px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.PaginationArticlesCount {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
}

.PaginationNavigation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
}

.PaginationItem {
    display: flex;
    width: 34px;
    height: 34px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    text-align: center;
    font-family: "Fira Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 16px */
    cursor: pointer;
}

    .PaginationItem:hover {
        background: #E5EDF5;
    }

.PaginationItemSelected {
    background: #08437F !important;
    color: #fff;
}

.PaginationArrow {
    display: flex;
    width: 34px;
    height: 34px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.PaginationArrowRight {
    background-image: url("/TheBlogTheme/assets/img/ArrowRight.svg");
}

.PaginationArrowLeft {
    background-image: url("/TheBlogTheme/assets/img/ArrowRight.svg");
    transform: rotate(180deg);
    transform-origin: center;
}
.Aside {
    display: flex;
    width: 332px;
    padding-left: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.AsideCategories {
    display: flex;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    align-self: stretch;
    border-radius: 12px;
    background: #F2F7FC;
    position:relative;
}

    .AsideCategories .SubMenuItem {
        display: flex;
        height: 48px;
        padding: 12px 16px 12px 24px;
        align-items: center;
        align-self: stretch;
    }

        .AsideCategories .SubMenuItem:hover {
            background: rgba(255, 255, 255, 0.70);
            color: #0C365F;
            cursor: pointer;
        }

        .AsideCategories .SubMenuItem::before {
            content: "";
            width: 3px;
            height: 48px;
            position: absolute;
            left: -3px;
            border-radius: 4px 0 0 4px;
            background: #E76F73;
            transform: scaleY(0);
            transform-origin: center;
            transition: transform 0.3s ease-in-out;
        }

        .AsideCategories .SubMenuItem:hover::before {
            transform: scaleY(1);
        }

    .AsideCategories .SubMenuItemSelected {
        background: rgba(255, 255, 255, 0.90) !important;
        color: #0C365F;
    }

        .AsideCategories .SubMenuItemSelected::before {
            content: "";
            width: 3px;
            height: 48px;
            position: absolute;
            left: -3px;
            border-radius: 4px 0 0 4px;
            background: #D80C13 !important;
            transform: scaleY(1);
            transform: none;
        }

.RecipeMetas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.RecipeMetasFrame {
    display: flex;
    align-items: center;
    gap: 8px;
}

.RecipeMetasImage {
    width: 20px;
    height: 20px;
    aspect-ratio: 1/1;
}

.CardArticleFlag {
    display: flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 16px;
    top: 32px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    text-align: center;
}

.CardArticleFlagAvailable {
    background: #D80C13;
    color: #FFF;
}

.CardArticleFlagNotAvailable {
    background: #F2F2F2;
}

.QualityMarksContentBlock {
    display: flex;
    padding: 80px 32px 32px 32px;
    align-items: flex-start;
    gap: var(--spacing-l, 24px);
    align-self: stretch;
    border-radius: 12px;
    background: #F2F7FC;
    top: -50px;
    position: relative;
}

.QualityMarksContentBlockContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.QualityMarksContentBlockTitle {
    display: flex;
    padding-bottom: 16px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.QualityMarksIntroImage {
    width: 738px;
    height: 738px;
    aspect-ratio: 1 / 1;
    position: absolute;
    right: 166px;
    bottom: -241px;
}

.DetailIntro {
    display: flex;
    padding: 32px 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.DetailIntroContainer {
    display: flex;
    max-width: 1400px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 12px;
    margin: 0 auto;
}

.DetailIntroImage {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    border-radius: 16px;
    position:relative;
}

    .DetailIntroImage img {
        height: 480px;
        align-self: stretch;
        aspect-ratio: 35/12;
        border-radius: 16px;
    }
.DetailIntroOverlay {
    width: 1400px;
    height: 160px;
    position: absolute;
    bottom: 0;
    border-radius: 0 0 16px 16px;
}

.DetailIntroTitle {
    display: flex;
    width: 1400px;
    padding: 32px 40px;
    align-items: center;
    gap: 16px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.00) 100%);
    border-radius: 0 0 16px 16px;
}

    .DetailIntroTitle h1 {
        width: 650px;
        flex-shrink: 0;
        color: #FFF;
    }
.DetailContent {
    display: flex;
    padding: 0 24px 56px 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.DetailContentContainer {
    display: flex;
    max-width: 900px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    margin: 0 auto;
    border-radius: 12px;
}

.DetailArticeHeader {
    display: flex;
    padding-bottom: 32px;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 12px;
}

.DetailArticleMetas {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
}

.DetailArticleAuthor {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 0 0;
}

    .DetailArticleAuthor img {
        width: 48px;
        height: 48px;
        aspect-ratio: 1/1;
        border-radius: 1200px;
        border: 2px solid #F2D4D5;
    }

.DetailArticleAuthorDate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 0 0;
}

.DetailArticleBody {
    display: flex;
    padding-bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

    .DetailArticleBody p {
        display: flex;
        padding-bottom: 16px;
        align-items: flex-start;
        gap: 8px;
        align-self: stretch;
        color: #333;
        /* Text/Body/m */
        font-family: "Fira Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 24px */
        margin:0;
    }

    .DetailArticleBody h1,
    .DetailArticleBody h2,
    .DetailArticleBody h3,
    .DetailArticleBody h4,
    .DetailArticleBody h5,
    .DetailArticleBody h6 {
        display: flex;
        padding: 24px 0 16px 0;
        align-items: center;
        gap: 16px;
        align-self: stretch;
    }

.DetailArticleFooter {
    display: flex;
    padding-top: 24px;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-top: 1px solid #E6E6E6;
}

.DetailArticleFooterShare {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
}

    .DetailArticleFooterShare a,
    .DetailArticleFooterPrint a,
    .DetailArticleHeaderLinks a {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

        .DetailArticleFooterShare a .TextLink:hover,
        .DetailArticleFooterPrint a .TextLink:hover,
        .DetailArticleHeaderLinks a .TextLink:hover{
            color: #0C365F;
            text-decoration: none;
        }

    .DetailArticleFooterShare img,
    .DetailArticleFooterPrint img{
        display: flex;
        padding-top: 3px;
        align-items: flex-start;
        width: 18px;
        height: 18px;
    }

.DetailArticleFooterPrint {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px 8px;
    flex: 1 0 0;
    align-self: stretch;
    flex-wrap: wrap;
}

.DetailArticleHeaderLinks {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
}

.DetailArticleHeader {
    display: flex;
    padding-bottom: 32px;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
}

.GalleryBlock {
    display: flex;
    padding: 32px 0;
    align-items: flex-start;
    align-content: flex-start;
    gap: 16px 16px;
    align-self: stretch;
    flex-wrap: wrap;
}

.GalleryBlockThumbnail {
    display: flex;
    height: 150px;
    justify-content: center;
    align-items: center;
    /*flex: 1 0 0;*/
    aspect-ratio: 71/50;
    border-radius: 12px;
    overflow: hidden;
}

        .GalleryBlockThumbnail:hover {
            box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.09);
        }

        .GalleryBlockThumbnail img {
            width: 213px;
            height: 255px;
        }
        .GalleryBlockThumbnail:hover img{
            width: 283px;
            height: 269px;
        }

.GalleryBlockThumbnailShowAll {
    display: flex;
    height: 150px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    aspect-ratio: 71/50;
    border-radius: 12px;
    border: 1px solid #E5EDF5;
    background: #F2F7FC;
    cursor: pointer;
}

    .GalleryBlockThumbnailShowAll:hover {
        border: 1px solid #C4D9ED;
        box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.09);
    }

    .GalleryBlockThumbnailShowAll img {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
    }

.GalleryLabels {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.SectionMoreArticles {
    display: flex;
    padding: 56px 24px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    border-top: 1px solid #E6E6E6;
}

.MoreArticlesContainer {
    display: flex;
    max-width: 1400px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    margin: 0 auto;
}

.MoreArticlesTitle {
    display: flex;
    padding-bottom: 16px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

#ScrollTopButton {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: 1200px;
    opacity: 0.5;
    background: #D80C13;
    position: fixed;
    bottom: 60px;
    right: 20px;
}

    #ScrollTopButton:hover {
        opacity: 1;
        cursor: pointer;
    }

    #ScrollTopButton img {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        aspect-ratio: 1/1;
    }

#SearchContainer {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translate(-50%, -30px); /* posun hore o 30px */
    opacity: 0;
    pointer-events: none; /* aby na to nešlo klikať keď je skryté */
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
    z-index: 1030000001;
    box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.15); /* trošku do čierna */
    width: 100%;
    border-radius: 16px;
    padding: 24px;
    background: #FFF;
}

    /* Aktívny stav */
    #SearchContainer.active {
        transform: translate(-50%, 0); /* presne tam, kde má byť */
        opacity: 1;
        pointer-events: auto;
    }

.FlexContainer {
    display: flex;
    align-self: stretch;
    align-items: center;
}

#SearchInput {
    display: flex;
    padding: 12px 16px;
    align-items: flex-start;
    gap: 8px;
    flex: 1 0 0;
    border: 1px solid #C2D5EB;
    background: #FFF;
    margin-right: 8px;
    border-radius: 8px;
    border: 1px solid #CCC;
    background: #FFF;
}

#SearchContainerButton {
    display: flex;
    margin-right: 8px;
}

    #SearchContainerCancel:hover {
        cursor: pointer;
    }

#SearchContainerErrorMessage {
    margin-top: -12px;
}

#SearchOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1030000000; /* Nižší než z-index SearchContaineru, aby byl pod ním */
}

.error-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    background: #fff;
    text-align: center;
    padding: 40px 20px;
}

.error-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 12px 32px rgba(53, 107, 167, 0.15);
    border-radius: 16px;
    padding: 48px 32px;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: #e30613;
    margin-bottom: 16px;
    line-height: 1;
}

.error-container h1 {
    font-size: 28px;
    color: #1c1c1c;
    margin-bottom: 12px;
}

.error-container p {
    color: #555;
    font-size: 16px;
    margin-bottom: 32px;
}

.back-home {
    display: inline-block;
    background-color: #e30613;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s;
}

    .back-home:hover {
        background-color: #c0050f;
    }
