/*
Theme Name: Gecko Edge v2
Theme URI: https://geckoedge.com
Author: Daniel
Author URI: https://geckoedge.com
Description: A modern sports betting theme with customizable content through the WordPress Customizer.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gecko-edge
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --grey: #ebebeb;
  --off-white: #f4f4f4;
  --darker-grey: #dbdada;
  --slate-grey: #708090;
  --charcoal: #2b2b2b;
  --gecko-green: #3dbf74;

  /* Font families */
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
}

/* Global styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  background-color: #fff;
}

/* Footer navigation links */
.footer-nav-link {
  text-decoration: none;
  color: var(--charcoal);
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--gecko-green);
}

.legal-link {
  text-decoration: none;
  color: var(--charcoal);
  cursor: pointer;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: var(--gecko-green);
}

.container {
  max-width: 1920px;
  margin: 0 auto;
}

.top-banner {
  width: 100%;
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.top-banner img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  object-position: center;
}

header {
  background: #fff;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  img {
    width: 170px;
    height: auto;
  }
}

.header-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--darker-grey);
  background-color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.header-menu-toggle-bar {
  width: 18px;
  height: 2px;
  background-color: #2b2b2b;
  display: block;
}

.header-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
}

.header-mobile-menu.is-open {
  display: block;
}

.header-mobile-nav {
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.header-mobile-nav .header-nav-link {
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.header-mobile-cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
}

.header-logo-link {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.header-logo-link:hover {
  opacity: 0.8;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.header-nav-link {
  font-size: 18px;
  color: #2b2b2b;
  text-decoration: none;
  font-family: var(--font-secondary);
  font-weight: 400;
  transition: color 0.3s ease;
}

.header-nav-link:hover {
  color: #3dbf74;
}

button,
a.default-button,
a.gradient-button,
a.transparent {
  background: var(--grey);
  border: none;
  padding: 0 30px;
  height: 52px;
  border-radius: 26px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 700;
  color: #000;
  text-transform: uppercase;

  &.gradient-button,
  &.gradient-button:visited {
    background: linear-gradient(236.36deg, #3dbf74 4.29%, #6b8fa3 95.57%);
    border-radius: 20px;
    border: none;
    color: #fff;
    text-decoration: none;
  }

  &.transparent,
  &.transparent:visited {
    background: transparent;
    color: #000;
    text-decoration: none;
  }
}

.primary-text {
  color: var(--gecko-green);
}

/* Hero Section */
.hero {
  overflow: hidden;
  padding: 100px 0;
}

.hero-title {
  display: flex;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;

  img {
    width: 37px;
    height: auto;
  }

  p {
    margin: 0;
  }
}

.hero-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: var(--font-secondary);
  font-size: 64px;
  font-weight: 500;
}

.hero-description {
  color: var(--slate-grey);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;

  a img {
    width: 16px;
    height: 16px;
    margin-left: 10px;
  }
}

/* Marquee Section */
.marquee {
  overflow: hidden;
  padding: 100px 0;
}

.marquee-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 16px;
  height: 100px;
}

/* Pause animation on hover for all rows */
.marquee-row:hover .marquee-content,
.marquee-content:hover,
.marquee-card:hover {
  animation-play-state: paused !important;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
  width: fit-content;
  height: 100px;
}

.marquee-row.reverse .marquee-content {
  animation: marquee-reverse 30s linear infinite;
}

.marquee-card {
  min-width: 300px;
  text-decoration: none;
  cursor: pointer;
  display: block;
  margin-right: 16px;
  padding: 20px 30px;
  background: var(--off-white);
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--off-white);
  color: inherit;
}

.marquee-card:visited {
  color: inherit;
}

.marquee-card:hover {
  border: 1px solid #000;
  background-color: #fff;
}

.marquee-card p {
  font-family: var(--font-primary);
  font-size: 18px;
  margin: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.how-it-works {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 200px;

  img {
    width: 751px;
  }

  .video-wrapper {
    width: 751px;
    height: 422px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 auto;
    border: 1px solid var(--grey);
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    border-radius: 20px;
  }
}

.how-it-works-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  max-width: 50%;
}

.how-it-works-text {
  font-family: var(--font-secondary);
  text-align: center;

  p {
    margin: 0;
  }

  p:first-child {
    font-size: 21px;
    font-weight: 500;
    color: var(--gecko-green);
    margin-bottom: 32px;
  }

  p:nth-child(2) {
    font-size: 41px;
    font-weight: 500;
    color: var(--charcoal);
  }
}

.how-it-works-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  color: var(--charcoal);
  max-width: 80%;
  p {
    margin: 0;
  }

  .border-bottom {
    border-bottom: 1px solid var(--darker-grey);
    padding-bottom: 32px;
    width: 100%;
  }

  .step-number {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 16px;
    font-family: var(--font-secondary);
  }
}

