/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
Version: 1.0
*/

/* You can add custom CSS here */

.camper-van-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Container for main content and sidebar */
.camper-van-container {
    display: flex;
    gap: 20px;
    min-height: 100vh; /* Make the height of the container fill the viewport */
}

.camper-van-main-content {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9; /* Optional: Background color to visually differentiate */
}

.camper-van-sidebar {
    flex: 0 0 20%;
    padding: 20px;
    background-color: #fff;
    border-left: 1px solid #e0e0e0; /* Optional: Add a border for better visual separation */
}

/* Ensure the content and sidebar take the full height of the viewport */
.camper-van-main-content,
.camper-van-sidebar {
    min-height: 100vh;
}

@media (max-width: 768px) {
    .camper-van-container {
        flex-direction: column;
    }

    .camper-van-main-content,
    .camper-van-sidebar {
        min-height: auto;
    }
}

.camper-van-image img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Custom Fields Styling */
.camper-van-details {
    padding: 20px;
}

.camper-van-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    grid-gap: 20px; /* Add some space between the fields */
}

.camper-van-field {
    font-size: 16px;
}

/* Responsive layout: single column on smaller screens */
@media (max-width: 768px) {
    .camper-van-fields-grid {
        grid-template-columns: 1fr; /* Switch to one column on smaller screens */
    }
}

.camper-van-content h2 {
    margin-top: 40px;
}

.camper-van-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.camper-van-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.camper-van-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.camper-van-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.camper-van-thumbnail img {
    width: 100%;
    height: auto;
}

.camper-van-content {
    padding: 15px;
}

.camper-van-content h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Force remove bullet points from the camper-van-details list */
.camper-van-details ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force remove underline from links inside the camper-van-details and sidebar */
.camper-van-details a, .widget-area a {
    text-decoration: none !important;
    color: inherit !important; /* Optional: keep the color consistent */
}

.camper-van-details a:hover, .widget-area a:hover {
    text-decoration: underline !important; /* Optional: underline on hover */
}

.camper-van-location {
    font-size: 0.875rem;
    color: #757575;
    margin-top: 10px;
}

.camper-van-location a {
    color: #757575;
    text-decoration: none;
}

.camper-van-location a:hover {
    text-decoration: underline;
}

/* Custom Header Styling */
.site-header {
    background-image: url('https://sale.arcticcampers.no/wp-content/uploads/2024/10/bg.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

@font-face {
    font-family: 'Adele';
    src: url('twentytwentyfour-child/fonts/Adelle_Bold.otf') format('opentype'); /* Corrected format */
    font-weight: bold;
    font-style: normal;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.site-title {
    font-family: 'Adelle', sans-serif;
    font-weight: bold; /* Explicitly set font-weight to bold */
    font-size: 3rem;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: white;
}

.site-tagline {
    font-family: 'Helvetica', sans-serif;
    font-size: 1.25rem;
    margin-top: 10px;
    padding: 0;
    font-weight: 300;
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }
    .site-tagline {
        font-size: 1rem;
    }
}

/* Apply Adelle font to the entry title */
.entry-title {
    font-family: 'Adelle', sans-serif; /* Use Adelle for the title */
    font-weight: bold; /* Use bold for better emphasis */
    font-size: 2.5rem; /* Adjust size as needed */
    margin-bottom: 20px;
    color: #333; /* Adjust color as needed */
}

/* Footer styling */
.site-footer {
    text-align: center;
    padding: 20px 0;
    background-color: #0f385c; /* Optional: You can set a background color */
}

.site-footer p {
    font-size: 12px;
    color: #FFF;
    margin: 0;
}

.site-footer a {
    color: #FFF;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Apply Adelle font to all heading tags (h1, h2, h3, etc.) inside the sidebar */
.widget-area h1,
.widget-area h2,
.widget-area h3,
.widget-area h4,
.widget-area h5,
.widget-area h6 {
    font-family: 'Adelle', sans-serif;
    font-weight: bold;
}

/* Remove underline from links inside the sidebar */
.widget-area a {
    text-decoration: none;
    color: #0073aa; /* Optional: Change link color */
}

.widget-area a:hover {
    text-decoration: underline; /* Optional: Add underline on hover */
    color: #005177;
}

/* Dealership Login Box Styling */
.dealership-login {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4; /* Light grey background */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.dealership-login h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.dealership-login input[type="text"],
.dealership-login input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

.dealership-login input[type="submit"] {
    width: 100%;
    background-color: #0073aa;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

.dealership-login input[type="submit"]:hover {
    background-color: #005177;
}

.dealership-login label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.dealership-login .login-remember {
    margin-bottom: 15px;
}

.dealership-login .login-remember label {
    font-weight: normal;
    font-size: 0.9rem;
}

.dealership-login a {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #0073aa;
    text-decoration: none;
}

.dealership-login a:hover {
    text-decoration: underline;
}
/* Styling the main container for archive page and sidebar */
.camper-van-archive-container {
    display: flex;
    gap: 20px;
}

/* Main content should take up more space than the sidebar */
.camper-van-main-content {
    flex: 3; /* Adjust this to take up most of the space */
}

/* Sidebar styling */
.camper-van-sidebar {
    flex: 1; /* Sidebar should be smaller */
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ddd;
}

/* Responsive styling */
@media (max-width: 768px) {
    .camper-van-archive-container {
        flex-direction: column; /* Stack sidebar and content vertically on small screens */
    }
}

/* Price Section Styling */
.camper-van-price-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
}

.public-price, .dealership-price {
    font-size: 2.5rem !important; /* Force bigger font size */
    margin-bottom: 10px;
}

.dealership-price {
    color: #cc0000 !important; /* Different color for dealership price */
}
/* Style the Contact Form */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.wpcf7-form p {
    margin-bottom: 15px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.wpcf7-form input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #005177;
}

.wpcf7-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}