/* Apply styles only within imported post content */
.single-post .imported-post-content, .post .imported-post-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Section titles in imported post content */
.single-post .imported-post-content .section-title, .post .imported-post-content .section-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Rating section styling within imported post content */
.single-post .imported-post-content .rating-section .rating-box, .post .imported-post-content .rating-section .rating-box {
    background: #e1f5fe;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.single-post .imported-post-content .rating-number, .post .imported-post-content .rating-number {
    font-size: 2em;
    color: #01579b;
}

/* Link styling within imported post content */
.single-post .imported-post-content a, .post .imported-post-content a {
    color: #0277bd;
    text-decoration: none;
}

/* Exclude Kauai Connect links from blue color */
.single-post .imported-post-content .kauai-connect-link, .post .imported-post-content .kauai-connect-link {
    color: inherit;
    text-decoration: none;
}

/* Link hover effect */
.single-post .imported-post-content a:hover, .post .imported-post-content a:hover {
    text-decoration: underline;
}

/* Button links for website inside imported post content */
.single-post .imported-post-content .button-link, .post .imported-post-content .button-link {
    display: inline-block;
    background-color: #0277bd;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.single-post .imported-post-content .button-link:hover, .post .imported-post-content .button-link:hover {
    background-color: #01579b;
}

/* Address links within imported post content */
.single-post .imported-post-content .address-link, .post .imported-post-content .address-link {
    color: #0277bd;
    font-weight: bold;
    font-size: 1.1em;
}

.single-post .imported-post-content .address-link:hover, .post .imported-post-content .address-link:hover {
    color: #01579b;
}

/* Phone number links within imported post content */
.single-post .imported-post-content .phone-link, .post .imported-post-content .phone-link {
    font-size: 1.2em;
    font-weight: bold;
    color: #0277bd;
}

.single-post .imported-post-content .phone-link:hover, .post .imported-post-content .phone-link:hover {
    text-decoration: underline;
}

/* Map styling within imported post content */
.single-post .imported-post-content .map-box iframe, .post .imported-post-content .map-box iframe {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Hours of operation table inside imported post content */
.single-post .imported-post-content .hours-table, .post .imported-post-content .hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.single-post .imported-post-content .hours-table td, .post .imported-post-content .hours-table td {
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 1.1em;
}

.single-post .imported-post-content .hours-table td:first-child, .post .imported-post-content .hours-table td:first-child {
    font-weight: bold;
    background-color: #e1f5fe;
}

/* Discount section inside imported post content */
.single-post .imported-post-content .discount, .post .imported-post-content .discount {
    background-color: #d1c4e9;
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.single-post .imported-post-content .discount strong, .post .imported-post-content .discount strong {
    font-size: 1.2em;
    color: #6a1b9a;
}

.wpforms-confirmation-container-full {
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.tribe-events-single .tribe-events-event-image img,
.tribe-events-single .tribe-events-content img.wp-post-image,
.tribe-events-event-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
}

/* ── Filter Everything - Kauai Connect Styles ── */

/* ── Filter panel wrapper ── */
.wpc-filters-main-wrap {
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 6px !important;
  padding: 20px 24px !important;
  margin-bottom: 28px !important;
}

/* ── Filter group labels ── */
.wpc-filter-title,
.wpc-filter-name {
  font-family: Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #888 !important;
  margin-bottom: 8px !important;
}

/* ── Select2 container ── */
.select2-container,
.select2-container--default {
  width: 100% !important;
  margin-bottom: 12px !important;
}

/* ── Closed dropdown box ── */
.select2-container--default .select2-selection--single {
  background-color: #f9f9f9 !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 4px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
}

/* ── Open state border ── */
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #f5c800 !important;
  background: #fff !important;
}

/* ── Text inside closed dropdown ── */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  color: #1a1a1a !important;
  padding-left: 14px !important;
  line-height: 42px !important;
}

/* ── Arrow ── */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
  right: 10px !important;
}

/* ── Dropdown list ── */
.select2-dropdown {
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 4px !important;
}

/* ── Search box inside dropdown ── */
.select2-search--dropdown .select2-search__field {
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 3px !important;
  padding: 6px 10px !important;
  outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #f5c800 !important;
}

/* ── Options ── */
.select2-results__option {
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  padding: 8px 14px !important;
  color: #1a1a1a !important;
  background: #fff !important;
}

/* ── Hover ── */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #f5c800 !important;
  color: #1a1a1a !important;
}

/* ── Already selected option ── */
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #f9f9f9 !important;
  color: #888 !important;
}

