/*
Theme Name: Osborne Law Firm
Description: Professional WordPress theme for Osborne Law Firm with exact design specifications
Version: 1.0
Author: Manus AI
*/

/* ===== RESET & BASE STYLES ===== */
/* Avant Garde Regular */
@font-face {
  font-family: 'AvantGarde';
  src: url('fonts/avant_garde_regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AvantGarde';
  src: url('fonts/AVGARDD_2.TTF') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Trajan Pro Bold */
@font-face {
  font-family: 'TrajanProBold';
  src: url('fonts/Trajan Pro Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'AvantGarde', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'TrajanProBold';
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.3rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}
a {
    text-decoration: none;
}

/* ===== HEADER STYLES ===== */
.site-header {
    position: absolute;
    top: 2.2em;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border: 1px solid #ffffff61;
    border-left: 0;
    border-right: 0;
}

img.custom-logo {
    width: 15vw;
    min-width: 220px;
    max-width: 100%;
    height: auto;
    position: relative;
    top: 2px;
}

a.custom-logo-link:after {
    content: '';
    border-right: 1px solid #ffffff61;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: 2em;
}

.top-phone {
    display: none;
    align-items: center;
    gap: 10em;
}

.header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
}

.logo-icon::before {
    content: "⚖";
    font-size: 24px;
    color: #1B365D;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-right: 15px;
}

.main-navigation a::after {
    content: "↗";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    opacity: 0.7;
}

.main-navigation a:hover {
    color: #D4AF37;
}

.header-phone, .page-template .header-phone {
    background: #E7A324;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.dashicons-arrow-right-alt:before {
    content: "\f344";
    content: "\2197";
    color: #e7a324 !important;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-icon-right > a.mega-menu-link:before {
    float: right;
    margin: -2px 0 0 3px;
}

/* ===== HERO SECTION ===== */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}
h1.hero-h1 {
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

.hero-content h1 .highlight {
    color: #D4AF37;
}

.hero-content .subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #E8E8E8;
}

.hero-content .tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #CCCCCC;
}

.hero-content .tagline .bold {
    font-weight: 700;
    color: white;
}

.hero-cta {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #1B365D;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Bottom Swoop */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(assets/images/hero-bottom-swoop-correct.svg) no-repeat center bottom;
    background-size: cover;
    transform: rotate(180deg);
}

/* ===== LEGACY SECTION ===== */
.legacy-section {
    padding: 6rem 0;
    background: #F8F9FA;
    position: relative;
}

.legacy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.legacy-image-wrapper {
    position: relative;
}

.legacy-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: #D4AF37;
    border-radius: 10px;
    z-index: 1;
}

