/* ── For Charter Page ───────────────────────────────────────────────────────── */

.for-charter-page {
    padding: 40px 0 60px;
}

/* Header */
.charter-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #e8e0d0;
    padding-bottom: 24px;
}

.charter-header h1 {
    margin-bottom: 12px;
}

.charter-intro p {
    color: #555;
    font-size: 16px;
    line-height: 1.65;
    max-width: 680px;
    margin: 0;
}

/* Sort button */
.charter-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 9px 18px;
    background: transparent;
    border: 2px solid #b07d2e;
    color: #b07d2e;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.charter-sort-btn:hover:not(:disabled) {
    background: #b07d2e;
    color: #fff;
}

.charter-sort-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.charter-geo-msg {
    font-size: 13px;
    color: #c0392b;
    margin: 8px 0 0;
}

/* Distance badge inside location line */
.charter-distance {
    font-size: 12px;
    font-weight: 600;
    color: #b07d2e;
    background: #fdf5e6;
    border: 1px solid #e8c87a;
    border-radius: 10px;
    padding: 1px 8px;
    margin-left: 6px;
}

/* Listing stack */
.charter-listings {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 52px;
}

/* Individual card — horizontal layout */
.charter-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 280px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #fff;
    transition: box-shadow 0.25s ease;
}

.charter-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

@media (max-width: 860px) {
    .charter-card {
        grid-template-columns: 1fr;
    }
}

/* Image panel */
.charter-card-image {
    overflow: hidden;
    position: relative;
}

.charter-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.charter-card:hover .charter-card-image img {
    transform: scale(1.04);
}

.charter-no-photo {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: #e8e0d0;
}

@media (max-width: 860px) {
    .charter-card-image {
        aspect-ratio: 16 / 9;
    }
    .charter-no-photo {
        min-height: 220px;
    }
}

/* Body panel */
.charter-card-body {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Top section: location + name + specs */
.charter-card-top {
    flex: 1;
}

.charter-location {
    font-size: 13px;
    font-weight: 600;
    color: #b07d2e;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.charter-location-icon {
    font-size: 13px;
}

.charter-name {
    font-size: 28px;
    margin: 0 0 12px;
    line-height: 1.15;
}

.charter-name a {
    color: #1a2e40;
    text-decoration: none;
}

.charter-name a:hover {
    color: #2c5f8d;
}

/* Specs row */
.charter-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.charter-spec {
    display: flex;
    align-items: center;
}

.charter-fss {
    color: #2c5f8d;
    font-weight: 600;
}

/* Description */
.charter-description {
    font-size: 14px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 20px;
}

.charter-description p {
    margin: 0 0 8px;
}

.charter-description p:last-child {
    margin-bottom: 0;
}

/* Footer: contact + actions */
.charter-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.charter-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.charter-phone,
.charter-email {
    font-size: 13px;
    text-decoration: none;
    color: #444;
}

.charter-phone {
    font-weight: 600;
    color: #2d7558;
}

.charter-phone::before {
    content: "📞 ";
    font-size: 12px;
}

.charter-email::before {
    content: "✉ ";
    font-size: 12px;
}

.charter-phone:hover,
.charter-email:hover {
    text-decoration: underline;
}

/* Action buttons */
.charter-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.charter-book-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #b07d2e;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.charter-book-btn:hover {
    background: #8c6020;
    color: #fff;
}

.charter-registry-link {
    font-size: 13px;
    color: #2c5f8d;
    text-decoration: none;
    white-space: nowrap;
}

.charter-registry-link:hover {
    text-decoration: underline;
}

/* Footer */
.charter-footer {
    border-top: 1px solid #e8e0d0;
    padding-top: 24px;
    font-size: 14px;
    color: #666;
}

.charter-footer a {
    color: #2c5f8d;
}

.charter-empty {
    font-size: 15px;
    color: #666;
    font-style: italic;
}
