/*
Theme Name: Luxury Boats Rental
Description: A modern, minimal luxury theme for boat rental business
Version: 1.0
Template: twentytwentyfive
Text Domain: luxury-boats
*/

/* Import parent theme styles */
@import url("../twentytwentyfive/style.css");

/* Luxury Color Scheme */
:root {
    --wp--preset--color--primary: #04344b;
    --wp--preset--color--secondary: #fcefde;
    --wp--preset--color--accent: #d4af37;
    --wp--preset--color--dark: #1a1a1a;
    --wp--preset--color--light: #ffffff;
    --wp--preset--color--muted: #f8f9fa;
}

/* Global Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure proper layout */
.wp-site-blocks {
    overflow-x: hidden;
}

.entry-content {
    overflow-x: hidden;
}

/* Container and Layout Improvements */
.wp-block-group,
.wp-block-columns,
.entry-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Google Maps Container */
.google-maps-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(4, 52, 75, 0.15);
    margin: 30px 0;
    transition: box-shadow 0.3s ease;
    background: #f8f9fa;
}

.google-maps-container:hover {
    box-shadow: 0 12px 40px rgba(4, 52, 75, 0.2);
    transform: translateY(-2px);
}

.google-maps-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(0.1) contrast(1.1);
    transition: filter 0.3s ease;
}

.google-maps-container:hover iframe {
    filter: grayscale(0) contrast(1.2);
}

/* Loading animation for maps */
.google-maps-container.loading::before {
    content: "Loading map...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10;
    color: var(--wp--preset--color--primary);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-maps-container.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 40px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--wp--preset--color--accent);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive design for maps */
@media (max-width: 768px) {
    .google-maps-container {
        height: 300px;
        margin: 20px 0;
        border-radius: 8px;
    }
}

/* Contact page layout */
.contact-layout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 60px !important;
    align-items: flex-start !important;
}

.contact-layout > div {
    flex: 1 1 45% !important;
    min-width: 300px !important;
}

@media (max-width: 768px) {
    .contact-layout > div {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
}

.wp-block-columns {
    gap: 60px !important;
}

.wp-block-column {
    padding: 0 20px;
}

/* Page Content Wrapper */
.page .entry-content,
.single .entry-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Hide page titles but ALLOW boat titles */
.page .entry-title,
.page .wp-block-post-title,
.page h1.entry-title,
.home .entry-title,
.home .wp-block-post-title,
.home h1.entry-title {
    display: none !important;
}

/* Style boat titles properly */
.single-boats .wp-block-post-title,
.single .wp-block-post-title {
    display: block !important;
    color: #04344b !important;
    font-size: 2.5rem !important;
    font-weight: 300 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
}

/* Header Styling */
.wp-site-blocks header {
    background-color: var(--wp--preset--color--light);
    box-shadow: 0 2px 10px rgba(4, 52, 75, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.wp-block-site-title a {
    color: var(--wp--preset--color--primary) !important;
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none;
}

.wp-block-navigation a {
    color: var(--wp--preset--color--primary) !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-navigation a:hover {
    color: var(--wp--preset--color--accent) !important;
}

/* Hero Section - Full Width touching header */
.hero-section {
    color: var(--wp--preset--color--light);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 350px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin: 0 !important;
    margin-top: -80px !important;
    padding: 0 !important;
    padding-top: 80px !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Buttons */
.wp-block-button .wp-block-button__link,
.luxury-btn {
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--dark);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.wp-block-button .wp-block-button__link:hover,
.luxury-btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.boat-card {
    background: var(--wp--preset--color--light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Fleet cards in gradient section */
.luxury-gradient .boat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.boat-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.boat-info {
    padding: 25px;
}

.boat-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wp--preset--color--primary);
    margin-bottom: 10px;
}

.boat-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.boat-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Section Styling */
.luxury-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    color: var(--wp--preset--color--primary);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    justify-items: center;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--wp--preset--color--light);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(4, 52, 75, 0.08);
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--wp--preset--color--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--light);
    font-size: 1.5rem;
}

/* Footer */
.wp-site-blocks footer {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: var(--wp--preset--color--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--wp--preset--color--accent);
}

/* Contact Section */
.contact-info {
    background: var(--wp--preset--color--light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(4, 52, 75, 0.1);
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--wp--preset--color--primary);
    margin-right: 15px;
    font-size: 1.3rem;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(4, 52, 75, 0.1);
}

/* Contact page layout fix - SUPER FORCE GRID */
.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 60px !important;
    align-items: start !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 60px !important;
    }
}

/* Force contact sections to stay side by side */
.contact-grid > div {
    width: 100% !important;
    max-width: none !important;
}

/* NUCLEAR CONTACT GRID OVERRIDE */
.contact-grid,
div.contact-grid,
.luxury-section .contact-grid,
.luxury-section div.contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: start !important;
}

