/*
|--------------------------------------------------------------------------
| Shark Car Hire
| Public Content Pages
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Content Hero
|--------------------------------------------------------------------------
*/

.content-hero {
    padding: 72px 0;

    background:
        linear-gradient(
            135deg,
            #f3f7fd 0%,
            #ffffff 100%
        );
}


.content-hero-small {
    padding-bottom: 52px;
}


.content-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, .8fr);

    gap: 52px;

    align-items: center;
}


.content-main-title {
    margin: 12px 0 0;

    color: #172033;

    font-size: clamp(
        44px,
        6vw,
        72px
    );

    line-height: 1.03;
}


.content-lead {
    max-width: 800px;

    margin: 20px 0 0;

    color: #667085;

    font-size: 18px;

    line-height: 1.75;
}


.content-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 26px;
}


/*
|--------------------------------------------------------------------------
| Hero Media
|--------------------------------------------------------------------------
*/

.content-hero-media {
    overflow: hidden;

    min-height: 390px;

    border-radius: 28px;

    background: #edf4ff;
}


.content-hero-media img,
.article-hero-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.content-image-fallback {
    display: flex;

    width: 100%;

    height: 100%;

    min-height: 280px;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    background:
        linear-gradient(
            135deg,
            #edf4ff,
            #f8fbff
        );

    color: #4777ba;

    font-size: 48px;
}


.content-image-fallback span {
    color: #4777ba;

    font-size: 14px;

    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| General Content Cards
|--------------------------------------------------------------------------
*/

.content-two-column {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 22px;
}


.content-card {
    padding: 30px;

    border: 1px solid #dfe7f1;

    border-radius: 24px;

    background: #ffffff;
}


.content-card-blue {
    background: #f7faff;
}


.content-card h2 {
    margin: 8px 0 12px;

    color: #172033;

    font-size: 32px;
}


.content-card p {
    margin: 0;

    color: #667085;

    line-height: 1.7;
}


.content-benefits {
    display: grid;

    gap: 14px;
}


.content-benefits div {
    display: flex;

    gap: 10px;

    color: #475467;

    line-height: 1.55;
}


.content-benefits i {
    margin-top: 4px;

    color: #4777ba;
}


/*
|--------------------------------------------------------------------------
| Main Content CTA
|--------------------------------------------------------------------------
|
| Light Shark Car Hire background.
| Replaces the previous dark navy CTA.
|
*/

.content-cta {
    position: relative;

    display: flex;

    gap: 28px;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    margin-top: 36px;

    padding: 38px;

    border: 1px solid
        rgba(
            71,
            119,
            186,
            .16
        );

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #eaf3ff 0%,
            #f4f8ff 45%,
            #ffffff 100%
        );

    box-shadow:
        0 18px 50px
        rgba(
            71,
            119,
            186,
            .08
        );
}


/*
|--------------------------------------------------------------------------
| Subtle CTA Decoration
|--------------------------------------------------------------------------
*/

.content-cta::after {
    content: "";

    position: absolute;

    top: -90px;

    right: -70px;

    width: 240px;

    height: 240px;

    border-radius: 50%;

    background:
        rgba(
            71,
            119,
            186,
            .055
        );

    pointer-events: none;
}


.content-cta > * {
    position: relative;

    z-index: 1;
}


.content-cta .public-eyebrow {
    color: #4777ba;
}


.content-cta h2 {
    margin: 8px 0 0;

    max-width: 670px;

    color: #25334a;

    font-size: clamp(
        30px,
        4vw,
        42px
    );

    line-height: 1.12;
}


.content-cta .content-actions {
    flex-shrink: 0;

    margin-top: 0;
}


/*
|--------------------------------------------------------------------------
| CTA Secondary Button
|--------------------------------------------------------------------------
*/

.content-cta .public-btn-light {
    border: 1px solid
        rgba(
            71,
            119,
            186,
            .22
        );

    background: #ffffff;

    color: #4777ba;

    box-shadow:
        0 8px 24px
        rgba(
            71,
            119,
            186,
            .08
        );
}


.content-cta .public-btn-light:hover {
    transform: translateY(-2px);

    border-color:
        rgba(
            71,
            119,
            186,
            .38
        );

    background: #f4f8ff;

    color: #315f9f;
}


/*
|--------------------------------------------------------------------------
| Pricing Table
|--------------------------------------------------------------------------
*/

.pricing-table-wrap {
    overflow-x: auto;

    border: 1px solid #dce5ef;

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 18px 55px
        rgba(
            23,
            32,
            51,
            .07
        );
}


.pricing-table {
    width: 100%;

    min-width: 850px;

    border-collapse: collapse;
}


.pricing-table thead {
    background: #4777ba;

    color: #ffffff;
}


.pricing-table th {
    padding: 22px;

    text-align: center;
}


.pricing-table th:first-child {
    text-align: left;
}