.key-features-container {
  background: linear-gradient(180deg, #ffffff 0%, #eeeeee 100%);
}

.key-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 100px 150px;
  gap: 120px;
}

.key-features-text {
  font-family: var(--font-secondary);

  p {
    margin: 0;
    text-align: center;
    font-weight: 500;
  }

  p:first-child {
    font-size: 21px;
    color: var(--gecko-green);
    margin-bottom: 16px;
  }

  p:nth-child(2) {
    font-size: 41px;
    color: var(--charcoal);
    max-width: 800px;
  }
}

.wrapper-features-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.key-features-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  box-shadow: 0px 4px 50px 0px #0000000d;
  border-radius: 20px;
  flex: 0 0 calc(25% - 12px);

  box-sizing: border-box;
  padding: 50px;
  font-size: 18px;
  font-weight: 400;

  p {
    margin: 0;
    text-align: center;
    color: #708090;
  }

  p:first-of-type {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--charcoal);
    font-family: var(--font-secondary);
  }

  img {
    width: 60px;
    height: auto;
    margin-bottom: 30px;
  }
}

.about-container {
  background: linear-gradient(180deg, #eeeeee 0%, #ffffff 100%);
  padding: 100px 200px;
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;

  img {
    width: 700px;
    height: auto;
  }

  .about-text {
    max-width: 600px;

    p {
      margin: 0;
    }

    p:first-child {
      font-size: 21px;
      font-weight: 500;
      color: var(--gecko-green);
      margin-bottom: 16px;
      font-family: var(--font-secondary);
      padding: 0;
    }

    p:nth-child(2) {
      font-size: 41px;
      font-weight: 500;
      color: var(--charcoal);
      max-width: 450px;
      margin-bottom: 60px;
      font-family: var(--font-secondary);
      padding: 0;
    }

    p:nth-child(3) {
      font-size: 18px;
      font-weight: 400;
      color: #708090;
      margin-bottom: 16px;
      font-family: var(--font-primary);
      padding: 0;
    }
  }
}

.frequent-questions-container {
  padding: 100px 200px;
}

.frequent-questions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.frequent-questions-text {
  font-family: var(--font-secondary);

  p {
    margin: 0;
    text-align: center;
    font-weight: 500;
  }

  p:first-child {
    font-size: 21px;
    color: var(--gecko-green);
    margin-bottom: 16px;
    font-family: var(--font-secondary);
    padding: 0;
  }

  p:nth-child(2) {
    font-size: 41px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 60px;
    font-family: var(--font-secondary);
    padding: 0;
  }
}

.frequent-question-accordions {
  display: flex;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  align-items: flex-start;
}

.frequent-question-accordions .faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.frequent-question-accordion {
  width: 100%;
  border-bottom: 1px solid var(--grey);
  border-radius: 10px;
}

.frequent-question-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 0 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--slate-grey);
  position: relative;
}

