/*
Theme Name: Guide To Lombok
Author: Jayax.dev
Description: Custom theme for Guide To Lombok.
Version: 1.0
Text Domain: guidetolombok
*/

.delimiter {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 96rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Destination Content - 2 Column Lists */
.destination-content.prose ul {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 1rem !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

@media (min-width: 768px) {
    .destination-content.prose ul {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

.destination-content.prose ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

.destination-content.prose ul li::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #9ca3af !important;
    border-radius: 50% !important;
    margin-top: 0.5rem !important;
    flex-shrink: 0 !important;
}

.destination-content.prose ul li::marker {
    content: none !important;
}

/* ============================================
   WORDPRESS CONTENT STYLING
   ============================================ */

/* Content Container */
.prose {
    color: #6b7280; /* gray-500 */
    font-size: 1rem;
    line-height: 1.75;
}

/* Headings */
.prose h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    line-height: 1.2;
    color: #111827; /* gray-900 */
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem; /* 30px */
    font-weight: 600;
    line-height: 1.3;
    color: #111827; /* gray-900 */
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.prose h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    line-height: 1.4;
    color: #111827; /* gray-900 */
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    line-height: 1.5;
    color: #111827; /* gray-900 */
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.prose h5 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    line-height: 1.5;
    color: #111827; /* gray-900 */
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose h6 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    line-height: 1.5;
    color: #374151; /* gray-700 */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paragraphs */
.prose p {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.prose p:first-child {
    margin-top: 0;
}

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

/* Links */
.prose a {
    color: #1d71b8; /* brand blue */
    text-decoration: underline;
    text-decoration-color: rgba(29, 113, 184, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.prose a:hover {
    color: #155a94; /* darker blue */
    text-decoration-color: #155a94;
}

/* Strong/Bold */
.prose strong,
.prose b {
    font-weight: 600;
    color: #111827; /* gray-900 */
}

/* Emphasis/Italic */
.prose em,
.prose i {
    font-style: italic;
}

/* Lists */
.prose ul,
.prose ol {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.375rem;
}

.prose ul > li::marker {
    color: #9ca3af; /* gray-400 */
}

.prose ol > li::marker {
    color: #6b7280; /* gray-500 */
    font-weight: 500;
}

/* Nested Lists */
.prose ul ul,
.prose ul ol,
.prose ol ul,
.prose ol ol {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Blockquotes */
.prose blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151; /* gray-700 */
    border-left: 4px solid #1d71b8;
    padding-left: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    quotes: """ """ "'" "'";
}

.prose blockquote p:first-of-type::before {
    content: open-quote;
}

.prose blockquote p:last-of-type::after {
    content: close-quote;
}

/* Code */
.prose code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #111827;
    background-color: #f3f4f6; /* gray-100 */
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.prose pre {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.75;
    color: #e5e7eb; /* gray-200 */
    background-color: #1f2937; /* gray-800 */
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
    overflow-x: auto;
}

.prose pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Horizontal Rule */
.prose hr {
    border: none;
    border-top: 1px solid #e5e7eb; /* gray-200 */
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Images */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prose figure {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prose figcaption {
    font-size: 0.875rem;
    color: #6b7280; /* gray-500 */
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.prose thead {
    border-bottom: 2px solid #e5e7eb; /* gray-200 */
}

.prose thead th {
    font-weight: 600;
    color: #111827; /* gray-900 */
    text-align: left;
    padding: 0.75rem 1rem;
    vertical-align: bottom;
}

.prose tbody tr {
    border-bottom: 1px solid #f3f4f6; /* gray-100 */
}

.prose tbody tr:last-child {
    border-bottom: none;
}

.prose tbody td {
    padding: 0.75rem 1rem;
    vertical-align: top;
}

.prose tbody tr:hover {
    background-color: #f9fafb; /* gray-50 */
}

/* Video/iFrame */
.prose iframe,
.prose video {
    width: 100%;
    border-radius: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Buttons in Content */
.prose .wp-block-button__link,
.prose .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1d71b8;
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.prose .wp-block-button__link:hover,
.prose .button:hover {
    background-color: #155a94;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* WordPress Alignment Classes */
.prose .alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.prose .alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.prose .alignwide {
    max-width: 100%;
}

.prose .alignfull {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .prose h1 {
        font-size: 1.875rem; /* 30px */
    }
    
    .prose h2 {
        font-size: 1.5rem; /* 24px */
    }
    
    .prose h3 {
        font-size: 1.25rem; /* 20px */
    }
    
    .prose blockquote {
        font-size: 1rem;
        padding-left: 1rem;
    }
}

/* First Letter Drop Cap (Optional) */
.prose.drop-cap p:first-of-type:first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    float: left;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    font-family: 'Playfair Display', serif;
    color: #1d71b8;
}

/* Lead Paragraph */
.prose .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #374151; /* gray-700 */
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Small Text */
.prose small,
.prose .small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Mark/Highlight */
.prose mark {
    background-color: #fef3c7; /* yellow-100 */
    padding: 0.125rem 0.25rem;
    border-radius: 0.125rem;
}

/* Abbreviation */
.prose abbr {
    text-decoration: underline dotted;
    cursor: help;
}

/* Definition List */
.prose dl {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.prose dt {
    font-weight: 600;
    color: #111827;
    margin-top: 1rem;
}

.prose dd {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    color: #6b7280;
}
.intl-tel-input.separate-dial-code .selected-dial-code{
    padding-left: 15px;
}

/* Fix flag dropdown to match input styling */
.intl-tel-input {
    width: 100%;
}

.intl-tel-input .selected-flag {
    padding: 0 8px 0 12px;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

/* Fix country list dropdown */
.intl-tel-input .country-list {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
}

.intl-tel-input .country-list .country {
    padding: 8px 12px;
}

.intl-tel-input .country-list .country:hover {
    background-color: #f3f4f6;
}

.intl-tel-input .country-list .country.highlight {
    background-color: #eff6ff;
}

.wpcf7-spinner{
	display: block !important;
}