.dynamic_content {
    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.75;
    color: #222;
    font-size: 1.2rem;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======= HEADING ======= */
.dynamic_content h1,
.dynamic_content h2,
.dynamic_content h3,
.dynamic_content h4,
.dynamic_content h5,
.dynamic_content h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #111;
}

.dynamic_content h1 {
    font-size: 2rem;
}

.dynamic_content h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid #f97316;
    padding-bottom: 0.25em;
}

.dynamic_content h3 {
    font-size: 1.5rem;
}

.dynamic_content h4 {
    font-size: 1.25rem;
}

.dynamic_content h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.dynamic_content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}

.dynamic_content h1 span,
.dynamic_content h2 span,
.dynamic_content h3 span,
.dynamic_content h4 span,
.dynamic_content h5 span,
.dynamic_content h6 span {
    font-size: inherit !important;
}

.dynamic_content h1 strong,
.dynamic_content h2 strong,
.dynamic_content h3 strong,
.dynamic_content h4 strong,
.dynamic_content h5 strong,
.dynamic_content h6 strong {
    font-weight: inherit !important;
}

/* ======= TEXT ELEMENTS ======= */
.dynamic_content p {
    margin: 1em 0;
}

.dynamic_content strong {
    font-weight: 600;
}

.dynamic_content em {
    font-style: italic;
}

.dynamic_content u {
    text-decoration: underline;
}

.dynamic_content a {
    color: #2563eb;
    text-decoration: underline;
}

.dynamic_content a:hover {
    color: #1d4ed8;
}

/* ======= LIST ======= */
.dynamic_content ul,
.dynamic_content ol {
    margin: 1em 0 1em 2em;
}

.dynamic_content ul li {
    list-style-type: disc;
    margin: 0.3em 0;
}

.dynamic_content ol li {
    list-style-type: decimal;
    margin: 0.3em 0;
}

/* ======= BLOCKQUOTE ======= */
.dynamic_content blockquote {
    border-left: 4px solid #f97316;
    padding: 0.75em 1em;
    margin: 1.5em 0;
    background: #fff7ed;
    color: #555;
    font-style: italic;
}

.dynamic_content blockquote footer {
    font-style: normal;
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5em;
    text-align: right;
}

/* ======= TABLE ======= */
.dynamic_content table {
    border-collapse: collapse;
    font-size: 0.95rem;
}

.dynamic_content th,
.dynamic_content td {
    border: 1px solid #ddd;
    padding: 0.75em 1em;
    text-align: left;
}

.dynamic_content th {
    background: #f3f4f6;
    font-weight: 600;
}

.dynamic_content tr:nth-child(even) {
    background: #fafafa;
}

/* ========== Table Wrapper ========== */
.dynamic_content .table_wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ======= IMAGE & FIGURE ======= */
.dynamic_content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.dynamic_content figure {
    text-align: center;
    margin: 2em 0;
}

.dynamic_content figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5em;
}

/* ======= HR ======= */
.dynamic_content hr {
    border: none;
    border-top: 2px solid #eee;
    margin: 2em 0;
}

/* ======= CODE & PRE ======= */
.dynamic_content pre {
    background: #f9fafb;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.dynamic_content code {
    background: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: monospace;
    color: #dc2626;
}

.dynamic_content .main_package .package_item h3 {
    margin: 0;
}

.dynamic_content .main_package .package_item .price p {
    margin: 0;
}

.dynamic_content .main_package .package_item .list_item li {
    list-style: none;
}

.dynamic_content b {
    font-weight: bold;
}

.dynamic_content .main_package {
    padding-left: 0;
}

.dynamic_content .check_location {
    padding-top: 0;
}

.dynamic_content .check_location b {
    font-size: 15px;
    font-weight: normal;
}

.dynamic_content .main_package .package_item .img img {
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.dynamic_content .main_package .package_item ul, .dynamic_content .main_package .package_item ol {
    margin: 0;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
    .dynamic_content {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .dynamic_content h1, .dynamic_content h1 span {
        font-size: 1.6rem !important;
    }

    .dynamic_content h2, .dynamic_content h2 span {
        font-size: 1.4rem !important;
    }

    .dynamic_content h3, .dynamic_content h3 span {
        font-size: 1.25rem;
    }

    .dynamic_content .check_location b {
        font-size: 13px;
    }

    .dynamic_content span {
        font-size: 0.95rem !important;
    }
}
