/*
Theme Name:   Lairare
Theme URI:    https://lairare.se
Description:  Lairare wordpress theme
Author:       Yannelos
Author URI:   https://lairaere.se/ (optional)
Template:     generatepress
Version:      1.0
*/

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0px; /* Add padding equal to the footer height */
    box-sizing: border-box; /* Ensure padding is included in the total height */
}
.container.grid-container {
    width: 100%;
}
.site-footer {
    margin-top: auto;
}


.main-navigation .main-nav ul li a {
    line-height: normal;
}

.main-navigation .main-nav ul li.ctaBtn a,
.main-navigation .main-nav ul li.ctaBtn a:hover {
    color: white !important;
    background-color: #22c55e !important; /* Equivalent of bg-green-500 */
    padding: 10px;
    border-radius: 10px;
}

.main-navigation .main-nav ul li.ctaBtn a:hover {
    background-color: #16a34a !important; /* Equivalent of hover:bg-green-600 */
}

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

.copyright p {
    margin-bottom: 0px !important;
}

.planeringColumns img {
    margin: 0 auto;
    display: block;
}
 

.planeringColumns:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.planeringColumns:hover {
    background-color: #FEFBE0;
    transition: background-color 0.3s ease;
}

.planeringColumns {
    padding:20px;
    border-radius: 20px;;
}

 
  .ninja-forms-field[type="submit"] {
    padding: 12px 28px;
    color: #fff !important;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    background-color: #22c55e;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.5s ease, background-color 0.3s ease;
  }
  
  .ninja-forms-field[type="submit"]:hover:enabled {
    transform: translateY(-2px);
    background-color: #16a34a !important;
  }
  
  
.sf-menu > li:not(.ctaBtn) > a {
    position: relative;
    display: inline-block; /* Viktigt: för att pseudo-elementet bara ska täcka textens bredd */
    overflow: visible;     /* så att pseudo-elementet får plats nedanför */
    padding-bottom: 6px;   /* justera vid behov för att ge utrymme för linjen */
  }
  
  .sf-menu > li:not(.ctaBtn) > a::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    left: 50%;
    bottom: -4px; /* flyttar linjen längre ned under texten */
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  
  .sf-menu > li:not(.ctaBtn):hover > a::after {
    width: 70%;
  }
  
  #ctaFormTextBlock {
    margin-bottom: -35px;
  }

  .fullSizeSubmit .ninja-forms-field[type="submit"]{
    display: block;
    width: 100%;
  }

h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-weight: 900;
  font-family: Inter;
  color: var(--lairare) !important;
}

.footerLogo {
  max-width:150px;
}

.footer-bar, .copyright-bar {
  min-width: 100%;
}

.footer-bar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth transition for color */
}

.footer-bar a:hover {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
}

.inside-site-info {
  display:inline-block;
}

footer hr {
  background-color: rgba(255,255,255,0.25);
  margin-top: 15px;
  margin-bottom: 15px;
}

