/**
 * Law Firm Variant Styles
 * Extracted from global style.css for variant isolation
 * Class prefix: wa-law-firm-*
 */

/* ===========================
   Contact Form Section
   =========================== */
.wa-law-firm-contact-form {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: hsl(var(--color-surface));
    border-radius: var(--radius-lg, 0.75rem);
}

.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) {
    padding: 4rem 0;
    background-position: bottom center;
    background-repeat: no-repeat;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column {
    border-style: solid;
    border-width: 3px;
    border-color: #FFFFFF;
    box-shadow: 0px 11px 22px -12px rgba(0, 0, 0, 0.11);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 3rem 2rem;
    border-radius: 15px;
    color: hsl(var(--color-primary));
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column .wp-block-heading,
.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column p {
    margin-bottom: 0;
}

.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) .wp-block-buttons {
    display: flex;
    justify-content: center;
}

/* Contact Form Buttons */
.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) .wp-block-buttons a.wp-block-button__link:not(.has-background) {
    background-color: hsl(var(--color-primary));
    border-radius: 3px;
}

.wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) .wp-block-buttons a.wp-block-button__link:not(.has-background):hover {
    background-color: hsl(var(--color-secondary));
}

@media (min-width: 782px) {
    .wa-law-firm-contact-form .wa-law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column:hover {
        border-style: solid;
        border-width: 3px;
        border-color: hsl(var(--color-primary));
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }
}

/* ===========================
   Contact Form Icon
   =========================== */
.wa-law-firm-contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: hsl(var(--color-primary));
    background-color: hsl(var(--color-primary));
}

.wa-law-firm-contact-icon svg {
    position: relative;
    z-index: 10;
    stroke: hsl(var(--color-surface));
}

/*
// ===========================
// Contact Form Page
// ===========================
*/
.law-firm-contact-form {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: hsl(var(--color-surface));
    border-radius: var(--radius-lg, 0.75rem);
}

.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) {
  padding: 4rem 0;
  background-image: url(http://rattana-associates.local/wp-content/uploads/2022/04/blob-grad.svg);
  background-position: bottom center;
  background-repeat: no-repeat;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}
.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column {
  border-style: solid;
  border-width: 3px 3px 3px 3px;
  border-color: #FFFFFF;
  box-shadow: 0px 11px 22px -12px rgba(0, 0, 0, 0.11);
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
  padding: 3rem 2rem;
  border-radius: 15px 15px 15px 15px;
  color: #833D0C;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column .wp-block-heading,
.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column p {
  margin-bottom: 0;
}
.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) .wp-block-buttons {
  display: flex;
  justify-content: center;
}

/* Contact Form Buttons */
.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) .wp-block-buttons a.wp-block-button__link:not(.has-background) {
  background-color: hsl(var(--color-primary));
  border-radius: 3px;
}
.law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) .wp-block-buttons a.wp-block-button__link:not(.has-background):hover {
    background-color: hsl(var(--color-secondary));
}
.widget .wpforms-container .wpforms-field,
.widget .wp-core-ui div.wpforms-container .wpforms-field {
  padding-top: 0;
}
.wp-block-button__link .wp-element-button,
div.wpforms-container-full .wpforms-form input[type=submit]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-form button[type=submit]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-form .wpforms-page-button:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
  color: hsl(var(--color-surface));
  background-color: hsl(var(--color-primary));
  border-radius: 3px;
}
div.wpforms-container-full .wpforms-form input[type=submit]:hover,
div.wpforms-container-full .wpforms-form input[type=submit]:active,
div.wpforms-container-full .wpforms-form button[type=submit]:hover,
div.wpforms-container-full .wpforms-form button[type=submit]:active,
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-form .wpforms-page-button:active,
.wp-core-ui div.wpforms-container-full input[type=submit]:hover,
.wp-core-ui div.wpforms-container-full input[type=submit]:active,
.wp-core-ui div.wpforms-container-full button[type=submit]:hover,
.wp-core-ui div.wpforms-container-full button[type=submit]:active,
.wp-core-ui div.wpforms-container-full .wpforms-page-button:hover,
.wp-core-ui div.wpforms-container-full .wpforms-page-button:active {
  background-color: hsl(var(--color-secondary));
}
@media (min-width: 782px) {
  .law-firm-contact-form .law-firm-contact-info:not(.is-not-stacked-on-mobile) > .wp-block-column:hover {
    border-style: solid;
    border-width: 3px 3px 3px 3px;
    border-color: var(--e-global-color-primary);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  }
}
.contact-form-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  color: hsl(var(--color-primary));
  background-color: hsl(var(--color-primary));
}
.contact-form-icon svg {
  position: relative;
  z-index: 10;
  stroke: hsl(var(--color-surface));
}