/* ── Show button ── */
.wpc-submit-filters-button,
.wpc-filters-main-wrap input[type="submit"],
.wpc-filters-main-wrap button[type="submit"] {
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  background: #f5c800 !important;
  color: #1a1a1a !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 11px 24px !important;
  cursor: pointer !important;
  margin-top: 4px !important;
}

/* ── Reset link ── */
.wpc-reset-filters {
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  color: #888 !important;
  text-decoration: none !important;
  margin-left: 12px !important;
}

/* ── Homepage - Rounded Cards ── */
/* Rounds images inside blocks sitewide */
.wp-block-image img,
.wp-block-post-featured-image img {
  border-radius: 12px;
}

/* Rounds post/card blocks sitewide */
.wp-block-post {
  border-radius: 12px;
  overflow: hidden;
}

/* ============================================================
   KauaiConnect — Place Page Styles
   Paste into: Appearance → Customize → Additional CSS
   ============================================================ */

.kc-place-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  max-width: 960px;
  margin: 0 auto;
}

/* Overview blurb */
.kc-overview {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8e4dc;
}

/* Hero bar: rating, price, region */
.kc-hero-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
  padding: .875rem 1rem;
  background: #f7f5f0;
  border-radius: 8px;
}

/* Star rating */
.kc-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.kc-stars {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 16px;
}
.kc-stars::before {
  content: '★★★★★';
  position: absolute;
  font-size: 16px;
  color: #ddd;
  letter-spacing: 2px;
}
.kc-stars-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
}
.kc-stars-fill::before {
  content: '★★★★★';
  position: absolute;
  font-size: 16px;
  color: #e8a020;
  letter-spacing: 2px;
  white-space: nowrap;
}
.kc-rating strong {
  font-size: 1rem;
  font-weight: 600;
}
.kc-review-count {
  font-size: .85rem;
  color: #666;
}

/* Price level */
.kc-price {
  font-size: .95rem;
  font-weight: 600;
  color: #2a7a4b;
}

/* Region */
.kc-region {
  font-size: .85rem;
  color: #666;
}

/* Two-column grid */
.kc-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 720px) {
  .kc-grid {
    grid-template-columns: 1fr;
  }
  .kc-col-side {
    order: -1;
  }
}

/* Sections */
.kc-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e8e4dc;
}
.kc-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.kc-section-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #999;
  margin: 0 0 .875rem;
}

/* Hours table */
.kc-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.kc-hours-table td {
  padding: .5rem .5rem;
}
.kc-hours-table tr.kc-today {
  background: #f0f7f2;
}
.kc-hours-table tr.kc-today .kc-day {
  font-weight: 700;
  color: #2a7a4b;
}
.kc-hours-table tr.kc-today .kc-time {
  font-weight: 600;
}
.kc-day {
  color: #555;
  width: 120px;
}
.kc-time {
  color: #333;
}

/* Happy hour variant */
.kc-happy-section .kc-section-title {
  color: #b8660a;
}
.kc-happy-table tr.kc-today {
  background: #fdf4e7;
}
.kc-happy-table tr.kc-today .kc-day {
  color: #b8660a;
}

/* Services pill tags */
.kc-services {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.kc-service-tag {
  display: inline-block;
  padding: .3rem .75rem;
  background: #f0f0eb;
  border-radius: 20px;
  font-size: .8rem;
  color: #444;
}

/* Kama'aina callout */
.kc-kamaaina-section {
  background: #f0f7f2;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  border-bottom: none !important;
}
.kc-kamaaina-section .kc-section-title {
  color: #2a7a4b;
}
.kc-kamaaina-section p {
  font-size: .9rem;
  margin-bottom: .35rem;
}
.kc-verified {
  font-size: .8rem;
  color: #666;
}

/* Contact card */
.kc-contact-section {
  border: 1px solid #e8e4dc;
  border-radius: 10px;
  padding: 1.25rem;
  border-bottom: none !important;
}
.kc-contact-row {
  margin-bottom: .875rem;
  font-size: .9rem;
}
.kc-contact-row:last-of-type {
  margin-bottom: 0;
}
.kc-website-link,
.kc-phone-link,
.kc-address-link {
  color: #1a5fa8;
  text-decoration: none;
  word-break: break-word;
  line-height: 1.5;
}
.kc-website-link:hover,
.kc-phone-link:hover,
.kc-address-link:hover {
  text-decoration: underline;
}

/* Map */
.kc-map {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}
.kc-map iframe {
  display: block;
}

/* Non-operational notice */
.kc-status-notice {
  margin-top: .75rem;
  padding: .75rem 1rem;
  background: #fff8e6;
  border: 1px solid #f0d080;
  border-radius: 8px;
  font-size: .85rem;
  color: #7a5c00;
  text-align: center;
}
