/* ==========================================================================
   SN WORLDWIDE TOURS
   Public Site Pages
   ========================================================================== */


/* --------------------------------------------------------------------------
   Page Wrapper
   -------------------------------------------------------------------------- */

.snwt-public-page {
    background: #f8f9fa;
}


/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */

.snwt-page-breadcrumb {
    font-size: 0.9rem;
}

.snwt-page-breadcrumb a {
    text-decoration: none;
}

.snwt-page-breadcrumb a:hover {
    text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */

.snwt-page-header {
    position: relative;
}

.snwt-page-title {
    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    line-height: 1.2;
}

.snwt-page-title-line {
    width: 60px;
    height: 4px;
    border-radius: 10px;
    background: var(--bs-primary);
}


/* --------------------------------------------------------------------------
   Content Card
   -------------------------------------------------------------------------- */

.snwt-page-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: clamp(
        1.5rem,
        4vw,
        3rem
    );

    box-shadow:
        0 0.5rem 1.5rem rgba(
            0,
            0,
            0,
            0.06
        );
}


/* --------------------------------------------------------------------------
   Content Typography
   -------------------------------------------------------------------------- */

.snwt-page-content {
    color: #343a40;
    font-size: 1.05rem;
    line-height: 1.85;
    overflow-wrap: break-word;
}


/* Paragraphs */

.snwt-page-content p {
    margin-bottom: 1.25rem;
}

.snwt-page-content p:last-child {
    margin-bottom: 0;
}


/* Headings */

.snwt-page-content h2,
.snwt-page-content h3,
.snwt-page-content h4,
.snwt-page-content h5,
.snwt-page-content h6 {
    color: #212529;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.snwt-page-content h2 {
    font-size: 1.8rem;
}

.snwt-page-content h3 {
    font-size: 1.5rem;
}

.snwt-page-content h4 {
    font-size: 1.25rem;
}

.snwt-page-content h5 {
    font-size: 1.1rem;
}

.snwt-page-content h6 {
    font-size: 1rem;
}


/* First heading */

.snwt-page-content > h2:first-child,
.snwt-page-content > h3:first-child,
.snwt-page-content > h4:first-child {
    margin-top: 0;
}


/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

.snwt-page-content a {
    color: var(--bs-primary);
    font-weight: 500;
    text-decoration: none;
}

.snwt-page-content a:hover {
    text-decoration: underline;
}


/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */

.snwt-page-content ul,
.snwt-page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.snwt-page-content li {
    margin-bottom: 0.5rem;
}


/* --------------------------------------------------------------------------
   Blockquote
   -------------------------------------------------------------------------- */

.snwt-page-content blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--bs-primary);
    background: #f8f9fa;
    border-radius: 0.5rem;
    font-style: italic;
}


/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */

.snwt-page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.75rem;
}

.snwt-page-content figure {
    margin: 2rem 0;
}

.snwt-page-content figcaption {
    margin-top: 0.5rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}


/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

.snwt-page-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.snwt-page-content th,
.snwt-page-content td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.snwt-page-content th {
    background: #f8f9fa;
    font-weight: 600;
}


/* --------------------------------------------------------------------------
   Horizontal Rule
   -------------------------------------------------------------------------- */

.snwt-page-content hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}


/* --------------------------------------------------------------------------
   Code
   -------------------------------------------------------------------------- */

.snwt-page-content code {
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
    background: #f1f3f5;
    font-size: 0.9em;
}

.snwt-page-content pre {
    margin: 1.5rem 0;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 0.5rem;
    background: #212529;
    color: #f8f9fa;
}


/* --------------------------------------------------------------------------
   Strong / Emphasis
   -------------------------------------------------------------------------- */

.snwt-page-content strong {
    font-weight: 700;
}

.snwt-page-content em {
    font-style: italic;
}


```css
/* ==========================================================================
   SN WORLDWIDE TOURS
   Public Page Content
   ========================================================================== */

.snwt-page-content-body {
    line-height: 1.8;
    color: #343a40;
}

/* Preserve line breaks from normal text entered in the admin panel */
.snwt-page-content-body {
    white-space: pre-line;
}

/* Headings entered as HTML */
.snwt-page-content-body h2,
.snwt-page-content-body h3,
.snwt-page-content-body h4,
.snwt-page-content-body h5,
.snwt-page-content-body h6 {
    color: #212529;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.snwt-page-content-body h2:first-child,
.snwt-page-content-body h3:first-child,
.snwt-page-content-body h4:first-child,
.snwt-page-content-body h5:first-child,
.snwt-page-content-body h6:first-child {
    margin-top: 0;
}

/* Paragraphs */
.snwt-page-content-body p {
    margin-bottom: 1.15rem;
}

.snwt-page-content-body p:last-child {
    margin-bottom: 0;
}

/* Lists */
.snwt-page-content-body ul,
.snwt-page-content-body ol {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.snwt-page-content-body li {
    margin-bottom: 0.55rem;
    line-height: 1.7;
}

/* Strong text */
.snwt-page-content-body strong,
.snwt-page-content-body b {
    color: #212529;
}

/* Links */
.snwt-page-content-body a {
    color: #0d6efd;
    text-decoration: none;
}

.snwt-page-content-body a:hover {
    text-decoration: underline;
}

/* Blockquotes */
.snwt-page-content-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid #0d6efd;
    background: #f8f9fa;
    border-radius: 0.35rem;
}

/* Tables inside page content */
.snwt-page-content-body table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.snwt-page-content-body th,
.snwt-page-content-body td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.snwt-page-content-body th {
    font-weight: 600;
    background: #f8f9fa;
}

/* Images */
.snwt-page-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Horizontal rule */
.snwt-page-content-body hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 575.98px) {

    .snwt-page-content-body {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .snwt-page-content-body h2 {
        font-size: 1.45rem;
    }

    .snwt-page-content-body h3 {
        font-size: 1.25rem;
    }

    .snwt-page-content-body h4 {
        font-size: 1.1rem;
    }

    .snwt-page-content-body ul,
    .snwt-page-content-body ol {
        padding-left: 1.25rem;
    }

}
```

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 575.98px) {

    .snwt-public-page {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .snwt-page-title {
        font-size: 2rem;
    }

    .snwt-page-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .snwt-page-content {
        font-size: 1rem;
        line-height: 1.75;
    }

    .snwt-page-content h2 {
        font-size: 1.5rem;
    }

    .snwt-page-content h3 {
        font-size: 1.3rem;
    }

    .snwt-page-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}