/*
Theme Name: Spruch Theme
Theme URI: https://github.com/aiqs4/spruch
Description: A WordPress block theme for the Spruchsammlung quotes and jokes website. Designed to match the original site design with Bootstrap 5.
Author: Spruchsammlung
Author URI: https://github.com/aiqs4/spruch
Version: 2.4.4
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spruch-theme
Tags: bootstrap, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns, left-sidebar, right-sidebar, custom-colors, custom-header, flexible-header, accessibility-ready, quotes, jokes
*/

/* Bootstrap 5 is now enqueued separately in functions.php */

/* ===================================
   FONT FACE DEFINITIONS
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

@font-face {
    font-family: 'OpenSans-Regular';
    src: local('Open Sans'), local('OpenSans-Regular');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Bold';
    src: local('Open Sans Bold'), local('OpenSans-Bold');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Semibold';
    src: local('Open Sans SemiBold'), local('OpenSans-SemiBold');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans-Italic';
    src: local('Open Sans Italic'), local('OpenSans-Italic');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'MarketingScript';
    src: url('./assets/fonts/MarketingScript.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2') format('woff2'),
         url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff') format('woff'),
         url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   BOOTSTRAP XXLED BREAKPOINT FIX
   =================================== */

:root {
    --bs-breakpoint-xxl: 9999px;
    --bs-container-xl: 1200px;
    --bs-container-xxl: 1200px;
}

/* Disable all Bootstrap styles that apply only at ≥1400px */
@media (min-width: 1400px) {
  .col-xxl,
  .col-xxl-auto,
  .col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6,
  .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12,
  .offset-xxl-0, .offset-xxl-1, .offset-xxl-2, .offset-xxl-3, .offset-xxl-4,
  .offset-xxl-5, .offset-xxl-6, .offset-xxl-7, .offset-xxl-8, .offset-xxl-9,
  .offset-xxl-10, .offset-xxl-11,
  .g-xxl-0, .g-xxl-1, .g-xxl-2, .g-xxl-3, .g-xxl-4, .g-xxl-5,
  .gx-xxl-0, .gx-xxl-1, .gx-xxl-2, .gx-xxl-3, .gx-xxl-4, .gx-xxl-5,
  .gy-xxl-0, .gy-xxl-1, .gy-xxl-2, .gy-xxl-3, .gy-xxl-4, .gy-xxl-5 {
    /* Reset all xxl-specific rules to match the largest below (xl) */
    all: revert;
  }
}


/* ===================================
   ROOT & BASE STYLES
   =================================== */

:root {
    --spruch-primary: #005580;
    --spruch-primary-hover: #004466;
    --spruch-secondary: #038bd8;
    --spruch-link-blue: #0088cc;
    --spruch-light-blue: #4ebaff;
    --spruch-text-gray: #747474;
    --spruch-text-dark: #333;
    --spruch-border-gray: #d8d4d4;
    --spruch-background-gray: #f5f5f5;
    --spruch-category-bg: #e9e9e9;
}

body {
    background: url("./assets/img/bg_3.jpg") repeat;
    color: var(--spruch-text-gray);
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    padding-top: 0 !important; /* Override any parent theme padding */
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

/* Override WordPress block editor link styles */
a:where(:not(.wp-element-button)) {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   HEADER STYLES - Now in header-block/style.css
   =================================== */

/* Social Share List Block - Styles are in blocks/social-share-list/style.css */


/* ===================================
   CONTENT AREA
   =================================== */

.site-content,
#content {
    background: #fff;
    min-height: 600px;
    padding-top: 0 !important;
}

/* ===================================
   LAYOUT & CONTAINERS
   =================================== */

.middle {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #fff;
}

.container {
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   CARDS & PANELS (Bootstrap 5 Compatible)
   =================================== */

.frontpage-box {
    background-color: #fff;
    background: linear-gradient(
        to right,
        #f5f5f5 0%,
        #ffffff 50%,
        #f5f5f5 100%
    );
}

.card,
.panel,
.panel-default {    
    /* box-shadow: 0 0 3px 2px #ededed; */
    /* border: none; */
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    color: var(--spruch-text-gray);
}

.home .col-lg-4 .card,
.home .col-md-4 .card,
.home .col-lg-4 .panel-default,
.home .col-md-4 .panel-default {
    /* background: #f5f5f5; */
    background: linear-gradient(
        to right,
        #f5f5f5 0%,
        #ffffff 50%,
        #f5f5f5 100%
    );
    box-shadow: 0 0 3px 2px #ededed;
    border: none;
}

.card-body,
.panel-body {    
    padding: 20px;
}


.panel-heading {
    /* background: transparent; */
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-bottom: none;
    /* padding: 15px 15px 5px 15px; */
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
}

/* panel-footer styles are in panel-footer/style.css */


.home h4,
.inner h4 {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--spruch-link-blue);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--spruch-border-gray);
    padding-bottom: 10px;
    margin-top: 0;
}