.site-info {
  background: radial-gradient(circle 200px at center, #3a3a3a, #2d2d2d) !important;
}

h1 {
  font-size: var(--global-kb-font-size-xl, 3rem);
}

h2 {
  font-size: var(--global-kb-font-size-lg, 2.5rem);
}

h3 {
  font-size: var(--global-kb-font-size-md, 2rem);
}

h4 {
  font-size: var(--global-kb-font-size-md, 1.5rem);
}

h5 {
  font-size: var(--global-kb-font-size-xs, 1.25rem);
}

h6 {
  font-size: var(--global-kb-font-size-xxs, 1rem);
}

@media (min-width: 1160px) {
  .site-header {
    max-width: 1160px !important;
    margin: 0 auto !important;
    display: block !important;
    min-width: 1160px !important;
    margin-top: 20px !important;
  }
}
.site-header {
  border-radius: 15px !important;
}


.archive-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.archive-grid > article {
  flex: 3 calc(33% - 20px);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
}

@media (max-width: 900px) {
  .archive-grid > article {
      flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .archive-grid > article {
      flex: 1 1 100%;
  }
}


.archive-post .post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.archive-post h2.entry-title {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

.archive-post .entry-summary {
  font-size: 0.95rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
  color: #333;
}

.blog-intro {
  min-width: 100%;
  margin: 0 auto 40px;
  padding: 20px;
  font-size: 1.1rem;
  background-color: #f9f9f9;
  border-left: 4px solid #0073aa;
  display: block;
  flex: none !important;
}

/* BLOG */
.subTitle {
  font-size: 0.9em;
  font-weight: normal;
}

.timeEstimate {
  float:right;
}

.blog-tags-container, .blog-categories-container {
  display: block;
  width: 100%;
  font-size:80%;
  margin-bottom:20px;
}

.blog-card-tags, .blog-card-categories {
  display: flex;
  gap: 5px;
  margin-bottom: 10px; /* Add some space below the tags */
  flex-wrap: wrap; /* Allow tags to wrap to the next line */
  justify-content: left; 
}

.blog-card-categories { 
  justify-content: center; /* Center the tags */
}

.single-post-card-tags {
  display: flex;
  gap: 5px;
  margin-bottom: 10px; /* Add some space below the tags */
  flex-wrap: wrap; /* Allow tags to wrap to the next line */
  justify-content: left; /* Center the tags */
  font-size:80%;
}

.blog-tag, .blog-category {
  background-color: #f0f0f0; /* Light grey background */
  color: #333; /* Dark text */
  padding: 5px 10px;
  border-radius: 5px; /* Pill shape */
  font-size: 0.8em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  transition: opacity 0.3s ease;
  border: 1px solid #e0e0e0;
}

.blog-tag:hover, .blog-category:hover {
  background-color: #e0e0e0;
}

.blog-card-tags:hover .blog-tag, .blog-card-categories:hover .blog-category {
  opacity: 0.4;
}

.blog-card-tags:hover .blog-tag:hover, .blog-card-categories:hover .blog-category:hover {
  opacity: 1;
}

.stopwatch {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 5px;
  margin-bottom: 2px;
  display: inline-block;
  color: #646464; /* Use color for inline SVGs */
}
.blog-date {
  display: block;
  width: 100%;
  font-size:70%;
  opacity: 0.7;
}
.custom-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  padding: 20px;
  align-items: stretch; /* This makes all cards the same height */
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-card:active {
  transform: translateY(-2px);
}

.blog-card-image {
  height: 200px; /* Fixed height for all images */
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.blog-card-title {
  margin: 0 0 15px 0;
  font-size: 1.3em;
  line-height: 1.3;
  min-height: 60px; /* Changed to min-height instead of fixed height */
  display: flex;
  align-items: flex-start; /* Align to top instead of center */
}

.blog-card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: #007cba;
}

.blog-card-meta {
  margin-bottom: 15px;
  font-size: 0.9em;
  color: #666;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto; /* This pushes the meta info down */
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 0.9em;
  color: #666;
}

.blog-card-excerpt {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.6;
}

.read-more-btn {
  display: inline-block;
  background: #007cba;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  transition: background 0.3s ease;
  
  /* Remove margin-top: auto from here */
}

.blog-card:hover .read-more-btn {
  background: #005a8b;
  color: white;
}

.blog-pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
}

.page-numbers {
  padding: 8px 16px !important;
  border-radius: 5px;
  text-decoration: none;
  margin: 5px;
}

.page-numbers.current {
  background: var(--base);
  font-weight: 700;
}

.read-more {
  margin-top:20px;
  text-decoration: none;
  font-weight: normal;
}

.blogTitle {
  text-align: center;
  font-size: var(--global-kb-font-size-xl, 3rem);
  font-weight: 900;
  font-family: Inter;
}

/* Hide any default GeneratePress content */
.custom-blog-override article:not(.blog-card),
.custom-blog-override .paging-navigation,
.custom-blog-override .generate-posts-navigation,
.custom-blog-override #nav-below {
    display: none !important;
}

/* Style for CTA card */
.blog-card.cta-card {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #22c55e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card.cta-card::before {
  background: #ffffff;
  content: "";
  height: 155px;
  left: -75px;
  opacity: 0.1;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px;
  z-index: 1;
}

.blog-card.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.cta-card-content {
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.cta-card h2 {
  color: white !important;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.cta-card p {
  color: white !important;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.cta-card .cta-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-card .cta-button::after {
  background: #ffffff;
  content: "";
  height: 155px;
  left: -75px;
  opacity: 0.2;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px;
  z-index: 1;
}

.cta-card .cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.cta-card .cta-button:hover::after {
  left: 120%;
  transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-blog-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 15px;
  }
  
  .blog-card-image {
      height: auto;
  }
  
  .blog-card-title {
      min-height: auto;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .custom-blog-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

/* Custom Single Post Styles */
.custom-single-post .entry-header {
  display: none;
}

.custom-post-header {
  margin-bottom: 2rem;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Tags at top */
.post-tags-top {
  margin-bottom: 1rem;
}

.post-tag-top {
  display: inline-block;
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 4px 12px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.post-tag-top:hover {
  background-color: #1976d2;
  color: white;
  text-decoration: none;
}

/* Post Title */
.custom-post-title, .error-title {
  font-size: var(--global-kb-font-size-xl, 3rem);
  font-weight: 900;
  font-family: Inter;
  text-align: center;
}

/* Post Meta */
.custom-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #666;
  font-size: 0.875rem;
}

.single-post-reading-time {
  display: inline-block;
  align-items: center;
  gap: 0.25rem;
}

.single-post.stopwatch-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  display: inline-block;
}

/* Featured Image */
.custom-post-image {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.custom-post-image img {
  width: auto;
  display: block;
  max-height: 400px;
  margin: 0 auto;
}
/* Author and Social Section */
.custom-post-author-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-single {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name-single {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.author-date {
  color: #666;
  font-size: 0.875rem;
}

/* Social Share Buttons */
.post-social-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
  height: 39px;
}

.share-btn:hover {
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
}

.copy-link .share-text {
  display: block;
}

.twitter-share:hover {
  background-color: #1da1f2;
  color: white;
  border-color: #1da1f2;
}

.facebook-share:hover {
  background-color: #1877f2;
  color: white;
  border-color: #1877f2;
}

.linkedin-share:hover {
  background-color: #0077b5;
  color: white;
  border-color: #0077b5;
}

/* Content Styling */
.custom-single-post .entry-content, .author-bio-section {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #333;
}

.author-bio-section {
  margin-top: 30px;
  background-color: rgba(238, 238, 238, 0.5);
  padding: 20px;
  border-radius: 25px;
  border-top: 1px solid #eee;
}

.author-linkedin-link {
  display: block;
}

.author-bio-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.author-bio-avatar {
  flex-shrink: 0;
}

.author-bio-image {
  border-radius: 50%;
  width: 70px;
  height: 70px;
}

.author-bio-text {
  flex: 1;
}

.author-bio-name {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.author-bio-description {
  margin: 0;
  line-height: 1.5;
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .author-bio-content {
      gap: 12px;
  }
  
  .author-bio-image {
      width: 60px;
      height: 60px;
  }
  
  .author-bio-name {
      font-size: 16px;
  }
}

.custom-single-post .entry-content p {
  margin-bottom: 1.5rem;
}

.custom-single-post .entry-content h2,
.custom-single-post .entry-content h3,
.custom-single-post .entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .custom-post-title, .error-title {
      font-size: 2rem;
  }
  
  .custom-post-author-social {
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
  }
  
  .post-social-share {
      width: 100%;
      justify-content: space-between;
  }
  
  .share-btn .share-text {
      display: none;
  }
  
  .custom-post-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .post-social-share {
      flex-wrap: wrap;
      gap: 0.25rem;
  }
  
  .share-btn {
      padding: 0.5rem;
      min-width: 44px;
      justify-content: center;
  }

  .share-btn.copy-link {
    display: none;
  }
}

.related-posts-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.related-posts-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-post-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.related-post-card:hover {
  transform: translateY(-2px);
}

.related-post-image img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.related-post-content {
  padding: 1rem;
}

.related-post-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  line-height: 1.4;
}

.related-post-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
}

.related-post-content h4 a:hover {
  color: #1976d2;
}

.related-post-date {
  color: #666;
  font-size: 0.875rem;
}

/* 404 Page Styles */
.custom-404-container {
  text-align: center;
  padding: 2rem 0;
  max-width: 100%;
  margin: 0 auto;
}

.custom-404-image {
  margin-bottom: 2rem;
}

.error-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin:0 auto;
}

.error-icon {
  font-size: 8rem;
  color: #ff9800;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.custom-404-content {
  max-width: 100%;
  margin: 0 auto;
}


.error-description {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Search Section */
.error-search {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 12px;
}

.error-search h3 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.25rem;
}

.error-search .search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  gap: 0.5rem;
}

.error-search .search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.error-search .search-field:focus {
  outline: none;
  border-color: #1976d2;
}

.error-search .search-submit {
  padding: 0.75rem 1.5rem;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

.error-search .search-submit:hover {
  background-color: #1565c0;
}

/* Navigation Buttons */
.error-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-home,
.btn-blog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #1976d2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-home:hover,
.btn-blog:hover {
  background-color: #1565c0;
  text-decoration: none;
  color: white;
}

.btn-blog {
  background-color: #2e7d32;
}

.btn-blog:hover {
  background-color: #1b5e20;
}

/* Popular Posts */
.error-popular-posts {
  text-align: left;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.error-popular-posts h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.popular-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.popular-post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.popular-post-card:hover {
  transform: translateY(-2px);
}

.popular-post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.popular-post-content {
  padding: 1.25rem;
}

.popular-post-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.popular-post-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
}

.popular-post-content h4 a:hover {
  color: #1976d2;
}

.popular-post-date {
  color: #666;
  font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .error-title {
      font-size: 2.5rem;
  }
  
  .error-navigation {
      flex-direction: column;
      align-items: center;
  }
  
  .btn-home,
  .btn-blog {
      width: 100%;
      max-width: 280px;
      justify-content: center;
  }
  
  .error-search .search-form {
      flex-direction: column;
  }

  .social-icons {
    display: block;
    margin:20px;
  }

  .copyright {
    display: block;

  }

  .label-right .nf-field-label {
    padding-left: 4%  !important;
  }  
}

.social-icons a:hover i {
  color: rgba(255,255,255,0.7) !important;
  transition: color 0.3s ease;
}

.wp-block-table {
  margin: 20px 0;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header row styling */
.wp-block-table table tbody tr:first-child {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.wp-block-table table tbody tr:first-child td {
  color: white;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 16px 20px;
}

/* Regular rows */
.wp-block-table table tbody tr:not(:first-child) td {
  padding: 14px 20px;
  border: none;
  line-height: 1.5;
  font-size: 14px;
}

/* Alternating row colors */
.wp-block-table table tbody tr:nth-child(odd):not(:first-child) {
  background-color: #f8fafc;
}

.wp-block-table table tbody tr:nth-child(even):not(:first-child) {
  background-color: #ffffff;
}

/* Hover effect */
.wp-block-table table tbody tr:not(:first-child):hover {
  background-color: #d1fae5 !important;
  transition: background-color 0.2s ease;
}

/* Remove any existing borders */
.wp-block-table table td {
  border: none !important;
}

.nf-element[type="checkbox"] {
  width: 25px !important;
  height: 25px !important;
  margin-top: 7px !important;
}

.nf-error-msg {
  font-size: 80%;
  background-color: rgba(255, 0, 0, 0.05);
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  animation: fadeIn 0.5s ease-in-out;
}

.nf-error-msg::before {
  content: "\f071";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.label-right .nf-after-field {
  width: 100% !important;
}

.dark [type=checkbox]:checked, .dark [type=radio]:checked, [type=checkbox]:checked, [type=radio]:checked {
  background-color: #22c55e !important;
  border-color: #22c55e !important;
}

[type=checkbox]:focus, [type=radio]:focus {
  --tw-ring-color: #22c55e;
}

/* Navigation ctaBtn */
.main-navigation .main-nav ul li.ctaBtn a,
.main-navigation .main-nav ul li.ctaBtn a:hover {
    color: white !important;
    background-color: #22c55e !important; /* Equivalent of bg-green-500 */
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #22c55e;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation .main-nav ul li.ctaBtn a::after {
    background: #ffffff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: 0.2;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: 1;
}

.main-navigation .main-nav ul li.ctaBtn a:hover {
    background-color: #16a34a !important;
}

.main-navigation .main-nav ul li.ctaBtn a:hover::after {
    left: 120%;
    transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
}

.testCta {
    position: relative;
    display: inline-block;
}

.testCta a.wp-block-button__link, .videoCta a.wp-block-button__link {
    padding: 12px 28px !important;
    color: #fff !important;
    border-radius: 10px !important;
    display: inline-block !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    overflow: hidden !important;
    position: relative !important;
    border: 1px solid #22c55e !important;
    transition: all 0.3s ease !important;
    background-color: #22c55e !important;
    cursor: pointer;
}

.videoCta a.wp-block-button__link {
  background-color: #5293D1 !important;
  border: 1px solid #5293D1 !important;
}

.testCta a.wp-block-button__link::after {
    background: #ffffff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: 0.2;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: 1;
}

.testCta a.wp-block-button__link:hover {
    transition: transform 0.5s ease, background-color 0.3s ease !important; /* Smooth transition for the hover effect */
    background-color: #16a34a !important; /* Equivalent of hover:bg-green-600 */
}

.videoCta a.wp-block-button__link:hover {
    transition: transform 0.5s ease, background-color 0.3s ease !important; /* Smooth transition for the hover effect */
    background-color: #3E7DB6 !important; /* Equivalent of hover:bg-green-600 */
}

.testCta a.wp-block-button__link:hover::after {
    left: 120%;
    transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
}

.site-logo a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  transition: all 0.3s ease;
}

.site-logo a::after {
  background: #ffffff;
  content: "";
  height: 155px;
  left: -75px;
  opacity: 0.2;
  position: absolute;
  top: -50px;
  transform: rotate(35deg);
  transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
  width: 50px;
  z-index: 1;
}

.site-logo a:hover {
  transition: transform 0.5s ease, background-color 0.3s ease;
}

.site-logo a:hover::after {
  left: 120%;
  transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* Enhanced blockquote styles withFontAwesome icons */

blockquote p {
  font-size: 1.1rem !important;
}

.textTips,
.textCitat,
.textExempel {
    position: relative;
    border: none;
    border-left: 4px solid;
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    border-radius: 8px;
    font-style: normal;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.textTips:hover,
.textCitat:hover,
.textExempel:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.textTips::before,
.textCitat::before,
.textExempel::before {

  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 1.2rem;
  transform: translateY(-50%);
  font-size: 1.5rem;

}

/* Idea styling - soft yellow/amber theme */
.textTips {
    background-color: #fefdf8;
    border-left-color: #f59e0b;
}

.textTips::before {
    content: "\f0eb"; /* FontAwesome lightbulb icon */
    color: #f59e0b;
}

/* Quote styling - soft blue theme */
.textCitat {
    background-color: #f8fafc;
    border-left-color: #6366f1;
}

.textCitat::before {
    content: "\f10d"; /* FontAwesome quote-left icon */
    color: #6366f1;
}

/* Example Exercise styling - soft green theme */
.textExempel {
    background-color: #f0fdf4;
    border-left-color: #10b981;
}

.textExempel::before {
    content: "\f0c5"; /* FontAwesome clipboard-check icon */
    color: #10b981;
}

/* Text styling */
.textTips p,
.textCitat p,
.textExempel {
    margin: 0;
    line-height: 1.6;
    color: #374151;
    font-size: 0.95rem;
}

/* Optional: Add a subtle prefix for screen readers */
.textTips p::before {
    font-weight: 600;
    color: #f59e0b;
}

.textCitat p::before {
    font-weight: 600;
    color: #6366f1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .textTips,
    .textCitat,
    .textExempel {
        padding: 1rem 1.25rem 1rem 3rem;
        margin: 1rem 0;
    }
    
    .textTips::before,
    .textCitat::before,
    .textExempel::before {
        left: 1rem;
        top: 1rem;
        font-size: 1rem;
    }
}

blockquote p {
  margin-bottom: 0px !important;
}

#nf-label-field-15 {
  margin-left:10px !important;
}

.footerheart {
  color: #e74c3c; /* Base red color */
  animation: heartGlow 2s ease-in-out infinite;
}

@keyframes heartGlow {
  0%, 100% {
    color: #e74c3c; /* Light red */
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
  }
  50% {
    color: #c0392b; /* Darker red */
    text-shadow: 0 0 10px rgba(192, 57, 43, 0.6);
  }
}

.aboutQuote {
  position: relative;
  padding: 2.5rem 3rem 2rem 4rem;
  margin: 2rem 0;
  border-left: 4px solid #384a5e;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 0px;
}

.aboutQuote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.aboutQuote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: #384a5e;
  font-weight: bold;
  opacity: 0.7;
  font-family: 'Georgia', serif;
}

.aboutQuote p {
  margin: 0;
  line-height: 1.6;
  font-size: 1.1rem;
  color: #384a5e;
  position: relative;
  z-index: 1;
}

.aboutQuote p em {
  font-style: normal;
  font-weight: 500;
  color: #384a5e;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .aboutQuote {
    padding: 2rem 2rem 1.5rem 3rem;
    margin: 1.5rem 0;
    margin-top: 0px;
  }
  
  .aboutQuote::before {
    font-size: 3rem;
    left: 0.5rem;
  }
}


.vanliga-fragor .inside-article h1 {
  text-align: center;
  color: #2563eb;
  margin-bottom: 30px;
  font-size: 2.2em;
}

.vanliga-fragor .inside-article p {
  margin-bottom: 25px;
  position: relative;
}

.vanliga-fragor .inside-article strong {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  padding: 12px 18px;
  border-radius: 18px;
  position: relative;
  margin-bottom: 25px;
  font-weight: 600;
  border: 1px solid #22c55e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 85%;
  line-height: 1.4;
}

/* Speech bubble tail */
.vanliga-fragor .inside-article strong::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 10px solid #22c55e;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Answer styling */
.vanliga-fragor .inside-article p {
  padding-left: 0;
}

.vanliga-fragor .inside-article br + text,
.vanliga-fragor .inside-article strong + br {
  display: block;
  margin-top: 8px;
  padding: 15px 20px;
  background: #f0f0f0;
  border-radius: 12px;
  color: #475569;
  line-height: 1.6;
}

/* Alternative approach - wrap answers in spans for better control */
.vanliga-fragor .inside-article .answer {
  display: block;
  margin-top: 8px;
  padding: 15px 20px;
  background: #f0f0f0;
  border-radius: 12px;
  color: #475569;
  line-height: 1.6;
}

/* Responsive design */
@media (max-width: 600px) {
  body {
      padding: 15px;
  }
  
  .vanliga-fragor .inside-article {
      padding: 20px;
  }
  
  .vanliga-fragor .inside-article strong {
      max-width: 95%;
      padding: 10px 15px;
  }
}

.single-post-bottom-tags {
  border-top: 1px solid #eee;
  padding-top: 2em;
  max-width: 800px;
  margin: 0 auto;
}

.single-post-bottom-tags .tags-heading {
  font-size: 1.1em;
  color: #666;
}

.main-navigation.toggled .main-nav li {
  padding: 15px;
  padding-left: 0px;
  margin-left: 0px;
}

.main-navigation.toggled .main-nav li.ctaBtn {
  margin-left: 15px;
}

.main-navigation.toggled .main-nav li.ctaBtn a {
  display: inline-block;
}

.main-navigation.toggled .main-nav li.loginBtn a {
  margin-left: -5px;
}