/*
Theme Name: Giko Accessibility Theme
Theme URI: https://giko.google.com
Author: Giko
Author URI: https://giko.google.com
Description: An accessible theme for wordpress.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: accessibility-ready, custom-menu, post-formats, editor-style, threaded-comments
Text Domain: giko-accessibility-theme
*/
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
ul,
li {
  margin: 0;
  padding: 0;
  line-height: 1.4em;
}

body {
  font-family: "Roboto", sans-serif;
}
body #page {
  max-width: 1920px;
  margin: 0 auto;
}

a {
  color: #A13030;
  text-decoration: none;
}
a:hover, a:focus {
  color: #333;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #A13030;
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem 0;
  color: #333;
}

.site-header {
  padding: 2rem 0;
  background-color: #fff;
  border-bottom: 1px solid #79b791;
  margin-bottom: 2rem;
}
.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title a {
  color: #333;
  font-size: 1.5rem;
  font-weight: 700;
}

.main-navigation {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 42;
  padding: 2rem;
  overflow-y: auto;
  box-sizing: border-box;
}
.main-navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 4rem;
}
.main-navigation a {
  color: #A13030;
  font-weight: 700;
  font-size: 1.5rem;
}
@media screen and (min-width: 769px) {
  .main-navigation {
    width: 33.33%;
  }
}

