/* ========================================
   FOOTER LAYOUT 1
======================================== */

.footer-layout-1 {
    width: 100%;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-layout-1,
.footer-layout-1 * {
    box-sizing: border-box;
}


/* ========================================
   COLUMN
======================================== */

.footer-layout-1 .footer-column {
    min-width: 0;
}

.footer-layout-1 .footer-column h3 {
    margin: 0 0 14px;

    font-size: 16px;
    line-height: 1.3;

    font-weight: 700;
    color: inherit;
}

.footer-layout-1 .footer-links .title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 14px;
}


/* ========================================
   LINKS
======================================== */

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

.footer-layout-1 .footer-column ul li {
    margin-bottom: 11px;
}

.footer-layout-1 .footer-column ul li:last-child {
    margin-bottom: 0;
}

.footer-layout-1 .footer-column a {
    color: inherit;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.footer-layout-1 .footer-column a:hover {
    color: var(--link-hover-color, currentColor);
}


/* ========================================
   CONTACT SECTION
======================================== */

.footer-layout-1 .footer-contact {
    padding-right: 15px;
}

.footer-layout-1 .contact-item {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-bottom: 10px;
}

.footer-layout-1 .contact-item p {
    margin: 0;

    font-size: 14px;
    line-height: 1.55;

    color: inherit;
}

.footer-layout-1 .contact-item a {
    line-height: 20px;
}


/* ========================================
   CONTACT ICON
======================================== */

.footer-layout-1 .contact-icon {
    width: 20px;
    height: 20px;

    min-width: 20px;

    border-radius: 50%;

    background: rgba(128, 128, 128, 0.35);
    color: inherit;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;
}

.footer-layout-1 .contact-icon i {
    font-size: 10px;
}


/* ========================================
   BUSINESS INFO
======================================== */

.footer-layout-1 .business-info {
    margin-top: 12px;
}

.footer-layout-1 .business-info p {
    margin: 0 0 5px;

    color: inherit;

    font-size: 13px;
    line-height: 1.2;
}

.footer-layout-1 .business-info strong {
    font-weight: 700;
}


/* ========================================
   SOCIAL AREA
======================================== */

.footer-layout-1 .footer-social {
    min-width: 0;
}

.footer-layout-1 .social-section {
    margin-bottom: 21px;
}

.footer-layout-1 .social-section h3 {
    margin-bottom: 11px;
}


/* ========================================
   SOCIAL ICONS
======================================== */

.footer-layout-1 .social-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.footer-layout-1 .social-icons a {
    width: 23px;
    height: 23px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;

    background: transparent;
    color: inherit;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.footer-layout-1 .social-icons a:hover {
    color: var(--link-hover-color, currentColor);

    transform: translateY(-2px);
    opacity: 0.85;
}


/* ========================================
   DOWNLOAD APP
======================================== */

.footer-layout-1 .download-app h3 {
    margin-bottom: 10px;
}

.footer-layout-1 .app-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

/* Position 6 supplies its own wrapper markup, and how deeply
   the badges are nested varies by module (the html module
   wraps everything in a <div>, others add <p> / <ul> / <li>).
   `display: contents` dissolves those wrappers so the badge
   links become flex items of .app-buttons directly, however
   deep they started. */
.footer-layout-1 .app-buttons div,
.footer-layout-1 .app-buttons p,
.footer-layout-1 .app-buttons ul,
.footer-layout-1 .app-buttons ol,
.footer-layout-1 .app-buttons li,
.footer-layout-1 .app-buttons span {
    display: contents;
}

.footer-layout-1 .app-buttons br {
    display: none;
}

/* Two badges per row whatever the column width. */
.footer-layout-1 .app-buttons a,
.footer-layout-1 .app-buttons img {
    flex: 0 1 calc(50% - 4px);
    max-width: calc(50% - 4px);

    margin: 0;
    padding: 0;
}

.footer-layout-1 .app-buttons a {
    display: block;
}

.footer-layout-1 .app-buttons a img {
    flex: none;
    width: 100%;
    max-width: 100%;
}

.footer-layout-1 .app-buttons img {
    height: auto;
    max-height: 42px;

    object-fit: contain;
    object-position: left center;

    display: block;
}

/* Each Position 6 badge link ships TWO images: the default one
   and a second carrying class .hover. stylesheet.css hides the
   .hover copy and swaps them on mouseover (see .footer-software,
   stylesheet.css:806-810). The generic `img { display: block }`
   above ties with that rule on specificity and, loading later,
   would win - un-hiding every hover image and showing four
   badges instead of two. These re-assert the swap. */
.footer-layout-1 .app-buttons a .hover {
    display: none;
}

.footer-layout-1 .app-buttons a:hover img {
    display: none;
}

.footer-layout-1 .app-buttons a:hover .hover {
    display: block;
}


/* ========================================
   STORE BUTTONS
   Fixed dark badges - these mimic the official
   Google Play / App Store artwork, so they keep
   their own colours on purpose.
======================================== */

.footer-layout-1 .store-button {
    min-width: 128px;
    height: 38px;

    background: #050505;

    border-radius: 5px;

    padding: 4px 9px;

    display: flex;
    align-items: center;

    gap: 7px;

    color: #ffffff;

    box-sizing: border-box;
}

.footer-layout-1 .store-button:hover {
    opacity: 0.85;
}

.footer-layout-1 .store-button > i {
    font-size: 24px;
    color: #ffffff;
}

.footer-layout-1 .store-button span {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.footer-layout-1 .store-button small {
    color: #ffffff;

    font-size: 7px;
    line-height: 1;

    margin-bottom: 2px;
}

.footer-layout-1 .store-button strong {
    color: #ffffff;

    font-size: 15px;
    line-height: 1;

    font-weight: 500;

    white-space: nowrap;
}


/* ========================================
   COPYRIGHT

   Divider above the copyright row. It sits on the
   inner .container so it lines up with the columns
   above rather than running edge to edge, and it
   uses a translucent grey rather than a fixed
   colour so it reads on both a light and a dark
   footer background.
======================================== */

.footer-layout-1 .footer-copyright .container {
    border-top: 1px solid rgba(128, 128, 128, 0.25);
}

.footer-layout-1 .footer-copyright .text-powered {
    margin: 0;
    padding: 18px 0;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .footer-layout-1 .footer-column h3,
    .footer-layout-1 .footer-links .title {
        font-size: 15px;
    }

    .footer-layout-1 .footer-column a,
    .footer-layout-1 .contact-item p {
        font-size: 13px;
    }

    .footer-layout-1 .social-icons {
        gap: 8px;
    }

}


/* ========================================
   VERY SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    .footer-layout-1 .store-button {
        flex: 1 1 128px;
    }

}
