/*
Theme Name: Boidetfri Final
Theme URI: https://boidetfri.dk
Author: Town Colors (Scop Kariah)
Author URI: https://towncolors.com
Description: A nature-based classified ads theme for selling properties, cabins, and land across Denmark. Built lightweight and plugin-free.
Version: 3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boidetfri
*/

@font-face {
  font-family: 'DRPublik';
  src: url('../fonts/DRPublik-Regular-30c6d525a0a01c7fa00ed0aa836e5a84.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DRPublik';
  src: url('../fonts/DRPublik-SemiBold-9860ac45dcc6d54a81010c70b01e7000.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Gibson';
  src: url('../fonts/gibson-regular-4db6c7cf736871a88ec2efd6df53fb69.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

/* Apply Gibson for body text */
body {
  font-family: 'Gibson', sans-serif;
  font-weight: 400;
}

/* Apply DRPublik SemiBold for headings, buttons */
h1, h2, h3, h4, h5, h6, strong, b, button, .button, .btn {
  font-family: 'DRPublik', sans-serif;
  font-weight: 600;
}

/* Optional: force all elements to only use your fonts */
*, *::before, *::after {
  font-family: inherit !important;
}



.main-image-wrapper {
  width: 100%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
}

.main-image-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1);
  z-index: 1;
}

.main-image {
  position: relative;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  z-index: 2;
  border-radius: 8px;
}


.breadcrumbs {
  font-size: 0.85em;
  margin-bottom: 20px;
  color: #444;
}
.breadcrumbs a {
  color: #2d4828;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  color: #888;
}

.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
}
 .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.post-card a:hover {
  text-decoration: underline;
}

.post-card a[href*="Læs"] {
  background-color: #3d7f3c;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s ease;
}

.property-image {
  height: 200px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .property-grid {
    grid-template-columns: 1fr;
  }
}

.se-mere-btn {
  background: #365600;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

.se-mere-btn:hover {
  background: #2a4500;
}

.pagination-wrapper {
  text-align: center;
  margin: 40px 0;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background: #eee;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
}

.pagination-wrapper .current {
  background: #365600;
  color: white;
}

.breadcrumbs {
  font-size: 0.9em;
  margin-bottom: 20px;
  color: #666;
}
.breadcrumbs a {
  color: #0073aa;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs .sep {
  margin: 0 8px;
  color: #aaa;
}

.sidebar-widget {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.sidebar-widget h3 {
  margin-top: 0;
  font-size: 1.1em;
  color: #2a4b1f;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget li {
  margin-bottom: 10px;
}
.sidebar-widget li a {
  text-decoration: none;
  color: #333;
  font-size: 0.95em;
  display: block;
  padding: 6px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.sidebar-widget li a:hover {
  background: #2a4b1f;
  color: #fff;
}

.property-box .section-label {
  font-size: 16px;
  font-weight: bold;
  color: #000000;/* 🌿 deep green 
  margin-bottom: 8px;
}

@media (max-width: 768px) {
    main > .dashboard-layout {
        flex-direction: column;
        gap: 20px;
    }

    form input[type="text"],
    form input[type="email"],
    form textarea {
        font-size: 1em;
        padding: 10px;
    }

    form button {
        width: 100%;
        font-size: 1em;
    }

    .dashboard-sidebar {
        width: 100% !important;
    }
}