.legacy-image {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legacy-image img {
    width: 100%;
    height: auto;
    display: block;
}

.expertise-badge {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: #1B365D;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    border: 5px solid #D4AF37;
}

.expertise-badge .years {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    color: #D4AF37;
}

.expertise-badge .text {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

.legacy-content .section-label {
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.legacy-content h2 {
    color: #1B365D;
    margin-bottom: 2rem;
}

.legacy-content p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.legacy-cta {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #1B365D;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.legacy-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ===== PRACTICE AREAS SECTION ===== */
.practice-areas-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1B365D 0%, #2E5984 50%, #4A7BA7 100%);
    color: white;
    position: relative;
}

.practice-areas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('assets/images/practice-areas-top-swoop.svg') no-repeat center top;
    background-size: cover;
    transform: rotate(180deg);
}

.practice-areas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 4rem;
}

.practice-areas-title {
    text-align: center;
    margin-bottom: 4rem;
}

.practice-areas-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.practice-areas-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #D4AF37;
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.practice-area-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.practice-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.practice-area-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.practice-area-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.practice-area-icon::after {
    content: "↗";
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.practice-area-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.practice-areas-section figure.wp-block-image.size-full a:hover {
    filter: brightness(0.8);
}

.yoast-breadcrumbs {
    text-align: center;
    margin-bottom: 1em;
}
span.breadcrumb_last {
    color: #E7A324;
    font-weight: 100;
    font-size: 15px;
}

/* ===== TESTIMONIALS SECTION ===== */
.reviewBody p {
    text-align: center;
}
h3.reviewTitle.entry-title {
    text-align: center;
}
p.reviewer {
    text-align: center;
    font-family: 'Cinzel', serif;
}
.stars {
    text-align: center;
}
h3.reviewTitle.entry-title {
    display: none !important;
}
.reviewBody {
    padding: 0 3em;
}
.owl-item {
  border:1px solid  #e7a324;
  padding: 2em;
  border-radius: 10px;
}
p.reviewer {
    text-align: center;
    font-family: 'TrajanProBold';
    font-size: 20px;
    color: #e7a324;
}

.owlPLMT.owl-carousel .owl-nav {
    position: absolute;
    top: 34% !important;
    width: 100%;
    font-family: 'review-icons';
    font-size: 1.2em;
  }
.owlPLMT.owl-carousel .owl-nav .owl-next {
  position: absolute;
  right: -40px !important;
}
.owlPLMT.owl-carousel .owl-nav .owl-prev {
  left: -40px !important;
  position: absolute;
}
.owlPLMT.owl-carousel .owl-nav .owl-next::before {
  content: '' !important;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolygon points='4,2 8,6 4,10' fill='white'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  height: 30px;
}
.owlPLMT.owl-carousel .owl-nav .owl-prev:before {
  content: '' !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolygon points='8,2 4,6 8,10' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  position: absolute;
  width: 30px;
  height: 30px;
}
.owl-theme .owl-nav [class*=owl-]:hover {
    background: transparent !important;
    color: #FFF;
    text-decoration: none;
}
.wp-block-group.quotes {
    position: absolute;
    left: 27em;
    top: -1em;
    right: 0;
}

/* ===== NAVIGATION LAW SECTION ===== */
.navigation-law-section {
    padding: 6rem 0;
    background: #F8F9FA;
    position: relative;
}

.navigation-law-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.navigation-law-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 200px;
    height: 200px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.navigation-law-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
}

.video-frame {
    position: relative;
    border: 8px solid #D4AF37;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.video-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.play-button::after {
    content: "▶";
    color: #1B365D;
    font-size: 24px;
    margin-left: 3px;
}

.navigation-content .section-label {
    color: #D4AF37;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.navigation-content h2 {
    color: #1B365D;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.process-steps {
    list-style: none;
    padding: 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: 40px;
    background: #E0E0E0;
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #1B365D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-icon::before {
    content: "🤝";
    font-size: 20px;
}

.step-icon.evaluation::before {
    content: "📋";
}

.step-icon.strategy::before {
    content: "⚖";
}

.step-content h3 {
    color: #1B365D;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.wp-block-group.navigating-icon-group {
    position: relative; /* Ensure a proper reference point for absolute children */
}

.wp-block-group.navigating-icon-group::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 5%;
    border-left: 2px dashed #1B365D;
    height: calc(100% - 100px);
    width: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, #1B365D 0%, #2E5984 100%);
    color: white;
    padding: 4rem 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
    color: #333;
}

.contact-form textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    color: #1B365D;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: 1 / -1;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #D4AF37;
    margin-bottom: 2rem;
}

.diamond-separator {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #184e7a 50%, #102a4f 50%);
    transform: rotate(45deg);
    margin: 15rem auto;
    position: relative;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
}

.diamond-separator-mb {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #184e7a 50%, #102a4f 50%);
    transform: rotate(135deg);
    margin: 0 auto;
    position: relative;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    z-index: 2;
}

.gform_wrapper.gravity-theme .gfield input.large, .gform_wrapper.gravity-theme .gfield select.large {
    width: 100%;
    border-radius: 6px;
    border-color: transparent;
}
.gform_wrapper.gravity-theme .gfield textarea.small {
    height: 96px;
    border-radius: 6px;
    border-color: transparent;
}
.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    height: 50px;
}
.gform_button {
    width: 100%;
    background: #e7a324;
    border: 0;
    border-radius: 6px;
    padding: 10px;
    font-family: 'AvantGarde', sans-serif;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}
.gform-body.gform_body ::placeholder {
  font-family: 'AvantGarde', sans-serif;
}


/* ===== PAGE STYLES ===== */
div#page {
    max-width: 100%;
}
.page-template h3, .single-practice_area h3 {
    font-family: 'AvantGarde', sans-serif;
    font-size: 1.5em;
    color: #E7A324;
    font-weight: normal;
}
.page-template h2 {
    font-size: 3rem;
    margin-bottom: 0px;
}
.wp-block-mfb-meta-field-block .value img, .wp-block-mfb-meta-field-block .value video {
    height: auto;
    max-width: 100%;
    width: 100%;
}

.page-template a {
    color: #000000;
    text-decoration: none;
}
.is-acf-field.mfb-button.wp-block-mfb-meta-field-block {
    padding-top: 1em;
}
.mfb-button a {
    width: 200px;
    background: #E7A324;
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: normal;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.mfb-blue a {
    background: #1B365D;
}

.mfb-blue .value p a {
    background: transparent;
    color: #E7A324;
}

.mfb-blue h2 {
    color: #1B365D !important;
}
.pa-groups h2 {
    color: #E7A324;
    font-size: 2.7rem;
    margin-bottom: 0px;
}
ul li {
    margin-bottom: 8px;
}

ul {
    margin-top: 1em;
    margin-bottom: 1em;
}

ul.wp-block-list a, em {
    font-style: normal;
    font-weight: 600;
    color: #E7A324;
}

.our-mission::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(assets/images/hero-bottom-swoop-correct.svg) no-repeat center bottom;
    background-size: cover;
    transform: rotate(180deg);
}