.pricing-table td {
    padding: 22px;

    border-bottom:
        1px solid
        #edf1f5;

    color: #344054;

    text-align: center;

    font-size: 17px;

    font-weight: 800;
}


.pricing-table tbody tr:last-child td {
    border-bottom: 0;
}


.pricing-table tbody tr:hover {
    background: #f8fbff;
}


.pricing-table td:first-child {
    text-align: left;
}


.pricing-table td strong {
    display: block;

    color: #172033;
}


.pricing-table td small {
    display: block;

    margin-top: 5px;

    color: #98a2b3;

    font-size: 12px;

    font-weight: 500;
}


.pricing-table .pricing-from {
    margin-bottom: 2px;

    text-transform: uppercase;

    letter-spacing: .08em;
}


/*
|--------------------------------------------------------------------------
| Pricing Action Cards
|--------------------------------------------------------------------------
*/

.pricing-notes {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 18px;

    margin-top: 24px;
}


.pricing-action-card {
    position: relative;

    display: flex;

    min-height: 190px;

    gap: 18px;

    padding: 26px;

    overflow: hidden;

    border: 1px solid transparent;

    border-radius: 22px;

    background: #f3f7fd;

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}


.pricing-action-card-quote {
    background: #fff6f5;
}


.pricing-action-card-special {
    background: #f4f7ff;
}


.pricing-action-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(
            71,
            119,
            186,
            .25
        );

    box-shadow:
        0 18px 40px
        rgba(
            23,
            32,
            51,
            .09
        );
}


.pricing-action-card-quote:hover {
    border-color:
        rgba(
            239,
            64,
            53,
            .22
        );
}


.pricing-action-card:focus-visible {
    outline:
        3px solid
        rgba(
            71,
            119,
            186,
            .25
        );

    outline-offset: 3px;
}


.pricing-action-icon {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: flex-start;

    justify-content: center;

    padding-top: 2px;

    color: #4777ba;

    font-size: 22px;
}


.pricing-action-content {
    display: flex;

    min-width: 0;

    flex: 1;

    flex-direction: column;
}


.pricing-action-content strong {
    display: block;

    color: #172033;

    font-size: 16px;

    font-weight: 900;
}


.pricing-action-content
> span:not(
    .pricing-action-link
) {
    display: block;

    margin-top: 10px;

    color: #667085;

    font-size: 15px;

    line-height: 1.65;
}


.pricing-action-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: auto;

    padding-top: 18px;

    color: #4777ba;

    font-size: 13px;

    font-weight: 900;
}


.pricing-action-card-quote
.pricing-action-link {
    color: #d7352b;
}


.pricing-action-link i {
    font-size: 11px;

    transition:
        transform 180ms ease;
}


.pricing-action-card:hover
.pricing-action-link
.fa-arrow-right {
    transform:
        translateX(4px);
}


.pricing-action-card:hover
.pricing-action-link
.fa-arrow-up {
    transform:
        translateY(-3px);
}


/*
|--------------------------------------------------------------------------
| Blog Featured Stories
|--------------------------------------------------------------------------
*/

.featured-story-list {
    display: grid;

    gap: 28px;
}


.featured-story-card {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    overflow: hidden;

    border: 1px solid #dfe7f1;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 20px 60px
        rgba(
            23,
            32,
            51,
            .07
        );
}


.featured-story-image {
    min-height: 390px;

    background: #edf4ff;
}


.featured-story-image img {
    display: block;

    width: 100%;

    height: 100%;

    min-height: 390px;

    object-fit: cover;
}


.featured-story-copy {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 42px;
}


.content-category {
    color: #ef4035;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .11em;
}


.featured-story-copy h2 {
    margin: 10px 0 0;

    color: #172033;

    font-size: clamp(
        32px,
        4vw,
        48px
    );

    line-height: 1.06;
}


.content-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 14px;

    color: #98a2b3;

    font-size: 13px;

    font-weight: 700;
}


.featured-story-copy p,
.blog-card-content p {
    color: #667085;

    line-height: 1.7;
}


.content-text-link {
    display: inline-flex;

    gap: 8px;

    align-items: center;

    color: #4777ba;

    font-weight: 900;

    text-decoration: none;
}


.content-text-link:hover {
    text-decoration: underline;
}


/*
|--------------------------------------------------------------------------
| Content Section Heading
|--------------------------------------------------------------------------
*/

.content-section-heading {
    margin-top: 60px;

    margin-bottom: 24px;
}


.content-section-heading h2 {
    margin: 8px 0 0;

    color: #172033;

    font-size: 40px;
}


/*
|--------------------------------------------------------------------------
| Blog Cards
|--------------------------------------------------------------------------
*/

.blog-card-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 20px;
}


.blog-card {
    overflow: hidden;

    border: 1px solid #dfe7f1;

    border-radius: 22px;

    background: #ffffff;

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.blog-card:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 16px 38px
        rgba(
            23,
            32,
            51,
            .08
        );
}


.blog-card-image {
    display: block;

    height: 215px;

    background: #edf4ff;
}