/* Override any inline styles on contact grid */
div[class="contact-grid"],
div[class*="contact-grid"],
[class="contact-grid"],
[class*="contact-grid"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: start !important;
}

/* Responsive override */
@media (max-width: 767px) {
    .contact-grid,
    div.contact-grid,
    div[class*="contact-grid"] {
        grid-template-columns: 1fr !important;
    }
}

/* FORCE boat image spacing */
.single .wp-block-post-featured-image,
.single-boats .wp-block-post-featured-image,
body.single .wp-block-post-featured-image,
body.single-boats .wp-block-post-featured-image {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--wp--preset--color--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 20px 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Fix container padding for tablets */
    .wp-block-group,
    .wp-block-columns,
    .entry-content {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* Fix hero section for mobile */
    .hero-section {
        height: auto !important;
        min-height: 300px !important;
        padding: 80px 15px 60px !important;
        margin-left: 0 !important;
        width: 100% !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Fix fleet grid for mobile */
    .fleet-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 20px 15px;
    }
    
    /* Fix container padding for mobile */
    .wp-block-group,
    .wp-block-columns,
    .entry-content {
        padding: 0 15px;
    }
    
    .luxury-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
        font-size: 24px;
    }
    
    .boat-card {
        margin: 0;
        max-width: 100%;
    }
    
    .contact-info {
        margin: 15px 0;
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
        margin: 15px 0;
    }
    
    /* Fix contact layout for mobile */
    .contact-layout {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .contact-layout > div {
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    /* Page content mobile adjustments */
    .page .entry-content,
    .single .entry-content {
        padding: 20px 15px;
    }
    
    /* Mobile Menu Responsive Behavior */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .mobile-menu-drawer,
    .mobile-menu-overlay {
        display: block !important;
    }
    
    /* Hide desktop navigation on mobile and show hamburger */
    .desktop-navigation {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Header layout adjustments for mobile menu */
    .wp-site-blocks header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    /* Mobile menu drawer adjustments for small screens */
    .mobile-menu-drawer {
        width: 260px;
    }
    
    .mobile-menu-nav a {
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    .mobile-menu-header h3 {
        font-size: 1.2rem;
    }
    
    /* Hero section for small screens */
    .hero-section {
        padding: 60px 10px 40px !important;
        min-height: 250px !important;
    }
    
    .hero-title {
        font-size: 1.7rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    /* Section adjustments */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* Container padding for very small screens */
    .wp-block-group,
    .wp-block-columns,
    .entry-content {
        padding: 0 10px;
    }
    
    .luxury-section {
        padding: 30px 10px;
    }
    
    /* Fleet and boat cards */
    .fleet-grid {
        padding: 15px 10px;
        gap: 15px;
    }
    
    .boat-info {
        padding: 15px;
    }
    
    .boat-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    
    .boat-specs {
        flex-direction: column;
        gap: 6px;
        font-size: 0.85rem;
    }
    
    /* Buttons for small screens */
    .wp-block-button .wp-block-button__link,
    .luxury-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    /* Contact sections */
    .contact-info,
    .contact-form {
        padding: 15px;
        margin: 10px 0;
    }
    
    .contact-item {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    /* Form improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* WhatsApp button adjustment */
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 10px;
        font-size: 20px;
    }
    
    /* Footer adjustments */
    .footer-content {
        padding: 0 10px;
        gap: 25px;
    }
    
    /* Service items */
    .service-item {
        padding: 25px 15px;
        max-width: 100%;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* Page content */
    .page .entry-content,
    .single .entry-content {
        padding: 15px 10px;
    }
    
    /* Navigation for very small screens */
    .wp-block-navigation li {
        margin: 0 5px !important;
    }
    
    .wp-block-navigation a {
        font-size: 0.85rem !important;
        padding: 8px 0 !important;
    }
}

/* Extra small screens (320px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .wp-block-group,
    .wp-block-columns,
    .entry-content,
    .luxury-section {
        padding: 0 8px;
    }
    
    .fleet-grid {
        padding: 10px 8px;
    }
    
    .boat-info {
        padding: 12px;
    }
    
    .contact-info,
    .contact-form {
        padding: 12px;
    }
    
    .whatsapp-float {
        width: 40px;
        height: 40px;
        font-size: 18px;
        right: 8px;
        bottom: 12px;
    }
    
    .footer-content {
        padding: 0 8px;
    }
}

/* Landscape phones and small tablets */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 200px !important;
        padding: 40px 15px 30px !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.wp-site-blocks {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Fix any potential layout breaking elements */
* {
    box-sizing: border-box !important;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Social Media Icons Fix */
.social-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin: 30px 0 !important;
}

.social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.social-links a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

/* Remove ALL WordPress footer elements completely */
.wp-block-site-info,
.site-info,
#colophon,
.site-footer,
footer:not(.custom-footer),
.wp-site-blocks footer:not(.custom-footer),
footer.wp-block-group:not(.custom-footer),
.wp-site-blocks > footer:not(.custom-footer),
.wp-block-template-part[data-type="footer"],
.entry-content + footer,
body > footer:not(.custom-footer) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Clean up margins and borders */
.wp-site-blocks::after,
.wp-site-blocks::before {
    display: none !important;
}

/* Custom Footer - The ONLY Footer */
.custom-footer {
    background: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--light) !important;
    padding: 60px 0 30px !important;
    margin-top: 80px !important;
    position: relative !important;
    z-index: 9999 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    clear: both !important;
}

/* Enhanced Visual Elements */
.luxury-gradient {
    background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, #0a5d7a 100%) !important;
}



/* Simple navigation styling - let WordPress handle mobile behavior */
.wp-block-navigation a {
    color: var(--wp--preset--color--primary) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.wp-block-navigation a:hover {
    color: var(--wp--preset--color--accent) !important;
}

.luxury-shadow {
    box-shadow: 0 20px 40px rgba(4, 52, 75, 0.15);
}

.luxury-border {
    border: 2px solid rgba(4, 52, 75, 0.1);
}

/* Remove post meta (written by) and post navigation - AGGRESSIVE */
.entry-meta,
.post-meta,
.wp-block-post-author,
.wp-block-post-date,
.post-navigation,
.nav-links,
.more-link,
.related-posts,
.wp-block-latest-posts,
.post-edit-link,
.byline,
.author-meta,
.entry-footer,
.wp-block-post-author-name,
.wp-block-post-author-biography,
.wp-block-avatar,
.wp-block-post-navigation-link,
.entry-header .entry-meta,
.entry-header .byline,
.entry-content .entry-meta,
.single .entry-header .entry-meta,
.single-boats .entry-header .entry-meta,
.single-boats .entry-header .byline,
.single-boats .post-meta,
.single-boats .byline,
.vcard,
.author,
.posted-on,
.entry-date,
.by-author,
.wp-block-post-author *,
.entry-meta *,
.byline *,
.single-boats .entry-header *:contains("Written by"),
.single-boats .entry-header *:contains("by"),
p:contains("Written by"),
span:contains("Written by") {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide more posts section and broken elements on single boat pages - SUPER AGGRESSIVE */
.single-boats .entry-footer,
.single-boats .post-navigation,
.single-boats .nav-previous,
.single-boats .nav-next,
.single-boats .wp-block-latest-posts,
.single-boats .related-posts,
.single-boats .post-meta,
.single-boats .entry-meta,
.single-boats .wp-block-post-author,
.single-boats .wp-block-post-date,
.single-boats .wp-block-avatar,
.single-boats .byline,
.single-boats .author-meta,
.single .entry-footer,
.single .post-navigation,
.single .nav-previous,
.single .nav-next,
.single .wp-block-latest-posts,
.single .related-posts,
.single .wp-block-query,
.single .wp-block-query-pagination,
.single-boats .wp-block-query,
.single-boats .wp-block-query-pagination,
.wp-block-latest-posts,
.wp-block-query,
/* Keep entry headers but hide only meta information inside them */
.single-boats .entry-header .entry-meta,
.single .entry-header .entry-meta,
.single-boats .entry-header .byline,
.single .entry-header .byline {
    display: none !important;
}

/* Fix spacing at bottom of boat pages */
.single-boats .entry-content,
.single .entry-content {
    margin-bottom: 40px !important;
    padding-bottom: 0 !important;
}

/* Hide any text containing "More posts" or similar */
*:contains("More posts"),
*:contains("Related posts"),
*:contains("You might also like"),
h2:contains("More"),
h3:contains("More"),
.more-posts,
.related-content,
[class*="more"],
[class*="related"] {
    display: none !important;
}

/* Remove any broken or placeholder images but keep featured images */
.single-boats img[src*="placeholder"],
.single-boats img[src=""],
.single-boats .wp-block-avatar img,
.single img[src*="placeholder"],
.single img[src=""],
.single .wp-block-avatar img {
    display: none !important;
}

/* Ensure featured images display properly with reduced spacing */
.single-boats .wp-block-post-featured-image img,
.single .wp-block-post-featured-image img,
.wp-block-post-featured-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 15px !important;
    margin-bottom: 15px !important;
}

.wp-block-post-featured-image {
    display: block !important;
    margin-bottom: 15px !important;
}

/* Reduce spacing after boat image on single pages */
.single-boats .wp-block-post-featured-image,
.single .wp-block-post-featured-image {
    margin-bottom: 20px !important;
}