.our-mission::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url(assets/images/hero-bottom-swoop-correct.svg) no-repeat center bottom;
    background-size: cover;
    transform: rotate(180deg);
}

.wp-block-search__button {
    margin-left: 0;
    word-break: normal;
    background: #fff !important;
    border: 0 !important;
    padding: 6px !important;
}
.wp-block-search__button svg {
    height: 1.25em;
    min-height: 40px;
    min-width: 40px;
    width: 1.25em;
    fill: rgb(231 163 36);
    vertical-align: text-bottom;
}
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
    border: none;
    box-sizing: border-box;
    padding: 4px;
}
input#wp-block-search__input-1 {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.wp-block-search__button {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

li.cat-item.cat-item-1 {
    display: none;
}
ul.wp-block-categories-list.wp-block-categories {
    list-style: none;
}
li.cat-item:before {
    content: '>';
    padding-right: 6px;
}
h2.wp-block-post-title {
    font-family: 'AvantGarde', sans-serif;
    font-weight: normal;
}
li.wp-block-post {
    border: 3px solid #E7A324;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 2em;
}
a.wp-block-post-excerpt__more-link {
    background-color: #E7A324;
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 2em;
    color: #fff;
}
.wp-block-post-excerpt {
    margin-bottom: 1em !important;
}
a.page-numbers, .page-numbers {
    border: 3px solid #e7a324;
    border-radius: 100%;
    padding: 12px 17px;
    color: #e7a324;
    font-weight: 600;
}
a.wp-block-query-pagination-previous, a.wp-block-query-pagination-next {
    color: #E7A324;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: #ffffff;
    padding: 4rem 0 0;
}

.footer-main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
    gap: 2rem;
}

.footer-column h3 {
    color: #e7a324;
    font-size: 1.2rem;
    font-family: 'TrajanProBold';
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column ul li {
    margin-bottom: 0.4rem;
}

.footer-column ul li a {
    color: #1B365D;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: #D4AF37;
}

.footer-logo-column {
    text-align: center;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-media a {
    width: 40px;
    height: 40px;
    background: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: #1B365D;
    transform: translateY(-2px);
}

.wp-block-stackable-icon-button p {
    display: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #1B365D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #e7a324;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details p {
    color: #1B365D;
    font-size: 0.9rem;
    margin: 0;
}


.contact-icon.location {
    background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23e7a324%22%20d%3D%22M12%200c-4.198%200-8%203.403-8%207.602%200%204.198%203.469%209.21%208%2016.398%204.531-7.188%208-12.2%208-16.398%200-4.199-3.801-7.602-8-7.602zm0%2011c-1.657%200-3-1.343-3-3s1.343-3%203-3%203%201.343%203%203-1.343%203-3%203z%22%2F%3E%3C%2Fsvg%3E);
    background-color: #102a4f;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center center;
}


.contact-icon.phone {
    background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23e7a324%22%20d%3D%22M20%2022.621l-3.521-6.795c-.008.004-1.974.97-2.064%201.011-2.24%201.086-6.799-7.82-4.609-8.994l2.083-1.026-3.493-6.817-2.106%201.039c-7.202%203.755%204.233%2025.982%2011.6%2022.615.121-.055%202.102-1.029%202.11-1.033z%22%2F%3E%3C%2Fsvg%3E);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate(235deg);
}

.contact-icon {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTIgMTIuNzEzbC0xMS45ODUtOS43MTNoMjMuOTdsLTExLjk4NSA5LjcxM3ptMCAyLjU3NGwtMTItOS43MjV2MTUuNDM4aDI0di0xNS40MzhsLTEyIDkuNzI1eiIgZmlsbD0iI2U3YTMyNCIvPjwvc3ZnPg==);
    background-size: 18px;
    background-repeat: no-repeat;
    color: rgb(231, 163, 36);
    background-position: center center;
}

