```css
/*
Theme Name: UK Allergy 2026 Theme by LAIC
Author: LAIC
Description: Updated responsive theme styling for UK Allergy
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900');

html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  color: #3f4a54;
  background: #ffffff;
  font-size: 100%;
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

a {
  color: #06476f;
  outline: none;
  text-decoration: none;
}

a:hover {
  color: #0074bc;
  text-decoration: underline;
}

p {
  margin: 12px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 18px 0 12px;
  color: #06476f;
  line-height: 1.25;
  font-weight: 900;
  text-transform: none;
}

h1 {
  font-size: 2rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.65rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.15rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.9rem;
}

.clear {
  clear: both;
}

.alignleft {
  float: left;
  margin: 0 18px 12px 0;
}

.alignright {
  float: right;
  margin: 0 0 12px 18px;
}

.aligncenter {
  display: block;
  margin: 20px auto;
}

#full-wrapper {
  width: 100%;
  overflow-x: hidden;
}

#footer, 
#content-area,
#main-btns,
#header,
#menu {
  width: 86%;
  max-width: 1240px;
  margin: 0 auto;
}

#header {
  padding: 18px 0;
}

.main-logo img {
  max-height: 86px;
}

#header-right {
  float: right;
  margin-top: 28px;
  color: #06476f;
  font-weight: 700;
}

#content-area {
  padding: 42px 0;
}

.home #content-area {
  padding: 50px 0;
}

#content-area.flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

#left-col {
  flex-basis: 66%;
}

#right-col {
  flex-basis: 30%;
}

.flex {
  display: flex;
}

.flex-item {
  flex-basis: 20%;
}

/* Main Menu */

#menu-wrapper {
  background: linear-gradient(135deg, #06476f 0%, #0074bc 100%);
  min-height: 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

#menu-contact {
  display: none;
  line-height: 52px;
  color: #ffffff;
  font-weight: 700;
}

#menu-contact a {
  color: #ffffff;
}

.main-menu {
  float: right;
}

.main-menu ul {
  margin: 0;
  padding: 0;
}

.main-menu ul li {
  list-style: none;
  float: left;
  position: relative;
}

.main-menu ul li a {
  color: #ffffff;
  font-size: 0.88rem;
  display: block;
  padding: 16px 10px;
  margin: 0 2px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  border-radius: 4px;
}

.main-menu ul li a:hover,
.main-menu ul li.current_page_item a {
  background: rgba(255,255,255,0.16);
  text-decoration: none;
}

/* Drop Downs */

ul.sub-menu {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  z-index: 999;
  width: 240px;
  margin: 0;
  padding: 8px 0;
  background: #06476f;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

ul.menu li ul.sub-menu li {
  text-align: left;
  z-index: 991;
  float: none;
  padding: 0;
  position: relative;
}

ul.menu li ul.sub-menu li a {
  padding: 10px 16px;
  background: transparent;
  line-height: 1.35;
  font-size: 0.84rem;
  color: #ffffff;
  margin: 0;
  border-radius: 0;
  text-transform: none;
}

ul.menu li ul.sub-menu li a:hover {
  background: #0074bc;
}

ul.menu li:hover ul.sub-menu {
  display: block;
}

ul.menu li:hover ul.sub-menu ul {
  display: none;
}

ul.menu li:hover ul.sub-menu li:hover ul {
  display: block;
  left: 238px;
  top: 0;
}

/* Home Slider */

.home .metaslider {
  overflow: hidden;
}

.home .metaslider .caption-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.78) 55%, rgba(255,255,255,0.15) 100%);
  color: #203d50;
  opacity: 1;
  margin: 0;
  width: 100%;
  line-height: initial;
  display: flex;
}

.home .metaslider .caption {
  width: 86%;
  max-width: 1240px;
  margin: auto;
}

.home .metaslider .caption h1,
.home .metaslider .caption h2 {
  color: #06476f;
  text-transform: none;
}

.home .metaslider .caption h2 {
  width: 70%;
  font-weight: 400;
  margin-top: 22px;
  font-size: 1.3rem;
}

/* Main Buttons */

#main-btns {
  display: flex;
  margin: -70px auto 20px;
  position: relative;
  z-index: 998;
  gap: 0;
}

#main-btns div {
  flex-basis: 25%;
  border: 1px solid #e4edf3;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 24px 24px;
  position: relative;
  min-height: 180px;
  transition: all 0.25s ease;
}

#main-btns div a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-transform: uppercase;
  padding: 72px 25px 22px;
  color: #06476f;
}

#main-btns div:hover {
  background-color: #06476f;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(6,71,111,0.24);
}

#main-btns div:hover h2,
#main-btns div:hover a {
  color: #ffffff;
  text-decoration: none;
}

#main-btns div h2 {
  font-size: 1.1rem;
  margin: 0;
}

/* Original icons retained */

#main-btns div:nth-of-type(1) {
  background-image: url("images/heart-iconb.png");
}

#main-btns div:nth-of-type(1):hover {
  background-image: url("images/heart-icon.png");
}

#main-btns div:nth-of-type(2) {
  background-image: url("images/appointmentb.png");
}

#main-btns div:nth-of-type(2):hover {
  background-image: url("images/appointment.png");
}

#main-btns div:nth-of-type(3) {
  background-image: url("images/lactoseb.png");
}

#main-btns div:nth-of-type(3):hover {
  background-image: url("images/lactose.png");
}

#main-btns div:nth-of-type(4) {
  background-image: url("images/glutenb.png");
}

#main-btns div:nth-of-type(4):hover {
  background-image: url("images/gluten.png");
}

/* Blocks */

.block.intro {
  background: url("images/back1.jpg") no-repeat center center;
  background-size: cover;
  padding: 40px 0;
}

.block.text {
  text-align: center;
}

.block.three-cols {
  display: flex;
}

.block.three-cols div.col {
  flex-basis: 33.333%;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 430px;
}

.block.three-cols div.col a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-decoration: none;
}

.block.three-cols .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 55px 20px;
  background: rgba(6, 71, 111, 0.68);
}

.block.three-cols h2 {
  color: #ffffff;
  font-size: 1.45rem;
}

.block.three-cols div.col1 {
  background-image: url("images/allergy-test.jpg");
}

.block.three-cols div.col2 {
  background-image: url("images/treatments.jpg");
}

.block.three-cols div.col3 {
  background-image: url("images/location.jpg");
}

/* Grids */

.grid {
  text-align: center;
}

.grid h2 {
  color: #06476f;
}

.grid ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 45px 0;
  padding: 0;
}

.grid ul li {
  flex-basis: 23.5%;
  margin-bottom: 22px;
  color: #ffffff;
  padding: 28px 22px;
  list-style: none;
  background: linear-gradient(135deg, #06476f 0%, #0074bc 100%);
  text-align: left;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(6,71,111,0.16);
}

.grid ul li:nth-child(2),
.grid ul li:nth-child(4),
.grid ul li:nth-child(5),
.grid ul li:nth-child(7) {
  background: #f4f9fc;
  color: #3f4a54;
}

.grid ul li h3 {
  color: #ffffff;
  font-size: 1.05rem;
}

.grid ul li:nth-child(2) h3,
.grid ul li:nth-child(4) h3,
.grid ul li:nth-child(5) h3,
.grid ul li:nth-child(7) h3 {
  color: #06476f;
}

/* Test List */

.test-list {
  margin: 30px auto 20px;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
}

.test-list li {
  list-style: none;
  flex-basis: 100%;
  margin-bottom: 0;
}

.test-list li a {
  color: #ffffff;
  text-align: center;
  padding: 26px 24px;
  display: block;
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}

.test a {
  background: #45a533;
  color: #ffffff;
  font-size: 1.1rem;
}

.instructions a,
.faq a {
  background: #06476f;
  color: #ffffff;
  font-size: 0.95rem;
}

/* Pages */

.ccchildpages {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 28px !important;
  gap: 24px;
}

.threecol .ccchildpage {
  flex-basis: calc(50% - 12px);
  margin: 0 0 20px !important;
  padding: 0 18px 70px !important;
  background: linear-gradient(135deg, #06476f 0%, #0074bc 100%);
  color: #ffffff;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(6,71,111,0.18);
}

.threecol .ccchildpage h3,
.ccpage_title_link {
  color: #ffffff;
}

.ccpages_excerpt,
.ccpages_more {
  font-size: initial;
}

.ccclearfix:after {
  display: none;
}

.ccpages_more a {
  background: #ffffff;
  color: #06476f;
  padding: 9px 18px;
  margin-top: 10px;
  position: absolute;
  bottom: 18px;
  right: 18px;
  text-transform: uppercase;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.ccpages_more a:hover {
  background: #eaf5fb;
  text-decoration: none;
}

.flex.logos {
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 18px;
}

.flex.logos a {
  flex-basis: 18%;
  margin-bottom: 20px;
}

/* Blog */

.category #content-area.flex {
  flex-flow: row wrap;
}

.category #content-area.flex div.post {
  flex-basis: 48.5%;
  margin-bottom: 32px;
  padding: 22px;
  background: #f4f9fc;
  border-radius: 14px;
}

.read-more {
  display: inline-block;
  margin: 15px 0 0;
  font-weight: 900;
  color: #06476f;
}

.single h1 {
  margin-bottom: 6px;
}

.single p.post-date {
  margin-top: 0;
  font-style: italic;
  font-size: 0.85rem;
  color: #697680;
}

/* Widgets & Sidebar */

.widget-area ul {
  margin: 0;
  padding: 0;
}

.widget-area li {
  list-style: none;
}

.widget-area li.widget {
  margin-bottom: 30px;
  padding: 22px;
  background: #f4f9fc;
  border-radius: 14px;
}

.home-widgets ul.xoxo {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.home-widgets h2.widgettitle,
.home-widgets h3.widget-title {
  font-size: 1.1rem;
  color: #06476f;
}

#custom_html-3 ul {
  display: flex;
  justify-content: space-between;
}

#custom_html-3 ul ul {
  width: 100px;
  margin-right: 20px;
}

#custom_html-3 ul li {
  line-height: 30px;
}

#custom_html-3 ul ul li {
  text-align: center;
}

#custom_html-3 .fas,
#custom_html-3 .fab {
  width: 32px;
  height: 32px;
  display: block;
  background: #0074bc;
  color: #ffffff;
  line-height: 32px;
  border-radius: 50%;
}

#custom_html-3 .fas:hover,
#custom_html-3 .fab:hover {
  background: #06476f;
}

/* Forms */

.gform_page_footer input[type="button"],
.gform_page_footer input[type="submit"],
button,
input[type="submit"] {
  background: #06476f;
  color: #ffffff;
  padding: 14px 28px;
  display: inline-block;
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 900;
  cursor: pointer;
}

.gform_page_footer input[type="button"]:hover,
.gform_page_footer input[type="submit"]:hover,
button:hover,
input[type="submit"]:hover {
  background: #0074bc;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Footer */

#footer-wrapper {
  width: 100%;
  background: linear-gradient(135deg, #203d50 0%, #06476f 100%);
}

#footer {
  margin: 0 auto;
  clear: both;
  padding: 55px 0;
  color: #ffffff;
}

#footer h2,
#footer h3,
#footer a {
  color: #ffffff;
}

#footer h2,
#footer h3 {
  font-size: 1.05rem;
}

.footerul {
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.footerul li.widget {
  flex-basis: 30%;
  list-style: none;
}

.credit {
  width: 100%;
  color: #ffffff;
  background: #152633;
  padding: 12px 10px;
  font-size: 0.82rem;
}

.credit a {
  color: #ffffff;
  float: right;
}

.credit p {
  margin: 0;
}

.fouroneeight {
  float: right;
}

/* Responsive */

@media only screen and (max-width: 1376px) {
  #footer,
  #content-area,
  #main-btns,
  #header,
  #menu,
  .home .metaslider .caption {
    width: 90%;
  }
}

@media only screen and (max-width: 1250px) {
  .grid ul li {
    flex-basis: 31.5%;
  }

  .grid ul li:nth-of-type(7),
  .grid ul li:nth-of-type(8) {
    flex-basis: 48.5%;
  }
}

@media only screen and (max-width: 1023px) {
  #menu-wrapper {
    min-height: 56px;
  }

  #menu-contact {
    display: block;
  }

  .main-menu {
    float: none;
  }

  #main-btns {
    flex-flow: row wrap;
    margin: 20px auto;
  }

  #main-btns div {
    flex-basis: 50%;
  }

  .block.intro {
    padding-top: 30px;
  }

  .block.three-cols {
    flex-flow: row wrap;
  }

  .block.three-cols div.col {
    flex-basis: 50%;
    min-height: 340px;
  }

  .block.three-cols div.col:last-of-type {
    flex-basis: 100%;
    min-height: 260px;
  }

  #content-area.flex {
    gap: 26px;
  }
}

@media only screen and (max-width: 900px) {
  #footer,
  #content-area,
  #main-btns,
  #header,
  #menu,
  .home .metaslider .caption {
    width: 94%;
  }

  .grid ul li {
    flex-basis: 48%;
  }

  #header-right {
    width: 300px;
  }

  #custom_html-3 ul.main {
    flex-flow: row wrap;
  }

  #custom_html-3 ul.main > li:first-of-type {
    flex-basis: 100%;
  }

  #custom_html-3 ul.social {
    float: right;
  }

  .home .metaslider img {
    min-width: 145%;
    margin-left: -32% !important;
  }

  .home .metaslider .caption h2 {
    width: 88%;
  }

  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.18rem;
  }
}

@media only screen and (max-width: 800px) {
  .home-widgets ul.xoxo {
    flex-flow: row wrap;
  }

  .home-widgets ul.xoxo li {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  #content-area.flex {
    flex-flow: row wrap;
  }

  #left-col,
  #right-col {
    flex-basis: 100%;
  }

  #page-widgets {
    margin-top: 30px;
  }

  #page-widgets #main-btns div {
    flex-basis: 50%;
  }

  .flex.logos a {
    flex-basis: 24%;
  }

  .category #content-area.flex div.post,
  .threecol .ccchildpage {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 700px) {
  #header-right {
    display: none;
  }

  .main-logo img {
    display: block;
    margin: 0 auto;
  }

  .footerul li.widget {
    flex-basis: 48%;
  }

  .main-menu ul li a {
    font-size: 0.8rem;
    padding: 14px 7px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    font-size: 95%;
  }

  #header {
    padding: 14px 0;
  }

  .home .metaslider .caption h1 {
    font-size: 1.18rem;
  }

  .home .metaslider .caption h2 {
    font-size: 0.98rem;
    margin-top: 12px;
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.18rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  .block.three-cols div.col {
    flex-basis: 100%;
    min-height: 250px;
  }

  .block.three-cols .overlay {
    padding: 42px 18px;
  }

  .grid ul li {
    flex-basis: 100%;
  }

  .flex.logos a {
    flex-basis: 31%;
  }

  .footerul li.widget {
    flex-basis: 100%;
  }

  #main-btns div {
    flex-basis: 100%;
    min-height: 170px;
  }

  #main-btns div a {
    padding: 70px 22px 20px;
  }

  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 15px auto;
  }
}

@media only screen and (max-width: 500px) {
  #custom_html-2 ul {
    width: 100%;
  }

  .main-menu ul li {
    float: none;
    width: 100%;
  }

  .main-menu ul li a {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  ul.sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  ul.menu li:hover ul.sub-menu li:hover ul {
    left: 0;
    top: 0;
  }

  .credit a,
  .fouroneeight {
    float: none;
    display: block;
    margin-top: 6px;
  }
}
```
