/* WordPress additions (Greenwood theme). The design itself is in assets/css/style.css. */
.form-done{background:#e9f8f1;border:1px solid #3abd85;border-radius:12px;padding:14px 18px;margin:0 0 22px;color:#0e3527;font-weight:600}
.form-done.is-error{background:#fdeeee;border-color:#e0a0a0}
.wp-page .prose img{max-width:100%;height:auto;border-radius:14px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
/* WordPress prints width and height on photos (stops the page jumping while they load). The design sizes photos itself, so let its CSS win. */
:where(img[width][height]){height:auto}
/* Gravity Forms, if one is chosen on a form page: keep it inside the design's form card width. */
.gw-gform{max-width:860px}
/* Gravity Forms in the design's style (forms 4-6 are built by tools/gforms.py: form class "form-card", question class "field") */
.gw-gform .gform_wrapper.gravity-theme{margin:0}
.gw-gform .gform_required_legend,.gw-gform .gform_wrapper.gravity-theme .gfield_required{display:none!important}
.gw-gform .gform_wrapper.gravity-theme .gform_fields{grid-column-gap:18px;grid-row-gap:0}
.gw-gform .gform_wrapper.gravity-theme .gfield.field{margin-bottom:18px}
.gw-gform .gform_wrapper.gravity-theme .gfield_label{display:block;font-family:var(--sans);font-weight:700;font-size:.88rem;margin:0 0 7px;padding:0;color:var(--ink)}
.gw-gform .gform_wrapper.gravity-theme input[type=text],.gw-gform .gform_wrapper.gravity-theme input[type=email],
.gw-gform .gform_wrapper.gravity-theme input[type=tel],.gw-gform .gform_wrapper.gravity-theme select,
.gw-gform .gform_wrapper.gravity-theme textarea{width:100%;padding:13px 15px;border:1.5px solid var(--line);border-radius:12px;font-family:var(--body);font-size:1rem;background:var(--paper);color:var(--ink);line-height:1.4}
.gw-gform .gform_wrapper.gravity-theme textarea.large{height:auto;min-height:130px}
.gw-gform .gform_wrapper.gravity-theme .gfield_description{margin-top:7px;padding:0;font-size:.86rem;line-height:1.5;color:var(--muted)}
.gw-gform .gform_wrapper.gravity-theme .gw-gform-text h2{margin:0 0 10px}
.gw-gform .gform_wrapper.gravity-theme .gw-gform-text p{margin:0 0 18px}
.gw-gform .gform_wrapper.gravity-theme .gsection.gw-gform-legend{border:0;border-top:1.5px solid var(--line);padding:16px 0 0;margin:6px 0 12px}
.gw-gform .gform_wrapper.gravity-theme .gsection_title{font-family:var(--sans);font-weight:700;font-size:.88rem;color:#137470;margin:0}
.gw-gform .gform_wrapper.gravity-theme .gform_footer{padding:4px 0 0;margin:0}
.gw-gform .gform_wrapper.gravity-theme .gform_footer input[type=submit],.gw-gform .gform_wrapper.gravity-theme .gform_footer button{
  width:100%;display:flex;align-items:center;justify-content:center;font-family:var(--sans);font-weight:700;font-size:.95rem;
  padding:.98em 1.9em;border-radius:999px;border:2px solid transparent;background:var(--grad);color:#fff;
  box-shadow:0 8px 22px rgba(58,189,133,.34);cursor:pointer;line-height:1.15;transition:transform .25s ease,background .25s ease}
.gw-gform .gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover,.gw-gform .gform_wrapper.gravity-theme .gform_footer button:hover{background:var(--grad-rev);transform:translateY(-2px)}
.gw-gform .gform_confirmation_message{background:#e9f8f1;border:1px solid #3abd85;border-radius:12px;padding:14px 18px;color:#0e3527;font-weight:600}
.gw-gform .gform_wrapper.gravity-theme .gfield_validation_message{background:none;border:0;padding:6px 0 0;color:#b3261e;font-size:.86rem}
.gw-gform .gform_wrapper.gravity-theme .gform_validation_errors{border-radius:12px}
@media (max-width:640px){.gw-gform .gform_wrapper.gravity-theme .gform_fields{display:block!important}.gw-gform .gform_wrapper.gravity-theme .gfield{width:100%}}

/* Complianz consent banner in the site's style. Bottom left on desktop so it never sits under the Vetstoria
   booking button (bottom right, z-index max); on phones the booking button hides until the visitor has chosen. */
:root:root{--cmplz_banner_margin:16px;--cmplz_banner_border_radius:18px;--cmplz_text_color:#0e2c22;--cmplz_hyperlink_color:#0e2c22;--cmplz_title_font_size:20px;--cmplz_text_font_size:14px;--cmplz_link_font_size:13px;--cmplz_button_accept_background_color:#3abd85;--cmplz_button_accept_border_color:#3abd85;--cmplz_button_accept_text_color:#fff;--cmplz_button_deny_background_color:#fff;--cmplz_button_deny_border_color:#3abd85;--cmplz_button_deny_text_color:#0e2c22;--cmplz_button_settings_background_color:#fff;--cmplz_button_settings_border_color:#3abd85;--cmplz_button_settings_text_color:#0e2c22;--cmplz_button_border_radius:999px;--cmplz_slider_active_color:#3abd85}
.cmplz-cookiebanner{font-family:Hind,sans-serif!important;box-shadow:0 18px 50px rgba(14,44,34,.2)!important}
.cmplz-cookiebanner .cmplz-title{font-family:Arapey,Georgia,serif!important;font-weight:400!important}
.cmplz-cookiebanner .cmplz-message{color:#4b675c}
.cmplz-cookiebanner .cmplz-btn{font-family:Hind,sans-serif!important;font-weight:600!important}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept{background:var(--grad,#3abd85)!important;border-color:transparent!important}
.cmplz-cookiebanner .cmplz-btn:hover{transform:translateY(-1px)}
@media (min-width:768px){.cmplz-cookiebanner.cmplz-bottom-right{right:auto!important;left:16px!important}}
@media (max-width:767px){body:has(.cmplz-cookiebanner.cmplz-show) #vetstoria-fw-btn-container{display:none!important}}
#cmplz-manage-consent .cmplz-manage-consent{right:auto!important;left:40px!important;background:#3abd85!important;color:#fff!important;font-family:Hind,sans-serif!important;border-color:#3abd85!important}

/* News page blog list (page-news.php): the same cards as the news cards, each one a link to the post */
.blog-list{padding-top:0}
.blog-list .post a:not(.more){color:inherit;text-decoration:none}
.blog-list .post .more{margin-top:auto;padding-top:16px;font-family:var(--sans);font-weight:700;font-size:.9rem;color:#137470;text-decoration:none}
.blog-list .post h3 a:hover,.blog-list .post .more:hover{color:#137470;text-decoration:underline}
.blog-list .post .pic{display:block}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