.menu-toggled .main-navigation {
  transform: translateX(0);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 41;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.menu-toggled .overlay {
  opacity: 1;
  visibility: visible;
}

.menu-toggle {
  display: block;
  background: transparent;
  color: #333;
  border: none;
  cursor: pointer;
  z-index: 40;
  position: relative;
  padding: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.menu-toggle:hover, .menu-toggle:focus {
  color: #2d3142;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.menu-toggled .hamburger-line {
  background-color: #2d3142;
}

.close-menu-toggle {
  position: absolute;
  top: 3rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  line-height: 1;
}
.close-menu-toggle:hover, .close-menu-toggle:focus {
  color: #2d3142;
}

.text-and-image-block {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  margin: 2rem 0;
}
@media screen and (max-width: 768px) {
  .text-and-image-block {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .text-and-image-block .text-and-image-block__content {
    padding: 0 2rem;
  }
}
@media screen and (min-width: 769px) {
  .text-and-image-block.hero {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    top: 0px;
    width: 100%;
    height: calc(-120px + 100vh);
    min-height: 768px;
    max-height: 1080px;
    overflow: hidden;
  }
  .text-and-image-block.hero .text-and-image-block__image {
    position: absolute;
    top: 0;
    z-index: 1;
    backface-visibility: hidden;
    transform: translateZ(0px);
    left: 50%;
    width: 50%;
  }
  .text-and-image-block.hero .text-and-image-block__content {
    width: 100%;
    max-width: 1200px;
    padding-right: 40px;
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 30;
  }
  .text-and-image-block.hero .text-and-image-block__content .text {
    line-height: 2;
    padding: 2px 0;
    margin: 20px auto;
  }
  .text-and-image-block.hero .text-and-image-block__content .text h1,
  .text-and-image-block.hero .text-and-image-block__content .text h2,
  .text-and-image-block.hero .text-and-image-block__content .text h3,
  .text-and-image-block.hero .text-and-image-block__content .text h4,
  .text-and-image-block.hero .text-and-image-block__content .text h5,
  .text-and-image-block.hero .text-and-image-block__content .text p {
    line-height: 2;
  }
  .text-and-image-block.hero .text-and-image-block__content .text h1 {
    font-size: 48px;
  }
  .text-and-image-block.hero .text-and-image-block__content .text h2 {
    font-size: 32px;
  }
  .text-and-image-block.hero .text-and-image-block__content .text p {
    font-size: 18px;
  }
  .text-and-image-block.hero .text-and-image-block__content .text span {
    transform: translate(0px, 0px);
    background-color: rgb(255, 255, 255);
    display: inline;
    padding: 0.45rem;
    -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
  }
}
.text-and-image-block.boxed {
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.text-and-image-block.boxed .text-and-image-block__image img {
  width: 100%;
  height: auto;
}
.text-and-image-block__buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}
@media screen and (max-width: 768px) {
  .text-and-image-block__buttons {
    justify-content: space-around;
  }
}
.text-and-image-block__buttons .btn {
  background-color: #A13030;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}
.text-and-image-block__buttons .btn:hover {
  background-color: #2d3142;
}
.text-and-image-block__image {
  position: relative;
}
.text-and-image-block__image img {
  max-width: 100%;
  height: auto;
  filter: contrast(1.3) grayscale(1);
}
.text-and-image-block__image:after {
  content: "";
  display: block;
  background: rgba(161, 48, 48, 0.3);
  width: 100%;
  inset: 0;
  position: absolute;
  top: 0;
}

.featured-taxonomy-block {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1200px;
  margin-bottom: 5vh;
}
@media screen and (max-width: 768px) {
  .featured-taxonomy-block {
    padding: 0 2rem;
  }
}
.featured-taxonomy-block__header-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.featured-taxonomy-block__header-wrapper .arrow {
  display: none;
}
@media screen and (max-width: 768px) {
  .featured-taxonomy-block__header-wrapper .text {
    display: none;
  }
  .featured-taxonomy-block__header-wrapper .arrow {
    display: block;
  }
}
.featured-taxonomy-block__posts {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .featured-taxonomy-block__posts {
    flex-direction: column;
    gap: 2rem;
  }
}
.featured-taxonomy-block__posts .featured-taxonomy-block__post {
  width: 30%;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .featured-taxonomy-block__posts .featured-taxonomy-block__post {
    width: 100%;
  }
}
.featured-taxonomy-block__posts .featured-taxonomy-block__post-image {
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 1rem;
  overflow: hidden;
}
.featured-taxonomy-block__posts .featured-taxonomy-block__post-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.2);
  transition: all 0.3s;
}
.featured-taxonomy-block__posts .featured-taxonomy-block__post-image img:hover {
  filter: saturate(1);
  width: 101%;
  height: 101%;
}
.featured-taxonomy-block__posts .featured-taxonomy-block__post-title {
  font-size: 1.1rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

nav.navigation.pagination {
  text-align: center;
  margin: 2rem 0;
}
nav.navigation.pagination .page-numbers {
  display: inline-block;
  margin: 0 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #79b791;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
}
nav.navigation.pagination .page-numbers.current {
  background-color: #A13030;
  color: #fff;
  border-color: #A13030;
}
nav.navigation.pagination .page-numbers:hover, nav.navigation.pagination .page-numbers:focus {
  background-color: #2d3142;
  color: #fff;
  border-color: #2d3142;
}

.site-footer {
  background-color: #465681;
  color: #fff;
  padding: 4rem 0;
  margin-top: 4rem;
}
.site-footer .footer-widgets {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer .footer-widgets > .container .icon path {
  fill: white;
}
@media screen and (orientation: portrait) {
  .site-footer .footer-widgets > .container ul {
    padding: 0 30px;
  }
}
.site-footer .footer-widgets > .container ul li,
.site-footer .footer-widgets > .container ul .flex-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.site-footer .footer-widgets .container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer .footer-widgets .footer-widget-area {
  width: calc(50% - 1rem);
}
@media screen and (max-width: 768px) {
  .site-footer .footer-widgets .footer-widget-area {
    width: 100%;
  }
}
.site-footer .widget {
  margin-bottom: 2rem;
}
.site-footer .widget .widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.5rem;
}
.site-footer .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .widget ul li {
  margin-bottom: 0.5rem;
}
.site-footer .widget a {
  color: #fff;
  text-decoration: none;
}
.site-footer .widget a:hover, .site-footer .widget a:focus {
  text-decoration: underline;
}
.site-footer .site-info {
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid #fff;
  padding-top: 2rem;
}

.archive .posts-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .archive .posts-container {
    flex-direction: column;
    gap: 2rem;
  }
}
.archive .posts-container article {
  width: 32%;
  padding: 10px 5px;
  margin: 5px 0;
  border-radius: 5px;
  transition: all 0.2s;
  border: solid 1px white;
}
.archive .posts-container article:hover {
  border: solid 1px #A13030;
}
@media screen and (max-width: 768px) {
  .archive .posts-container article {
    width: 100%;
  }
}
.archive .posts-container article .entry-header {
  margin-bottom: 1rem;
}
.archive .posts-container article .entry-header .entry-title {
  font-size: 1.25rem;
  color: #333;
  font-weight: 700;
  height: 2em;
}
.archive .posts-container article .entry-header .entry-meta {
  font-size: 0.875rem;
  color: #777;
}
.archive .posts-container article .entry-content .thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1rem;
}
.archive .posts-container article .entry-content .thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  border-radius: 8px;
}