.frequent-question-accordion-header::after {
  content: "";
  background-image: url("assets/images/arrow-down.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 14px;
  height: 7px;
  transition: transform 0.3s ease;
}

.frequent-question-accordion.active .frequent-question-accordion-header::after {
  transform: rotate(180deg);
}

.frequent-question-accordion.active .frequent-question-accordion-header {
  background-color: var(--off-white);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.frequent-question-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
}

.frequent-question-accordion.active .frequent-question-accordion-content {
  max-height: 500px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border: 1px solid var(--grey);
  padding: 20px 30px;
  p {
    margin: 0;
  }
}

footer {
  background: var(--off-white);
  padding: 100px 200px;

  .top-content {
    display: flex;
    justify-content: space-between;
    align-content: space-between;
    height: 116px;

    .logo-area {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    img {
      width: 291px;
      height: auto;
    }

    .page-parts {
      display: flex;
      gap: 40px;
      font-size: 18px;
      font-weight: 500;
      font-family: var(--font-secondary);
      color: var(--charcoal);
    }

    .contact-area {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      p {
        font-size: 18px;
        font-weight: 500;
        font-family: var(--font-secondary);
        color: var(--charcoal);
      }
      .contact-form {
        display: flex;
        gap: 24px;

        input {
          width: 400px;
          height: 52px;
          border-radius: 20px;
          border: 1px solid var(--darker-grey);
          font-size: 18px;
          padding: 0 30px;
          color: var(--slate-grey);
        }
      }
    }
  }

  .bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-secondary);
    color: var(--slate-grey);
    padding: 36px 0;
    margin-top: 80px;
    border-top: 1px solid var(--darker-grey);

    .legal-links {
      display: flex;
      gap: 40px;
    }
  }
}
.contact-form {
  display: flex;
  gap: 24px;

  input {
    width: 400px;
    height: 52px;
    border-radius: 20px;
    border: 1px solid var(--darker-grey);
    font-size: 18px;
    padding: 0 30px;
    color: var(--slate-grey);
  }
}

