/* OAcom Template - Portfolio Category & Article Styles */

/* ==========================================================================
   PORTFOLIO CATEGORY VIEW (com_content/category/portfolio.php)
   ========================================================================== */

/* Portfolio Page Container */
html, body {
    overflow-x: hidden !important;
    overflow-y: auto;
    max-width: 100vw;
    background-color: #FFF!important;
}

body.layout-portfolio {
    overflow-x: hidden !important;
    overflow-y: auto;
}

.pin-spacer {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

#portfolio-scroll-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 0 40px;
    overflow: visible;
    position: relative;
}

.portfolio-header-fixed {
    position: relative;
    width: 100%;
    padding: 25vh 0 0 0;
    z-index: 10;
}

.portfolio-grid-wrapper {
    position: relative;
    width: calc(100% + max(0px, (100vw - 1400px) / 2));
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

#portfolio-wrapper {
    position: relative;
    width: 2380px !important;
    max-width: none !important;
    height: auto;
    padding: 0;
    will-change: transform;
}

.portfolio-header {
    display: flex;
    align-items: flex-start;
    gap: 10rem;
}

.portfolio-title {
    font-family: 'Gothiks', sans-serif;
    font-size: 6rem;
    font-weight: 300;
    color: #4A5458;
    margin: 0;
    line-height: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.signature-section {
    max-width: 600px;
    padding-top: 0px;
    flex-shrink: 0;
}

.signature-title {
    font-family: 'New Atten', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #4A5458;
    margin-bottom: 0px;
    letter-spacing: 3px;
}

.signature-text {
    font-family: 'New Atten', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #4A5458;
}

.signature-text a {
    color: #4A5458;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.signature-text a:hover {
    opacity: 0.7;
}

/* Portfolio Grid */
.portfolio-grid {
    position: relative;
    width: 2300px !important;
    max-width: none !important;
    height: 415px;
}

.portfolio-item {
    position: absolute;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.portfolio-item .text-label  {background-color:#FFF;}


.portfolio-item:hover {
    transform: scale(1.02);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.portfolio-item .text-label {transform: translate(-10rem);transition: all 1s;}

.portfolio-item:hover .text-label {transform: translate(0rem);transition: all 1s;}

/* Text Labels */
.text-label {
    position: absolute;
    font-family: 'Gothiks', sans-serif;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    z-index: 10;
    left: 0.66rem;
    top: 0.66rem;
    background-color:#FFF;
    padding: 0.33rem;
}

.text-label.dark {
    color: #4A5458;
}



.category-label {
    position: absolute;
    font-family: 'Meutas Medium', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 3px;
    white-space: nowrap;
    z-index: 10;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-label.dark {
    color: #4A5458;
}

/* Section A: Atoo 1/3 + Alphonse 2/3 | Mission Locale 2/3 + Sidonie 1/3 */
.item-1 { /* Atoo - 1/3 top (square) */
    left: 0;
    top: 0;
    width: 200px;
    height: 200px;
}

.item-2 { /* Alphonse - 2/3 top */
    left: 215px;
    top: 0;
    width: 415px;
    height: 200px;
}

.item-3 { /* Mission Locale - 2/3 bottom */
    left: 0;
    top: 215px;
    width: 415px;
    height: 200px;
}

.item-4 { /* Sidonie - 1/3 bottom (square) */
    left: 430px;
    top: 215px;
    width: 200px;
    height: 200px;
}

/* Section B: Full height block, same width as 1/3 (square) */
.item-5 {
    left: 645px;
    top: 0;
    width: 200px;
    height: 415px;
}

/* Section C: Redwood 2/3 + Le Duo 1/3 | La Demeure 1/3 + Saint Loup 2/3 */
.item-6 { /* Redwood - 2/3 top */
    left: 860px;
    top: 0;
    width: 415px;
    height: 200px;
}

.item-7 { /* Le Duo - 1/3 top (square) */
    left: 1290px;
    top: 0;
    width: 200px;
    height: 200px;
}

.item-8 { /* La Demeure - 1/3 bottom (square) */
    left: 860px;
    top: 215px;
    width: 200px;
    height: 200px;
}

.item-9 { /* Saint Loup - 2/3 bottom */
    left: 1075px;
    top: 215px;
    width: 415px;
    height: 200px;
}

/* Section D: Distoufer - 2/3 full height */
.item-10 {
    left: 1505px;
    top: 0;
    width: 415px;
    height: 415px;
}

/* Section E: CTA block */
.item-11 {
    left: 1935px;
    top: 0;
    width: 365px;
    height: 415px;
    background: #D4CFC1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Frame */
.cta-content {
    text-align: center;
    padding: 40px;
}

.cta-title {
    font-family: 'Gothiks', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #4A5458;
    margin-bottom: 30px;
    line-height: 1.2;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFC635;
    color: #4A5458;
    font-family: 'Meutas Medium', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #4A5458;
    color: #FFC635;
    transform: translateY(-2px);
}

/* Responsive Design - Category View */
@media (max-width: 1400px) {
    #portfolio-scroll-container {
        max-width: 100%;
        padding: 0 0 0 20px;
    }
}

@media (max-width: 768px) {
    #portfolio-scroll-container {
        padding: 0 20px;
        max-width: 100%;
    }

    .portfolio-header-fixed {
        padding: 80px 0 0 0;
    }

    /* Stack header vertically */
    .portfolio-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .portfolio-title {
        font-size: 50px;
        white-space: normal;
    }

    .signature-section {
        max-width: 100%;
    }

    .signature-text {
        font-size: 16px;
    }

    /* Remove fixed height and overflow so cards stack vertically */
    .portfolio-grid-wrapper {
        height: auto;
        overflow: visible;
        min-height: auto;
        margin-top: 1.5rem;
    }

    #portfolio-wrapper {
        width: 100% !important;
    }

    .portfolio-grid {
        position: relative;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100% !important;
    }

    .portfolio-item {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 280px;
        height: 160px !important;
        border-radius: 8px;
    }

    .portfolio-item img {
        border-radius: 8px;
    }

    /* Text label on cards */
    .text-label {
        font-size: 22px !important;
        white-space: normal;
    }

    .category-label {
        font-size: 14px;
        top: 35px;
        left: 17px;
        letter-spacing: 2px;
    }

    /* CTA block */
    .item-11 {
        height: auto !important;
        min-height: 160px;
        max-width: 280px;
        border-radius: 8px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px 30px;
    }
}


/* ==========================================================================
   PORTFOLIO ARTICLE VIEW (com_content/article/portfolio.php)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header colour overrides - applied via .couleurheader custom field value.
   When value is "blanc": white logos/icons/actions.
   Otherwise (default):   black logos/icons/actions.
   These classes are set on the <body> or parent element by the template.
   -------------------------------------------------------------------------- */

/* couleurheader = "blanc" */
.couleurheader-blanc .poi-point ul li a { color: #FFF; }
.couleurheader-blanc .poi-point svg { fill: #FFF; }
.couleurheader-blanc .line { fill: none; stroke: white !important; }
.couleurheader-blanc #actions-buttons,
.couleurheader-blanc #actions-buttons a { color: #FFF !important; }
.couleurheader-blanc .couleurlogo { fill: #fff; }

/* couleurheader = default (dark) */
.poi-point ul li a { color: #000; }
.poi-point svg { fill: #000; }
.couleurlogo { fill: #000; }
.line { fill: none; stroke: black !important; }
#actions-buttons,
#actions-buttons a { color: #000 !important; }

/* --------------------------------------------------------------------------
   Portfolio Article - Main Styles
   -------------------------------------------------------------------------- */

#portfolio {
    width: 100%;
    overflow-x: hidden;
}

.portfolio-hero {
    padding: 100px 40px 60px;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.portfolio-hero .subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

.portfolio-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-tag {
    background: #000;
    color: #FFF;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.content-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.content-section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content-section-content p {
    margin-bottom: 1.5rem;
}

.portfolio-gallery {
    padding: 60px 40px;
    background: #f5f5f5;
}

.portfolio-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discover-section {
    padding: 100px 40px;
    background: #D4CFC1;
    position: relative;
    z-index: 2;
}

.discover-section h2 {
    font-size: 5.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 300;
}

.projects-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 4/3;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
}

.project-card .project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-card .project-category {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Edit icons */
.icons .float-end {
    position: fixed;
    left: 0;
    background-color: #6F9553;
    z-index: 1000;
}

.icons .float-end * {
    color: #FFF;
}

#sp-main-body {
    padding: 0 !important;
}

/* --------------------------------------------------------------------------
   Portfolio Article - Extended Layout & Typography
   -------------------------------------------------------------------------- */

/* Custom Fonts */
@font-face {
    font-family: 'Gothiks';
    src: url('fonts/Gothiks-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gothiks';
    src: url('fonts/Gothiks-SuperLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'New Atten';
    src: url('fonts/NewAtten-Book.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'New Atten';
    src: url('fonts/NewAtten-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Bilo';
    src: url('fonts/NewAtten-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Meutas Medium';
    src: url('fonts/Meutas-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'New Atten', sans-serif;
    background: #ffffff;
    color: #4A5458;
    overflow-x: hidden;
}

/* Typography Utility Classes */
.gothiks-book {
    font-family: 'Gothiks', sans-serif;
    font-weight: 400;
}

.gothiks-superlight {
    font-family: 'Gothiks', sans-serif;
    font-weight: 200;
}

.new-atten-book {
    font-family: 'New Atten', sans-serif;
    font-weight: 300;
}

.new-atten-bold {
    font-family: 'New Atten', sans-serif;
    font-weight: 700;
}

.bilo-regular {
    font-family: 'Bilo', sans-serif;
    font-weight: 400;
}

.meutas-medium {
    font-family: 'Meutas Medium', sans-serif;
    font-weight: 500;
}

/* Main Container */
.main-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
}

/* Hero Section - Sticky Left */
.hero-section {
    position: relative;
    min-height: 635px;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 0 40px;
    background: #ffffff;
    gap: 15px;
}

.hero-title {
    font-size: 130px;
    line-height: 1;
    color: #4A5458;
    margin: 0;
}

.hero-subtitle {
    font-size: 60px;
    line-height: 1;
    color: #4A5458;
    margin: 0;
}

.hero-meta {
    margin-top: 15px;
    max-width: 800px;
}

.hero-meta h2 {
    font-family: 'Gothiks', sans-serif !important;
    font-size: 2.5rem;
    font-weight: 400;
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: #4A5458;
}

.hero-tags {
    display: flex;
    gap: 30px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4A5458;
    padding: 10px 0;
}

/* Content Sections */
.content-wrapper {
    position: relative;
    z-index: 1;
}

.content-section {
    position: relative;
}

.caption-column {
    position: relative;
}

.caption-container {
    position: relative;
    background: #ffffff;
    z-index: 2;
}

.sticky-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    background: #ffffff;
    gap: 10px;
    transition: opacity 0.2s ease;
    max-width: 459px;
}

.section-title {
    font-size: 40px;
    line-height: 1;
    color: #4A5458;
    margin: 0;
}

.section-text {
    font-size: 1.2rem;
    line-height: 1.2;
    color: #4A5458;
    margin: 0;
}

/* Image Grid */
.image-grid {
    position: relative;
    width: 100%;
}

.gallery-item-wrapper {
    margin-bottom: 100px;
    width: 100%;
}

.gallery-item-wrapper:first-child {
    margin-top: 100px;
}

.gallery-item-wrapper:last-child {
    margin-bottom: 100px;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item-wrapper:hover .project-image {
    transform: scale(1.02);
}

.gallery-item-info {
    margin-top: 30px;
    padding: 0 10px;
    max-width: 800px;
}

.gallery-item-title {
    font-size: 28px;
    line-height: 1.2;
    color: #4A5458;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.gallery-item-description {
    font-size: 18px;
    line-height: 1.6;
    color: #4A5458;
    margin: 0;
    font-weight: 300;
    opacity: 0.9;
}

/* Discover Section - Article View */
.discover-section {
    background: #D4CFC1;
    min-height: 952px;
    display: flex;
    align-items: center;
    padding: 0 200px;
    gap: 71px;
    position: relative;
    z-index: 2;
}

.discover-content {
    width: 603px;
    height: 291px;
    position: relative;
}

.discover-title {
    font-size: 100px;
    line-height: 1;
    color: #4A5458;
    margin: 0;
    top: 0;
    left: 0;
    width: 603px;
}

.discover-subtitle {
    font-size: 30px;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: 9px;
    top: 210px;
    left: 0;
    width: 603px;
    margin: 0;
}

.projects-carousel {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 444px;
}

.carousel-arrow {
    width: 22px;
    height: 48px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
  
    top: 12rem;
}

.carousel-arrow:hover {
    opacity: 0.7;
}

.carousel-arrow.prev {
    transform: scaleY(-1);
          left: -3rem;
}

.carousel-arrow.next {
    transform: rotate(180deg);
    right: -3rem;
}

.carousel-content {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 720px;
    height: 256px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-content::-webkit-scrollbar {
    display: none;
}

.project-card {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-title {
    position: absolute;
    top: 9px;
    left: 17px;
    font-size: 30px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
        font-family: 'Gothiks', sans-serif!important;
        font-weight:300;
}

.project-card-title.dark {
    color: #4A5458;
}

.project-card-tag {
    position: absolute;
    top: 39px;
    left: 17px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
}

.project-card-tag.dark {
    color: #4A5458;
}

/* Footer */
.footer {
    background: #4A5458;
    padding: 173px 0 80px;
    color: #D4CFC1;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1542px;
    margin: 0 auto;
    padding: 0 189px;
}

.footer-top {
    display: flex;
    gap: 136px;
    margin-bottom: 50px;
}

.footer-logo-section {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.footer-logo {
    width: 137px;
    height: 125px;
    background: #D4CFC1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.footer-columns {
    display: flex;
    gap: 70px;
    flex: 1;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 40px;
    line-height: 1;
    color: #D4CFC1;
    margin-bottom: 21px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 19px;
    line-height: 1;
    color: #D4CFC1;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    opacity: 0.7;
}

.footer-cta {
    background: #FFC635;
    color: #4A5458;
    padding: 7px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
}

.footer-divider {
    width: 596px;
    height: 1px;
    background: #D4CFC1;
    margin: 50px auto;
}

.footer-bottom {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #D4CFC1;
}

.footer-bottom a {
    color: #D4CFC1;
    text-decoration: underline;
}

.footer-bottom a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   RESPONSIVE - Article View
   ========================================================================== */

@media (max-width: 1600px) {
    .discover-section {
        padding: 0 100px;
    }
}

@media (max-width: 1400px) {
    .hero-title {
        font-size: 100px;
    }

    .hero-subtitle {
        font-size: 45px;
    }

    .gallery-item-wrapper {
        width: 100%;
    }

    .project-image {
        width: 100%;
        height: auto;
    }

    .image-grid {
        width: 100%;
    }

    .gallery-item-title {
        font-size: 24px;
    }

    .gallery-item-description {
        font-size: 16px;
    }

    .discover-section {
        padding: 0 50px;
        gap: 40px;
    }

    .discover-content {
        width: 450px;
    }

    .discover-title {
        font-size: 70px;
        width: 450px;
    }

    .discover-subtitle {
        font-size: 24px;
        top: 160px;
        width: 450px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 70px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

    .image-grid {
        width: 100%;
        margin-top: 30px;
    }


    .gallery-item-wrapper {
        width: 100%;
    }

    .project-image {
        width: 100%;
        height: auto;
    }

    .gallery-item-info {
        padding: 0 20px;
    }

    .gallery-item-title {
        font-size: 22px;
    }

    .gallery-item-description {
        font-size: 16px;
    }

    .discover-section {
        flex-direction: column;
        height: auto;
        padding: 80px 50px;
        gap: 60px;
    }

    .discover-content {
        width: 100%;
    }

    .discover-title {
        position: relative;
        width: 100%;
        font-size: 60px;
    }

    .discover-subtitle {
        position: relative;
        top: 20px;
        width: 100%;
    }

    .projects-carousel {
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .carousel-content {
        width: 100%;
    }

    .footer-columns {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-column {
        min-width: 45%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 100px 20px 0;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-tags {
        flex-direction: column;
        gap: 10px;
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-text {
        font-size: 1.2rem;
    }

    .discover-section {
        padding: 60px 20px;
    }

    .discover-title {
        font-size: 40px;
    }

    .discover-subtitle {
        font-size: 18px;
        letter-spacing: 5px;
    }

    .footer-content {
        padding: 0 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-column {
        min-width: 100%;
    }
}

/* ==========================================================================
   PORTFOLIO ITEM VIEW (com_content/category/portfolio_item.php)
   Hover animation styles for portfolio list items
   ========================================================================== */
.item-content { position: relative; min-height: 10rem; }
.item-content .grille-block-infos { position: absolute; left: 0; top: 50%; opacity: 1; transition: all 1s; right: 0; text-align: center; z-index: 2; }
.ligne:hover { padding: 10rem 0; }
.ligne figure:first-child { opacity: 1; transition: all 1s; transform: translateX(0); padding: 0; }
.ligne figure { opacity: 0.5; transition: all 1s; transform: translateX(0); }
.ligne figure:last-child { opacity: 1; transition: all 1s; transform: translateX(0); }
.ligne:hover .grille-elements { padding: 15rem 0; transition: all 1s; }
.ligne:hover figure { opacity: 1; transition: all 1s; transform: translateX(350px); }
.ligne:hover figure:first-child { opacity: 0; transition: all 1s; transform: translateX(-100%); }
.ligne:hover figure:last-child { opacity: 0; transition: all 1s; transform: translateX(100%); }
.ligne:hover .grille-block-infos { opacity: 1; transition: all 1s; }
.grille-block-infos-header { font-size: 3rem; }
.ligne:hover .grille-block-infos { transform: translateX(-350px); }
.ligne.selected:hover .grille-elements { margin-bottom: 0rem; transition: all 1s; }
.ligne.selected figure { opacity: 1; transition: all 1s; transform: translateX(350px); }
.ligne.selected figure:first-child { opacity: 0; transition: all 1s; transform: translateX(-100%); }
.ligne.selected figure:last-child { opacity: 0; transition: all 1s; transform: translateX(100%); }
.ligne.selected .grille-block-infos { opacity: 1; transition: all 1s; }
.ligne.selected .grille-block-infos { transform: translateX(-350px); }
.ligne.selected { margin-bottom: 50rem; }
