/* =========================================================
   GIX LAW FIRM - PRODUCTION GLOBAL STYLESHEET
   cPanel / GoDaddy Linter Clean
   PHP 7.x Compatible

   Palette:
   Sovereign Navy:       #0b2138
   Sovereign Gold:       #c79a4a
   Booking Orange:       #c5943f
   ========================================================= */


/* =========================================================
   1. RESET & BASE
   ========================================================= */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input,
button,
select,
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    color: #1d2630;
    background-color: #f6f8fb;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #0b5b9e;
    text-decoration: none;
    -webkit-transition: color 0.2s ease, border-color 0.2s ease;
    -moz-transition: color 0.2s ease, border-color 0.2s ease;
    transition: color 0.2s ease, border-color 0.2s ease;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

hr {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}


/* =========================================================
   2. LAYOUT CONTAINERS
   ========================================================= */

.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.narrow {
    width: 100%;
    max-width: 720px;
}

main {
    width: 100%;
    overflow: hidden;
}

.page-wrapper {
    min-height: 520px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    background-color: #f6f8fb;
}


/* =========================================================
   3. SITE HEADER
   ========================================================= */

.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background-color: #ffffff;
    border-bottom: 1px solid #e7e7e7;

    -webkit-box-shadow: 0 2px 14px rgba(11, 31, 56, 0.05);
    box-shadow: 0 2px 14px rgba(11, 31, 56, 0.05);
}

.site-header-inner {
    position: relative;
    min-height: 80px;

    padding-top: 6px;
    padding-bottom: 6px;

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


/* =========================================================
   4. BRANDING (SIMPLIFIED & ENLARGED LOGO)
   ========================================================= */

.site-brand {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    color: #0b2138;
}

.site-brand-logo {
    height: 72px;
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 14px;
    display: block;
}

.site-brand-text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;

    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;

    line-height: 1.15;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #0b2138;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-sub-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;

    line-height: 1;
    margin: 1px 0;
}

/* Invisible spacer identical to letters before "A" */
.sub-spacer {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    visibility: hidden;
    height: 0;
}

/* Ampersand centered exactly in the slot under "A" */
.sub-amp {
    font-size: 13px;
    font-weight: 700;
    color: #0b2138;
    text-align: center;
    width: 14px;
    margin-left: -1px;
}

.sub-two {
    font-size: 18px;
    font-weight: 600;
    color: #0b2138;
    white-space: nowrap;
}


/* =========================================================
   5. NAVIGATION (DESKTOP)
   ========================================================= */

.site-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.site-nav a {
    position: relative;

    color: #26394c;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    padding: 6px 0;
    margin-left: 20px;
}

.site-nav a:not(.nav-book-btn)::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -2px;

    width: 0;
    height: 2px;

    background-color: #c79a4a;

    -webkit-transition: width 0.2s ease;
    -moz-transition: width 0.2s ease;
    transition: width 0.2s ease;
}

.site-nav a:not(.nav-book-btn):hover {
    color: #b48538;
}

.site-nav a:not(.nav-book-btn):hover::after {
    width: 100%;
}


/* =========================================================
   6. MOBILE MENU TOGGLE
   ========================================================= */

