/* Custom CSS for Icelandic AI Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #20B766;
  --bs-teal: #20B766;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #20B766;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #121212;
  --bs-font-sans-serif: system-ui, -apple-system, , "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-btn-bg: #20B766;
}

a:hover {
  --bs-link-color-rgb: none;
}

.container.header {
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler-icon {
  background-image: url('../images/navbar_toggler_icon.svg');
  width: 22px;
  height: 24px;
}

.btn,
.wp-block-button__link {
  padding: 20px 30px;
  font-size: 18px;
  line-height: 100%;
  width: auto;
}

.btn-secondary {
  --bs-btn-color: #20B766;
  --bs-btn-bg: #DCF9EA;
  --bs-btn-border-color: #DCF9EA;
  --bs-btn-hover-color: #20B766;
  --bs-btn-hover-bg: #DCF9EA;
  --bs-btn-hover-border-color: #DCF9EA;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #20B766;
  --bs-btn-active-bg: #DCF9EA;
  --bs-btn-active-border-color: #DCF9EA;
  --bs-btn-active-shadow: none;
  --bs-btn-disabled-color: #20B766;
  --bs-btn-disabled-bg: #DCF9EA;
  --bs-btn-disabled-border-color: #DCF9EA;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #20B766;
  --bs-btn-border-color: #20B766;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #20B766;
  --bs-btn-hover-border-color: #20B766;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #20B766;
  --bs-btn-active-border-color: #20B766;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #20B766;
  --bs-btn-disabled-border-color: #20B766;
}

.container {
  padding: 0;
}

.container-fluid {
  padding: 0;
}

.accordion-body,
.accordion-header,
.accordion-button {
  text-align: left;

}

.accordion-body {
  padding: 35px 0 24px;
  min-height: 117px;
  font-size: 18px;
  line-height: 26px;
  border-bottom: 1px solid #dee2e6;
}

.accordion-button {
  border-bottom: 1px solid #dee2e6;
  padding: 10px 0 20px;

}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.accordion-item {
  border: none;
  border-radius: none;
  line-height: 26px;
  margin-top: 20px;
}

.accordion-button,
.accordion-item {
  color: #121212;
  font-weight: 300;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #dee2e6;
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: url("../images/accordion-button-icon.svg");
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
  background-color: transparent;
  color: #121212;
}

.container-full {
  width: 100%;
}

.form-control {
  font-weight: 300;
  height: 60px;
  font-size: 16px;
}

.form-control::placeholder {
  color: #BFBFBF;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

.navbar {
  padding: 18px 0;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
  box-shadow: none;
}

.custom-logo {
  width: 142px;
  height: 22px;
}

.contact-us:before,
.index:before {
  content: '';
  position: absolute;
  width: 100%;
  height: calc(100vw / 6.5);
  background: url('../images/bg-mountain.png') no-repeat center center;
  background-size: 118vw auto;
  z-index: -1;
}

.homepage:before {
  content: '';
  position: absolute;
  width: 100vw;
  top: 180px;
  height: 22.22vw;
  background: url('../images/bg-homepage.png') no-repeat center center;
  background-size: 100vw 22.22vw;
  z-index: -1;
}

.course:before {
  top: 265px;
  content: '';
  position: absolute;
  width: 100%;
  height: calc(100vw / 4.3);
  background: url('../images/bg-course.png') no-repeat center center;
  background-size: 100% auto;
  z-index: -1;
}

.about-us:before,
.about:before {
  content: '';
  position: absolute;
  width: 100vw;
  height: 18vw;
  background: url('../images/bg-about-us.png') no-repeat center center;
  background-size: 100vw 18vw;
  z-index: -1;
}

.companies:before {
  content: '';
  position: absolute;
  width: 100vw;
  height: 24vw;
  background: url('../images/bg-companies.png') no-repeat center center;
  background-size: 100vw 24vw;
  z-index: -1;
}

.buy-a-subscription:before {
  content: '';
  position: absolute;
  width: 100vw;
  height: 18.5vw;
  background: url('../images/bg-subscription.png') no-repeat center center;
  background-size: 100vw 18.5vw;
  z-index: -1;
}

.courses:before {
  content: '';
  position: absolute;
  width: 100vw;
  top: 266px;
  height: 25vw;
  background: url(../images/bg-courses.png) no-repeat center center;
  background-size: 100vw 25vw;
  z-index: -1;
}

#menu-primary-menu .menu-item {
  margin-right: 18px;
}

#menu-primary-menu .menu-item {
  margin-right: 0;
}

#menu-primary-menu .menu-item a {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  padding: 10px 0;
  color: #121212;
  text-decoration: none;
}

#menu-primary-menu .menu-item a:hover {
  color: #20B766;
}

#menu-primary-menu .menu-item:nth-last-child(2),
#menu-primary-menu .menu-item:last-child {
  text-align: center;
  border-bottom: none;
}

#menu-primary-menu .menu-item:last-child {
  margin-top: 20px;
  padding-bottom: 40px;
}

#menu-primary-menu .menu-item:nth-last-child(2) a,
#menu-primary-menu .menu-item:last-child a {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  padding: 20px 30px;
  color: #20B766;
  text-decoration: none;
  background-color: #DCF9EA;
  border-radius: 7px;
  text-align: center;
}

#menu-primary-menu .menu-item:last-child a {
  color: #fff;
  background-color: #20B766;
}

#menu-primary-menu .menu-item:nth-last-child(2) a:hover {
  background-color: #BFF9DB;
}

#menu-primary-menu .menu-item:last-child a:hover {
  background-color: #53CC8B;
}

.wp-block-cover .wp-block-embed {
  width: 100%;
  min-width: auto;
  min-height: auto;
}

.wp-block-video {
  position: relative;
}

.video-custom-play {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/icon-play.svg) no-repeat center center;
  background-size: 23%;
  cursor: pointer;
}

.wp-block-embed iframe,
.wp-block-video {
  border-radius: 10px;
  /* display: inline-block; */
}