/* Inner page headings (like "Christoph Kolumbus Zitate") */
.inner h4,
.page-title {
    font-weight: 600;
    text-transform: capitalize;
    color: var(--spruch-link-blue);
    border-bottom: 1px solid var(--spruch-border-gray);
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 18px;
}

.panel-heading h4,
.panel-heading h4 a {
    font-weight: 600;
    text-transform: capitalize;
    margin: 0;
    color: var(--spruch-link-blue);
    padding: 0;
    border: none;
}

.panel-heading h4 a:hover {
    color: var(--spruch-secondary);
    text-decoration: none;
}

.home h4 a {
    color: var(--spruch-link-blue);
    text-decoration: none;
}

.home h4 a:hover {
    color: var(--spruch-secondary);
}

/* ===================================
   QUOTE & JOKE TEXT STYLES (ORIGINAL)
   =================================== */

/* Quote text - matches original .quote-txt exactly */
.quote-txt,
.leftBoxjoke p.quote-txt {
    color: var(--spruch-text-gray);
    font-size: 17px;
    /* font-style: italic; */
    font-weight: normal;
    text-align: justify;
    margin-bottom: 20px;
    min-height: 102px;
    line-height: 1.6;
}

/* Author link style - matches original */
.quote-author-link,
.author a,
.leftBoxjoke a {
    color: var(--spruch-primary);
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    display: block;
    text-decoration: none;
}

.quote-author-link:hover,
.author a:hover,
.leftBoxjoke a:hover {
    color: var(--spruch-primary);
    text-decoration: underline;
}

/* ===================================
   LISTS WITH CHEVRON BULLETS
   =================================== */

.list1 {
    padding: 0;
    margin: 0;
    list-style: none;
}

.list1 li {
    list-style: outside none none;
    margin-bottom: 5px;
    padding-left: 27px;
    line-height: 20px;
    height: 20px;
    display: block;
    position: relative;
}

