/*

 Theme Name:   GeneratePress Child

 Theme URI:    https://generatepress.com

 Description:  Default GeneratePress child theme

 Author:       Tom Usborne

 Author URI:   https://tomusborne.com

 Template:     generatepress

 Version:      0.1

*/



/* 18h Hotel Listing Styles */
.h18-container{max-width:1200px;margin:0 auto}
.h18-breadcrumbs{font-size:13px;color:#666;margin:10px auto;max-width:1200px}
.h18-breadcrumbs a{color:#1a73e8;text-decoration:none}
.h18-breadcrumbs a:hover{text-decoration:underline}
.h18-see-all{text-align:center;margin:10px 0 24px}
.h18-see-all a{font-weight:700;text-decoration:underline;color:#1a73e8}

.h18-hotel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;max-width:1200px;margin:0 auto}

.h18-hotel-card{background:#fff;border:1px solid #e0e0e0;border-radius:14px;overflow:hidden;box-shadow:0 4px 8px rgba(0,0,0,.06);transition:box-shadow .3s;margin-bottom:.2rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.h18-hotel-card:hover{box-shadow:0 8px 16px rgba(0,0,0,.12)}

.h18-card-image-wrap{position:relative}
.h18-card-image{width:100%;height:220px;object-fit:cover;display:block}
.h18-card-rating{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.65);color:#fff;padding:5px 10px;border-radius:18px;font-size:.8em;font-weight:700}
.h18-card-rating .h18-star{color:#ffc107}

.h18-card-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px}
.h18-badge{background:#0073aa;color:#fff;padding:4px 10px;border-radius:4px;font-size:.82em;font-weight:700}
.h18-badge-highly-rated{background:#a0432e}
.h18-badge-great-value{background:#28a745}
.h18-badge-amenity-rich{background:#3a4b62;color:#333}

.h18-card-content{padding:18px}
.h18-card-title{margin:0 0 4px;font-size:1.15em;font-weight:700}
.h18-card-star-rating{display:flex;justify-content:flex-end;font-size:.8em;color:#777;margin-bottom:0;font-weight:500}
.h18-card-star-rating .h18-star-icon{color:#ffc107;margin-right:2px}
.h18-card-location{margin:0 0 12px;color:#8d8b8b;font-size:13px}
.h18-card-location i{margin-right:6px;color:#d1543c}

.h18-age-box{display:inline-flex;align-items:center;gap:6px;background:#e1dcd4;border:1px solid #ddd1bd;color:#a0432e;padding:5px 5px;border-radius:6px;font-size:.8em;font-weight:600;margin-bottom:5px}
.h18-age-box i{color:#a0432e}

.h18-amenities{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px;padding-bottom:5px;border-bottom:1px solid #eee}
.h18-amenity{display:flex;align-items:center;color:#555;font-size:.75em}
.h18-amenity i{margin-right:8px;color:#3a4b62;width:20px;text-align:center}

.h18-card-desc{color:#333;line-height:1.5;margin:8px 0 10px;font-size:14px}

.h18-room-info{background:#e1dcd478;border:1px solid #e1dcd4;border-radius:6px;padding:12px;margin-bottom:10px}
.h18-room-name{font-weight:400;margin-bottom:6px;font-size:15px;}
.h18-room-name i{margin-right:6px;color:#777}
.h18-room-meta{display:flex;justify-content:flex-start;gap:16px;color:#555;font-size:.7em}
.h18-room-meta i{margin-right:6px;color:#1f2d40}
.h18-room-meta .h18-right{text-align:right;margin-left:auto}

.h18-card-details{color:#555;font-size:.8em;margin-top:6px}
.h18-card-details-row{display:flex;justify-content:space-between;margin-bottom:6px}
.h18-card-details-row span{display:flex;align-items:center;gap:6px}
.h18-details-parking{display:flex;align-items:center;gap:6px;color:#555;font-size:.9em}
.h18-card-details i{color:#1f2d40}

.h18-card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:14px;border-top:1px solid #eee}
.h18-price .h18-from{font-size:.9em;color:#777;display:block}
.h18-price .h18-amount{font-size:1.7em;font-weight:700;color:#333}
.h18-price .h18-per{font-size:.9em;color:#777}
.h18-cta{background:#1a73e8;color:#fff;padding:12px 26px;text-decoration:none;border-radius:6px;font-weight:700;transition:background .2s;min-width:220px;text-align:center}
.h18-cta:hover{background:#135fbe;color:#fff}

.h18-pagination{margin:32px auto 0;text-align:center;max-width:1200px}
.h18-pagination a,.h18-pagination span{padding:8px 14px;margin:0 2px;border:1px solid#ddd;border-radius:4px;text-decoration:none;color:#0073aa;transition:background .3s,color .3s;display:inline-block}
.h18-pagination a:hover{background:#f0f0f0;border-color:#ccc}
.h18-pagination .current{background:#0073aa;color:#fff;border-color:#0073aa;font-weight:700}

.h18-section{margin-top:36px;padding-top:22px;border-top:1px solid #e0e0e0;max-width:1200px}
.h18-section-title{font-size:1.6em;font-weight:700;margin:25px 0 20px;text-align:center}
.h18-other-cities{list-style:none;padding:0;margin:0 0 26px;display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:1200px}
.h18-other-cities li a{display:block;padding:10px 18px;background:#f9f9f9;border:2px solid #1a73e8;border-radius:8px;text-decoration:none;color:#1a73e8;font-weight:600;transition:background .3s,border-color .3s,color .3s;min-width:140px;text-align:center;border-style: solid !important;border-width: 1px !important}
.h18-other-cities li a:hover{background:#e8f1ff;border-color:#135fbe;color:#135fbe}

@media (max-width:480px){
  .h18-hotel-grid{grid-template-columns:1fr}
  .h18-card-footer{flex-direction:column;align-items:stretch}
  .h18-price{margin-bottom:12px}
}

/* Expander */
.h18-expander{margin-top:10px}
.h18-expander summary{cursor:pointer;font-weight:600;color:#1c5197;user-select:none;font-size:16px}
.h18-expander summary:hover{text-decoration:underline}
.h18-highlights{padding-left:18px;margin:10px 0 0;color:#333;line-height:1.6;font-size:13px}