video {
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Video poster image constraint */
video[poster] {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wp-block-video video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}


.wp-block-cover {
  padding: 60px 20px;
}

.wp-block-cover-image {
  padding: 30px 20px;
}

.wp-block-cover:has(.wp-block-embed),
.wp-block-cover:has(.wp-block-video)
{
  padding: 0;
  border-radius: 10px;
}

.icelandic-quote {
  padding-top: 30px;
  padding-bottom: 30px;
}

.icelandic-quote .wp-block-cover__background {
  background-image: url(../images/bg-quote.svg);
  background-repeat: no-repeat;
  background-position: top 1vh left 1vh;
  background-size: 10vh;
}

.icelandic-quote h3.wp-block-heading {
  line-height: 1.125;
}

.wp-block-cover.icelandic-hero-cover,
.icelandic-tags {
  margin-top: 30px;
}

h1.wp-block-heading,
h1.wp-block-post-title {
  font-size: 50px;
  line-height: 58px;
  margin-bottom: 30px;
}

h2.wp-block-heading {
  font-size: 40px;
  line-height: 48px;
}

h3.wp-block-heading {
  font-size: 30px;
  line-height: 100%;
  font-weight: 300;
}

h4.wp-block-heading {
  font-size: 24px;
  line-height: 100%;
}

.wp-block-cover {
  border-radius: 20px;
}

figure {
  margin: 0;
}

.container-full {
  width: 100%;
  padding-right: calc(var(--bs-gutter-x)* .5);
  padding-left: calc(var(--bs-gutter-x)* .5);
  margin-right: auto;
  margin-left: auto;
}

.accordion-button,
.accordion-item,
.btn-secondary,
.btn-primary,
select.icelandic-select {
  font-size: 18px;
}

body {
  font-family: "Outfit";
  color: #121212;
  font-size: 18px;
  line-height: 26px;
  font-weight: 300;
}

.btn-secondary {
  font-weight: 400;
  line-height: 100%;
  padding: 20px 30px;
  text-decoration: none;
  border-radius: 7px;
  border: none;
}

.btn-primary {
  font-weight: 400;
  line-height: 100%;
  padding: 20px 30px;
  color: #fff;
  text-decoration: none;
  background-color: #20B766;
  border-radius: 7px;
  border: none;
}

.row {
  margin: 0;
}

a {
  color: #121212;
  text-decoration: none;
}

strong {
  font-weight: 700;
}

.text-normal {
  font-size: 25px;
}

.text-small {
  font-size: 18px;
}

.index-title {
  padding-top: 30px;
}

.page-title,
.intro-left,
.intro-right,
.company-title,
.page-title-h3,
.course-about,
.hero-subscription,
.company-intro,
.hero-course {
  padding-top: 30px;
  padding-bottom: 30px;
}

.intro-right .wp-block-columns .wp-block-column:first-child {
  order: 2;
}

.wp-block-cover,
.wp-block-cover-image {
  min-height: auto;
}

.wp-block-heading {
  font-weight: 300;
}

select.icelandic-select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  color: #20B766;
  font-weight: 400;
  background: #DCF9EA url('../images/icon-select.svg') no-repeat calc(100% - 30px) 50%;
  padding: 20px 40px 20px 30px;
  border: none;
  text-align: center;
  border-radius: 7px;
}