.menu-toggle {
    display: none;

    background: transparent;
    border: 0;

    padding: 6px;
    cursor: pointer;

    width: 42px;
    height: 42px;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background-color: #0b2138;

    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/* =========================================================
   7. NAVIGATION BOOKING BUTTON
      LIGHT GOLDEN ORANGE
   ========================================================= */

.site-nav .nav-book-btn,
.nav-book-btn {
    padding: 10px 20px;

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;

    background-color: #c5943f !important;
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;
    text-align: center;

    border: none;

    -webkit-transition:
        background-color 0.2s ease,
        -webkit-transform 0.2s ease;

    -moz-transition:
        background-color 0.2s ease,
        -moz-transform 0.2s ease;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.site-nav .nav-book-btn:hover,
.nav-book-btn:hover {
    background-color: #d89f3e !important;
    color: #ffffff !important;

    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    transform: translateY(-1px);
}


/* =========================================================
   8. BUTTONS
   ========================================================= */

.btn,
.home-btn {
    display: inline-block;

    border: 0;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    background-color: #0b2138;
    color: #ffffff;

    font-weight: 700;
    text-align: center;

    cursor: pointer;

    -webkit-transition:
        background-color 0.2s ease,
        -webkit-transform 0.2s ease;

    -moz-transition:
        background-color 0.2s ease,
        -moz-transform 0.2s ease;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.btn {
    padding: 11px 20px;
    font-size: 14px;
}

.home-btn {
    padding: 12px 24px;
    font-size: 15px;
}

.btn:hover,
.home-btn:hover {
    background-color: #c79a4a;
    color: #ffffff;

    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #7d8b99;
}

.btn-primary,
.home-btn-primary,
#requestBookingButton {
    background-color: #c5943f !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.home-btn-primary:hover,
#requestBookingButton:hover {
    background-color: #d89f3e !important;
    color: #ffffff !important;
}


/* =========================================================
   9. BOOKING / FORM ELEMENTS
   ========================================================= */

form {
    background-color: #ffffff;

    padding: 28px 24px;

    border: 1px solid #e1e8f0;
    border-top: 4px solid #c79a4a;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;

    -webkit-box-shadow: 0 4px 16px rgba(11, 31, 56, 0.04);
    box-shadow: 0 4px 16px rgba(11, 31, 56, 0.04);

    margin-top: 15px;
    margin-bottom: 30px;
}

form > label {
    display: block;

    margin-bottom: 16px;

    font-size: 14px;
    font-weight: 700;
    color: #0b2138;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form select,
form textarea {
    display: block;

    width: 100%;

    margin-top: 6px;

    padding: 11px 13px;

    border: 1px solid #cbd5e1;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

    font-size: 14px;
    color: #1d2630;

    background-color: #ffffff;

    -webkit-transition:
        border-color 0.2s ease,
        -webkit-box-shadow 0.2s ease;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;

    border-color: #c79a4a;

    -webkit-box-shadow: 0 0 0 3px rgba(199, 154, 74, 0.18);
    box-shadow: 0 0 0 3px rgba(199, 154, 74, 0.18);
}

.check {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;

    margin-top: 14px;
    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 500;
    color: #4b5866;

    line-height: 1.45;

    cursor: pointer;
}

.check input[type="checkbox"] {
    width: auto;

    margin-top: 2px;
    margin-right: 10px;

    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}


/* =========================================================
   10. SERVICES PAGE
   ========================================================= */

.services-intro {
    padding: 30px 0 20px;
}

.home-eyebrow {
    display: inline-block;

    padding: 3px 10px;
    margin-bottom: 10px;

    background-color: rgba(199, 154, 74, 0.15);
    border: 1px solid rgba(199, 154, 74, 0.35);

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

    color: #c79a4a;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-intro h1 {
    color: #0b2138;
    font-size: 32px;
    font-weight: 700;

    margin: 0 0 12px;
}

.services-intro p {
    color: #4b5866;

    font-size: 15px;
    line-height: 1.6;

    margin: 0 0 10px;

    max-width: 820px;
}


/* =========================================================
   11. SERVICES GRID
   ========================================================= */

.grid3 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    margin-left: -10px;
    margin-right: -10px;
    margin-top: 20px;
}

.grid3 > article.service-card {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 320px;
    -moz-box-flex: 1;
    -ms-flex: 1 1 320px;
    flex: 1 1 320px;

    margin: 10px;

    background-color: #ffffff;

    border: 1px solid #e1e8f0;
    border-top: 3px solid #c79a4a;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;

    padding: 24px 22px;

    -webkit-box-shadow: 0 4px 16px rgba(11, 31, 56, 0.04);
    box-shadow: 0 4px 16px rgba(11, 31, 56, 0.04);

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.service-number {
    display: inline-block;

    width: 32px;
    height: 24px;
    line-height: 24px;

    margin-bottom: 12px;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;

    background-color: #0b2138;
    color: #c79a4a;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
    text-align: center;
}

.service-card h2 {
    margin: 0 0 10px;

    color: #0b2138;

    font-size: 20px;
    line-height: 1.3;
}

.service-card p {
    margin: 0 0 14px;

    color: #4b5866;

    font-size: 14px;
    line-height: 1.55;

    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    flex: 1 0 auto;
}

.service-card h3 {
    margin: 14px 0 8px;

    color: #0b2138;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card ul {
    margin: 0 0 16px;
    padding-left: 18px;

    color: #26394c;

    font-size: 13px;
    line-height: 1.5;
}

.service-card li {
    margin-bottom: 4px;
}

.service-card a {
    display: inline-block;

    color: #0b2138;

    font-size: 13px;
    font-weight: 700;

    border-bottom: 2px solid #c79a4a;

    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;

    padding-bottom: 2px;
}

.service-card a:hover {
    color: #c79a4a;
}


/* =========================================================
   12. SERVICES CTA
   ========================================================= */

.services-cta {
    background-color: #ffffff;

    border: 1px solid #e1e8f0;
    border-left: 4px solid #c79a4a;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;

    padding: 30px 24px;

    margin: 40px 0 30px;

    text-align: center;
}

.services-cta h2 {
    color: #0b2138;

    font-size: 24px;

    margin: 0 0 8px;
}

.services-cta p {
    color: #4b5866;

    font-size: 15px;

    margin: 0 0 18px;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

footer {
    width: 100%;

    margin: 0;
    padding: 0;

    background-color: #0b2138;
    color: #ffffff;
}

.footer-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    padding-top: 30px;
    padding-bottom: 22px;
}

.footer-about {
    -webkit-box-flex: 2;
    -webkit-flex: 2 1 0%;
    flex: 2 1 0%;

    min-width: 0;

    margin-right: 25px;
}

.footer-offices,
.footer-contact {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0%;
    flex: 1 1 0%;

    min-width: 0;

    margin-right: 25px;
}

.footer-contact {
    margin-right: 0;
}

.footer-about h3 {
    margin: 0 0 6px;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.3;
}

.footer-about p {
    max-width: 440px;

    margin: 0;

    color: #bcc6d0;

    font-size: 12px;
    line-height: 1.5;
}

.footer-grid h4 {
    margin: 0 0 8px;

    color: #c79a4a;

    font-size: 11px;
    line-height: 1.3;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-offices ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-offices li {
    margin: 0 0 4px;
    padding: 0;
}

.footer-offices a,
.footer-contact a {
    color: #c8d2dc;
    font-size: 12px;
}

.footer-offices a:hover,
.footer-contact a:hover {
    color: #c79a4a;
}

.footer-contact p {
    margin: 0 0 5px;

    color: #bcc6d0;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   14. FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    margin: 0;
    padding: 12px 0;

    border-top: 1px solid #1a2f44;
}

.footer-bottom p {
    margin: 0;

    color: #8c97a3;

    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   15. RESPONSIVE / MOBILE
      max-width: 768px
   ========================================================= */

@media (max-width: 768px) {

    /* Header */

    .site-header-inner {
        min-height: 64px;
    }

    .site-brand-logo {
        height: 52px;
        max-height: 56px;
        width: auto;
        margin-right: 10px;
    }

    .brand-title {
        font-size: 17px;
    }

    .sub-two {
        font-size: 15px;
    }

    /* Mobile menu button visible */

    .menu-toggle {
        display: block !important;
        z-index: 1001;
    }

    /* Site nav hidden by default on mobile */

    .site-nav {
        display: none !important;

        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background-color: #ffffff;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;

        padding: 10px 20px 22px;

        border-top: 1px solid #edf0f3;

        -webkit-box-shadow: 0 12px 24px rgba(11, 31, 56, 0.12);
        box-shadow: 0 12px 24px rgba(11, 31, 56, 0.12);

        z-index: 9999;
    }

    /* Site nav shown when toggled open */

    .site-nav.open,
    .site-nav.active {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: flex !important;
    }

    .site-nav a {
        display: block;

        width: 100%;

        margin-left: 0;
        padding: 12px 0;

        border-bottom: 1px solid #f0f3f6;

        font-size: 15px;
        color: #0b2138;
    }

    .site-nav .nav-book-btn,
    .nav-book-btn {
        margin-top: 12px;

        padding: 12px 16px;

        width: 100%;

        display: block;

        text-align: center;
    }

    /* Services */

    .grid3 > article.service-card {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 100%;
        flex: 1 1 100%;

        margin-left: 0;
        margin-right: 0;
    }

    /* Footer */

    .footer-grid {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .footer-about,
    .footer-offices,
    .footer-contact {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 100%;
        flex: 1 1 100%;

        margin-right: 0;
        margin-bottom: 14px;
    }
}


/* =========================================================
   16. GALLERY PAGE STYLES
   cPanel Linter Safe & Responsive
   ========================================================= */

.gallery-hero {
    padding: 40px 0 24px;

    background-color: #ffffff;

    border-bottom: 1px solid #e7eef6;
}

.gallery-hero h1 {
    font-size: 32px;
    font-weight: 800;

    color: #0b2138;

    margin: 6px 0 10px;
}

.gallery-hero p {
    font-size: 15px;

    color: #4b5866;

    max-width: 640px;

    line-height: 1.6;

    margin: 0;
}

.gallery-section {
    padding: 36px 0 50px;
}


/* =========================================================
   17. GALLERY GRID
   Flexbox container replacing Grid
   ========================================================= */

.gallery-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    margin: -12px;
}

.gallery-card {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc(33.333% - 24px);
    -ms-flex: 0 0 calc(33.333% - 24px);
    flex: 0 0 calc(33.333% - 24px);

    margin: 12px;

    background-color: #ffffff;

    border: 1px solid #e1e8f0;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 4px 16px rgba(11, 31, 56, 0.04);

    -webkit-transition:
        -webkit-transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    box-sizing: border-box;
}

.gallery-card:hover {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);

    border-color: #c79a4a;

    box-shadow: 0 10px 28px rgba(11, 31, 56, 0.12);
}

.gallery-img-wrap {
    width: 100%;
    height: 220px;

    overflow: hidden;

    background-color: #0b2138;
}

.gallery-img-wrap img {
    object-fit: contain;
    object-position: center center;

    padding: 8px;
}

.gallery-card:hover .gallery-img-wrap img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.gallery-card-info {
    padding: 16px 18px;

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    border-top: 2px solid rgba(199, 154, 74, 0.25);
}

.gallery-card-info h3 {
    margin: 0;

    font-size: 15px;
    font-weight: 700;

    color: #0b2138;
}

.gallery-card-badge {
    font-size: 11px;
    font-weight: 700;

    color: #c79a4a;

    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-empty-state {
    padding: 60px 20px;

    text-align: center;

    color: #64748b;

    font-size: 15px;

    width: 100%;
}


/* =========================================================
   18. TABLET
   2 CARDS PER ROW
   ========================================================= */

@media (max-width: 992px) {

    .gallery-card {
        -webkit-flex: 0 0 calc(50% - 24px);
        -ms-flex: 0 0 calc(50% - 24px);
        flex: 0 0 calc(50% - 24px);
    }
}


/* =========================================================
   19. MOBILE
   1 CARD PER ROW
   ========================================================= */

@media (max-width: 768px) {

    .gallery-hero h1 {
        font-size: 24px;
    }

    .gallery-card {
        -webkit-flex: 0 0 calc(100% - 24px);
        -ms-flex: 0 0 calc(100% - 24px);
        flex: 0 0 calc(100% - 24px);
    }

    .gallery-img-wrap {
        height: 200px;
    }
}
