:root {
    --theme-primary-color: #E87817;
}
/*
Theme Name: Adventure Trekking Camp Child
Template: adventure-trekking-camp
Version: 1.0.0
*/

.entry-content a, .textwidget a, .comment-content a, .content-area a {
    text-decoration: none;
    border-bottom: 1px solid;
}

h1, h2, h3, h4, h5, h6 {
    font-style: italic;
    font-family: serif !important;
   
}

h1, h2 {
     /* color: #ffa700; */
     color: var(--theme-primary-color);
}

.inner-div h1 {
    color: #fff;
    text-transform: capitalize;
}
.outer-div h1 {
    color: #fff;
    text-transform: capitalize;
}

.content_area  img {
    border-radius: 3px;
    box-shadow: 6px 3px 17px rgb(0 0 0 / 0.7);
}



#slider h1 {
    font-size: 24px;
    
}

#slider h2 {
    font-size: 40px;
}

.text-button a {
    -webkit-box-shadow: none;
    box-shadow: none;
    display: inline-block;
    border-radius: 30px;
    border: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    padding: 1em 2em;
    text-decoration: none;
    text-transform: none;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    background-color: var(--theme-primary-color);
    color: #fff !important;
}

.homepage-widget-text {
    text-align: center;
    padding-top: 0px;
    padding-bottom: 25px;
    max-width: 1140px;
    margin: auto;
}

.homepage-widget-text h2 {
    color: var(--theme-primary-color) !important;
}

.traprenovatie-calculator h2 {
    color: #fff !important;
}

.home-hero div p {
    font-family: 'Times New Roman', Times, serif;
}

/* Hero cover block */
.home-hero {
    min-height: 700px; /* Match current slider height */
    display: flex; /* Align content */
    align-items: center; /* Vertically center content */
}

/* Hero text wrapper */
.home-hero .wp-block-cover__inner-container {
    max-width: 900px; /* Keep text readable */
    margin-left: 10%; /* Match current left spacing */
}

/* Hero title */
.home-hero div h2 {
    font-size: clamp(40px, 4vw, 40px) !important; /* Responsive title */
    font-style: italic !important; /* Match current style */
    font-weight: 500 !important; /* Softer heading */
}

/* Hero subtitle */
.home-hero div p {
    font-size: clamp(24px, 2vw, 24px) !important; /* Responsive subtitle */
    font-style: italic !important; /* Match current style */
    font-weight: 600 !important; /* Bold subtitle */
    line-height: 1.2 !important; /* Better spacing */
}

.bread_crumb a,
.bread_crumb span {
    text-transform: capitalize !important;
    letter-spacing: 0.05em;
}

.wp-singular .content-area h2 {
    font-size: 20px;
}
/* Add white overlay over slider image */
#slider .slider-image-box {
    position: relative; /* Needed for overlay positioning */
}

#slider .slider-image-box::before {
    content: ""; /* Required for pseudo element */
    position: absolute; /* Cover entire container */
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.5); /* White overlay with opacity */
    z-index: 1; /* Place above image */
}

/* Keep content above overlay */
#slider .slider-content {
    z-index: 2; /* Higher than overlay */
}

#content > .outer-div > .single-post-image::before {
    content: ""; /* Required for pseudo element */
    position: absolute; /* Cover entire container */
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* White overlay with opacity */
    z-index: 1; /* Place above image */
}

#content > .outer-div  .inner-div {
    z-index: 2;
}

/* Reset drop cap styling */
/* Remove drop cap behavior completely */
p.has-drop-cap::first-letter,
p.has-drop-cap:not(:focus)::first-letter,
.wp-block-paragraph.has-drop-cap:not(:focus)::first-letter,
.rtl .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter,
.entry-content > p:first-of-type:first-letter {
    all: unset !important; /* Reset all styles */
}

.search-box {
    display: none;
}

.text-center {
    text-align: center;
}

.nav.side_gb_nav {
    display: flex;
    justify-content: center;
}

#Category-section img,
.activities-box img {
    height: 300px !important;
    object-fit: cover;
}

.wp-block-image {
    margin-top: 0px !important;
}

h2, .h2 {
    font-size: 1.5rem;
    padding-bottom: 8px !important;
}

h3, .h3 {
    font-size: 1.2rem;
    color: #513e3e;
}

body {
	margin: 0;
	font-family: 'Source sans pro', sans-serif;
	color: var(--theme-text-color);
}

.wp-block-quote:not(.is-large):not(.is-style-large), blockquote {
    border: none !important;
    border-left: 5px solid #e9a502 !important;
}

.custom-logo-link img {
    margin-top: 0px;
}

/* Modern pricing table */
.wp-block-table {
  margin: 32px 0;
  overflow: hidden; /* Keeps rounded corners clean */
  
  width: auto;
}

.wp-block-table .has-fixed-layout {
    width: auto;
    border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.wp-block-table table {
  width: auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.wp-block-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  vertical-align: middle;
}

.wp-block-table tr:last-child td {
  border-bottom: 0;
}

.wp-block-table tr:hover {
  background: #faf7f2; /* Soft warm hover */
}

.wp-block-table td:last-child {
  width: 220px;
  text-align: right;
  white-space: nowrap;
}

.wp-block-table a {
  color: #2b2118;
  font-weight: 600;
  text-decoration: underline;
}

.wp-block-table a:hover {
  color: #b87932;
}

.wp-block-table strong {
  color: #b87932;
  font-weight: 700;
}

.wp-block-table td:first-child {
  max-width: 300px;
  width: 300px;
  word-break: break-word;
}

.site-info {
    color: #fff;
}

.footer-blocks-inner {
    max-width: 1000px;
    margin: auto;
    width: 100%;
}

.footer-blocks ul {
    padding: 0;
    margin: 0;
}

.footer-blocks ul li {
    font-size: 14px !important;
    padding: 0 !important;
}

.footer-blocks ul li a {
    font-size: 14px !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.87);
}