select.icelandic-select:hover {
  background-color: #BFF9DB;
}

.page-title p,
.page-title h4 {
  font-size: 25px;
  line-height: 31.5px;
  margin: 0;
}

.top-language-menu {
  background-color: #20B766;
  padding: 5px 20px 5px 0;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.top-language-menu span {
  color: white;
  font-size: 12px;
  line-height: 15px;
}

.top-language-menu a {
  display: inline-block;
}

.top-language-menu img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-left: 6px;
}

.row-fqa .wp-block-cover {
  padding-left: 0;
  padding-right: 0;
}

.tags {
  margin-top: 60px;
  margin-bottom: 30px;
}

#menu-primary-menu .menu-item:last-child a {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
  text-decoration: none;
  background-color: #20B766;
}

.tags .row {
  display: block;
  text-align: center;
}

.tag {
  font-family: "Outfit";
  display: inline-block;
  width: auto;
  text-align: center;
  background: #20B766;
  color: #fff;
  line-height: 100%;
  font-weight: 400;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease-in-out;
  padding: 10px 10px;
  border-radius: 20px;
  margin: 10px 15px;
}

.tag-light {
  color: #20B766;
  background: #DCF9EA;

}

.rotate-1 {
  rotate: -9.21deg;
}

.rotate-2 {
  rotate: 6.64deg;
}

.rotate-3 {
  rotate: -5.03deg;
}

.rotate-4 {
  rotate: 5.19deg;
}

.fade-in {
  animation: fadeInDown 0.5s ease-in-out forwards;
}

.delay-1 {
  animation-delay: 7.6s;
}

.delay-2 {
  animation-delay: 7s;
}

.delay-3 {
  animation-delay: 6.4s;
}

.delay-4 {
  animation-delay: 5.8s;
}

.delay-5 {
  animation-delay: 5.2s;
}

.delay-6 {
  animation-delay: 4.8s;
}

.delay-7 {
  animation-delay: 4.2s;
}

.delay-8 {
  animation-delay: 3.6s;
}

.delay-9 {
  animation-delay: 3s;
}

.delay-10 {
  animation-delay: 2.4s;
}

.delay-11 {
  animation-delay: 1.8s;
}

.delay-12 {
  animation-delay: 1.2s;
}

