@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ===== Base Dingle: Fonts ===== */

@font-face {
  font-family: 'BaseDingle Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Barlow Regular'), local('Barlow-Regular'),
       url('@CUST@fonts/Barlow-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'BaseDingle Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local('Barlow ExtraBold'), local('Barlow-ExtraBold'),
       url('@CUST@fonts/Barlow-ExtraBold.woff2') format('woff2');
}

/* ===== Base Dingle: Font ===== */
:root, :host {
    --font-stack-sans-serif: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --border-radius-1x: 0px;
}

/* ===== Base Dingle: Header ===== */

.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sticky .header {
  box-sizing: border-box;
  width: 100%;
  height: 85px;
  background-color: #2d432b;
  font-family: 'BaseDingle Barlow', 'Barlow', sans-serif;
}

.sticky .header .container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1540px;
  height: 85px;
  margin: 0 auto;
  padding-block: 0;
  padding-inline-start: 20px;
  padding-inline-end: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky .header .invisible-flex-item {
  display: none;
}

.sticky .header .logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
}

.sticky .header .logo img {
  display: block;
  height: 55px;
  width: auto;
}

.sticky .header .backtosite {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
}

.sticky .header .backtosite a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  height: 57px;
  padding: 14px 20px;
  background-color: #ffc809;
  color: #172a16;
  font-family: 'BaseDingle Barlow', 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 29px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.35s linear;
  position: relative;
  overflow: hidden;
  
  &:after {
  content:"";
  background: #ffc809;
  position:absolute;
  left:-100%;
  right:100%;
  top:0;
  bottom:0;
  width: 100%;
  transition: all 0.35s;
  }
}

.sticky .header .backtosite a:hover {
    color: #ffffff;
    z-index:2;
  
   &:after {
     background: #243838;
     bottom: 0;
     left: 0;
     right: 0;
     top: 0;
     z-index:-1 
  }
}

.sticky .header .backtosite a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Mobile: 66px header, logo and button on one row */
@media (max-width: 699px) {
  .sticky .header,
  .sticky .header .container {
    height: 66px;
  }

  .sticky .header .logo img {
    height: 40px;
  }

  .sticky .header .backtosite a {
    height: 48px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* ===== Base Dingle Footer ===== */

.footer {
  display: block;
  background-color: #172a16;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  width: 100%;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer a:hover {
  color: #ffeca7;
}

.footer a:focus-visible {
  outline: 2px solid #ffeca7;
  outline-offset: 3px;
}

.footer .container {
  box-sizing: border-box;
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer p {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.footer h3 {
    font-family: "Barlow", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 1.44px;
    text-transform: none;
    text-align: left;
    color: #ffffff;
    margin: 0 0 30px;
}

/* Top row: links, centred */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 30px 0 20px;
  border-bottom: 1px solid #53504d;
  text-align: center;
}

.footer-links a {
  font-weight: 400;
}

/* Middle content: two equal columns */
.footer-main {
  display: flex;
  align-items: stretch;
  padding: 50px 0 40px;
}

.footer-main > .footer-logo,
.footer-main > .right {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
}

/* Left column: logos, centred */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  border-right: 1px solid #53504d;
}

.footer-logo .main-logo img {
  display: block;
  height: 112px;
  width: auto;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 69px;
  width: 100%;
}

.logo-row img {
  display: block;
  height: 90px;
  width: auto;
}

/* Right column: contact and socials on the right side */
.footer-main .right {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 120px;
    padding-left: 72px;
}

.contact-column {
  min-width: 0;
  text-align: left;
  i{
    color: #ffc809;
    margin: 0 10px 0 0;
  }
}

.contact-column h3,
.contact-column p {
  text-align: left;
}

.socials-column {
  min-width: 0;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  font-size: 22px;
  line-height: 1;
}

/* Eircode line */
.footer .eircode-label {
  color: #ffc809;
}

.gds-codes {
  font-size: 14px;
}

/* Copyright bar: full width, 80px high, text left and right */
.copyright-bar {
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  background-color: #172a16;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.copyright-bar .container {
  box-sizing: border-box;
  height: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-bar p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
}

.copyright-bar a {
  color: #ffffff;
  text-decoration: underline;
}

/* Screen-reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive: stack the two columns on small screens */

.footer-main .right {
    justify-content: flex-start;
  }

@media (max-width: 1199px) {
  .footer-main {
    flex-direction: column;
  }

  .footer-main > .footer-logo,
  .footer-main > .right {
    flex: 0 0 auto;
    width: 100%;
  }

.footer-main .right {
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 40px 0 0 0;
  }

  .footer-logo {
    padding: 0 0 40px;
    border-right: none;
    border-bottom: 1px solid #53504d;
  }

  .right {
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    padding-left: 0;
    padding-top: 40px;
    align-items: center;
  }

.footer-logo .main-logo img {
    display: block;
    height: auto;
    width: 120px;
}

.logo-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    row-gap: 20px;
}

.logo-row img {
    display: block;
    height: auto;
    width: 100%;
}

  .socials a {
    font-size: 20px;
  }

  .copyright-bar .container {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

.contact-column h3, .contact-column p {
    text-align: center;
}

.socials {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.sticky .header .backtosite a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 37px;
    padding: 7px 10px;
    background-color: #ffc809;
    color: #172a16;
    font-family: 'BaseDingle Barlow', 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 17px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.5s ease-in-out;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 24px;
    row-gap: 16px;
    padding: 30px 0 20px;
    border-bottom: 1px solid #53504d;
    text-align: center;
}

}

/* Changes to Content */

#ipulse {
    width: 100%;
    max-width: 1540px;
    margin: auto;
}

.monthSelector .avvio-modal__main--scroll {
    background: var(--base-depth);
    padding-top: 16px;
}

.paragraph {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
}

.info-bar-container .item {
        width: unset;
        min-width: unset;
}

.main-width {
    width: 100%;
    max-width: 1540px;
    margin: auto;
    display: flex;
    padding: 0 16px;
}

.button--small .button__text {
    font-size: 14px;
    line-height: 20px;
}

.button--branded {
    color: var(--text-over-branding);
    background-color: var(--branding-default);
    border: 1px solid var(--border-surface);
    text-transform: uppercase;
    transition: all 0.35s linear;
    position: relative;
    overflow: hidden;
    span{
      font-weight: 700;
      letter-spacing: 1.1px;
    }

  &:after {
  content:"";
  background: var(--branding-default);
  position:absolute;
  left:-100%;
  right:100%;
  top:0;
  bottom:0;
  transition: all .35s;
  width: 100%;
  }
}

.button--branded:hover {
    color: #172a16;
    background-color: var(--branding-hovered);
    border: 1px solid var(--border-surface);
    z-index: 2;
    transition: left 0.35s ease-in-out; 

   &:after {
     background: #ffc809;
     bottom: 0;
     left: 0;
     right: 0;
     top: 0;
     z-index:-1
  }
}

@media screen and (max-width: 1024px) {
    .info-bar-container {
        padding: 0 16px;
    }
}

@media screen and (max-width: 744px) {
  .info-bar-container {
        padding: 0 8px;
    }
}