/*

 Theme Name:   GeneratePress Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/

/* Quilon Font Family */
@font-face {
    font-family: 'Quilon';
    src: url('fonts/Quilon-Bold.woff2') format('woff2'),
         url('fonts/Quilon-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quilon';
    src: url('fonts/Quilon-Medium.woff2') format('woff2'),
         url('fonts/Quilon-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quilon';
    src: url('fonts/Quilon-Regular.woff2') format('woff2'),
         url('fonts/Quilon-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Rowan Font Family */
@font-face {
    font-family: 'Rowan';
    src: url('fonts/Rowan-Bold.woff2') format('woff2'),
         url('fonts/Rowan-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rowan';
    src: url('fonts/Rowan-Italic.woff2') format('woff2'),
         url('fonts/Rowan-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rowan';
    src: url('fonts/Rowan-Light.woff2') format('woff2'),
         url('fonts/Rowan-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rowan';
    src: url('fonts/Rowan-Regular.woff2') format('woff2'),
         url('fonts/Rowan-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


h1, h2, h3 {
    font-family: 'Quilon', sans-serif;
    font-weight: 500;
}

body {
    font-family: 'Rowan', serif;
    font-weight: 400;
}

.gb-menu-link {
    justify-self: center;
}

.green-bar {
  width: 80px;
  height: 8px;
  background-color: #84A98C; /* or your preferred green */
  border-radius: 4px;
  margin-bottom: 32px;
}

.green-bar-dark {
  width: 20%;
  height: 8px;
  background-color: #52796F; /* or your preferred green */
  border-radius: 4px;
  margin-bottom: 32px;
}

@media (max-width: 1349px) {
 .curved-lines {
   left: -32px!important;
 }
}

@media (max-width: 1249px) {
 .curved-lines svg {
   display: none;
 }
}

.rowan-font {
    font-family: Rowan;
}

@media (max-width: 679px) {
 .arrow svg {
   display: none;
 }
}

.main-navigation.toggled .main-nav>ul {
    background: transparent;
}

.main-navigation .main-nav ul li a, 
.main-navigation .menu-toggle, 
.main-navigation .menu-bar-items {
    color: var(--contrast);
    font-size: 22px;
}

@media (min-width: 1024px) {
    .main-navigation .main-nav ul li a, 
    .main-navigation .menu-toggle, 
    .main-navigation .menu-bar-items {
        border-radius: 99px;
    }
}

 @media (max-width: 768px) {
    .has-inline-mobile-toggle .mobile-menu-control-wrapper {
        border-radius: 10px;
        overflow: hidden;
        background-color: var(--base-1);
        transition: background-color 0.1s ease, color 0.1s ease;

    }
}

.mobile-menu-control-wrapper button {
    padding: 8px;
}

.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
    background-color: var(--base-1);
}

html.mobile-menu-open .inside-header {
  background: var(--base-2);
  transition: background-color 0.1s ease, color 0.1s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .inside-navigation a {
        background-color: transparent;
        color: var(--contrast);
        font-size: 22px;
        border-bottom: 1px solid var(--base);
    }
}

.has-inline-mobile-toggle #site-navigation.toggled {
    margin-bottom: 1.5rem;
}


/* Radio Button Pill Style */
.pill-radio-style .kb-radio-check-item-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pill-radio-style .kb-radio-check-item {
  position: relative;
  margin: 0;
}

.pill-radio-style .kb-radio-style {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-radio-style .kb-radio-check-item label {
  display: inline-block;
  padding: 12px 16px!important;
  border: 2px solid #e5e5e5;
  border-radius: 99px;
  background-color: transparent;
  color: #666;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  margin: 0;
}

.pill-radio-style .kb-radio-check-item label:hover {
  border-color: #ccc;
  background-color: #f8f9fa;
}

.pill-radio-style .kb-radio-style:checked + label {
  background-color: var(--contrast);
  border-color: var(--contrast);
  color: white;
}

/* .pill-radio-style .kb-radio-style:focus + label {
  outline: 2px solid #007cba;
  outline-offset: 2px;
} */

/* Optional: Different color scheme */
.pill-radio-style.accent-color .kb-radio-style:checked + label {
  background-color: #6366f1;
  border-color: #6366f1;
}

.pill-radio-style.accent-color .kb-radio-style:focus + label {
  outline-color: #6366f1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .pill-radio-style .kb-radio-check-item-wrap {
    gap: 8px;
  }
  
  .pill-radio-style .kb-radio-check-item label {
    padding: 10px 18px;
    font-size: 14px;
  }
}

.pad-bottom {
    padding-bottom: 16px!important;
}

.mar-bottom {
    margin-bottom: 16px!important;
}

.no-pad {
    padding: 0px!important;
}

.main-navigation li.current-menu-item a:hover {
    text-decoration: underline;
    background-color: var(--base-2);
}

.main-navigation li a:hover {
    text-decoration: underline;
    background-color: var(--base-2);
}

/* .site-footer {
  position: fixed;
  bottom: 0px;
  width: 100%;
} */