



@media(max-width: 990px) {

    :root {
        --container-width: 100%;
    }

    .collab-card {
        height: auto;
        margin-bottom: 1rem;
    }

    html {
        font-size: 1rem;
    }

    .hp-hero-inner .title > * {
        font-size: 4.5rem;
    }


    /* Header */
    .nav-item.active .nav-link {
        background-color: inherit;
        color: var(--bs-primary);
    }

    /* Newsletter */
    #subscribeNewsletter {
        flex-direction: column;
        gap: 2rem;
    }

    .press-hero {
        min-height: 0;
        background-color: var(--bs-light-bg-subtle);
    }
    .press-hero .bg {
        bottom: auto;
        height: calc(min(120vw, 70svh) + var(--header-height));
    }
    .press-hero-inner {
        padding: calc(min(120vw, 70svh) - 6rem) 0 2.5rem;
    }
    .press-hero .bg:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 45%;
        background: linear-gradient(180deg, rgba(var(--white-rgb), 0) 0%, var(--bs-light-bg-subtle) 100%);
    }
    .press-photos .fickle-image {
        flex: none;
        min-height: 0;
    }
    .press-photos .fickle-image img {
        position: static;
        height: auto;
        aspect-ratio: 4/5;
    }
    .press-contact-list {
        height: auto;
        margin-top: 2rem;
        padding-top: 2rem;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(var(--white-rgb), 0.15);
    }

}




@media (max-width: 760px) {

    :root {
        --header-height: 4.7rem;
        --heading-lg: 2rem;
        --heading-xl: 2rem;
        --text-sm: 1.05rem;
        --text-xxl: 1.5rem;
    }

    .text-xl > * {
        line-height: 1em;
    }

    h1 {
        font-weight: 600;
    }

    .hp-hero-inner {
        justify-content: flex-end;
    }
    .hp-hero-inner .headline {
        color: var(--bs-primary) !important;
        letter-spacing: 0.05em;
    }
    .hp-hero-inner .headline:before {
        width: 2.5rem;
        background-color: var(--bs-primary);
    }
    .hp-hero-inner .module-button,
    .hp-hero-inner .btn {
        width: 100%;
    }
    .hp-hero .bg:before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--bs-light-bg-subtle) 100%);
    }

    .partners .module-gallery-inner {
        grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
        gap: 0.5rem
    }
    .partners .module-gallery-inner .gallery-item {
        border-radius: var(--bs-border-radius-lg);
        padding: 1.5rem;
    }
    .partners .module-gallery-inner .gallery-item:last-child:nth-child(odd) {
        grid-column: 1/3;
    }
    .partners img {
        max-width: 9.5rem;
        max-height: 2.25rem;
    }

    .article-header .article-image img {
        aspect-ratio: 4/3;
    }
    .page-content > .builder-section-type-articol:last-child {
        margin-bottom: 4rem;
    }
    .builder-section-type-articol .module-text h2 {
        font-size: 1.4rem;
    }
    .builder-section-type-articol .module-text h3 {
        font-size: 1.2rem;
    }
    .builder-section-type-articol .module-text blockquote {
        padding: 1.25rem 1.5rem;
        font-size: 1.2rem;
    }


    /* About */
    .about-timeline{
        padding-left: 40px;
    }
    .about-timeline .tl-line {
        left: 11px;
    }
    .about-timeline .module-fickle::before {
        left: -37px;
    }
    .short-fickles {
        grid-template-columns: 1fr;
    }
    .short-fickles .btn {
        width: 100%;
    }
    .short-fickles.is-slider {
        grid-template-columns: minmax(0, 1fr);
    }

    .press-hero h1 {
        font-size: 2.5rem;
    }
    .press-buttons .module-button,
    .press-buttons .btn {
        width: 100%;
    }
    .press-bio .module-fickle,
    .press-research {
        padding: 1.5rem;
    }
    .press-copy {
        top: 1.25rem;
        right: 1.25rem;
    }
    .press-media .module-fickle {
        padding: 1.25rem;
    }
    .press-topics ul {
        grid-template-columns: minmax(0, 1fr);
    }
    .press-research {
        column-gap: 1rem;
    }
    .press-research .fickle-additional-html-code {
        width: 3rem;
        grid-row: 1;
    }
    .press-research .fickle-text-content {
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }
    .status-page {
        padding: 3rem 0 4rem;
    }
    .status-code span {
        font-size: 6rem;
    }
    .status-buttons .module-button,
    .status-buttons .btn {
        width: 100%;
    }
    .press-contact .container > .builder-row {
        padding: 2rem 1.25rem;
    }

    /* Media & Cercetare */
    .media-cercetare-anchors {
        gap: 0.5rem;
    }

    .post-card.aparitii-tv .post-card-content-wrapper {
        display: grid !important;
        gap: 0 !important;
        grid-template-columns: 1fr auto;
    }
    .post-card.aparitii-tv .post-card-content-wrapper > div {
        flex-direction: column;
        gap: 1rem !important;
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    .post-card.aparitii-tv .post-card-content-wrapper > p {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .teme-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .speaker-gallery-slider {
        overflow: hidden;
    }
    .speaker-gallery-slider .slick-arrow {
        left: 2rem;
        opacity: 1;
    }
    .speaker-gallery-slider .slick-arrow.next {
        left: auto;
        right: 2rem;
    }
    .speaker-gallery-slider img {
        aspect-ratio: 1/0.6;
    }


    /* Filozofia mea */
    .filo-fickles-wrapper .module-fickle .fickle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .filo-fickles-wrapper .module-fickle .fickle-content {
        padding-left: 0;
    }


    /* Newsletter */
    #w0 {
        padding: 0.4rem 1rem;
    }
    .module-newsletter #verifyCode-image img {
        max-height: 2.4rem;
    }

    /* Footer */
    .footer-menu-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-self: flex-start;
        gap: 3rem;
    }
    footer .copyright-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    footer .footer-legal {
        justify-content: center;
    }
    #collabPanel {
        --bs-offcanvas-width: 100%;
        --bs-offcanvas-padding-x: 1.25rem;
        --bs-offcanvas-padding-y: 1.25rem;
    }
    .collab-intro {
        margin-bottom: 2rem;
    }
    .collab-card {
        padding: 1.5rem;
    }


    
    
  }
@media (max-width: 990px) {
    .blog-category-header {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .blog-category-grid {
        padding-top: 2rem;
    }
    .blog-category-header {
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    .blog-category-tools {
        flex-wrap: wrap;
    }
    .blog-category-page .search-bar {
        flex: 1 1 100%;
    }
    .blog-category-page .search-wrapper input {
        width: 100%;
    }
    .blog-category-page .custom-dropdown {
        display: inline-block;
    }
    .blog-category-page .pagination-container {
        margin-top: 3rem;
    }
}
@media (max-width: 760px) {
    .newsletter-unsubscribe {
        padding: 2rem 0 4rem;
    }
    .newsletter-unsubscribe-card {
        padding: 2rem 1.25rem;
    }
    .newsletter-unsubscribe .newsletter-unsubscribe-title {
        font-size: var(--text-xl);
    }
}
