/* Custom styles */
body {
    margin: 0;
}

.logo-img {
    width: 80px;
    height: 80px;
}

/* Navbar styles */
.navbar {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled {
    background-color: #097614;
    width: 100%;
    padding: 10px;
}

.navbar.scrolled .nav-link {
    color: #ffffff !important;
}

.navbar.scrolled .nav-link:hover {
    color: #693013 !important;
}

.navbar a {
    color: #097614 !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
        gap: 0;
    }
}

.navbar-nav .nav-link.active {
    color: #c1ff72 !important;
}

.nav-link:hover {
    color: #693013 !important;
}

/* Make "Typ dnia" menu item light green at all times */
.navbar .nav-link.nav-typ-dnia {
    color: #c1ff72 !important;
}

.navbar.scrolled .nav-link.nav-typ-dnia {
    color: #c1ff72 !important;
}

.nav-link.nav-typ-dnia:hover {
    color: #c1ff72 !important;
}

/* Ensure active language item in the dropdown has white text for contrast */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
    color: #ffffff !important;
}

/* Section 1: Carousel Section */
#carouselSection {
    background-color: #ddaf49;
    margin: 110px 0 150px 0; /* Top margin 60px, bottom margin 45px */
}

.carousel-item {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    text-align: center;
    color: #fff;
    animation: appearNowhere 1.5s ease forwards;
}

h6 {
    font-size: 7rem; /* Double the size */
    margin-bottom: 20px;
    font-weight: bold;
}

h2 {
    font-size: 4rem; /* Corrected size */
    margin-bottom: 20px;
}


p {
    font-size: 1.5rem; /* Corrected size */
    margin-bottom: 20px;
    position: relative;

    color: #693013; /* Updated text color */

}

/* New text appearance effect (from "nowhere") */
@keyframes appearNowhere {
    0% {
        opacity: 0;
        transform: scale(0.1); /* Start from a smaller size (0.1) */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* End at normal size */
    }
}

/* Section: About (was: #section2a) */
.about-section {
    background-color: #f6f3ed;
    padding: 180px 0px 150px 0px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #693013; /* Updated title color */
}

.section-title-decorator {
    width: 150px;
    height: 4px;
    background-color: #097614;
    margin: 0 auto 20px;
}

.section-title-decorator2 {
    width: 150px;
    height: 4px;
    background-color: #FFFFFF;
    margin: 0 auto 20px;
}