.delay-13 {
  animation-delay: 0.6;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-300px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel .swiper-slide {
  background: #DCF9EA;
  text-align: center;
  border-radius: 31px;
  padding: 15px 30px 30px;
}

.custom-signup-form {
  background: #e3f9e3;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  margin: auto;
}

.custom-signup-form .form-title {
  font-size: 18px;
  color: #222;
  font-weight: 500;
  margin-bottom: 15px;
}

.input-group {
  display: flex;
  align-items: center;
  border: 2px solid #a8e6a3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.input-group input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 16px;
  outline: none;
}

.input-group-append {
  display: flex;
}

.btn-signup {
  background: #f05a40;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
}

.btn-signup:hover {
  background: #d94832;
}

.has-white-color {
  color: #fff;
}

.has-white-background-color {
  background-color: #fff;
}

.has-black-color {
  color: #000;
}

.has-black-background-color {
  background-color: #000;
}

.has-primary-color {
  color: #20B766;
}

.has-primary-background-color {
  background-color: #20B766;
}

.has-secondary-color {
  color: #DCF9EA;
}

.has-secondary-background-color {
  background-color: #DCF9EA;
}

.has-light-purple-color {
  color: #E3CDFF;
}

.has-light-purple-background-color {
  background-color: #E3CDFF;
}

.has-dark-purple-color {
  color: #9747FF;
}

.has-dark-purple-background-color {
  background-color: #9747FF;
}

.has-light-orange-color {
  color: #FFC3B7;
}

.has-light-orange-background-color {
  background-color: #FFC3B7;
}

.has-dark-orange-color,
.text-danger {
  color: #F15D41 !important;
}

.has-dark-orange-background-color {
  background-color: #F15D41;
}

.wp-block-group.icelandic-home-cta {
  padding: 0;
}

.icelandic-home-cta .wp-block-cover__background {
  border-radius: 20px;
}

.icelandic-home-cta .wp-block-cover {
  padding: 50px 60px;
}

.company-intro .wp-block-heading,
.hero-subscription .wp-block-heading {
  margin-bottom: 30px;
}

.company-intro .wp-block-buttons {
  text-align: center;
  display: block;
}

.wp-block-heading {
  margin-bottom: 30px;
}

.wp-block-buttons {
  margin-top: 50px;
}

.testimonial .custom-carousel-wrapper .swiper-slide {
  background: #ffffff;
  padding: 30px;
  border-radius: 25px;
  margin-bottom: 30px;
  max-width: 400px;
}

footer {
  font-size: 18px;
  line-height: 26px;
}

footer ul {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}
footer .social-menu {
  gap: 20px;
}
footer .social-menu img{
  width: 35px;
}

footer .company-menu-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .company-menu-list li {
  display: block;
}

footer .company-menu-list img {
  width: 100px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

footer .company-menu {
  align-self: flex-end;
  text-align: center;
}
footer ul{
  padding-left: 0;
}
footer .footer-menu .menu-item a {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  line-height: 100%;
  color: #121212;
  text-decoration: none;
  margin-right: 30px;
}

footer .footer-menu .menu-item a:hover {
  color: #20B766;
}

footer .footer-menu .menu-item:last-child a {
  margin-right: 0;
}

footer .footer-menu .menu-item:first-child a {
  padding-left: 0;
}

footer .footer-subscribe-form {
  margin-top: 20px;
  padding: 14px;
  background: #DCF9EA;
  display: flex;
  justify-content: center;
}

footer .footer-subscribe-form form {
  max-width: 520px;

}

footer .footer-subscribe-form p {
  display: flex;
}

.footer-subscribe-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 63px;
}

footer .sign-up-form {
  margin-top: 40px;
}

.wpcf7-spinner {
  margin: 0;
  width: 0;
  height: 0;
}

::placeholder {
  color: #bfbfbf;
  opacity: 1;
  /* Firefox */
}

::-ms-input-placeholder {
  /* Edge 12-18 */
  color: #bfbfbf;
}

input:placeholder-shown {
  color: #bfbfbf;
}

select.wpcf7-select {
  color: #bfbfbf;
}

select.wpcf7-select option {
  color: #121212;
}

.footer-subscribe-form .btn {
  height: 63px;
  margin-left: -2px;
  z-index: 1;
}

.index {
  padding-bottom: 30px;
}

.main-content, .index {
  position: relative;
  border-bottom: 1px solid #20B766;
}

.homepage.main-content {
  border-bottom: none;
}

.courses,
.contact-us {
  padding-bottom: 60px;
}

#course-filter {
  padding-top: 60px;
  padding-bottom: 30px;
}