.list1 li::before {
    content: "\f138"; /* fa-circle-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: currentColor;
    font-size: 14px;
    margin-right: 10px;
}

.list1 li:hover {
    cursor: pointer;
}

.list1 a {
    line-height: 20px;
    height: 20px;
    display: block;
    color: var(--spruch-text-gray);
    font-size: 14px;
    text-decoration: none;
}

.list1 a:hover {
    cursor: pointer;
    color: var(--spruch-primary);
    text-decoration: none;
}

.list1 a.gray,
.gray {
    color: var(--spruch-text-gray);
}

.list1 a.gray:hover,
.gray:hover {
    color: var(--spruch-primary);
}

.list1 a.caps {
    text-transform: capitalize;
}

.list2 {
    padding: 0;
    margin: 0;
}

.list2 li::before {
    content: "";
    font-family: "Font Awesome 6 Free";
    margin-right: 10px;
}

.list2 li {
    list-style: outside none none;
    margin-bottom: 5px;
}

/* Unstyled list for quotes/jokes */
.unstyled,
ul.unstyled {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.unstyled li::before {
    content: none !important;
    display: none !important;
}


/* ===================================
   BUTTONS
   =================================== */

.btn-primary,
.home .btn-primary {
    background: linear-gradient(to bottom, #4ebaff, #0482d5);
    background-color: #006dcc;
    border-color: var(--spruch-primary);
    border-radius: 4px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 1px 2px rgba(0, 0, 0, 0.05);
    color: #ffffff !important;
    cursor: pointer;
    font-size: 11px;
    text-shadow: none;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.home .btn-primary {
    display: inline-block;
    height: 33px;
    line-height: 13px;
    padding: 4px 0 0 0;
    margin-right: 10px;
    width: 91px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(to bottom, #5fc3ff, #0890e0);
    background-color: #0077bb;
    border-color: var(--spruch-primary-hover);
    color: #ffffff;
}

/* ===================================
   SIDEBAR
   =================================== */

.slide-bar .panel-default,
.slide-bar .card {
    margin-bottom: 7px;
}

/* ===================================
   FOOTER - Now in footer-block/style.css
   =================================== */

/* ===================================
   QUOTES & JOKES BLOCKS
   =================================== */

/* Panel styling matching original */
.forgot-pass-block .panel,
.forgot-pass-block .panel-default {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0);
    border-bottom: 1px solid #e8e8e8;
    border-top: none;
    border-right: none;
    border-left: none;
    background: linear-gradient(to bottom, #f2f2f2 0%, #ffffff 100%);
    border-radius: 0px !important;
}

/* Panel footer styles for quote/joke items */
.panel-footer {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
}

.panel-footer .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.panel-footer .quote-boxB1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-footer .quote-boxB2 {
    display: flex;
    align-items: center;
}

/* quote-block and joke-block styles are in their respective block CSS files */

/* quoteHeading style is in quote-block/style.css */

/* ===================================
   FORMS
   =================================== */

.form-control {
    border-radius: 3px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--spruch-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 85, 128, 0.25);
}

/* ===================================
   PAGINATION STYLING
   Main pagination styles are in pagination-block/style.css
   =================================== */

/* WordPress Query Loop Pagination - matching original ul.pagination1 */
.wp-block-query-pagination {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 20px 0;
}

.wp-block-query-pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
}

/* Page number links - Bootstrap pagination style matching original */
.wp-block-query-pagination-numbers .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #0482d5;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.wp-block-query-pagination-numbers .page-numbers:first-child {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.wp-block-query-pagination-numbers .page-numbers:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-numbers .page-numbers:focus {
    color: #0482d5;
    background-color: #eee;
    border-color: #ddd;
}

.wp-block-query-pagination-numbers .page-numbers.current {
    color: #fff;
    background-color: #0482d5;
    border-color: #0482d5;
    cursor: default;
}

/* Previous/Next buttons */
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #0482d5;
    background-color: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
    color: #0482d5;
    background-color: #eee;
    border-color: #ddd;
}

/* Pagination container - wrapper used in legacy templates */
.pagination-mn {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: 20px 0;
}

/* Pagination count display - "Seite n von m" format */
.pagination-count,
.row-fluid .text-right {
    margin-top: 15px;
    text-align: right;
    width: 100%;
}

.pagination-count p,
.text-right h5 {
    font-size: 14px;
    color: #666;
    margin: 0;
    padding: 0;
}

/* ===================================
   AUTHOR PAGES STYLING (from custom-complete.css)
   =================================== */

/* Gradient background wrapper for letter filter pages */
.newgray {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 15px;
    background: #f5f5f5;
    background: -moz-linear-gradient(left, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#f5f5f5), color-stop(50%,#ffffff), color-stop(100%,#f5f5f5));
    background: -webkit-linear-gradient(left, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    background: -o-linear-gradient(left, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    background: -ms-linear-gradient(left, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    background: linear-gradient(to right, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f5f5f5', GradientType=1);
}

/* Multi-column grid layout for popular authors list */
.list-grid {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
    -o-columns: 3;
    -ms-columns: 3;
    column-gap: 30px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    -o-column-gap: 30px;
    -ms-column-gap: 30px;
}

/* Author list table container */
.authorListBox {
    margin-bottom: 20px;
}

/* ===================================
   4-COLUMN GRID FOR CATEGORY OVERVIEW (from custom-complete.css)
   =================================== */

/* ===================================
   RESPONSIVE STYLES - Matching Original Bootstrap 3 Breakpoints
   =================================== */

/* Original used Bootstrap 3 breakpoints:
   - xs: <768px
   - sm: 768-991px
   - md: 992-1199px
   - lg: ≥1200px
   
   Navbar collapse at 768px in original */

/* Medium screens (992-1199px) - similar to original md */
@media (max-width: 1199.98px) {
    .capitalBlock {
        width: 315px;
    }
    
    .capitalBlocknew {
        width: 313px !important;
    }
    
    .headingdiv {
        max-width: 660px;
    }
}

/* Tablet screens (768-991px) - similar to original sm */
@media (max-width: 991.98px) {
    .table1 {
        overflow: scroll;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
        padding-top: 0;
    }

    .card,
    .panel {
        margin-bottom: 15px;
    }

    .home .btn-primary {
        margin-bottom: 10px;
    }

    .quote-txt,
    .leftBoxjoke p.quote-txt {
        min-height: auto;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }
}

/* ===================================
   SINGLE POST PAGES (Quote/Joke)
   =================================== */

/* Page titles for single quotes/jokes */
.quote-page-title,
.joke-page-title,
.single-quote h1,
.single-joke h1 {
    color: var(--spruch-link-blue);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--spruch-border-gray);
}

/* Single quote/joke panel styling */
.inner .panel.panel-default,
.single-quote .panel.panel-default,
.single-joke .panel.panel-default {
    margin-bottom: 30px;
}

/* Ensure quote text is readable on single pages */
.inner .quote-txt,
.single-quote .quote-txt,
.single-joke .quote-txt {
    font-size: 17px;
    line-height: 1.8;
    min-height: auto;
}

/* Proper panel footer on single pages */
.inner .panel-footer,
.single-quote .panel-footer,
.single-joke .panel-footer {
    /* display: flex; */
    /* flex-wrap: wrap; */
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 575.98px) {
    .search-back-box {
        width: 100%;
        max-width: 223px;
    }

    .search-input {
        width: calc(100% - 30px);
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
    body {
        background: #fff;
    }

    .navbar,
    .sidebar,
    footer,
    .site-footer {
        display: none !important;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 10px;
    background-color: var(--spruch-primary);
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}

/* ===================================
   ADDITIONAL ORIGINAL STYLES
   =================================== */

/* Read more button in sidebar */
.right-box .btn.btn-mini.btn-primary,
.btn-mini.btn-primary {
    background: linear-gradient(to bottom, #0482D5, #4EBAFF) no-repeat scroll 0 0 #006DCC;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 25px !important;
    line-height: 25px !important;
    margin: 0 0px 0 0px !important;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    width: 50px !important;
    border: none;
    text-transform: capitalize;
}

/* Author table styles */
.authTable {
    width: 100%;
    text-align: left;
}

.authTable tr td {
    border: 1px solid #ddd;
}

.authTable tr th {
    border: 1px solid #fff;
    background: linear-gradient(to bottom, #019de0, #0185c7);
    color: white;
}

/* Author style (in quote listings) */
.author {
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0 0 0 !important;
    min-height: 25px !important;
}

/* ===================================
   CUSTOM-COMPLETE.CSS OVERRIDES
   These styles override/extend the base styles above
   =================================== */

/* List2 bullet override */
.list2 li {
    list-style: outside none none;
    margin-bottom: 5px;
}

/* Star ratings - main styles are in star-rating/style.css */
/* These are additional state-related styles not in the block CSS */
.spruch-star-rating.voting {
    opacity: 0.7;
    pointer-events: none;
}

.spruch-star-rating.has-voted .rateit {
    cursor: default;
}

.spruch-star-rating.readonly .rateit {
    cursor: default;
}

.spruch-star-rating .rateit {
    touch-action: pan-y; 
}

/* Social share additional styling */
.right-in img {
    margin-left: 3px;
}

/* Hide category in joke of day sidebar */

/* Button overrides to remove borders/shadows */
.btn,
.btn-primary,
button[type="submit"] {
    border: none !important;
    box-shadow: none !important;
}

/* Footer styles are in footer-block/style.css */

/* ===================================
   STATIC PAGE STYLES (Impressum, Kontakt, etc.)
   =================================== */

.our-team-left {
    padding: 0 12px;
}

.team-heading {
    line-height: normal;
    padding: 0;
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--spruch-text-dark);
}

.page-content {
    text-align: justify;
}

.page-content p {
    font-size: 12px;
    margin-bottom: 15px;
}

/* ===================================
   DAYQUOTE PAGE STYLES (extends static page styles)
   =================================== */

.dayquote-page h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--spruch-text-dark);
}

.dayquote-textarea {
    width: 90%;
    height: 100px;
    font-family: monospace;
    font-size: 12px;
    padding: 8px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    resize: none;
    margin-bottom: 15px;
}

.dayquote-page .bq_s {
    margin-top: 15px;
}

.dayquote-page .bodybold {
    font-weight: 700;
}

.dayquote-page .bodybold a {
    color: var(--spruch-link-blue);
}

.dayquote-page .bodybold img {
    vertical-align: middle;
    margin-right: 5px;
}

/* Quote/Joke Preview Styles - matching original */
.quote-div {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    background: #fff;
    margin-bottom: 15px;
}

.quoteHeading {
    font-size: 18px;
    color: #038bd8;
    border-bottom: 1px solid #d8d4d4;
    font-weight: 700;
    height: 25px;
    margin-bottom: 10px;
    text-align: left;
}

.quote-div .quote-txt {
    color: #747474;
    font-size: 14px;
    font-weight: bold;
    text-align: justify;
    margin-bottom: 10px;
}

.quote-div .author {
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0 0 0;
    min-height: 25px;
}

.quote-div .author a {
    color: var(--spruch-link-blue);
}

.quote-div .anquer {
    font-size: 12px;
    font-style: italic;
    color: var(--spruch-link-blue);
}

/* Right box author override */
.right-box .author {
    font-size: 13px;
    font-family: 'MarketingScript';
    text-align: left;
    margin: 10px 0 0 0 !important;
    border-bottom: none !important;
}

/* Author script styling - uses MarketingScript font */
.author-script {
    font-family: 'MarketingScript', cursive;
    font-size: 13px;
    text-align: left;
}

/* Category name override */

/* ===================================
   CONTACT FORM 7 STYLING
   =================================== */

.wpcf7 .form-control {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcf7 input[type="submit"] {
    background: linear-gradient(to bottom, #4ebaff, #0482d5);
    background-color: #006dcc;
    border: none;
    color: #fff;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(to bottom, #5fc3ff, #0890e0);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
}

.wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* === BOOTSTRAP 5 STYLE FOR ALL CONTACT FORM 7 FORMS === */

/* Form container */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}

/* Labels */
.wpcf7-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #212529;
}

/* Text inputs, email, tel, textarea, select */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-bottom: 1rem;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* Placeholder */
.wpcf7-form ::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.wpcf7-form input[type="submit"]:active {
    background-color: #0a58ca;
}

/* Validation messages */
.wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    display: block !important;
}

.wpcf7-mail-sent-ok {
    color: #155724;
    background-color: #d4edda;
    border: 2px solid #28a745;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
    color: #721c24;
    background-color: #f8d7da;
    border: 2px solid #dc3545;
}

/* Required asterisk */
.wpcf7-form .wpcf7-list-item {
    margin-bottom: 0.5rem;
}

/* Checkbox & radio (optional improvement) */
.wpcf7-form .wpcf7-list-item-label {
    font-weight: normal;
}

/* ===================================
   RESPONSIVE UTILITIES
   Additional responsive styles beyond what's in blocks
   =================================== */

/* Already handled in earlier responsive section */