/* Responsive Styles */
@media screen and (max-width: 1400px) {
  .how-it-works,
  .about-container {
    padding: 80px 100px;
  }

  .key-features {
    padding: 50px 100px 120px;
  }

  .key-features-card {
    width: 400px;
    padding: 40px;
  }

  .how-it-works img,
  .how-it-works .video-wrapper,
  .about img {
    width: 600px;
  }

  .how-it-works .video-wrapper {
    height: 338px;
  }

  footer {
    padding: 60px 100px;
    margin-top: 80px;
  }

  footer .bottom-content,
  footer .top-content {
    gap: 20px;
    height: auto;
  }

  footer .logo-area {
    align-items: flex-start;
    gap: 40px;
    width: 100%;

    img {
      width: 250px;
    }

    .page-parts {
      gap: 16px;
      font-size: 16px;
    }
  }

  footer .contact-area {
    width: 100%;
    align-items: flex-start;

    p {
      text-align: center;
      color: var(--slate-grey) !important;
    }

    .contact-form {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
  }

  footer .bottom-content {
    width: 100%;
    margin-top: 80px;
    align-items: center;

    div {
      text-align: center;
    }
  }

  footer .legal-links {
    flex-wrap: wrap;
    gap: 40px;
    a {
      color: var(--slate-grey);
    }
  }
}

@media screen and (max-width: 1200px) {
  .hero-text {
    font-size: 54px;
  }

  .key-features-cards {
    gap: 30px;
  }

  .key-features-card {
    width: 350px;
    padding: 30px;
  }

  .how-it-works img,
  .how-it-works .video-wrapper,
  .about img {
    width: 500px;
  }

  .how-it-works .video-wrapper {
    height: 281px;
  }
}

@media screen and (max-width: 992px) {
  .hero {
    padding: 80px 40px;
  }

  .hero-text {
    font-size: 42px;
  }

  .how-it-works,
  .about-container {
    padding: 60px 40px;
    flex-direction: column-reverse;
    gap: 40px;
  }

  .about {
    flex-direction: column-reverse;
    gap: 60px;
  }

  .how-it-works img,
  .how-it-works .video-wrapper,
  .about img {
    width: 100%;
    max-width: 600px;
  }

  .how-it-works .video-wrapper {
    height: auto;
    aspect-ratio: 16/9;
  }

  .key-features {
    padding: 50px 40px 100px;
  }

  .key-features-cards {
    flex-direction: column;
  }

  .key-features-card {
    width: 100%;
    max-width: 500px;
  }

  .footer {
    padding: 60px 40px 40px;
  }

  .footer .top-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer .contact-area {
    width: 100%;
  }
}

@media screen and (max-width: 1200px) {
  .wrapper-features-card {
    gap: 40px;
  }
  .key-features-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .wrapper-features-card {
    gap: 20px;
  }

  .key-features-card {
    flex: 0 0 100%;
  }

  header {
    padding: 16px 20px;
    position: relative;
    gap: 12px;
  }

  header img {
    width: 140px;
  }

  .header-nav {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  header > .default-button {
    display: none;
  }

  .header-mobile-cta {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
    text-transform: none;
  }

  button,
  a.default-button,
  a.gradient-button,
  a.transparent {
    padding: 0 20px;
    height: 50px;
    font-size: 14px;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero-text {
    font-size: 41px;
    text-align: center;
  }

  .hero-description {
    text-align: center;
  }

  .hero-title {
    flex-direction: column;
  }

  .marquee {
    padding: 60px 0;
  }

  .marquee-card {
    min-width: 260px;
    padding: 16px 24px;
  }

  .how-it-works,
  .about-container {
    padding: 60px 20px;
  }

  .how-it-works-text,
  .about-text {
    text-align: center;
  }

  .how-it-works-text p:first-child,
  .about-text p:first-child {
    margin-bottom: 16px;
  }

  .frequent-questions-container {
    padding: 24px 16px;
  }

  .how-it-works-text p:nth-child(2),
  .key-features-text p:nth-child(2),
  .frequent-questions-text p:nth-child(2) {
    font-size: 32px;
    font-weight: 600;
  }

  .how-it-works-content {
    max-width: unset;
  }
  .how-it-works-steps {
    width: 100%;
    max-width: 100%;
  }
  .how-it-works-steps .step-number {
    font-size: 20px;
    max-width: unset;
  }

  .key-features {
    padding: 40px 24px 80px;
    gap: 80px;
  }

  .key-features-card {
    padding: 50px 24px;
    height: max-content;

    & p:first-of-type {
      max-width: 300px;
    }
  }

  .about {
    gap: 48px;
  }

  .about-text p:nth-child(2) {
    margin-bottom: 48px !important;
  }

  .about-text p:nth-child(3) {
    line-height: 1.5;
    margin-bottom: 0px;
  }

  .frequent-questions-text p:nth-child(2) {
    margin-bottom: 0px !important;
  }

  footer {
    padding: 60px 20px 30px;
    margin-top: 80px;
  }

  footer .bottom-content,
  footer .top-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    height: auto;
    position: relative;
    padding-bottom: 60px;
  }

  footer .logo-area {
    align-items: center;
    gap: 40px;
    width: 100%;

    img {
      width: 250px;
    }

    .page-parts a:nth-child(4) {
      display: none;
    }

    .page-parts {
      gap: 16px;
      font-size: 16px;
      position: absolute;
      left: 0;
      right: 0;
      bottom: -30px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);

      a {
        text-align: center;
      }
    }
  }

  footer .contact-area {
    width: 100%;

    p {
      text-align: center;
      color: var(--slate-grey) !important;
    }

    .contact-form {
      flex-direction: column;
      gap: 16px !important;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .contact-form input,
    .contact-form button {
      width: 100% !important;
      max-width: 100%;
      box-sizing: border-box;
    }
  }

  footer .bottom-content {
    width: 100%;
    margin-top: 80px;
    align-items: center;
    flex-direction: column-reverse;

    div {
      text-align: center;
    }
  }

  footer .legal-links {
    flex-wrap: wrap;
    gap: 20px;
    a {
      color: var(--slate-grey);
    }
  }

}

@media screen and (max-width: 768px) {
}

@media screen and (max-width: 640px) {
  .frequent-questions-container {
    padding: 16px 12px;
  }
  .frequent-question-accordions {
    flex-direction: column;
    gap: 24px;
  }

  .frequent-question-accordions .faq-column {
    width: 100%;
  }
}

/* Blog Page Styles */
.blog-page-container {
  padding: 60px 20px;
}

.blog-page {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-page-header {
  margin-bottom: 64px;
}

.blog-page-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-family: var(--font-secondary);
}

.blog-category-filters {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.category-filter-btn {
  height: 45px;
  padding: 0 24px;
  border-radius: 15px;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #708090;
  color: #708090;
  background: transparent;
  font-family: var(--font-primary);
}

.category-filter-btn.active {
  background: #3DBF74;
  color: #fff;
  border-color: #3DBF74;
}

.category-filter-btn:hover {
  background: #3DBF74;
  color: #fff;
  border-color: #3DBF74;
}

/* Featured Blog Section */
.featured-blog {
  display: flex;
  gap: 72px;
  height: 670px;
  margin-bottom: 80px;
}

.featured-blog-image {
  width: 70%;
  background: #f4f4f4;
  border-radius: 20px;
}

.featured-blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 0;
}

.featured-blog-tags {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.featured-tag {
  height: 32px;
  padding: 0 24px;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  border: 1px solid #708090;
  color: #708090;
  background: transparent;
  font-family: var(--font-primary);
}

.featured-blog-title {
  font-size: 51px;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 40px 0;
  line-height: 1.2;
}

.featured-blog-description {
  font-size: 18px;
  color: #708090;
  line-height: 1.6;
  margin: 0 0 auto 0;
}

.featured-blog-btn {
  height: 52px;
  padding: 0 32px;
  background: #2B2B2B;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.featured-blog-btn:hover {
  background: #3DBF74;
  transform: translateY(-2px);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: var(--grey);
}

.blog-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
}

.blog-card-date {
  color: var(--slate-grey);
  font-weight: 500;
}

.blog-card-category {
  color: var(--gecko-green);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.blog-card-title {
  margin: 0 0 16px 0;
  font-family: var(--font-secondary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--gecko-green);
}

.blog-card-excerpt {
  color: var(--slate-grey);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-link {
  color: var(--gecko-green);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.blog-card-link:hover {
  gap: 10px;
}

.blog-card-link svg {
  transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
  transform: translateX(2px);
}

.blog-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
}

.blog-no-posts p {
  font-size: 16px;
  color: var(--slate-grey);
  margin: 0;
}

/* Blog Subscribe Section */
.blog-subscribe-section {
  background-color: #fff;
  position: relative;
  height: 818px;
  display: flex;
  align-items: center;
}

.blog-subscribe-overlay {
  position: absolute;
  height: 590px;
  right: 0;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #F4F4F4;
  z-index: 1;
}

.blog-subscribe-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  z-index: 2;
}

.blog-subscribe-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-subscribe-right {
  width: 60%;
  flex-shrink: 0;
}

.blog-subscribe-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-subscribe-logo {
  width: 37px;
  height: auto;
}

.blog-subscribe-title {
  font-family: var(--font-secondary);
  font-size: 41px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
  margin: 0;
}

.blog-subscribe-title .highlight-green {
  color: var(--gecko-green);
}

.blog-subscribe-description {
  font-size: 18px;
  color: #708090;
  line-height: 1.6;
  margin: 0;
}

.blog-subscribe-form {
  display: flex;
  gap: 24px;
}

.blog-subscribe-form input[type="email"] {
  width: 400px;
  height: 52px;
  border-radius: 20px;
  border: 1px solid var(--darker-grey);
  font-size: 18px;
  padding: 0 30px;
  color: var(--slate-grey);
  font-family: var(--font-primary);
}

.blog-subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gecko-green);
}

.blog-subscribe-form input[type="email"]::placeholder {
  color: var(--slate-grey);
}

.blog-subscribe-form button {
  background: linear-gradient(135deg, var(--gecko-green) 0%, #2ecc71 100%);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-subscribe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Blog Grid Section */
.blog-grid-section {
  padding: 100px 20px;
}

.blog-grid-header {
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-grid-subtitle {
  font-size: 21px;
  color: #3DBF74;
  font-family: var(--font-secondary);
  font-weight: 600;
  margin: 0;
}

.blog-grid-title {
  font-size: 41px;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--charcoal);
  margin: 32px 0 0 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 112px auto;
}

.blog-grid-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-grid-card:hover {
  transform: translateY(-4px);
}

.blog-grid-image {
  height: 380px;
  background: #f4f4f4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.blog-grid-category {
  position: absolute;
  top: 16px;
  left: 16px;
  height: 33px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-weight: 500;
}

.blog-grid-content {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-grid-date {
  font-size: 12px;
  color: #708090;
}

.blog-grid-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  font-family: var(--font-secondary);
}

.blog-grid-description {
  font-size: 18px;
  color: #708090;
  line-height: 1.6;
  margin: 0;
}

/* Blog Grid Pagination */
.blog-grid-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.pagination-btn {
  height: 35px;
  padding: 0 24px;
  font-size: 20px;
  font-weight: 700;
  background: transparent;
  border: 1px solid #3DBF74;
  color: #3DBF74;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.pagination-btn:disabled {
  border-color: #DBDADA;
  color: #DBDADA;
  cursor: not-allowed;
}

.pagination-btn:not(:disabled):hover {
  background: #3DBF74;
  color: #fff;
}

.pagination-pages {
  display: flex;
  gap: 12px;
}

.pagination-page {
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: transparent;
  border: none;
  color: #708090;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-page.active {
  background: #3DBF74;
  color: #fff;
}

.pagination-page:not(.active):hover {
  background: rgba(61, 191, 116, 0.1);
}

/* Blog Pagination */
.blog-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  padding: 10px 16px;
  border: 2px solid var(--darker-grey);
  border-radius: 8px;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
}

.blog-pagination a:hover {
  background-color: var(--gecko-green);
  color: #fff;
  border-color: var(--gecko-green);
  transform: translateY(-2px);
}

.blog-pagination .current {
  background-color: var(--gecko-green);
  color: #fff;
  border-color: var(--gecko-green);
}

.blog-pagination .dots {
  border: none;
  padding: 10px 8px;
}

@media (max-width: 768px) {
  .top-banner {
    display: none;
  }
  .blog-page-container {
    padding: 40px 20px;
  }

  .blog-page-header {
    margin-bottom: 20px;

    .blog-category-filters {
      margin-top: 16px;

      a {
        font-size: 14px;
        height: 32px;
      }
    }
  }

  .featured-blog {
    gap: 16px;
    margin-bottom: 0;

    .featured-blog-content {
      padding: 0;

      .featured-blog-tags {
        margin-bottom: 16px;
      }

      .featured-blog-title {
        font-size: 20px;
        margin-bottom: 16px;
      }

      .featured-blog-description {
        font-size: 16px;
      }

      a {
        font-size: 14px;
        height: 32px;
      }
    }
  }

  .blog-grid-section {
    padding: 40px 20px;

    .blog-grid-header {
      margin-bottom: 0px;
    }

    .blog-grid {
      margin: 20px 0 60px;
    }

    .blog-grid-content {
      margin-top: 16px;
      gap: 8px;
    }
  }


  .blog-page-title {
    font-size: 32px;
  }

  .blog-page-description {
    font-size: 16px;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-card-image {
    height: 200px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-card-title {
    font-size: 20px;
  }

  .blog-card-link {
    font-size: 13px;
    gap: 4px;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    white-space: normal;
    word-break: break-word;
  }

  .blog-card-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .blog-subscribe-section {
    padding: 60px 20px;
  }

  .blog-subscribe-content {
    flex-direction: column;
    gap: 40px;
  }

  .blog-subscribe-right {
    width: 100%;
  }

  .blog-subscribe-logo {
    width: 150px;
  }

  .blog-subscribe-title {
    font-size: 28px;
  }

  .blog-subscribe-description {
    font-size: 16px;
  }

  .blog-subscribe-form {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .blog-subscribe-form input[type="email"],
  .blog-subscribe-form button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hide subscribe section on mobile */
  .blog-subscribe-section,
  .blog-subscribe-overlay {
    display: none;
  }

  .featured-blog {
    flex-direction: column;
    height: auto;
    gap: 40px;
    width: 100%;
  }

  .featured-blog-image {
    width: 100%;
    height: 260px;
  }

  .featured-blog-title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .featured-blog-description {
    margin-bottom: 24px;
  }

  .blog-grid-header {
    margin-bottom: 48px;
  }

  .blog-grid-subtitle {
    font-size: 18px;
  }

  .blog-grid-title {
    font-size: 32px;
    margin-top: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-grid-image {
    height: 280px;
  }

  .blog-grid-pagination {
    margin-top: 64px;
    gap: 24px;
    flex-wrap: wrap;
  }

  .pagination-btn {
    font-size: 16px;
    padding: 0 16px;
  }

  .pagination-page {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Single Post Styles */
.single-post-description {
  margin: 64px 0;
  color: #708090;
  font-size: 18px;
}

.single-post-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.single-post-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 35px;
  background: transparent;
  border: 1px solid #36454F;
  border-radius: 8px;
  text-decoration: none;
  color: #36454F;
  font-size: 18px;
}

.single-post-nav-btn:disabled,
.single-post-nav-btn.disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}

.single-post-category-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DBDADA;
  border-radius: 10px;
  height: 33px;
  padding: 0 20px;
  color: #36454F;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
}

.single-post-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 600;
  text-align: center;
  margin-top: 112px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.single-post-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #3DBF74;
  font-size: 16px;
}

.single-post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-post-meta-icon {
  width: 15px;
  height: 14px;
}