.course-filter h3 {
  font-weight: 300;
  line-height: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: baseline;
}

.course-filter h3 .text {
  margin-bottom: 15px;
}

.course-filter .text-mid {
  margin-left: 10px;
  margin-right: 10px;
}

.course-filter .input {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 26px;
  align-items: baseline;
}


.course-filter .text-danger {
  display: block;
}

.course-filter .text-danger {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 300;
  display: block;
  text-align: left;
}

.course-about p {
    margin-top: 30px;
}

.find-your-level-title {
  margin-bottom: 60px;
}

select.icelandic-select:focus-visible {
  outline: none;
}

.row-find-your-level {
  padding-top: 60px;
  padding-bottom: 60px;
}

.row-find-your-level .icelandic-find-your-level {
  margin-bottom: 15px;
}

.card-course .btn-secondary {
  margin: 40px auto 60px;
}

.courses .card-list {
  align-items: stretch;
  flex-wrap: wrap;
}

.card-list .card-body .courses-check-list {
  padding: 0 20px;
}

.card-list .card-body .btn-secondary {
  position: absolute;
  bottom: 0;
  left: 50%;
}

.card-list .course-item {
  max-width: 400px;
  margin-top: 60px;
  display: flex;
}

.card-list .course-item .card-course {
  border: 1px solid var(--card-accent-color, #DCF9EA);
  position: relative;
  border-radius: 20px;
  max-width: calc(100% - 20px);
}

.card-list .course-item .card-course:before {
  content: "";
  position: absolute;
  top: 80px;
  left: 0px;
  width: calc(100% + 20px);
  height: calc(100% - 50px);
  z-index: -1;
  background: var(--card-accent-color, #DCF9EA);
  border-radius: 20px;
}

.card-course .card-title {
  font-weight: 300;
  line-height: 100%;
  margin: 60px 0 0;
}

.card-course .price {
  margin-top: 8px;
  font-weight: 700;
  font-size: 70px;
  line-height: 85px;
  color: #20B766;
}

.unit {
  font-size: 30px;
}

.card-course .thumbnail {
  margin-top: 40px;
  min-height: 79px;
}

.card-course .thumbnail img {
  height: 79px;
  width: 126px;
}

.main-content ul {
  list-style: none;
}


.main-content ul li {
  text-align: left;
  font-size: 18px;
  line-height: 100%;
  vertical-align: middle;
  position: relative;
  padding-top: 4px;
  padding-left: 30px;
  margin-top: 30px;
}

.main-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-image: url('../images/icon-group.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.row-find-your-level .form-input {
  max-width: 613px;
}

.row-find-your-level .form-input input {
  text-align: center;
}

footer .custom-logo {
  width: 203px;
  height: 32px;
}

.wp-block-group.hero-course-title-group {
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-left: 0;
  padding-right: 0;
  align-items: center;
}

.hero-course-title-group h1.wp-block-heading {
  margin-top: 0;
  margin-bottom: 0;
}

.hero-course-thumbnail {
  width: 10vw;
  max-width: 100px;
  min-width: 80px;
}

.team .avatar {
  max-width: 251px;
  margin: 0 auto;
}

.team .member-name {
  margin-top: 10px;
}

.team .position {
  margin-top: 6px;
}

.team .description {
  margin-top: 30px;
}

.form-show-money {
  max-width: 827px;
  margin: 0 auto;
}

.wpcf7-form textarea {
  min-height: 138px;
}

.wpcf7-form .form-control,
.wpcf7-form .btn {
  margin-top: 40px;
}

.testimonial {
  background: #20B766;
}

.testimonial .carousel-description-text {
  color: #ffffff;
}

.testimonial .swiper-button-prev,
.testimonial .swiper-button-next {
  background-color: #ffffff;
}

.testimonial .swiper-button-prev::after,
.testimonial .swiper-button-next::after {
  color: #20B766;
}

.form-select-link {
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.form-select-link .form-select {
  max-width: 324px;
}

.form-select-link .btn {
  padding: 20px 30px;
}

.wp-block-group.hero-subscription {
  max-width: 879px;
}

.wp-block-group {
  padding-left: 20px;
  padding-right: 20px;
}

.wp-block-cover.container-fluid,
.wp-block-group.container-fluid {
  max-width: 100%;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.custom-carousel-content {
  padding-left: 20px;
}

.course-form .wp-block-button__link {
  padding: 20px 50px;
}

.course-form .price {
  margin-top: 20px;
  color: #20B766;
  font-size: 55px;
  font-weight: 700;
  line-height: 85px;
  margin-bottom: 0;
}

.course-form .wp-block-buttons {
  margin-top: 10px;
}

.subscribe-form .wpcf7-form .form-control,
.subscribe-form .wpcf7-form .btn {
  margin-top: 0;
}

.subscription-form .wp-block-heading {
  margin-bottom: 0;
}

.subscription-form h4.original-price {
  font-size: 46px;
  line-height: 85px;
}

.subscription-form h4.price {
  font-size: 70px;
  line-height: 85px;
  margin-top: 5px;
}

.original-price {
  position: relative;
  display: inline-block;
}

.original-price:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  top: 50%;
  background: #F15D41;
}

.subscription-form h4.original-price {
  font-weight: 700;
}

.subscription-form h4.price {
  font-weight: 700;
}

footer .wpcf7-form .form-control,
footer .wpcf7-form .btn {
  margin-top: 0;
}

footer {
  padding: 30px 20px;
}

footer .container .row {
  align-items: baseline;
}

#sticky_banner {
  background-color: #DCF9EA;
  text-align: center;
  position: fixed;
  padding: 10px 40px 20px;
  width: 100%;
  border-radius: 0;
  z-index: 99;
  bottom: 0;
  right: 0;
}

body:has(main.course) footer {
  padding-bottom: 170px;
}

#sticky_banner .price {
  color: #20B766;
  font-size: 55px;
  font-weight: 700;
  margin: 0;
}

.icelandic-home-courses-cover .wp-block-button__link:hover,
.btn.has-dark-orange-background-color:hover,
a.has-dark-orange-background-color:hover,
.course-form a.wp-block-button__link:hover,
#sticky_banner a.wp-block-button__link:hover {
  background-color: #FF846D !important;
}

