/**
 * Portfolio archive & single – from Main-website-files/portfolio-archive.html & portfolio-single.html
 * Uses ALIA design tokens from style.css
 */

/* ========== ARCHIVE: Page hero ========== */
.portfolio-archive .page-hero {
    padding: 180px 80px 100px;
    position: relative;
    overflow: hidden;
    background: var(--alia-white, #FFFDF9);
}

.portfolio-archive .page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.portfolio-archive .page-hero .breadcrumb {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-olive, #657444);
    margin-bottom: 28px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 12px;
}

.portfolio-archive .page-hero .breadcrumb a {
    color: var(--alia-dark, #120807);
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.portfolio-archive .page-hero .breadcrumb a:hover {
    opacity: 1;
}

.portfolio-archive .page-hero .breadcrumb .sep {
    width: 20px;
    height: 1px;
    background: var(--alia-gold, #D8B072);
}

.portfolio-archive .page-hero h1 {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 72px;
    font-weight: 300;
    line-height: 1.08;
    color: var(--alia-dark, #120807);
    margin-bottom: 24px;
}

.portfolio-archive .page-hero h1 em {
    font-style: italic;
    color: var(--alia-olive, #657444);
}

.portfolio-archive .page-hero p {
    font-size: 15px;
    line-height: 2;
    color: var(--alia-dark, #120807);
    opacity: 0.6;
    max-width: 520px;
    font-weight: 300;
}

.portfolio-archive .page-hero-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ========== ARCHIVE: Vine separator ========== */
.portfolio-archive .vine-separator {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: visible;
}

.portfolio-archive .vine-separator svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* ========== ARCHIVE: Filter bar ========== */
.filter-bar {
    padding: 0 80px;
    margin-bottom: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-bar .filter-btn {
    padding: 10px 24px;
    font-family: var(--alia-font-body, 'Outfit', sans-serif);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-dark, #120807);
    background: transparent;
    border: 1px solid rgba(18, 8, 7, 0.12);
    cursor: pointer;
    transition: all 0.4s;
    display: inline-block;
    appearance: none;
    margin: 0;
    border-radius: 0;
    line-height: inherit;
}

.filter-bar button.filter-btn {
    text-decoration: none;
}

.filter-bar .filter-btn:hover {
    border-color: var(--alia-gold, #D8B072);
    color: var(--alia-olive, #657444);
}

.filter-bar .filter-btn.active {
    background: var(--alia-dark, #120807);
    color: var(--alia-cream, #F7ECDB);
    border-color: var(--alia-dark, #120807);
}

.filter-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 300;
    color: var(--alia-dark, #120807);
    opacity: 0.35;
    letter-spacing: 1px;
}

/* ========== ARCHIVE: Gallery grid ========== */
.gallery-grid {
    padding: 0 80px 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.gallery-grid.alia-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    color: var(--alia-dark, #120807);
    display: block;
}

.gallery-item .gi-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-item .gi-image img,
.gallery-item .gi-image .ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .gi-image .ph {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gi-image .ph {
    transform: scale(1.05);
}

.gallery-item .gi-image img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gi-image img {
    transform: scale(1.05);
}

.ph-label {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 16px;
    color: var(--alia-white, #FFFDF9);
    opacity: 0.5;
    letter-spacing: 2px;
}

.ph-sub {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--alia-white, #FFFDF9);
    opacity: 0.25;
    margin-top: 6px;
    font-family: var(--alia-font-body, 'Outfit', sans-serif);
}

.gallery-item .gi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 8, 7, 0);
    transition: background 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.gallery-item:hover .gi-overlay {
    background: rgba(18, 8, 7, 0.35);
}

.gi-overlay .corner-svg {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gi-overlay .corner-svg {
    opacity: 1;
}

.gi-overlay .corner-svg.tl {
    top: 20px;
    left: 20px;
}

.gi-overlay .corner-svg.tr {
    top: 20px;
    right: 20px;
    transform: scaleX(-1);
}

.gi-overlay .corner-svg.bl {
    bottom: 20px;
    left: 20px;
    transform: scaleY(-1);
}

.gi-overlay .corner-svg.br {
    bottom: 20px;
    right: 20px;
    transform: scale(-1);
}

.gallery-item:hover .gi-overlay .corner-svg.tl {
    top: 16px;
    left: 16px;
}

.gallery-item:hover .gi-overlay .corner-svg.tr {
    top: 16px;
    right: 16px;
}

.gallery-item:hover .gi-overlay .corner-svg.bl {
    bottom: 16px;
    left: 16px;
}

.gallery-item:hover .gi-overlay .corner-svg.br {
    bottom: 16px;
    right: 16px;
}

.gi-overlay .view-text {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--alia-white, #FFFDF9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-item:hover .gi-overlay .view-text {
    opacity: 1;
    transform: translateY(0);
}

.view-text svg {
    width: 24px;
    height: 12px;
}

.gallery-item:nth-child(3n+1) .gi-image {
    height: 460px;
}

.gallery-item:nth-child(3n+2) .gi-image {
    height: 380px;
    margin-top: 48px;
}

.gallery-item:nth-child(3n+3) .gi-image {
    height: 420px;
    margin-top: 20px;
}

.gallery-item .gi-info {
    padding: 20px 0 0;
}

.gallery-item .gi-cat {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-olive, #657444);
    margin-bottom: 6px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-item .gi-cat .cat-line {
    width: 16px;
    height: 1px;
    background: var(--alia-gold, #D8B072);
}

.gallery-item .gi-title {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--alia-dark, #120807);
    transition: color 0.3s;
}

.gallery-item:hover .gi-title {
    color: var(--alia-olive, #657444);
}

.gallery-item .gi-date {
    font-size: 11px;
    font-weight: 300;
    color: var(--alia-dark, #120807);
    opacity: 0.35;
    margin-top: 4px;
}

/* ========== CTA (archive & single) ========== */
.portfolio-archive .cta-section,
.single-portfolio .cta-section {
    padding: 160px 80px;
    background: var(--alia-olive, #657444);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 56px;
    font-weight: 300;
    color: var(--alia-white, #FFFDF9);
    line-height: 1.15;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-section h2 em {
    font-style: italic;
    color: var(--alia-cream, #F7ECDB);
}

.cta-section p {
    font-size: 14px;
    line-height: 2;
    color: var(--alia-white, #FFFDF9);
    opacity: 0.6;
    max-width: 460px;
    margin: 0 auto 48px;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.cta-section .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 48px;
    background: var(--alia-white, #FFFDF9);
    color: var(--alia-dark, #120807);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.cta-section .cta-btn:hover {
    background: var(--alia-dark, #120807);
    color: var(--alia-white, #FFFDF9);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-btn svg {
    width: 24px;
    height: 12px;
}

.cta-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ========== SINGLE: Gallery hero ========== */
.single-portfolio .gallery-hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
}

.single-portfolio .gallery-hero .hero-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: cover;
    background-position: center;
}

.single-portfolio .gallery-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(18, 8, 7, 0.65));
    z-index: 1;
}

.single-portfolio .gallery-hero .hero-content {
    position: absolute;
    bottom: 80px;
    left: 80px;
    z-index: 2;
}

.single-portfolio .hero-content .breadcrumb {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-cream, #F7ECDB);
    margin-bottom: 20px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
}

.single-portfolio .hero-content .breadcrumb a {
    color: var(--alia-cream, #F7ECDB);
    text-decoration: none;
    transition: opacity 0.3s;
}

.single-portfolio .hero-content .breadcrumb a:hover {
    opacity: 1;
}

.single-portfolio .hero-content .breadcrumb .sep {
    width: 20px;
    height: 1px;
    background: var(--alia-gold, #D8B072);
}

.single-portfolio .hero-content h1 {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 68px;
    font-weight: 300;
    color: var(--alia-white, #FFFDF9);
    line-height: 1.1;
    margin-bottom: 12px;
}

.single-portfolio .hero-content h1 em {
    font-style: italic;
    color: var(--alia-gold, #D8B072);
}

.single-portfolio .hero-content .hero-meta {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-cream, #F7ECDB);
    opacity: 0.5;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-meta .meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--alia-gold, #D8B072);
}

.single-portfolio .hero-corners {
    position: absolute;
    inset: 40px;
    z-index: 2;
    pointer-events: none;
}

.single-portfolio .hero-corners .hc {
    position: absolute;
    width: 60px;
    height: 60px;
}

.single-portfolio .hero-corners .hc.tl {
    top: 0;
    left: 0;
}

.single-portfolio .hero-corners .hc.tr {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.single-portfolio .hero-corners .hc.bl {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.single-portfolio .hero-corners .hc.br {
    bottom: 0;
    right: 0;
    transform: scale(-1);
}

.single-portfolio .scroll-indicator {
    position: absolute;
    bottom: 32px;
    right: 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator span {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-cream, #F7ECDB);
    opacity: 0.4;
    writing-mode: vertical-rl;
}

.scroll-indicator .scroll-line {
    width: 1px;
    height: 48px;
    position: relative;
    overflow: hidden;
    background: rgba(247, 236, 219, 0.15);
}

.scroll-indicator .scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--alia-gold, #D8B072);
    animation: aliaScrollPulse 2s ease-in-out infinite;
}

@keyframes aliaScrollPulse {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

/* ========== SINGLE: Info bar ========== */
.gallery-info-bar {
    padding: 64px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 40px;
    align-items: start;
    border-bottom: 1px solid rgba(18, 8, 7, 0.06);
    position: relative;
}

.info-block .info-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-olive, #657444);
    margin-bottom: 8px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-block .info-label .il-line {
    width: 12px;
    height: 1px;
    background: var(--alia-gold, #D8B072);
}

.info-block .info-value {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--alia-dark, #120807);
}

.info-block .info-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--alia-dark, #120807);
    opacity: 0.55;
    margin-top: 8px;
    max-width: 300px;
}

.share-block {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(18, 8, 7, 0.1);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--alia-dark, #120807);
}

.share-btn:hover {
    border-color: var(--alia-gold, #D8B072);
    background: var(--alia-cream, #F7ECDB);
}

.share-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--alia-dark, #120807);
    stroke-width: 1.5;
    fill: none;
}

/* ========== SINGLE: Image gallery ========== */
.image-gallery {
    padding: 80px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Old template (no .image-grid--masonry): CSS-only 2-col grid, no Masonry JS */
.image-gallery .image-grid:not(.image-grid--masonry) {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
    height: auto !important;
    min-height: 200px;
}
.image-gallery .image-grid:not(.image-grid--masonry) .img-cell {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.image-gallery .image-grid:not(.image-grid--masonry) .img-cell .ph {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}
.image-gallery .image-grid:not(.image-grid--masonry) .img-cell.full {
    grid-column: 1 / -1;
    height: 500px;
}
.image-gallery .image-grid:not(.image-grid--masonry) .img-cell.half {
    height: 400px;
}
.image-gallery .image-grid:not(.image-grid--masonry) .img-cell.tall {
    height: 520px;
}
.image-gallery .image-grid:not(.image-grid--masonry) .img-cell.short {
    height: 360px;
}

/* New template only: force natural image height (no thin strips) */
.single-portfolio .image-gallery .image-grid--masonry .img-cell,
.single-portfolio .image-gallery .image-grid--masonry .img-cell .ph {
    height: auto !important;
    min-height: 0 !important;
}
.single-portfolio .image-gallery .image-grid--masonry .img-cell img,
.single-portfolio .image-gallery .image-grid--masonry .img-cell .img-cell__img {
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
}

/* Masonry gallery: JS positions items when loaded; CSS columns fallback so images show full before/without JS */
.image-grid.image-grid--masonry {
    position: relative;
    z-index: 1;
    column-count: 2;
    column-gap: 20px;
}

.image-grid--masonry .grid-sizer {
    width: calc(50% - 10px);
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    visibility: hidden;
    pointer-events: none;
}

.image-grid .img-cell.grid-item {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    break-inside: avoid;
}

.image-grid .img-cell__img,
.image-grid .img-cell img {
    width: 100%;
    height: auto !important;
    display: block;
    vertical-align: middle;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-grid .img-cell .ph {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.image-grid .img-cell:hover .ph,
.image-grid .img-cell:hover .img-cell__img,
.image-grid .img-cell:hover img {
    transform: scale(1.04);
}

/* Lightbox */
.alia-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(18, 8, 7, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alia-lightbox.alia-lightbox--open {
    opacity: 1;
    visibility: visible;
}

.alia-lightbox__inner {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alia-lightbox__img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.alia-lightbox__close,
.alia-lightbox__prev,
.alia-lightbox__next {
    position: absolute;
    background: rgba(255, 253, 249, 0.12);
    border: 1px solid rgba(255, 253, 249, 0.3);
    color: var(--alia-white, #FFFDF9);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    padding: 0;
    line-height: 1;
}

.alia-lightbox__close:hover,
.alia-lightbox__prev:hover,
.alia-lightbox__next:hover {
    background: rgba(255, 253, 249, 0.2);
    border-color: var(--alia-gold, #D8B072);
}

.alia-lightbox__close {
    top: 24px;
    right: 24px;
    font-size: 32px;
}

.alia-lightbox__prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.alia-lightbox__next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

/* ========== SINGLE: Prev/Next nav ========== */
.gallery-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(18, 8, 7, 0.06);
}

.gallery-nav-item {
    padding: 60px 80px;
    text-decoration: none;
    color: var(--alia-dark, #120807);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: background 0.4s;
    position: relative;
    overflow: hidden;
}

.gallery-nav-item:first-child {
    border-right: 1px solid rgba(18, 8, 7, 0.06);
}

.gallery-nav-item:hover {
    background: var(--alia-cream-light, #faf5ed);
}

.gallery-nav-item .nav-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(18, 8, 7, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.gallery-nav-item:hover .nav-arrow {
    border-color: var(--alia-gold, #D8B072);
    background: var(--alia-cream, #F7ECDB);
}

.gallery-nav-item .nav-arrow svg {
    width: 20px;
    height: 12px;
}

.gallery-nav-item .nav-text .nt-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--alia-olive, #657444);
    margin-bottom: 6px;
    font-weight: 300;
}

.gallery-nav-item .nav-text .nt-title {
    font-family: var(--alia-font-heading, 'Cormorant', serif);
    font-size: 26px;
    font-weight: 400;
    transition: color 0.3s;
}

.gallery-nav-item:hover .nt-title {
    color: var(--alia-olive, #657444);
}

/* Next = left column; Previous = right column (markup order: next first, prev second) */
.gallery-nav-item.next {
    justify-content: flex-start;
    text-align: left;
}

.gallery-nav-item.next .nav-arrow {
    order: 0;
    transform: rotate(180deg);
}

.gallery-nav-item.prev {
    justify-content: flex-end;
    text-align: right;
}

.gallery-nav-item.prev .nav-arrow {
    order: 2;
    transform: rotate(180deg);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {

    .portfolio-archive .page-hero,
    .filter-bar,
    .gallery-grid {
        padding-left: 24px;
        padding-right: 24px;
    }

    .portfolio-archive .page-hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .portfolio-archive .page-hero h1 {
        font-size: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(3n+1) .gi-image,
    .gallery-item:nth-child(3n+2) .gi-image,
    .gallery-item:nth-child(3n+3) .gi-image {
        height: 320px;
        margin-top: 0 !important;
    }

    .gallery-info-bar {
        grid-template-columns: 1fr 1fr;
        padding: 48px 24px;
    }

    .image-gallery {
        padding: 48px 24px;
    }

    .image-grid--masonry .grid-sizer {
        width: 100%;
    }

    .image-grid .img-cell.grid-item {
        width: 100%;
        margin-bottom: 16px;
    }

    .gallery-nav-item {
        padding: 40px 24px;
    }

    .single-portfolio .hero-content h1 {
        font-size: 44px;
    }

    .single-portfolio .hero-content {
        left: 24px;
        bottom: 48px;
    }

    .cta-section {
        padding: 100px 24px;
    }

    .cta-section h2 {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(n) .gi-image {
        height: 360px;
        margin-top: 0 !important;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-count {
        margin-left: 0;
        margin-top: 8px;
    }

    .gallery-info-bar {
        grid-template-columns: 1fr;
    }
}