.blog-card-image img {
    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.blog-card-content {
    padding: 24px;
}


.blog-card-content h3 {
    margin: 8px 0 0;

    color: #172033;

    font-size: 27px;

    line-height: 1.16;
}


/*
|--------------------------------------------------------------------------
| Article Hero
|--------------------------------------------------------------------------
*/

.article-hero {
    padding: 70px 0 40px;

    background:
        linear-gradient(
            135deg,
            #f4f8fe,
            #ffffff
        );
}


.article-container {
    max-width: 1000px;
}


.article-hero-image {
    overflow: hidden;

    height:
        min(
            590px,
            60vw
        );

    min-height: 340px;

    margin-top: 36px;

    border-radius: 28px;

    background: #edf4ff;
}


/*
|--------------------------------------------------------------------------
| Article Body
|--------------------------------------------------------------------------
*/

.article-body {
    max-width: 820px;

    margin: 42px auto 0;
}


.article-section {
    padding: 28px 0;

    border-bottom:
        1px solid
        #edf1f5;
}


.article-section h2 {
    margin: 0;

    color: #172033;

    font-size: 34px;
}


.article-section p {
    margin: 13px 0 0;

    color: #667085;

    font-size: 17px;

    line-height: 1.85;
}


/*
|--------------------------------------------------------------------------
| Article Feature Photo
|--------------------------------------------------------------------------
*/

.article-feature-photo {
    overflow: hidden;

    margin: 28px 0 8px;

    border-radius: 22px;

    background: #f7faff;
}


.article-feature-photo img {
    display: block;

    width: 100%;

    max-height: 650px;

    object-fit: cover;
}


.article-feature-photo figcaption {
    padding: 14px 18px;

    color: #667085;

    font-size: 13px;

    line-height: 1.6;

    background: #f7faff;
}


/*
|--------------------------------------------------------------------------
| Article Gallery
|--------------------------------------------------------------------------
*/

.article-gallery {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin: 32px 0;
}


.article-gallery img {
    display: block;

    width: 100%;

    height: 235px;

    border-radius: 16px;

    object-fit: cover;
}


/*
|--------------------------------------------------------------------------
| YouTube Video
|--------------------------------------------------------------------------
*/

.article-video-section {
    margin: 38px 0;

    padding: 30px;

    border:
        1px solid
        #dfe7f1;

    border-radius: 24px;

    background: #f7faff;
}


.article-video-section h2 {
    margin: 7px 0 0;

    color: #172033;

    font-size: 34px;
}


.article-video-section > p {
    max-width: 760px;

    color: #667085;

    line-height: 1.7;
}


.article-video {
    position: relative;

    overflow: hidden;

    width: 100%;

    margin-top: 20px;

    padding-top: 56.25%;

    border-radius: 18px;

    background: #000000;
}


.article-video iframe {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    border: 0;
}


/*
|--------------------------------------------------------------------------
| Vertical YouTube Short
|--------------------------------------------------------------------------
*/

.article-video-short-wrap {
    display: flex;

    justify-content: center;

    width: 100%;
}


.article-video-short {
    width:
        min(
            420px,
            100%
        );

    margin-inline: auto;

    padding-top:
        min(
            746px,
            177.777%
        );
}


/*
|--------------------------------------------------------------------------
| Responsive - Tablet
|--------------------------------------------------------------------------
*/

@media (
    max-width: 960px
) {

    .content-hero-grid,
    .featured-story-card {
        grid-template-columns: 1fr;
    }


    .blog-card-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .pricing-notes {
        grid-template-columns: 1fr;
    }


    .pricing-action-card {
        min-height: 0;
    }

}


/*
|--------------------------------------------------------------------------
| Responsive - Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 720px
) {

    .content-hero {
        padding: 50px 0;
    }


    .content-main-title {
        font-size: 44px;
    }


    .content-two-column,
    .blog-card-grid {
        grid-template-columns: 1fr;
    }


    .content-cta {
        align-items: flex-start;

        flex-direction: column;

        padding: 28px;
    }


    .content-cta .content-actions {
        width: 100%;
    }


    .article-gallery {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .featured-story-copy {
        padding: 28px;
    }


    .article-video-section {
        padding: 22px;
    }

}


/*
|--------------------------------------------------------------------------
| Responsive - Small Mobile
|--------------------------------------------------------------------------
*/

@media (
    max-width: 520px
) {

    .pricing-action-card {
        gap: 14px;

        padding: 21px;

        border-radius: 18px;
    }


    .pricing-action-content
    > span:not(
        .pricing-action-link
    ) {
        font-size: 14px;
    }

}


@media (
    max-width: 480px
) {

    .content-cta {
        padding: 24px;

        border-radius: 22px;
    }


    .content-cta .public-btn {
        width: 100%;

        justify-content: center;
    }


    .article-gallery {
        grid-template-columns: 1fr;
    }


    .article-gallery img {
        height: 250px;
    }

}