.wp-singular .posts-grid article {
  max-width: 1200px;
  margin: 0 auto;
}
.wp-singular .posts-grid article .post-card-image {
  margin-bottom: 40px;
}
.wp-singular .posts-grid article .post-card-image a {
  display: block;
  width: 100%;
}
.wp-singular .posts-grid article .post-card-image a img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 768px) {
  .wp-singular .posts-grid article .post-card-content {
    padding: 0 20px;
  }
}
.wp-singular .posts-grid article .post-card-content .content {
  margin-top: 40px;
}
.wp-singular .posts-grid article .post-card-content .content img {
  max-width: 100%;
}
.wp-singular .posts-grid article .post-card-content .content ul {
  padding-left: 4em;
}

.wpcf7 {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}
.wpcf7 .screen-reader-response {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wpcf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.wpcf7 .wpcf7-form.init .wpcf7-form-control:not(.wpcf7-submit) {
  opacity: 1;
}
.wpcf7 .wpcf7-form .hidden-fields-container {
  border: none;
  padding: 0;
  margin: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}
.wpcf7 .wpcf7-form p {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.wpcf7 .wpcf7-form label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  display: block;
}
.wpcf7 .wpcf7-form label br {
  display: none;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #79b791;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control:focus {
  outline: 2px solid #A13030;
  outline-offset: 2px;
  border-color: #A13030;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control:invalid {
  border-color: #dc3545;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control:invalid:focus {
  outline-color: #dc3545;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-text, .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-email, .wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
  resize: vertical;
  min-height: 2.5rem;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
  min-height: 120px;
  padding: 0.75rem 1rem;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-validates-as-required::-moz-placeholder {
  color: #777;
}
.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-validates-as-required::placeholder {
  color: #777;
}
.wpcf7 .wpcf7-form .wpcf7-response-output {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
  display: none;
}
.wpcf7 .wpcf7-form .wpcf7-response-output[role=alert], .wpcf7 .wpcf7-form .wpcf7-response-output[class*=sent], .wpcf7 .wpcf7-form .wpcf7-response-output[class*=success] {
  display: block;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}
.wpcf7 .wpcf7-form .wpcf7-response-output[class*=error], .wpcf7 .wpcf7-form .wpcf7-response-output[class*=failed] {
  display: block;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}
.wpcf7 .wpcf7-form .wpcf7-response-output[class*=invalid] {
  display: block;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}
.wpcf7 .wpcf7-form .wpcf7-submit {
  padding: 0.75rem 2rem;
  background-color: #A13030;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.wpcf7 .wpcf7-form .wpcf7-submit:hover {
  background-color: #2d3142;
}
.wpcf7 .wpcf7-form .wpcf7-submit:focus {
  outline: 2px solid #2d3142;
  outline-offset: 2px;
}
.wpcf7 .wpcf7-form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.wpcf7 .wpcf7-form .wpcf7-submit .wpcf7-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.wpcf7 .wpcf7-form .wpcf7-submit .wpcf7-spinner.is-active {
  display: block;
}
@media screen and (max-width: 768px) {
  .wpcf7 .wpcf7-form {
    gap: 1.5rem;
  }
  .wpcf7 .wpcf7-form p {
    gap: 0.5rem;
  }
  .wpcf7 .wpcf7-form .wpcf7-submit {
    width: 100%;
    justify-content: center;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
:root {
  /* Typography */
  --primary-font: $primary-font;
  --heading-font: var(--primary-font);
  --base-font-size: 1rem;
  --line-height: 1.7;
  /* Colors */
  --text-color: $text-color;
  --heading-color: $primary-color;
  --primary-color: $primary-color;
  --muted-color: #777;
  --border-color: $border-color;
  --code-bg: #f4f4f4;
  /* Layout */
  --content-width: 65ch;
  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
}

/* ---------------------
   Base content styles
   --------------------- */
.wp-singular.single {
  font-family: var(--primary-font);
  font-size: var(--base-font-size);
  line-height: var(--line-height);
  color: var(--text-color);
  /* Vertical rhythm */
  /* Max readable width for text blocks */
  /* ---------------------
     Links & inline text
     --------------------- */
  /* ---------------------
     Headings
     --------------------- */
  /* ---------------------
     Images
     --------------------- */
  /* ---------------------
     Blockquotes
     --------------------- */
  /* ---------------------
     Lists
     --------------------- */
  /* ---------------------
     Media & Text block
     --------------------- */
  /* ---------------------
     Separator
     --------------------- */
  /* ---------------------
     Gallery (neutral / ignored)
     --------------------- */
}
.wp-singular.single > * {
  margin-bottom: var(--space-md);
}
.wp-singular.single p,
.wp-singular.single ul,
.wp-singular.single ol,
.wp-singular.single blockquote {
  max-width: var(--content-width);
}
.wp-singular.single a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.wp-singular.single a:hover {
  opacity: 0.75;
}
.wp-singular.single strong {
  font-weight: 600;
}
.wp-singular.single em {
  font-style: italic;
}
.wp-singular.single code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--code-bg);
  padding: 0.15em 0.35em;
  border-radius: 4px;
}
.wp-singular.single .wp-block-heading {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.wp-singular.single .wp-block-heading:first-child {
  margin-top: 0;
}
.wp-singular.single h2.wp-block-heading {
  font-size: 2rem;
}
.wp-singular.single h3.wp-block-heading {
  font-size: 1.5rem;
}
.wp-singular.single h4.wp-block-heading {
  font-size: 1.2rem;
}
.wp-singular.single .wp-block-image {
  margin: var(--space-lg) 0;
}
.wp-singular.single .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}
.wp-singular.single .wp-block-image.alignfull {
  margin-left: 0;
  margin-right: 0;
}
.wp-singular.single .wp-block-quote {
  margin: var(--space-lg) 0;
  padding-left: var(--space-sm);
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  color: var(--text-color);
}
.wp-singular.single .wp-block-quote p {
  margin-bottom: var(--space-xs);
}
.wp-singular.single .wp-block-quote cite {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-color);
  font-style: normal;
}
.wp-singular.single .wp-block-list {
  padding-left: 1.25rem;
}
.wp-singular.single .wp-block-list li {
  margin-bottom: var(--space-xs);
}
.wp-singular.single .wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin: var(--space-xl) 0;
}
.wp-singular.single .wp-block-media-text __media img {
  width: 100%;
  height: auto;
  display: block;
}
.wp-singular.single .wp-block-media-text __content > * {
  margin-bottom: var(--space-sm);
}
@media (max-width: 768px) {
  .wp-singular.single .wp-block-media-text {
    grid-template-columns: 1fr;
  }
}
.wp-singular.single .wp-block-separator {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: var(--space-xl) 0;
}
.wp-singular.single .wp-block-gallery {
  margin: var(--space-xl) 0;
}