/*
Theme Name: Candler Schiffahrt
Theme URI: https://olliewp.com
Description: A child theme for Ollie.
Author: Mike McAlister
Author URI: https://olliewp.com
Template:     ollie
Version: 1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks
Text Domain: ollie-child
*/

body {
	overflow-x: clip;
}

@media (max-width: 781px) {
    .wp-block-site-logo img {
		width: 100px;
    }
}

@media (min-width: 780px) {
    .can-post-slider .swiper {
		overflow: visible;
    }
}

.can-post-slider .swiper a {
	text-decoration: none;
}

.cb-carousel-block .cb-button-next.swiper-button-next,
.cb-carousel-block .cb-button-prev.swiper-button-prev {
    border-radius: 100%;
    width: 41px;
  	height: 42px;
    background:rgba(0,0,0,0.55);
}

.cb-carousel-block .cb-button-next.swiper-button-next::after,
.cb-carousel-block .cb-button-prev.swiper-button-prev::after {
	content: "";
  display: inline-block;
  width: 41px;
  height: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='41' height='42' viewBox='0 0 41 42' fill='none'><path d='M20.666 0.6875C16.6486 0.6875 12.7214 1.87881 9.381 4.11077C6.04063 6.34274 3.43713 9.51512 1.89972 13.2267C0.362317 16.9384 -0.0399385 21.0225 0.743824 24.9628C1.52759 28.903 3.46216 32.5224 6.30292 35.3631C9.14367 38.2039 12.763 40.1384 16.7033 40.9222C20.6435 41.706 24.7277 41.3037 28.4393 39.7663C32.1509 38.2289 35.3233 35.6254 37.5553 32.285C39.7872 28.9446 40.9785 25.0174 40.9785 21C40.9728 15.6145 38.8309 10.4513 35.0228 6.64317C31.2147 2.83507 26.0515 0.693187 20.666 0.6875ZM20.666 38.1875C17.2667 38.1875 13.9436 37.1795 11.1172 35.2909C8.29069 33.4023 6.08773 30.718 4.78685 27.5774C3.48596 24.4368 3.14559 20.9809 3.80878 17.6469C4.47196 14.3128 6.10891 11.2503 8.51263 8.8466C10.9163 6.44289 13.9789 4.80594 17.3129 4.14275C20.647 3.47957 24.1028 3.81994 27.2434 5.12082C30.384 6.4217 33.0683 8.62467 34.9569 11.4511C36.8455 14.2776 37.8535 17.6006 37.8535 21C37.8484 25.5568 36.0359 29.9255 32.8137 33.1477C29.5916 36.3699 25.2228 38.1823 20.666 38.1875ZM29.584 19.8945C29.7293 20.0396 29.8445 20.212 29.9232 20.4017C30.0018 20.5913 30.0423 20.7947 30.0423 21C30.0423 21.2053 29.0018 21.4087 29.9232 21.5983C29.8445 21.788 29.7293 21.9604 29.584 22.1055L23.334 28.3555C23.0408 28.6487 22.6432 28.8134 22.2285 28.8134C21.8139 28.8134 21.4162 28.6487 21.1231 28.3555C20.8299 28.0623 20.6652 27.6646 20.6652 27.25C20.6652 26.8354 20.8299 26.4377 21.1231 26.1445L24.707 22.5625H12.8535C12.4391 22.5625 12.0417 22.3979 11.7487 22.1049C11.4556 21.8118 11.291 21.4144 11.291 21C11.291 20.5856 11.4556 20.1882 11.7487 19.8951C12.0417 19.6021 12.4391 19.4375 12.8535 19.4375H24.707L21.1231 15.8555C20.8299 15.5623 20.6652 15.1646 20.6652 14.75C20.6652 14.3354 20.8299 13.9377 21.1231 13.6445C21.4162 13.3513 21.8139 13.1866 22.2285 13.1866C22.6432 13.1866 23.0408 13.3513 23.334 13.6445L29.584 19.8945Z' fill='white'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.cb-carousel-block .cb-button-prev.swiper-button-prev::after {
	transform: rotate(180deg);
}

:root :where(.wp-element-button, .wp-block-button__link, .wp-block-read-more) {
    transition: all ease-in 100ms;
}

:root :where(.wp-element-button:hover, .wp-block-button__link:hover, .wp-block-read-more:hover) {
    background-color: var(--wp--preset--color--secondary) !important;
    color: var(--wp--preset--color--base) !important;
}

@media (max-width: 781px) {
    .two-col-mobile.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		width: 45% !important;
        flex-basis: 45% !important;
    }
}

.wp-block-button:hover .wp-block-button__link.wp-element-button {
	text-decoration: none;	
}

.wp-block-navigation .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content {
	background: linear-gradient(
  to bottom,
  transparent 0%,
  transparent 70%,
  #eb9928 70%,
  #eb9928 100%
);
text-decoration: none !important;
}

.site-footer a {
	text-decoration: none;
    transition: all ease-in 100ms;
}

.site-footer a:hover {
	opacity: 0.6;
}

.site-footer .wp-block-latest-posts__list li {
	margin-bottom: 0.7rem;
}

/* Gutenberg Table Style: vessel-details */
.is-style-vessel-details {
  width: 100%;
  border-collapse: collapse;
}

.is-style-vessel-details th,
.is-style-vessel-details td {
  padding: 12px 0;
  border: 0;
  vertical-align: top; 
}

/* Kopfzeile: nur untere Linie */
.is-style-vessel-details thead {
  border-bottom: 1px solid #E2E2D9;
  text-align: left;
}

/* horizontale Linie nur zwischen Zeilen */
.is-style-vessel-details tr + tr th,
.is-style-vessel-details tr + tr td {
  border-top: 1px solid #E2E2D9;
}

/* Erste Spalte: fett + 1.5x Schriftgröße */
.is-style-vessel-details th:first-child,
.is-style-vessel-details td:first-child {
  font-weight: 600;
  font-size: 1.5rem;
  padding-right: 50px;
  min-width: 200px;
}

/* Zweite Spalte und alle weiteren: #62635e */
.is-style-vessel-details th:nth-child(n+2),
.is-style-vessel-details td:nth-child(n+2) {
  color: #62635e;
  font-size: 1.165rem;
  padding-top: 20px;
}

/* letzte Zeile ohne Border */
.is-style-vessel-details tr:last-child th,
.is-style-vessel-details tr:last-child td { border-bottom: 0; }

@media (max-width: 781px) {
    .is-style-vessel-details th:first-child,
    .is-style-vessel-details td:first-child {
      font-size: 1rem;
      padding-right: 10px;
      min-width: 120px;
    }
    
    .is-style-vessel-details th:nth-child(n+2),
    .is-style-vessel-details td:nth-child(n+2) {
      font-size: 0.9rem;
      padding-top: 13px;
    }
}