.elementor-widget-section .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-section .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1543 .elementor-element.elementor-element-b5966e7{margin-top:10px;margin-bottom:0px;padding:-0px 0px 0px 0px;}.elementor-widget-video .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-video .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1543 .elementor-element.elementor-element-a5ec8aa .elementor-wrapper{--video-aspect-ratio:2.33333;filter:brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );}.elementor-1543 .elementor-element.elementor-element-cb3fbd5{margin-top:-12px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-bc-flex-widget .elementor-1543 .elementor-element.elementor-element-646ee9e.elementor-column .elementor-widget-wrap{align-items:flex-start;}.elementor-1543 .elementor-element.elementor-element-646ee9e.elementor-column.elementor-element[data-element_type="column"] > .elementor-widget-wrap.elementor-element-populated{align-content:flex-start;align-items:flex-start;}.elementor-1543 .elementor-element.elementor-element-646ee9e.elementor-column > .elementor-widget-wrap{justify-content:center;}.elementor-1543 .elementor-element.elementor-element-646ee9e > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:20px;}.elementor-1543 .elementor-element.elementor-element-646ee9e > .elementor-element-populated{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;}.elementor-1543 .elementor-element.elementor-element-646ee9e > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-breadcrumbs .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-breadcrumbs .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-breadcrumbs{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1543 .elementor-element.elementor-element-682abc9 > .elementor-widget-container{background-color:#F4F4F4;padding:0px 0px 0px 6px;}.elementor-1543 .elementor-element.elementor-element-682abc9{color:var( --e-global-color-e6bbcb9 );}.elementor-1543 .elementor-element.elementor-element-ecf7b92 > .elementor-container{max-width:1080px;}.elementor-widget-heading .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1543 .elementor-element.elementor-element-733dbf9{text-align:center;}.elementor-1543 .elementor-element.elementor-element-d75cb7b{text-align:center;}.elementor-1543 .elementor-element.elementor-element-d75cb7b .elementor-heading-title{color:var( --e-global-color-b47bdb7 );}.elementor-widget-text-editor .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-text-editor .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1543 .elementor-element.elementor-element-22e918ae > .elementor-widget-container{margin:10px 10px 10px 10px;padding:-4px -4px -4px -4px;}.elementor-widget-icon-list .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-icon-list .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-icon-list .elementor-icon-list-item:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-widget-icon-list .elementor-icon-list-icon i{color:var( --e-global-color-primary );}.elementor-widget-icon-list .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );}.elementor-widget-icon-list .elementor-icon-list-item > .elementor-icon-list-text, .elementor-widget-icon-list .elementor-icon-list-item > a{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-icon-list .elementor-icon-list-text{color:var( --e-global-color-secondary );}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-icon-list-item:not(:last-child):after{content:"";border-color:#ddd;}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child):after{border-block-start-style:solid;border-block-start-width:1px;}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:not(:last-child):after{border-inline-start-style:solid;}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-inline-items .elementor-icon-list-item:not(:last-child):after{border-inline-start-width:1px;}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-icon-list-icon i{transition:color 0.3s;}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-icon-list-icon svg{transition:fill 0.3s;}.elementor-1543 .elementor-element.elementor-element-10ca086{--e-icon-list-icon-size:14px;--icon-vertical-offset:0px;}.elementor-1543 .elementor-element.elementor-element-10ca086 .elementor-icon-list-text{color:var( --e-global-color-b47bdb7 );transition:color 0.3s;}.elementor-1543 .elementor-element.elementor-element-59317a8 > .elementor-container{max-width:1080px;}.elementor-widget-tabs .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-tabs .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-tabs .elementor-tab-title, .elementor-widget-tabs .elementor-tab-title a{color:var( --e-global-color-primary );}.elementor-widget-tabs .elementor-tab-title.elementor-active,
					 .elementor-widget-tabs .elementor-tab-title.elementor-active a{color:var( --e-global-color-accent );}.elementor-widget-tabs .elementor-tab-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-tabs .elementor-tab-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-1543 .elementor-element.elementor-element-4d260a7 .elementor-tab-title, .elementor-1543 .elementor-element.elementor-element-4d260a7 .elementor-tab-title:before, .elementor-1543 .elementor-element.elementor-element-4d260a7 .elementor-tab-title:after, .elementor-1543 .elementor-element.elementor-element-4d260a7 .elementor-tab-content, .elementor-1543 .elementor-element.elementor-element-4d260a7 .elementor-tabs-content-wrapper{border-width:1px;}.elementor-widget-call-to-action .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-call-to-action .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-call-to-action .elementor-cta__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-call-to-action .elementor-cta__description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-call-to-action .elementor-cta__button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-call-to-action .elementor-ribbon-inner{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-1543 .elementor-element.elementor-element-c356780 .elementor-cta .elementor-cta__bg, .elementor-1543 .elementor-element.elementor-element-c356780 .elementor-cta .elementor-cta__bg-overlay{transition-duration:1500ms;}.elementor-1543 .elementor-element.elementor-element-c356780 .elementor-cta__content{text-align:center;}.elementor-1543 .elementor-element.elementor-element-c356780 .elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-text );}.elementor-1543 .elementor-element.elementor-element-c356780 .elementor-view-stacked .elementor-icon svg{stroke:var( --e-global-color-text );}.elementor-1543 .elementor-element.elementor-element-c356780 .elementor-view-framed .elementor-icon, .elementor-1543 .elementor-element.elementor-element-c356780 .elementor-view-default .elementor-icon{color:var( --e-global-color-text );border-color:var( --e-global-color-text );}.elementor-1543 .elementor-element.elementor-element-c356780 .elementor-view-framed .elementor-icon, .elementor-1543 .elementor-element.elementor-element-c356780 .elementor-view-default .elementor-icon svg{fill:var( --e-global-color-text );}.elementor-1543 .elementor-element.elementor-element-901f912 a{color:var( --e-global-color-secondary );}.elementor-1543 .elementor-element.elementor-element-901f912 a:hover{color:var( --e-global-color-75a458c );}.elementor-1543 .elementor-element.elementor-element-8e96df6 > .elementor-element-populated{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-1543 .elementor-element.elementor-element-8e96df6 > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-spacer .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-spacer .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-1543 .elementor-element.elementor-element-fdbdcde{--spacer-size:25px;}.elementor-1543 .elementor-element.elementor-element-1ddb82d{--spacer-size:24px;}.elementor-widget-shortcode .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-shortcode .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-template .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-template .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}@media(min-width:768px){.elementor-1543 .elementor-element.elementor-element-1a2e569{width:100%;}}/* Start custom CSS */:root {
    --WF-Blau: #004569;
    --WF-DunkelBlau: #1c3256;
    --WF-HellBlau: #005496;
    --WF-Okogreen: #9abf5e;
    --WF-Magenta: #c90058;
    --WF-AbendFahrten-Rot: #af1821;
    --WF-Schwarz: #4e4e4e;
    --WF-Weiß: #ffffff;
    --WF-BlauWeiß: #f2f8fc;
}

/* ================= Fonts ================= */

@font-face {
    font-family: 'GlasgowSerial';
    src: url('http://alt.schifffahrt-in-potsdam.de/wp-content/uploads/2025/08/GlasgowSerial-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'GlasgowSerial';
    src: url('http://alt.schifffahrt-in-potsdam.de/wp-content/uploads/2025/08/GlasgowSerial-Xbold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'GlasgowSerial';
    src: url('http://alt.schifffahrt-in-potsdam.de/wp-content/uploads/2025/08/GlasgowSerial-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* ================= Abschnitt Wrapper Style ================= */
 .WF-Wrapper {
        margin: auto;
        max-width: 1440px;
        padding-top: 12px;
        background-color: var(--WF-Weiß);
    }
/* ================= Text ================= */

.linie_bezeichnung {
    font-family: 'GlasgowSerial', sans-serif;
    font-weight: 800 !important;
    font-size: 20px !important;
    line-height: 120%;
    color: var(--WF-Blau);
    padding-bottom: 8px;
}

.datum {
    font-family: 'GlasgowSerial', sans-serif;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 120%;
    color: var(--WF-AbendFahrten-Rot) !important;
}

.abfahrt_station {
    font-family: 'GlasgowSerial', sans-serif;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 120%;
    color: var(--WF-Blau);
}

.infotext {
    font-family: 'GlasgowSerial', sans-serif;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 120%;
    color: var(--WF-Schwarz);
}

.weiterlesen_link {
    display: none;
}

/* ================= TM Plugin Grid ================= */

#tm-wrapper-TeaserFahrten .tm_plugin {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 25px;
    margin-top: 50px;
    background-color: var(--WF-BlauWeiß);
    margin-bottom: 150px;
}

#tm-wrapper-TeaserFahrten .tm_plugin .wp-block-columns.block-months {
    grid-column: 1 / -1;
}

/* ================= Teaser Card ================= */

.block-timetable {
    display: flex;
    flex-direction: column-reverse;
    background-color: var(--WF-Weiß);
    max-width: 300px;
    min-width: 150px;
    
}

/* 🔴 FIX: Neutralize TM column logic INSIDE teaser */
.block-timetable.wp-block-columns {
    flex-wrap: wrap !important;
}

.block-timetable > .wp-block-column:not(.text-center) {
    padding: 12px;
}


.block-timetable.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    flex-grow: 1 !important;
    margin-left: 0 !important;
    min-width: 0;
}

/* ================= Image ================= */

.block-timetable > .wp-block-column.text-center img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= CTA ================= */

.block-timetable::before {
    content: "TICKETS";
    display: block;
    margin: 0 14px 14px;
    padding: 8px 0;
    color: var(--WF-BlauWeiß);
    background: var(--WF-DunkelBlau);
    text-align: center;
    font-family: 'GlasgowSerial', sans-serif;
    font-weight: 800 !important;
    font-size: 20px !important;
    line-height: 120%;
}

/* HOVER*/ 

.block-timetable:hover {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* ================= Responsive Grid ================= */

@media (max-width: 1020px) {
    #tm-wrapper-TeaserFahrten .tm_plugin {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #tm-wrapper-TeaserFahrten .tm_plugin {
        grid-template-columns: 1fr;
    }

    .WF-Wrapper {
            margin-left: 12px;
            margin-right: 12px;
            padding-left: 8px;
            padding-right: 8px;
        }
}/* End custom CSS */