.btn-secondary:hover {
  background-color: #BFF9DB !important;
}

.icelandic-home-cta .wp-block-button__link:hover,
.btn.btn-primary:hover {
  background-color: #53CC8B !important;
}

a.text-danger:hover {
  text-decoration: underline;
  color: #FF846D;
}

figure.wp-block-embed .wp-block-embed__wrapper::after {
  background: red;
  width: 100px;
  height: 100px;
  z-index: 99999;
}

.wpcf7-response-output {
    margin: 0 auto;
    text-align: center;
}

.intro-left .wp-block-column p,
.intro-right .wp-block-column p {
    margin-bottom: 15px;
}

.intro-left .wp-block-column p:last-child,
.intro-right .wp-block-column p:last-child {
    margin-bottom: 0;
}
/* =====================================================================
   BLOG STYLES — Icelandic AI (FINAL)
   Append to the END of assets/css/style.css
   ===================================================================== */

/* ---- Reading progress bar (all breakpoints) ---- */
#blog-reading-progress {
    position: fixed; top: 0; left: 0; height: 4px; width: 0;
    background: #20B766; z-index: 100000;
    transition: width .1s ease-out; pointer-events: none;
}

/* =====================================================================
   SINGLE POST
   ===================================================================== */
.blog-single { padding-bottom: 6rem; position: relative; }
.blog-single .blog-post-header { max-width: 820px; margin: 2.5rem auto 1.25rem; padding: 0 1rem; }
.blog-single .blog-post-cats { text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; font-weight: 700; color: #20B766; margin-bottom: .75rem; }
.blog-single .blog-post-cats a { color: inherit; text-decoration: none; }
.blog-single .blog-post-submeta { color: #6b7280; font-size: .9rem; margin-top: .5rem; }
.blog-single .blog-post-featured { max-width: 1000px; margin: 1.5rem auto 2.5rem; padding: 0 1rem; }
.blog-single .blog-post-featured img { width: 100%; height: auto; border-radius: 16px; display: block; }

/* Content + sticky left author card */
.blog-post-body { position: relative; max-width: 760px; margin: 0 auto; padding: 0 1rem; }
.blog-author-card { background: #DCF9EA; border-radius: 16px; padding: 1.5rem; text-align: center; }
.blog-author-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto .75rem; display: block; }
.blog-author-name { font-weight: 700; font-size: 1.05rem; }
.blog-author-bio { color: #33614a; font-size: .9rem; line-height: 1.55; margin-top: .5rem; }
@media (min-width: 1100px) {
    .blog-author-card { position: sticky; top: 140px; width: 240px; float: left; margin-left: -280px; margin-top: 40px; }
    .blog-post-body { overflow: visible; }
}
@media (max-width: 1099px) {
    .blog-author-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 1rem 1.25rem; margin-bottom: 2rem; max-width: 760px; }
    .blog-author-img { margin: 0; width: 56px; height: 56px; }
}

.blog-post-content { font-size: 1.075rem; line-height: 1.8; color: #1c1c1c; }
.blog-post-content > p { margin: 0 0 1.5rem; }
.blog-post-content h2 { margin: 2.5rem 0 1rem; }
.blog-post-content h3 { margin: 2rem 0 .75rem; }
.blog-post-content img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-post-content blockquote { border-left: 4px solid #20B766; background: #DCF9EA; margin: 2rem 0; padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; }
.blog-post-content > p:first-of-type { font-size: 1.22rem; line-height: 1.6; font-weight: 700; color: #121212; margin-bottom: 1.75rem; }

/* Blog post body links — brand orange */
.blog-post-content a { color: #F15D4E; text-decoration: underline; }
.blog-post-content a:hover { color: #FF846D; }

.blog-post-tags { margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-post-tags a { display: inline-block; padding: 4px 12px; background: #DCF9EA; color: #0f7a45; border-radius: 999px; font-size: .85rem; text-decoration: none; }

/* ---- Audio player (subtle, on-brand) ---- */
.blog-audio { max-width: 760px; margin: 1.5rem auto 2rem; padding: 0 1rem; display: flex; flex-direction: column; gap: .6rem; }
.blog-audio-label { font-family: 'Outfit', sans-serif; font-weight: 300; font-style: italic; font-size: 1rem; color: #6b7280; }
.ia-player { display: flex; align-items: center; gap: 14px; }
.ia-player-btn { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: none; background: #20B766; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease; padding: 0; }
.ia-player-btn:hover { background: #1a9e55; }
.ia-player-track { flex: 1; height: 3px; background: #d7dbd9; border-radius: 2px; position: relative; cursor: pointer; }
.ia-player-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: #121212; border-radius: 2px; }
.ia-player-time { flex-shrink: 0; font-size: .85rem; color: #6b7280; font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }

/* ---- Sticky footer CTA (brand green, white text/button) ---- */
#blog-sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: center; gap: 18px;
    padding: 14px 20px; background: #20B767; box-shadow: 0 -2px 16px rgba(0,0,0,.12);
    z-index: 9998; transform: translateY(110%); transition: transform .35s ease;
}
#blog-sticky-cta.is-visible { transform: translateY(0); }
.blog-sticky-cta-text { color: #ffffff; font-weight: 600; }
.blog-sticky-cta-btn { display: inline-block; padding: 10px 22px; border-radius: 7px; background: #ffffff; color: #20B767 !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.blog-sticky-cta-btn:hover { background: #f0fff7; }
body:has(main.blog-single) footer { padding-bottom: 120px; }
@media (max-width: 575px) {
    #blog-sticky-cta { flex-direction: column; gap: 8px; text-align: center; padding: 12px 16px; }
}

/* =====================================================================
   ARCHIVE ("Thoughts")
   ===================================================================== */
body.blog.companies:before { top: 150px; }
.blog-archive .blog-archive-header { max-width: 820px; margin: 2.5rem auto 2.25rem; padding: 0 1rem; }
.blog-archive .blog-archive-sub,
.blog-archive .blog-archive-sub p {
    font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 40px; line-height: 40px; color: #121212; margin: .5rem 0 0;
}
.blog-archive .blog-archive-sub p { margin: .5rem auto 0; max-width: 900px; }
@media (max-width: 600px) {
    .blog-archive .blog-archive-sub,
    .blog-archive .blog-archive-sub p { font-size: 28px; line-height: 30px; }
}

/* Featured (full-width newest post) */
.blog-feature { margin: 0 auto 3rem; max-width: 1100px; }
.blog-feature-link { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.08); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.blog-feature-link:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.blog-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.blog-feature-body { padding: 2.25rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-feature-cat { text-transform: uppercase; letter-spacing: .05em; font-size: .75rem; font-weight: 700; color: #20B766; margin-bottom: .6rem; }
.blog-feature-title { font-size: 1.9rem; line-height: 1.25; margin: 0 0 .8rem; color: #111; font-weight: 300; }
.blog-feature-excerpt { color: #4b5563; font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.2rem; }
.blog-feature-meta, .blog-card-meta { display: flex; align-items: center; gap: 10px; color: #6b7280; font-size: .85rem; }
.blog-card-avatar { border-radius: 50%; object-fit: cover; }
@media (max-width: 800px) {
    .blog-feature-link { grid-template-columns: 1fr; }
    .blog-feature-media img { min-height: 200px; }
    .blog-feature-body { padding: 1.5rem 1.5rem 2rem; }
    .blog-feature-title { font-size: 1.5rem; }
}

/* Category filter */
.blog-filter-wrap { margin: 0 auto 2rem; text-align: center; }
.blog-filter { display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.blog-filter-btn { border: 1.5px solid #DCF9EA; background: #fff; color: #1c1c1c; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .18s ease; }
.blog-filter-btn:hover { border-color: #20B766; }
.blog-filter-btn.is-active { background: #20B766; border-color: #20B766; color: #fff; }

/* Grid (3-up) */
.blog-grid-wrap { padding-bottom: 4rem; }
#blog-grid { transition: opacity .2s ease; }
#blog-grid.is-loading { opacity: .35; }
.blog-card-col { margin-bottom: 2rem; }
.blog-card { height: 100%; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.10); }
.blog-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.blog-card-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-thumb--placeholder { height: 200px; background: linear-gradient(135deg,#DCF9EA,#c4f0da); }
.blog-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.blog-card-cat { display: inline-block; text-transform: uppercase; letter-spacing: .04em; font-size: .72rem; font-weight: 700; color: #20B766; margin-bottom: .5rem; }
.blog-card-title { font-size: 1.2rem; line-height: 1.35; margin: 0 0 .6rem; color: #111; font-weight: 400; }
.blog-card-excerpt { color: #4b5563; font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; }
.blog-card-meta-text { line-height: 1.3; }

@keyframes blogCardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.blog-card-in { animation: blogCardIn .45s ease both; }
.blog-empty { color: #6b7280; padding: 2rem 0; width: 100%; }
/* =====================================================================
   LOGO SIZING — Icelandic AI (FINAL)
   Append to the END of assets/css/style.css
   For the two-line "actual intelligence" SVG logo (1495x583).
   ===================================================================== */

/* Desktop header + footer sizing */
.custom-logo,
.custom-logo-link img {
    height: auto !important;
    width: auto !important;
    max-height: 78px !important;
    max-width: 300px !important;
}
footer .custom-logo,
footer .custom-logo-link img {
    max-height: 90px !important;
    max-width: 330px !important;
}

/* Mobile/tablet: override the theme's explicit 142x22 sizing.
   Uses explicit height (beats the theme's height:22px). Keeps the
   header bar compact via reduced navbar padding. */
@media (max-width: 1199.98px) {
    .custom-logo,
    .custom-logo-link img {
        width: auto !important;
        height: 55px !important;
        max-width: 260px !important;
    }
    #navbar-header .navbar {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}
