h1.home,
h2.home
{
    font-size: 72px;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    line-height: 1.24;
    margin: 48px 0 16px 0;
    color: #101010;
}

.home-subtitle
{
    margin-bottom: 32px;
    font-weight: 400;
}

h2.home
{
    font-size: 64px;
    margin: 120px 0 48px 0;
}

h1.home span.dot
{
    display: inline-block;
    margin-left: 6px;
}

/* <= 992px (MD) */
@media (max-width: 992px)
{
    h1.home span.dot
    {
        margin-left: max(2px, calc(1vw*0.5));
    }
}


.tile-guides p,
.tile-articles p
{
    font-size: 28px;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    line-height: 1.24;
}

.tile-guides
{
    background-color: #fbdaf1;
    height: 324px;
    position: relative;
    margin-bottom: 24px;
}

.tile-guides h3,
.tile-articles h3
{
    font-size: 38px;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    line-height: 1.24;
    margin: 0 0 16px 0;
}

.tile-articles
{
    background-color: #fee792;
    height: 324px;
    position: relative;
}

.tile-guides .btn-primary-round,
.tile-articles .btn-primary-round
{
    /* width: 64px;
    height: 64px;
    background-image: url("/files/imgs/pages/site/index/round-btn-arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block; */
    position: absolute;
    bottom: 40px;
    left: 40px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.tile-guides .btn-primary-round:hover,
.tile-articles .btn-primary-round:hover,
.tile-material .btn-primary-round:hover
{
    transform: scale(1.2);
    /* Scale up by 20% on hover */
}

.tile-material,
.tile-feedback,
.tile-material:hover,
.tile-feedback:hover
{
    background-color: #F6F6F6;
    border: none;
    color: #252525;
    padding: 84px 24px 24px 24px;
    position: relative;
    text-decoration: none;
    display: block;
}

.tile-material,
.tile-material:hover
{
    padding-bottom: 24px;
}

.tile-material h3
{
    color: #101010;
    font-size: 32px;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    line-height: 1.24;
    margin: 0 0 16px 0;
}

.tile-material p
{
    color: #6b6b6b;
    font-size: 16px;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    line-height: 1.24;
    margin: 0 0 12px 0;
}

.tile-material .round-btn-arrow-right
{
    width: 40px;
    height: 40px;
    background-image: url("/files/imgs/pages/site/index/round-btn-arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    position: absolute;
    bottom: 24px;
    right: 24px;
    transition: transform 0.3s ease;
    /* Add transition for smooth animation */
}

.tile-material span.tag-top-left,
.tile-material span.tag-top-right,
.tile-material span.tag-level
{
    color: #000000;
    font-size: 16px;
    font-family: "Google Sans", sans-serif;
    font-weight: 600;
    line-height: 1.24;
    padding: 8px 16px;
    border-radius: 32px;
    position: absolute;
    display: inline-block;
}

.tile-material span.tag-top-left
{
    left: 24px;
    top: 24px;
}

.tile-material span.tag-top-right
{
    right: 24px;
    top: 24px;
}

.tile-material span.tag-level
{
    left: 24px;
    bottom: 24px;
    border: 1px solid #d0d0d0;
    background-color: #f6f6f6;
    color: #252525;
    display: flex;
    align-items: center;
}

.tile-material span.tag-level span.dots
{
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.tile-material span.tag-level span.dots span.dot-filled,
.tile-material span.tag-level span.dots span.dot-empty
{
    background-color: #252525;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    margin-right: 4px;
}

.tile-material span.tag-level span.dots span.dot-empty
{
    background-color: #c0c0c0;
}

.tile-material span.tag-guide
{
    background-color: #fbdaf1;
}

.tile-material span.tag-article
{
    background-color: #e0e0e0;
}

.tile-material span.tag-test
{
    background-color: #c8f7c5;
}

.tile-material span.tag-price
{
    background-color: white;
}

div.tile-tags
{
    margin: 24px 16px 48px 16px;
    color: #7a7a7a;
    font-size: 14px;
    font-family: "Google Sans", sans-serif;
    font-weight: 600;
    line-height: 1.24;
}

div.tile-tags span.tag
{
    margin-right: 24px;
}

div.tile-feedback,
div.tile-feedback:hover
{
    padding: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.tile-feedback h3
{
    font-size: 32px;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    line-height: 1.24;
    margin: 0 0 16px 0;
    color: #101010;
}

div.tile-feedback img.feedback-photo
{
    border-radius: 40px;
    width: 72px;
    height: 72px;
    margin-right: 16px;
}

div.tile-feedback div.feedback-header
{
    display: flex;
    align-items: flex-start;
    margin-bottom: 0px;
}

div.tile-feedback a.instagram-link
{
    position: absolute;
    top: 32px;
    right: 32px;
    width: 24px;
    height: 24px;
    background-image: url("/files/imgs/pages/site/index/icon-instagram-24px-white.svg");
    filter: invert(1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div.tile-feedback p
{
    font-size: 14px;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

/* Feedback slider (Slick) */
.feedback-slider:not(.slick-initialized)
{
    display: flex;
    gap: 24px;
}

.feedback-slider:not(.slick-initialized) .feedback-slide
{
    flex: 1 1 0;
    display: flex;
}

.feedback-slider:not(.slick-initialized) .tile-feedback
{
    height: 100%;
}

/* Static (non-slick) responsive fallback */
@media (max-width: 992px)
{
    .feedback-slider:not(.slick-initialized)
    {
        flex-wrap: wrap;
        gap: 16px;
    }

    .feedback-slider:not(.slick-initialized) .feedback-slide
    {
        flex: 0 0 100%;
    }
}

.feedback-slider.slick-initialized
{
    margin-left: -12px;
    margin-right: -12px;
}

.feedback-slider .slick-slide
{
    padding-left: 12px;
    padding-right: 12px;
}

.feedback-slider .slick-dots
{
    position: static;
    margin-top: 16px;
}

.feedback-slider .slick-dots li
{
    margin: 0 4px;
}

.feedback-slider .slick-dots li button:before
{
    color: #101010;
    opacity: 0.35;
}

.feedback-slider .slick-dots li.slick-active button:before
{
    color: #101010;
    opacity: 1;
}

.feedback-slider .slick-prev:before,
.feedback-slider .slick-next:before
{
    color: #101010;
}

.feedback-slider .slick-prev:before,
.feedback-slider .slick-next:before
{
    content: none;
}

.feedback-slider .slick-prev svg,
.feedback-slider .slick-next svg
{
    display: block;
}

/* Arrow positioning: keep symmetric spacing from cards */
.feedback-slider .slick-prev,
.feedback-slider .slick-next
{
    width: 48px;
    height: 48px;
    z-index: 3;
}

.feedback-slider .slick-prev
{
    left: -64px;
}

.feedback-slider .slick-next
{
    right: -64px;
}

/* Avoid clipping by viewport on medium widths: bring arrows closer */
@media (max-width: 1400px)
{
    .feedback-slider .slick-prev
    {
        left: -40px;
    }

    .feedback-slider .slick-next
    {
        right: -40px;
    }
}

/* On narrow layouts keep arrows inside the slider bounds */
@media (max-width: 1100px)
{
    .feedback-slider .slick-prev
    {
        left: -40px;
    }

    .feedback-slider .slick-next
    {
        right: -40px;
    }
}

/* Equal height slides */
.feedback-slider.slick-initialized .slick-track
{
    display: flex;
}

.feedback-slider.slick-initialized .slick-slide
{
    height: auto;
}

.feedback-slider.slick-initialized .slick-slide > div,
.feedback-slider.slick-initialized .feedback-slide,
.feedback-slider.slick-initialized .tile-feedback
{
    height: 100%;
}

/* Prevent hover scale clipping inside Slick */
.feedback-slider.slick-initialized .slick-list
{
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: -16px;
    margin-bottom: -16px;
}

div.tile-tags
{
    margin: 8px 24px 48px 16px;
}

div.tile-tags a.tag
{
    color: #7a7a7a;
    font-family: "Google Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.24;
    display: inline-block;
    margin-top: 16px;
    margin-right: 16px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

div.tile-tags a.tag:hover
{
    color: #101010 !important;
    transform: scale(1.1);
}



/* <= 576px (XS) */
@media (max-width: 576px)
{
    h1.home
    {
        font-size: 56px;
        margin-top: 40px;
    }

    h2.home
    {
        font-size: 40px;
        margin-top: 56px;
        margin-bottom: 16px;
    }

    h2.home.title-feedback
    {
        margin-top: 0px;
    }

    .tile.tile-guides,
    .tile.tile-articles
    {
        display: flex;
        flex-direction: column;
        height: auto;
        padding-bottom: 96px;
    }

    .tile-guides h3,
    .tile-articles h3
    {
        font-size: 40px;
    }

    .tile-guides p,
    .tile-articles p
    {
        font-size: 24px;
    }

    .tile-feedback,
    .tile-feedback:hover
    {
        margin-bottom: 16px;
    }

}

/* <= 460px */
@media (max-width: 460px)
{
    h1.home
    {
        font-size: 40px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    h2.home
    {
        font-size: 32px;
        margin-top: 16px;
        margin-bottom: 0px;
    }

    h2.home.title-materials
    h2.home.title-feedback
    {
        margin-top: 16px;
        margin-bottom: 0px;
    }

    h2.home.title-materials
    {
        margin-top: 40px;
    }

    .tile-guides h3,
    .tile-articles h3
    {
        font-size: 38px;
    }

    .tile-guides,
    .tile-articles
    {
        padding-top: 32px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .tile-guides .btn-primary-round,
    .tile-articles .btn-primary-round
    {
        left: 32px;
    }

}

/* <= 360px */
@media (max-width: 360px)
{
    .tile-guides h3,
    .tile-articles h3
    {
        font-size: 30px;
    }

    .tile-guides,
    .tile-articles
    {
        padding-top: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .tile-guides .btn-primary-round,
    .tile-articles .btn-primary-round
    {
        left: 24px;
    }
}

/* >= 576 (SM) and <= 768 (MD) */
@media (min-width: 576px) and (max-width: 768px)
{
    h1.home
    {
        font-size: 64px;
        margin-top: 40px;
    }

    h2.home
    {
        font-size: 48px;
        margin-top: 64px;
        margin-bottom: 32px;
    }

    .tile-guides,
    .tile-articles
    {
        height: 280px;
        margin-bottom: 24px;
    }

    .tile-guides h3,
    .tile-articles h3
    {
        font-size: 40px;
    }

    .tile-guides p,
    .tile-articles p
    {
        font-size: 24px;
    }

    .tile-material,
    .tile-material:hover
    {
        padding-top: 92px;
        /* height: 380px; */
    }

    .tile-material h3
    {
        font-size: 40px;
    }

    .tile-material p
    {
        font-size: 24px;
    }

    .tile-feedback,
    .tile-feedback:hover
    {
        /* height: 300px; */
        margin-bottom: 24px;
    }

    h2.home.title-feedback
    {
        margin-top: 24px;
    }
}

/* >= 768 (MD) and <= 992 (LG) */
@media (min-width: 768px) and (max-width: 992px)
{
    h1.home
    {
        font-size: 64px;
        margin-top: 48px;
    }

    h2.home
    {
        font-size: 48px;
        margin-top: 64px;
        margin-bottom: 32px;
    }

    h2.home.title-feedback
    {
        margin-top: 0;
    }

    .tile-guides h3,
    .tile-articles h3
    {
        font-size: 36px;
    }

    .tile-guides p,
    .tile-articles p
    {
        font-size: 24px;
    }

    .tile-material,
    .tile-material:hover
    {
        padding-top: 92px;
        /* height: 340px; */
    }

    .tile-material h3
    {
        font-size: 40px;
    }

    .tile-material p
    {
        font-size: 24px;
    }

    .tile-feedback,
    .tile-feedback:hover
    {
        /* height: 280px; */
        margin-bottom: 24px;
    }
}

/* >= 992px (LG)  */
@media (min-width: 992px)
{
    h2.home.title-feedback
    {
        margin-top: 64px;
    }
}

/* >= 992 (LG) and <= 1200 (XL) */
@media (min-width: 992px) and (max-width: 1200px)
{
    .tile-material h3
    {
        font-size: 24px;
        line-height: 1.45;
    }

    .tile-tags
    {
        margin-right: 16px;
    }

    .tile-feedback,
    .tile-feedback:hover
    {
        /* height: 408px; */
        margin-bottom: 24px;
    }
}

/* Ensure columns behave as flex containers */
.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
    /* Add margin to columns if tile-tags margin was removed or is inside */
     margin-bottom: 24px; /* Adjust if needed */
}

/* Make the tile link fill the column height */
.row > [class*='col-'] > .tile-material,
.row > [class*='col-'] > .tile-feedback {
     height: 100%;
     display: flex; /* Optional: Use flex for internal layout */
     flex-direction: column; /* Optional: Stack content vertically */
}

/* Adjust padding if content needs space from bottom edge */
.tile-material,
.tile-material:hover {
    padding-bottom: 24px;
}

div.tile-tags {
    margin: 24px 16px 0 16px;
}


/* Ensure columns stretch */
.row > [class*='col-'] {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 24px; /* Remove margin from column if rows handle spacing */
}

/* Make the tile link fill the column height IN THE MATERIAL ROW */
.tile-material-row > [class*='col-'] > .tile-material {
     height: 100%;
     display: flex; /* Keep flex for internal layout if needed */
     flex-direction: column; /* Keep flex for internal layout if needed */
     padding-bottom: 24px; /* Adjust as needed for absolute elements */
}
/* Feedback tiles might need a similar specific rule if they appear in such rows */
.row > [class*='col-'] > .tile-feedback {
     height: 100%;
     display: flex;
     flex-direction: column;
}


/* Style the tags row and the tags div */
.tile-tags-row {
    /* Add space between the material row and the tags row */
    margin-bottom: 24px; /* Or adjust as needed */
}

/* Adjust the standalone tile-tags div */
div.tile-tags {
    margin: 0 16px 0 16px; /* Adjust top/bottom margins as needed, maybe 0 */
    /* padding-top: 8px; Optional space above tags */
    /* The rest of the div.tile-tags styles (font, color etc.) remain */
    /* line-height, font-weight etc. */
}

/* Styles for a.tag remain the same */
div.tile-tags a.tag {
    /* ... */
    margin-top: 0; /* Ensure no extra top margin */
    margin-bottom: 8px; /* For wrapping */
    /* ... */
}


/* Remove the complex rules added before if they exist */
/* .row > [class*='col-'] > .tile-material, etc */

/* Verify media queries again, ensure no conflicting height rules */