.footer-blocks h3.widget-title {
    border-top: none;
    font-size: 16px;
    padding: 3px 0px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    color: #666;
}

.homepage-text-flex {
    display: flex; flex-direction: row;  gap: 30px;
}

.homepage-text-half {
    display: inline-block; width: calc(50% - 15px);
    
}

.homepage-text-half:nth-child(1) {
    width: calc(60% - 15px);
    font-size: 100%;
}

.homepage-text-half:nth-child(2) {
    width: calc(40% - 15px);
}

.wp-block-table table {
    table-layout: auto !important; /* Let columns use their available content width */
    width: 100%; /* Use the complete container width */
}

.wp-block-table td:first-child {
    width: 65%; /* Give the description enough room */
}

.wp-block-table td:last-child {
    width: 35%; /* Reserve space for the price */
    white-space: nowrap; /* Keep the price on one line */
}

.wp-block-table a {
    overflow-wrap: normal; /* Prevent aggressive word wrapping */
    word-break: normal; /* Do not break words into pieces */
}


/* Mobile friendly */
@media (max-width: 640px) {
  .wp-block-table table,
  .wp-block-table tbody,
  .wp-block-table tr,
  .wp-block-table td {
    display: block;
    width: 100%;
  }

  .wp-block-table td {
    padding: 14px 18px;
  }

  .wp-block-table td:last-child {
    text-align: left;
    width: 100%;
    padding-top: 0;
  }

  .wp-block-table tr {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .wp-block-table tr:last-child {
    border-bottom: 0;
  }
}


@media screen and (max-width: 991px) {

    .home-hero {
        min-height: 400px !important; /* Match current slider height */
    }

    .home-hero div h2 {
        text-align: center !important; /* Center title on mobile */
    }

    /* Hero text wrapper */
    .home-hero .wp-block-cover__inner-container {
        max-width: 600px !important; /* Keep text readable */
        margin-left: 0%; /* Match current left spacing */
        text-align: center;
    }


    .side_gb_nav {
        max-height: auto;
        width: auto;
        height: auto;
        position: static;
        background-color: #222;
        overflow-x: hidden;
        transition: 0.5s;
        visibility: visible;
        overflow: hidden;
    }

    .nav ul li a {
        padding: 10px 15px;
        display: block;
        color: #ffffff !important;
        border: none;
        border-bottom: 1px solid #404040;
        background: none !important;
        text-align: left;
    }

    .side_gb_nav .closebtn,
    .toggle-menu.gb_menu {
        display: none;
    }

    #top_gb_menu {
        padding-top: 0px !important;
    }

    .adventure-trekking-camp-logo.py-3 {
        padding-top: 5px !important; 
        padding-bottom: 3px !important; 
    }
    

    .menu-linksbox {
        width: 100% !important;
        margin-top: 10px;
        margin-bottom: 2px;
    }

    .menu-linksbox .linksbox a {
        padding: 5px 12px;
    }

}

@media screen and (max-width: 1140px) {

    .homepage-text-flex {
        display: block;
        
    }

    .homepage-text-half {
        display: block;
        width: 100%;
        padding: 0px 20px;
        font-size: 100%;
    }

    .homepage-text-half:nth-child(1),
    .homepage-text-half:nth-child(2) {
        width: 100%;
        font-size: 100%;
    }
}


@media screen and (max-width: 767px) {
    .trp-language-switcher-container {
        position: absolute !important;
        top: 0px;
        right: 10px;
    }


    .adventure-trekking-camp-logo {
        text-align: left !important;
        margin-left: 0px;
    }

    .menu-header-inner {
        position: relative;
    }

    .menu-linksbox {
        position: absolute;
        top: 20px;
        right: 0px;
        white-space: nowrap;
    }

     .menu-linksbox   .linksbox {
        text-align: right !important;
    }
        
}

.project-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.project-gallery .wp-block-image {
    width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 3px;
    box-shadow: 2px 2px 6px rgb(0 0 0 / .46);
}

.project-gallery .wp-block-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    
}

/* Tablet */
@media (max-width: 900px) {
    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

.project-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.92);
}

.project-gallery-modal.is-open {
    display: flex;
}

.project-gallery-modal-content {
    display: flex;
    align-items: center;
    justify-content: center;

    width: calc(100vw - 160px);
    height: calc(100vh - 80px);
}

.project-gallery-modal-image {
    display: block;

    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
}

.project-gallery-close,
.project-gallery-prev,
.project-gallery-next {
    position: absolute;
    z-index: 2;

    border: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;

    cursor: pointer;
}

.project-gallery-close {
    top: 20px;
    right: 25px;

    width: 50px;
    height: 50px;

    font-size: 40px;
    line-height: 45px;
}

.project-gallery-prev,
.project-gallery-next {
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 80px;

    font-size: 38px;
    padding-top: 21px;
}

.project-gallery-prev {
    left: 20px;
}

.project-gallery-next {
    right: 20px;
}

.project-gallery-close:hover,
.project-gallery-prev:hover,
.project-gallery-next:hover {
    background: rgba(0, 0, 0, 0.75);
}

body.project-gallery-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {

    .project-gallery-modal-content {
        width: calc(100vw - 30px);
        height: calc(100vh - 100px);
    }

    .project-gallery-prev,
    .project-gallery-next {
        width: 45px;
        height: 65px;
        padding-top: 17px;
        font-size: 30px;
    }

    .project-gallery-prev {
        left: 5px;
    }

    .project-gallery-next {
        right: 5px;
    }
}

.ti-review-item:nth-child(n+4) {
    display: none !important;
}