/* Tile styles for the icons and text */
.tiles {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.tile {
    text-align: center;
    width: 30%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.tile2 {
    text-align: center;
    width: 50%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.tile:hover {
    transform: translateY(-10px);
}

.tile-icon {
    font-size: 3rem;
    color: #097614;
    margin-bottom: 10px;
}

.tile-text {
    font-size: 1.25rem;
    color: #693013;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word; /* for most browsers; adjust as needed */
}

.text-entry {
    color: #693013;
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(5%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.bullet-points li {
    opacity: 0;
    font-size: 1.35rem;
    animation: slideInRight 1.5s ease-out forwards;
    animation-delay: calc(0.5s * var(--i));
}

.additional-sentence {
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 1s;
}

.highlight-green {
    color: #097614;
    font-weight: 400;
    text-transform: uppercase;
    font-family: inherit;
    font-style: normal;
}

.highlight-white {
    color: #FFF;
    font-weight: 300;
    text-transform: uppercase;
    font-family: inherit;
    font-style: normal;
}

/* Section 2b: Strategy Information */
#section2b {
    background-color: #ededed;
    padding: 180px 0px 150px 0px;
    height: 200%;
    position: relative;

}

.data-text {
    color: #693013;
}

.bold-text {
    font-weight: bold;
}

.data-visualization {
    margin-top: 30px;
}

.data-visualization img {
    width: 100%;
    height: auto;
}

/* Section 2c: Strategy Information */
#section2c {
    background-color: #ffaf00;
    padding: 180px 0px 150px 0px;
    height: 100%;
    position: relative;

}

/* Section 3: Contact Us */
.contact-section {
    background-color: #c1ff72;
    height: 90vh; /* Full screen height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    color: #693013;
}


.contact-form {
    max-width: 100%;
}

.small-text {
    font-size: 12px;
    color: #555; /* Dark gray color */
}

.btn-primary {
    background-color: #097614;
    border-color: #097614;
}

.btn-primary:hover {
    background-color: #ffaf00;
    border-color: #ffaf00;
}

/* Company Info */
.company-info {
    margin-top: 20px;
    margin-left: 200px;
    font-size: 16px;
}


/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #097614;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

/* === SportGlobal Theme Overrides === */
:root {
    --sg-bg: #0d0d0d; /* page background (fallback) */
    --sg-surface: #151515; /* cards / navbar scrolled */
    --sg-primary: #d7b46b; /* gold */
    --sg-primary-strong: #e5c683; /* lighter gold for hover */
    --sg-text: #e9e3d6; /* light text */
    --sg-muted: #c9b897; /* muted text */
    --sg-border: #2a2a2a; /* borders */
    --sg-bg-gradient: linear-gradient(90deg, #000000 0%, #3533cd 100%);
    --nav-height: 104px; /* default navbar height for desktop */
}

/* Base typography using system stack (no Telegraf) */
html, body {
    min-height: 100%;
}

body {
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #000000; /* fallback for older browsers */
    background-image: var(--sg-bg-gradient);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--sg-text);
    padding-top: var(--nav-height, 104px);
}

/* Logo size tweak for consistency */
.logo-img {
    width: 84px;
    height: 84px;
}

/* Navbar */
.navbar {
    background-color: transparent;
}

.navbar .nav-link {
    color: #ff0000 !important;
    text-transform: uppercase;
}

.navbar .nav-link:hover, .navbar .nav-link:focus {
    color: #cc0000 !important;
}

.navbar .navbar-brand img {
    filter: none;
}

.navbar.scrolled {
    background-color: var(--sg-surface) !important;
}

.navbar.scrolled .nav-link {
    color: #ff0000 !important;
}

.navbar.scrolled .nav-link:hover {
    color: #cc0000 !important;
}

/* Hero */
.hero h1 {
    color: var(--sg-primary) !important;
}

.hero p {
    color: var(--sg-muted) !important;
}

/* Links & Buttons */
a {
    color: var(--sg-primary);
}

a:hover {
    color: var(--sg-primary-strong);
}

.btn-outline-success, .btn.btn-outline-success {
    --bs-btn-color: var(--sg-primary);
    --bs-btn-border-color: var(--sg-primary);
    --bs-btn-hover-bg: var(--sg-primary);
    --bs-btn-hover-border-color: var(--sg-primary);
    --bs-btn-hover-color: #000;
}

/* Sections defaults */
#carouselSection {
    background-color: transparent !important;
}

.about-section {
    background-color: transparent !important;
}

.section-title {
    color: var(--sg-primary) !important;
}

.section-title-decorator {
    background-color: var(--sg-primary) !important;
}

/* Footer */
.footer {
    background: var(--sg-surface);
    border-top: 1px solid var(--sg-border);
}

.footer p {
    color: var(--sg-muted);
}


/* === Mobile navbar collapse overrides (one item per row, regular weight, red on white) === */
@media (max-width: 991.98px) {
    /* White background for expanded mobile menu */
    .navbar .navbar-collapse.show {
        background: #ffffff;
        padding: 0.5rem 0.75rem;
        border-radius: 0.25rem;
    }

    /* Make each menu item full-width (one per row) */
    .navbar .navbar-collapse.show .navbar-nav {
        flex-direction: column;
        gap: 0; /* ensure tight list if Bootstrap spacing present */
    }

    .navbar .navbar-collapse.show .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 0.5rem;
        color: #ff0000 !important; /* red text */
        font-weight: 400 !important; /* regular */
        font-size: 1.125rem; /* a bit smaller than desktop for comfort */
    }

    .navbar .navbar-collapse.show .nav-link:hover,
    .navbar .navbar-collapse.show .nav-link:focus {
        color: #cc0000 !important; /* darker red on hover/focus */
        background: rgba(255, 0, 0, 0.06);
        border-radius: 0.25rem;
    }

    /* Remove any inherited transparent text color on scrolled state for mobile menu */
    .navbar.scrolled .navbar-collapse.show .nav-link {
        color: #ff0000 !important;
    }
}


/* Responsive navbar height variable for mobile/tablet */
@media (max-width: 991.98px) {
    :root {
        --nav-height: 96px;
    }
}


/* === O nas (.about-section) heading, content, and list styling === */
/* Make all text in section2a white */
.about-section, .about-section p, .about-section li {
    color: #ffffff !important;
}

.about-section .section-title {
    color: #ffffff !important;
}

/* Welcome message (decorated card, centered) */
.about-section .welcome-box {
    max-width: 860px;
    margin: 1rem auto 2rem auto; /* center the box */
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(21, 21, 21, 0.85) 0%, rgba(53, 51, 205, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-align: center;
}

.about-section .welcome-box p {
    color: #ffffff !important;
    font-size: clamp(1.375rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.5;
}

.about-section .welcome-box p strong {
    display: block;
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.about-section .welcome-box strong {
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Orange rectangle for H1 section headers */
.about-section h1 {
    background: #ff8c00; /* orange rectangle */
    color: #ffffff; /* white text */
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    display: inline-block; /* wrap the text, not full width */
    margin: 1.25rem 0 0.75rem 0;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Paragraph + list treated as one element (info-box) */
.about-section .info-box {
    background-image: var(--sg-bg-gradient);
    color: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 0.75rem 0 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.about-section .info-box p {
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.about-section .info-box ul {
    list-style-type: disc;
    list-style-position: outside; /* bullet on same line as text */
    margin: 0; /* reset */
    padding-left: 1.25rem; /* space for bullets */
}

.about-section .info-box li {
    margin: 0.25rem 0;
}

.about-section ul a {
    color: #ffffff;
    text-decoration: underline;
}


/* === Responsive page titles & active nav highlighting === */
/* Hide page titles on desktop (lg and up) */
@media (min-width: 992px) {
    .page-title {
        display: none !important;
    }

    /* Also hide the decorative line that immediately follows the title */
    .page-title + .section-title-decorator {
        display: none !important;
    }
}

/* Hide page titles on mobile/tablet (sm and md) */
@media (max-width: 991.98px) {
    .page-title {
        display: none !important;
    }

    .page-title + .section-title-decorator {
        display: none !important;
    }
}

/* Desktop (lg+) active nav item: white pill with red text */
@media (min-width: 992px) {
    .navbar .nav-link.is-active,
    .navbar .nav-link[aria-current="page"] {
        background: #ffffff;
        color: #ff0000 !important;
        border-radius: 999px;
        padding: 0.25rem 0.75rem;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile expanded menu: highlight current page with red pill */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse.show .nav-link.is-active,
    .navbar .navbar-collapse.show .nav-link[aria-current="page"] {
        background: #ff0000;
        color: #ffffff !important;
        border-radius: 0.375rem;
    }
}


/* === Kontakt (.contact-section) overrides — show global gradient, center content, white text === */
.contact-section {
    background-color: transparent !important; /* let the global gradient show */
    text-align: center;
    color: #ffffff !important;
}

.contact-section .company-info {
    margin: 0 auto; /* center block */
}

.contact-section p,
.contact-section address {
    color: #ffffff !important;
}

.contact-section a {
    color: #ffffff !important;
    text-decoration: underline;
}

.contact-section a:hover,
.contact-section a:focus {
    color: #ffffff !important;
    text-decoration: underline;
    opacity: 0.9;
}


/* === Kontakt: card-like box and form styling === */
.contact-card {
    background: rgba(21, 21, 21, 0.72); /* semi-transparent dark over gradient */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--sg-border);
}

.contact-card .card-body {
    color: #ffffff;
}

.contact-card .form-label {
    color: #ffffff;
}

.contact-card .form-control,
.contact-card .form-select {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.contact-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: var(--sg-primary);
    box-shadow: 0 0 0 0.25rem rgba(215, 180, 107, 0.25);
    outline: 0;
}

.contact-card .form-check-input {
    background-color: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-card .form-check-input:checked {
    background-color: #ff0000;
    border-color: #ff0000;
}

.contact-card .btn-primary {
    background-color: #ff0000;
    border-color: #ff0000;
}

.contact-card .btn-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}


/* === Typ dnia and Relacje inwestorskie: unify text to white === */
.typ-dnia-section,
.typ-dnia-section p,
.typ-dnia-section li,
.typ-dnia-section h1,
.typ-dnia-section h2,
.typ-dnia-section h3,
.typ-dnia-section h4,
.typ-dnia-section h5,
.typ-dnia-section h6 {
    color: #ffffff !important;
}

.typ-dnia-section .text-muted {
    color: #ffffff !important;
}

.typ-dnia-section a {
    color: #ffffff !important;
    text-decoration: underline;
}

.relacje-section,
.relacje-section p,
.relacje-section li,
.relacje-section h1,
.relacje-section h2,
.relacje-section h3,
.relacje-section h4,
.relacje-section h5,
.relacje-section h6 {
    color: #ffffff !important;
}

.relacje-section .text-muted {
    color: #ffffff !important;
}

.relacje-section a {
    color: #ffffff !important;
    text-decoration: underline;
}


/* === Blog posts: universal typography overrides (white text, smaller headings) === */
.article, .blog-post {
    color: #ffffff;
}

.blog-post, .blog-post p, .blog-post li, .blog-post .text-muted {
    color: #ffffff !important;
}

.blog-post a {
    color: #ffffff !important;
    text-decoration: underline;
}

.blog-post a:hover, .blog-post a:focus {
    opacity: 0.9;
}

/* Post title in header (was using Bootstrap display-*) */
.blog-post header h1 {
    color: #ffffff !important;
    font-weight: 700;
    /* smaller than display-5; responsive clamp to reduce height */
    font-size: clamp(1.5rem, 2.2vw + 1rem, 2.25rem);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.blog-post header .lead {
    color: #ffffff !important;
}

.blog-post header .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Markdown content headings inside the article */
.blog-post .content h1,
.blog-post .content h2,
.blog-post .content h3,
.blog-post .content h4,
.blog-post .content h5,
.blog-post .content h6 {
    color: #ffffff !important;
    font-weight: 700;
}

/* Reduced sizes and tighter spacing to decrease perceived height */
.blog-post .content h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    margin: 1.25rem 0 0.5rem;
}

.blog-post .content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 1.1rem 0 0.5rem;
}

.blog-post .content h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 1rem 0 0.5rem;
}

.blog-post .content h4 {
    font-size: 1.125rem;
    line-height: 1.35;
    margin: 0.9rem 0 0.4rem;
}

.blog-post .content h5 {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0.75rem 0 0.35rem;
}

.blog-post .content h6 {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0.6rem 0 0.3rem;
}

/* Body text and lists */
.blog-post .content p {
    margin: 0 0 0.9rem;
}

.blog-post .content ul,
.blog-post .content ol {
    margin: 0 0 1rem 1.25rem;
}

.blog-post .content li {
    margin: 0.25rem 0;
}

/* Table styles for rendered Markdown */
.blog-post .content table {
    margin: 2rem auto;
    border-collapse: collapse;
    width: auto;
    max-width: 100%;
    color: #ffffff;
}

.blog-post .content table,
.blog-post .content th,
.blog-post .content td {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-post .content th,
.blog-post .content td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.blog-post .content th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.blog-post .content tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}


/* === O nas: reduce top gap below navbar === */
.about-section {
    padding-top: 48px !important;
}

@media (max-width: 991.98px) {
    .about-section {
        padding-top: 28px !important;
    }
}


/* === Kontakt: ensure clear separation below fixed navbar === */
.contact-section {
    padding-top: 48px !important;
}

@media (max-width: 991.98px) {
    .contact-section {
        padding-top: 28px !important;
    }
}


/* === Layout fixes: ensure no overlap with fixed navbar and clear space above footer === */
/* Give main content area some breathing room above the footer on all pages */
main, #main {
    padding-bottom: 80px;
}

/* Add extra visual separation above the footer */
.footer {
    margin-top: 12px;
}

/* Kontakt: override legacy fixed height/centering and ensure clear top/bottom spacing */
.contact-section {
    /* Undo legacy layout that caused collisions */
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    /* Robust spacing relative to fixed navbar */
    padding-top: calc(var(--nav-height) + 6px) !important;
    padding-bottom: 40px !important;
}

/* Increase mobile/tablet navbar height variable to reflect real rendered size */
@media (max-width: 991.98px) {
    :root {
        --nav-height: 112px;
    }

    /* Slightly adjust Kontakt spacing on smaller screens */
    .contact-section {
        padding-top: calc(var(--nav-height) + 4px) !important;
        padding-bottom: 32px !important;
    }
}


/* === Magazine blocks: columns, figures, pull quotes, galleries === */
/* Columns container: uses CSS multi-columns on wide screens, collapses on small */
.sg-columns {
    column-gap: 2rem;
    margin: 1rem 0;
}

.sg-columns > * {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.sg-columns--2 {
    column-count: 1;
}

.sg-columns--3 {
    column-count: 1;
}

@media (min-width: 768px) {
    .sg-columns--2 {
        column-count: 2;
    }

    .sg-columns--3 {
        column-count: 3;
    }
}

/* Figure with caption and align variants */
.sg-figure {
    margin: 1.25rem 0;
    text-align: center;
}

.sg-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.sg-figure__caption-wrap {
    margin-top: 0.5rem;
}

.sg-figure__caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-style: italic;
}

.sg-figure.is-left {
    float: left;
    margin: 0.25rem 1rem 1rem 0;
    max-width: 50%;
}

.sg-figure.is-right {
    float: right;
    margin: 0.25rem 0 1rem 1rem;
    max-width: 50%;
}

.sg-figure.is-full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 767.98px) {
    .sg-figure.is-left, .sg-figure.is-right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
}

/* Pull quote */
.sg-pullquote {
    position: relative;
    margin: 1.25rem 0;
    padding: 1rem 1.25rem 1rem 1rem;
    background: rgba(21, 21, 21, 0.6);
    border-left: 4px solid var(--sg-primary);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.1rem;
}

.sg-pullquote__mark {
    font-size: 2rem;
    color: var(--sg-primary);
    margin-right: 0.35rem;
    line-height: 1;
    vertical-align: -0.2rem;
}

/* Simple gallery grid */
.sg-gallery {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

@media (min-width: 576px) {
    .sg-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .sg-gallery--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .sg-gallery--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sg-gallery img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}