.footer-bottom {
    background: #1B365D;
    color: white;
    padding: 2rem 0;
    text-align: center;
    max-width: 100%;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-bottom p {
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.footer-bottom .privacy-link {
    color: #e7a324;
    text-decoration: none;
}

.footer-bottom .privacy-link:hover {
    text-decoration: underline;
}

.legal-disclaimer {
    font-size: 0.7rem;
    color: #CCCCCC;
    line-height: 1.5;
    margin-top: 1rem;
}
.m-reverse {
    display: contents;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1021px) {
  .diamond-separator {
    display: none;
  }
}

@media (max-width: 991px) {
      .site-header {
      position: relative;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      padding: 1rem 0;
      border: 1px solid #ffffff61;
      border-left: 0;
      border-right: 0;
      background: #1B365D;
    }
    .top-phone {
    display: flex;
    align-items: center;
    flex-flow: row-reverse;
    gap: 20px;
  }
  div#top-nav {
    display: none;
  }
  .navigating-section h2.wp-block-heading {
    font-size: 1.7rem !important;
  }
  .navigating-h3 {
    font-size: 21px !important;
  }
  .wp-block-cover.alignfull.hero-section h1 {
    font-size: 3vw !important;
  }
  .hero-section .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    flex-basis: 100% !important;
  }
  .hero-section mark.has-inline-color.has-white-color {
        font-size: 3vw;
  }
  .hero-section .wp-block-columns.alignfull.is-layout-flex.wp-container-core-columns-is-layout-b815d019.wp-block-columns-is-layout-flex {
    padding: 0 2em !important;
  }
  .hero-section.wp-block-cover.alignfull.hero-section {
    min-height: 74vh !important;
  }
  .hero-section p.has-text-align-left.has-open-sans-font-family, h3 {
    font-size: 16px !important;
  }
  a.custom-logo-link:after {
    content: '';
    border-right: 1px solid #ffffff61;
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: 2em;
    display: none!important;
  }
  .header-phone {
    font-size: 18px;
    grid-area: 2;
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto;
  }
  .reviewBody {
    padding: 0;
    font-size: 15px;
  }
  .wp-block-cover.alignfull.testimonial-section {
    padding: 1em 3em !important;
  }
  .wp-block-group.quotes {
    position: absolute;
    left: 20em;
    top: -1em;
    right: 0;
    max-width: 100%;
  }
  .gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    height: 70px;
  }
  .diamond-separator {
    display: none;
  }

  .footer-column ul li {
    text-align: center;

  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .contact-info-item {
    display: flex;
    margin: 0 auto 1.5rem;
  }
  div#ft-contact-info {
    margin: 0 auto 1.5em;
  }
  div#ft-contact-info .contact-info-item {
    width: 100%;
  }
  .wp-block-group.navigating-icon-group h3 {
    font-size: inherit !important;
    text-align: left;
  }
  #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item a.mega-menu-link:before {
    display: none;
  }
  .footer-column h3 {
    text-align: center;
  }
  .m-reverse {
    display: inline-flex;
    flex-flow: column-reverse;
  }
  .footer-column {
    margin-bottom: 1.5em;
  }
  .mfb-blue h2 {
    color: #1B365D !important;
    text-align: left !important;
    font-size: 2.3rem !important;
    margin-bottom: 20px !important;
  }
  .pa-groups h2 {
    color: #E7A324;
    font-size: 2.32rem;
    margin-bottom: 20px;
  }
  .page-template-template-practice-areas .wp-block-cover.alignfull.is-light h1, .wp-block-cover__inner-container.is-layout-constrained.wp-block-cover-is-layout-constrained h1 {
      font-size: 2.5rem !important;
      margin-top: 0 !important;
  }
  .page-template-template-practice-areas .wp-block-cover.alignfull.is-light, .page-template .wp-block-cover, body.wp-singular.page-template-default, .wp-block-cover.alignfull.is-light {
      min-height: 200px !important;
  }
}

@media (max-width: 768px) {
      img.custom-logo {
      min-width: 250px;
    }
    .header-container {
      display: inline-grid;
      grid-template-columns: 1fr 1fr;
      padding: 0 1em;
      gap: 1rem;
    }
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .legacy-container,
    .navigation-law-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .practice-areas-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .hero-section mark.has-inline-color.has-white-color {
          font-size: 4.5vw;
          
    }
    .wp-block-cover.alignfull.hero-section h1 {
    text-align: center;
    font-size: 4.7vw !important;
    text-shadow: 0 0 7px #00000042;
    white-space: normal;
    }
  .hero-section p.has-text-align-left.has-open-sans-font-family, h3 {
    font-size: 3.6vw !important;
    text-align: center;
    }
  .hero-section img.wp-block-cover__image-background.wp-image-472.size-full {
    object-position: 89% -3em !important;
  }
  .hero-section .wp-block-button.hero-cta-button.is-style-fill {
    margin: 0 auto;
  }
  .hero-section .wp-block-group.alignfull.is-layout-constrained.wp-container-core-group-is-layout-217f5b50.wp-block-group-is-layout-constrained {
    padding-top: 20em !important;
  }
  .hero-section::after {
    bottom: 30px;
  }
  .wp-block-group.legacy-section {
    padding-top: 0 !important;
  }
  .wp-block-group.quotes {
    top: -2em;
  }
  .wp-block-group.navigating-icon-group figure img {
    width: 180px !important;
    position: relative;
    left: -7px;
  }
  .diamond-separator {
    display: none;
  }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.3rem;
    }

    .practice-areas-title h2 {
        font-size: 2rem;
    }

    .navigation-content h2 {
        font-size: 2rem;
    }
}
