/*
 * Lady Joy visual compatibility layer
 *
 * The Joomla 3 site used Helix 3 layout CSS that is not part of Helix
 * Ultimate. The content and original image assets are still present, so this
 * stylesheet recreates the old presentation without modifying the upstream
 * Helix Ultimate files.
 */

:root {
    --ladyjoy-blue: #26aae1;
    --ladyjoy-text: #4a4a4a;
    --ladyjoy-container: 1170px;
}

html,
body {
    overflow-x: hidden;
}

body.site {
    color: var(--ladyjoy-text);
    font-weight: 300;
}

.container,
.container-inner {
    width: 100%;
    max-width: var(--ladyjoy-container);
}

/* Original compact fixed header. */
#sp-header,
#sp-header .container-inner,
#sp-header .row,
#sp-header .sp-column,
#sp-header .logo {
    min-height: 82px;
    height: 82px;
}

#sp-header {
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
    z-index: 1000;
}

#sp-header .logo,
#sp-header .logo a {
    display: flex;
    align-items: center;
}

#sp-header .logo-image {
    width: auto;
    height: 60px !important;
    max-height: 60px;
}

#sp-menu .sp-megamenu-wrapper {
    width: 100%;
    justify-content: flex-end;
}

#sp-menu .sp-megamenu-parent > li > a,
#sp-menu .sp-megamenu-parent > li > span {
    color: #252525;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .8px;
    line-height: 82px;
    padding: 0 15px;
    text-transform: uppercase;
}

#sp-menu .sp-megamenu-parent > li:hover > a,
#sp-menu .sp-megamenu-parent > li.active > a,
#sp-menu .sp-megamenu-parent > li.current-item > a {
    color: var(--ladyjoy-blue);
}

#sp-menu .sp-megamenu-parent > li.active > a::after,
#sp-menu .sp-megamenu-parent > li.current-item > a::after {
    background: var(--ladyjoy-blue);
    bottom: 0;
    content: "";
    height: 5px;
    //left: 15px;
    left: 0;
    position: absolute;
    //right: 15px;
    right: 0;
}

body.ltr .sp-megamenu-parent>li.sp-has-child>a:after, 
body.ltr .sp-megamenu-parent>li.sp-has-child>span:after {
	margin-left: 0 !important;
}

/* The old Extreme slider placed its full-width title panels in the control
 * rail. Their empty migrated content became the stacked wedges at the left
 * edge of the hero. Keep the accessible Nivo controls, but present them as
 * quiet dots over the image and keep the fade transition visually clean. */
#sp-slider-wrapper {
    overflow: hidden;
}

#sp-smart-slider-116,
#sp-smart-slider-116 .nivoSlider {
    overflow: hidden;
}

#sp-smart-slider-116 .nivo-controlNav {
    align-items: center;
    bottom: 18px !important;
    display: flex !important;
    gap: 8px;
    left: 50% !important;
    padding: 0 !important;
    top: auto !important;
    transform: translateX(-50%);
    width: auto;
}

#sp-smart-slider-116 .nivo-controlNav a.nivo-control {
    background: rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(20, 40, 50, .28);
    border-radius: 50%;
    display: block !important;
    height: 9px;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: -9999px;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
    width: 9px;
}

#sp-smart-slider-116 .nivo-controlNav a.nivo-control.active {
    background: #fff !important;
    border-color: #fff;
    transform: scale(1.35);
}

#sp-smart-slider-116 .nivo-controlNav .sp-smart-slider-item,
#sp-smart-slider-116 .nivo-controlNav .sp-smart-slider-item::after,
#sp-smart-slider-116 .nivo-directionNav,
#sp-smart-slider-116 .nivo-caption {
    display: none !important;
}

/* Restore the old Bootstrap 3 utility classes used in the migrated module HTML. */
@media (min-width: 768px) {
    .col-sm-3 { width: 25%; }
    .col-sm-4 { width: 33.333333%; }
    .col-sm-5 { width: 41.666667%; }
    .col-sm-6 { width: 50%; }
    .col-sm-12 { width: 100%; }

    .col-sm-push-3 { margin-left: 25%; }
    .col-sm-push-4 { margin-left: 33.333333%; }
}

.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-12 {
    float: none;
    position: relative;
}

/* Bootstrap 3 utility classes still occur in the migrated article HTML. */
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pull-left {
    float: left !important;
    margin: 4px 22px 18px 0;
}

.pull-right {
    float: right !important;
    margin: 4px 0 18px 22px;
}

/* Page hero panels. The original block photographs are 600/700px high. */
#sp-block1-wrapper {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
    position: relative;
	margin-bottom: 4rem;
}

body.itemid-109 #sp-block1-wrapper { background-image: url("/images/block/07.jpg"); }
body.itemid-110 #sp-block1-wrapper { background-image: url("/images/block/06.jpg"); }
body.itemid-111 #sp-block1-wrapper { background-image: url("/images/block/01.jpg"); }
body.itemid-113 #sp-block1-wrapper { background-image: url("/images/block/04.jpg"); }
body.itemid-114 #sp-block1-wrapper { background-image: url("/images/block/09.jpg"); }
body.itemid-115 #sp-block1-wrapper { background-image: url("/images/block/11.jpg"); }

#sp-block1-wrapper > .row,
#sp-block1-wrapper > .row > [id^="sp-block1"],
#sp-block1-wrapper .sp-column,
#sp-block1-wrapper .sp-module,
#sp-block1-wrapper .sp-module-content,
#sp-block1-wrapper .pre-block1-inner-wrapper {
    height: 100%;
}

#sp-block1-wrapper .container {
    height: 100%;
    position: relative;
}

#sp-block1-wrapper .pre-block1-content {
    left: 0;
    padding-top: 26px;
    position: absolute;
    top: 0;
}

#sp-block1-wrapper h3,
#sp-block1-wrapper h3 a {
    color: #fff;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: .2px;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

#sp-block1-wrapper h3::first-letter {
	font-family: "es";
	font-size: 200%;
	margin-right: .25em;
	margin-left: -10px;			
	line-height: .5;				
}

#sp-block1-wrapper .pre-block1-content p {
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.48;
    margin: 28px 0 0;
}

/* Secondary photographic panels were previously supplied by the Helix3
 * template. Recreate their full-bleed rhythm in the site compatibility
 * layer, while allowing each page to choose the original photograph and text
 * treatment. */
#sp-block2-wrapper,
#sp-block3-wrapper,
#sp-block4-wrapper {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

body.itemid-109 #sp-block2-wrapper { background-image: url("/images/block/08.jpg"); }
body.itemid-111 #sp-block2-wrapper { background-image: url("/images/block/02.jpg"); }
body.itemid-111 #sp-block3-wrapper { background-image: url("/images/block/03.jpg"); }
body.itemid-111 #sp-block4-wrapper { background-image: url("/images/block/10.jpg"); }
body.itemid-113 #sp-block2-wrapper { background-image: url("/images/block/05.jpg"); }

#sp-block2-wrapper > .row,
#sp-block3-wrapper > .row,
#sp-block4-wrapper > .row,
#sp-block2-wrapper > .row > [id^="sp-block2"],
#sp-block3-wrapper > .row > [id^="sp-block3"],
#sp-block4-wrapper > .row > [id^="sp-block4"],
#sp-block2-wrapper .sp-column,
#sp-block3-wrapper .sp-column,
#sp-block4-wrapper .sp-column,
#sp-block2-wrapper .sp-module,
#sp-block3-wrapper .sp-module,
#sp-block4-wrapper .sp-module,
#sp-block2-wrapper .sp-module-content,
#sp-block3-wrapper .sp-module-content,
#sp-block4-wrapper .sp-module-content,
#sp-block2-wrapper .pre-block2-inner-wrapper,
#sp-block3-wrapper .pre-block3-inner-wrapper,
#sp-block4-wrapper .pre-block4-inner-wrapper {
    height: 100%;
}

#sp-block2-wrapper .container,
#sp-block3-wrapper .container,
#sp-block4-wrapper .container {
    height: 100%;
    position: relative;
}

#sp-block2-wrapper .pre-block2-content,
#sp-block3-wrapper .pre-block3-content,
#sp-block4-wrapper .pre-block4-content {
    left: 0;
    padding-top: 26px;
    position: absolute;
    text-align: center;
    top: 0;
}

body.itemid-109 #sp-block2-wrapper .pre-block2-content {
    left: auto;
    right: 0;
    text-align: left;
}

body.itemid-111 #sp-block3-wrapper .pre-block3-content {
    text-align: left;
}

#sp-block1-wrapper h3,
#sp-block1-wrapper h3 a,
#sp-block2-wrapper h3,
#sp-block2-wrapper h3 a,
#sp-block3-wrapper h3,
#sp-block3-wrapper h3 a,
#sp-block4-wrapper h3,
#sp-block4-wrapper h3 a {
    color: #fff;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: .2px;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

#sp-block1-wrapper h3::first-letter,
#sp-block2-wrapper h3::first-letter,
#sp-block3-wrapper h3::first-letter,
#sp-block4-wrapper h3::first-letter {
	font-family: "es";
	font-size: 200%;
	margin-right: .25em;
	margin-left: -10px;			
	line-height: .5;				
}

#sp-block2-wrapper .pre-block2-content p,
#sp-block3-wrapper .pre-block3-content p,
#sp-block4-wrapper .pre-block4-content p {
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.48;
    margin: 28px 0 0;
}

body.itemid-109 #sp-block2-wrapper .pre-block2-content p {
    max-width: 360px;
}

body.itemid-109 #sp-block1-wrapper h3,
body.itemid-109 #sp-block1-wrapper h3 a,
body.itemid-109 #sp-block1-wrapper .pre-block1-content p {
    color: #272727;
}

body.itemid-110 #sp-block1-wrapper .pre-block1-content p {
    color: #3f3f3f;
}

/* Text/quote rows follow the hero in the original design. */
#sp-block1-text-wrapper {
    background: #fff;
    padding: 46px 0 50px;
}

#sp-block1-text-wrapper .sp-module,
#sp-block2-wrapper .sp-module,
#sp-block2-text-wrapper .sp-module,
#sp-block3-wrapper .sp-module,
#sp-block3-text-wrapper .sp-module,
#sp-block4-wrapper .sp-module,
#sp-block4-text-wrapper .sp-module {
    margin: 0;
}

#sp-block1-text-wrapper p,
#sp-block2-text-wrapper p,
#sp-block3-text-wrapper p,
#sp-block4-text-wrapper p {
    color: var(--ladyjoy-text);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 1.4em;
}

.ladyjoy {
    color: #a88632;
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
}

/* The original content headings use a large italic initial followed by
 * uppercase Crimson Text. */
h3.initial,
h4.initial {
    color: #252525;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 24px;
    text-transform: uppercase;
}

h3.initial::first-letter,
h4.initial::first-letter {
	font-family: "es";
	font-size: 200%;
	margin-right: .25em;
	margin-left: -10px;			
	line-height: .5;				
}

/* Homepage article chrome was disabled in the original landing composition. */
body.itemid-101 #sp-component .page-header,
body.itemid-101 #sp-component .article-info,
body.itemid-101 #sp-component .icons,
body.itemid-101 #sp-component .article-ratings-social-share,
body.itemid-101 #sp-component .pager {
    display: none;
}

body.itemid-101 #sp-component .article-details > [itemprop="articleBody"] {
    padding-top: 34px;
}

body.itemid-101 #sp-component .mainintro {
    text-align: center;
}

body.itemid-101 #sp-component .mainintro h3.initial {
    margin-top: 18px;
}

body.itemid-101 #sp-component .mainintro p {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
}

/* Itinerary articles used the old Bootstrap article utilities. Hide the
 * Joomla 6 metadata shell (including the internal readmore-itemid field),
 * then restore the intended image/text rhythm inside each day block. */
body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .article-header,
body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .article-info,
body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .fields-container,
body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .article-can-edit,
body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .article-ratings-social-share,
body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .pagenavigation {
    display: none !important;
}

body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .article-details > [itemprop="articleBody"] {
    padding: 48px 0 62px;
}

body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] > .col-sm-12 {
    box-sizing: border-box;
    clear: both;
    display: flow-root;
    margin-bottom: 3em !important;
    padding: 0;
}

body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] > .col-sm-12:first-child h3 {
    color: #252525;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 22px;
    text-transform: uppercase;
}

body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] .article-image {
    border: 1px solid #dce6ea;
    box-shadow: 0 5px 18px rgba(24, 64, 79, .08);
    height: auto;
    max-width: 100%;
    padding: 4px;
}

body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] .article-image.-pull-left {
    display: block;
    margin: 0 0 24px;
}

/* The Specification article predates Bootstrap 5's collapse data API. The
 * content has been upgraded to data-bs-* attributes; these rules give the
 * legacy panel markup a deliberate, keyboard-friendly accordion treatment. */
body.itemid-111 #sp-component .panel-group {
    margin: 0 auto;
    max-width: 1080px;
    padding: 0 0 62px;
}

body.itemid-111 #sp-component .panel {
    background: #fff;
    border: 0;
    border-bottom: 1px solid #dce9ee;
    margin: 0;
}

body.itemid-111 #sp-component .panel-heading {
    background: #fff;
    border: 0;
    padding: 0;
}

body.itemid-111 #sp-component .panel-title {
    font-family: "Crimson Text", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    margin: 0;
}

body.itemid-111 #sp-component .panel-title > a {
    align-items: center;
    color: #252525;
    display: flex;
    justify-content: space-between;
    letter-spacing: .3px;
    padding: 19px 24px;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

body.itemid-111 #sp-component .panel-title > a::after {
    color: var(--ladyjoy-blue);
    content: "+";
    flex: 0 0 auto;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    margin-left: 20px;
}

body.itemid-111 #sp-component .panel-title > a:not(.collapsed) {
    background: #f3f8fb;
    color: #148bb8;
}

body.itemid-111 #sp-component .panel-title > a:not(.collapsed)::after {
    content: "−";
}

body.itemid-111 #sp-component .panel-title > a:hover,
body.itemid-111 #sp-component .panel-title > a:focus-visible {
    background: #f3f8fb;
    color: #148bb8;
}

body.itemid-111 #sp-component .panel-body {
    border-top: 1px solid #e8f0f3;
    padding: 8px 24px 24px;
}

body.itemid-111 #sp-component .panel-body table {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
}

body.itemid-111 #sp-component .panel-body td {
    border-bottom: 1px solid #edf2f4;
    padding: 10px 12px;
    vertical-align: top;
}

body.itemid-111 #sp-component .panel-body tr:last-child td {
    border-bottom: 0;
}

body.itemid-111 #sp-component .table-default td:first-child {
    color: #148bb8;
    font-weight: 600;
    width: 38%;
}

/* Culinary images carry the legacy center-block class. Keep the image rhythm
 * centered and give the long menu page a quiet gallery-like finish. */
body.itemid-114 #sp-component [itemprop="articleBody"] > .col-sm-12 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1140px;
}

body.itemid-114 #sp-component [itemprop="articleBody"] .article-image.center-block {
    background: #fff;
    border: 1px solid #dce6ea;
    box-shadow: 0 5px 18px rgba(24, 64, 79, .08);
    margin-bottom: 28px;
    padding: 4px;
}

/* The original top-level pages used the article only as a content shell. The
 * visible composition is supplied by the Helix module rows below the hero,
 * so Joomla's generated title/meta/share/navigation chrome must not occupy
 * space in those compositions. */
body.itemid-109 #sp-component .article-header,
body.itemid-109 #sp-component .article-info,
body.itemid-109 #sp-component .article-ratings-social-share,
body.itemid-109 #sp-component .pagenavigation,
body.itemid-110 #sp-component .article-header,
body.itemid-110 #sp-component .article-info,
body.itemid-110 #sp-component .article-ratings-social-share,
body.itemid-110 #sp-component .pagenavigation,
body.itemid-111 #sp-component .article-header,
body.itemid-111 #sp-component .article-info,
body.itemid-111 #sp-component .article-ratings-social-share,
body.itemid-111 #sp-component .pagenavigation,
body.itemid-112 #sp-component .article-header,
body.itemid-112 #sp-component .article-info,
body.itemid-112 #sp-component .article-ratings-social-share,
body.itemid-112 #sp-component .pagenavigation,
body.itemid-113 #sp-component .article-header,
body.itemid-113 #sp-component .article-info,
body.itemid-113 #sp-component .article-ratings-social-share,
body.itemid-113 #sp-component .pagenavigation,
body.itemid-114 #sp-component .article-header,
body.itemid-114 #sp-component .article-info,
body.itemid-114 #sp-component .article-ratings-social-share,
body.itemid-114 #sp-component .pagenavigation {
    display: none;
}

/* Bootstrap's .d-flex uses !important, so the share row needs the same
 * specificity when it is suppressed on these legacy compositions. */
body.itemid-101 #sp-component .article-ratings-social-share,
body.itemid-109 #sp-component .article-ratings-social-share,
body.itemid-110 #sp-component .article-ratings-social-share,
body.itemid-111 #sp-component .article-ratings-social-share,
body.itemid-112 #sp-component .article-ratings-social-share,
body.itemid-113 #sp-component .article-ratings-social-share,
body.itemid-114 #sp-component .article-ratings-social-share {
    display: none !important;
}

/* Video is a deliberately media-first page: a pale spacer separates the
 * header from the full-width Matterport frame, followed by the YouTube frame. */
/* Helix renders the page shell as <main id="sp-main"> and the article row
 * as a nested <section id="sp-main">. Scope this media-first treatment to
 * the inner section; styling the outer shell clips the gallery below it. */
body.itemid-112 main#sp-main > section#sp-main {
    background: #f3f8fb;
    height: 80px;
    min-height: 80px;
}

body.itemid-112 main#sp-main > section#sp-main .container,
body.itemid-112 main#sp-main > section#sp-main .container-inner,
body.itemid-112 main#sp-main > section#sp-main .row {
    height: 80px;
}

body.itemid-112 main#sp-main > section#sp-main .article-details {
    display: none;
}

body.itemid-112 #sp-gallery-wrapper {
    background: #f3f8fb;
    padding: 0 0 48px;
}

body.itemid-112 #sp-gallery-wrapper > .row {
    height: auto;
}

body.itemid-112 #sp-gallery-wrapper .sp-module {
    margin: 0;
}

body.itemid-112 #sp-gallery-wrapper .sp-module + .sp-module {
    margin-top: 48px;
}

body.itemid-112 #sp-gallery-wrapper iframe {
    border: 0;
    display: block;
    height: 480px;
    width: 100%;
}

/* Crew is a blog category. The old Helix3 "about" layout rendered each crew
 * member as a centred portrait/profile rather than Joomla's default table. */
body.itemid-115 .com-content-category-blog {
    padding: 0 0 56px;
}

body.itemid-115 .com-content-category-blog .article-list > .row {
    margin: 0;
}

body.itemid-115 .com-content-category-blog .article-list > .row > [class*="col-"] {
    padding: 0;
    width: 100%;
}

body.itemid-115 .com-content-category-blog .article {
    border: 0;
    margin: 0 auto;
    max-width: 680px;
    padding: 0 0 74px;
    text-align: center;
}

body.itemid-115 .com-content-category-blog .article-intro-image {
    float: none !important;
    margin: 0 auto 20px;
    width: 360px;
}

body.itemid-115 .com-content-category-blog .article-intro-image img {
    border-radius: 50%;
    display: block;
    height: 360px;
    object-fit: cover;
    width: 360px;
}

body.itemid-115 .com-content-category-blog .article-header h2 {
    margin: 0 0 4px;
}

body.itemid-115 .com-content-category-blog .article-header h2 a {
    color: #238dad;
    //font-family: "Crimson Text", Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    text-decoration: none;
}

body.itemid-115 .com-content-category-blog .fields-container {
    color: #a8a8a8;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

body.itemid-115 .com-content-category-blog .fields-container li {
    display: inline;
    font-size: 16px;
    line-height: 1.45;
}

body.itemid-115 .com-content-category-blog .fields-container .field-label {
    display: none;
}

body.itemid-115 .com-content-category-blog .fields-container .position::after {
    content: ", ";
}

body.itemid-115 .com-content-category-blog .fields-container .joined {
    display: block;
}

/*body.itemid-115 .com-content-category-blog .fields-container .joined::before {
    color: #a88632;
    content: "Joined LADY JOY in ";
    font-style: italic;
    font-weight: 600;
}*/

body.itemid-115 .com-content-category-blog .article-introtext {
    color: var(--ladyjoy-text);
    font-size: 16px;
    height: auto;
    line-height: 1.45;
    margin: 0 auto;
    max-height: 176px;
    max-width: 570px;
    overflow: hidden;
    position: relative;
    text-align: justify;
    transition: max-height 320ms ease;
}

body.itemid-115 .com-content-category-blog .article-introtext::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 72%);
    bottom: 0;
    content: "";
    height: 78px;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 1;
}

body.itemid-115 .com-content-category-blog .article-introtext::after {
    display: none;
}

body.itemid-115 .com-content-category-blog .article-introtext.is-expanded {
    max-height: 4000px;
    overflow: visible;
}

body.itemid-115 .com-content-category-blog .article-introtext.is-expanded::before {
    opacity: 0;
    pointer-events: none;
}

body.itemid-115 .com-content-category-blog .ladyjoy-show-more {
    background: #22a9dd;
    border: 0;
    border-radius: 0;
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1px;
    line-height: 1;
    margin: -48px auto 0;
    min-width: 151px;
    padding: 13px 17px;
    position: relative;
    text-align: center;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    z-index: 2;
}

body.itemid-115 .com-content-category-blog .ladyjoy-show-more:hover,
body.itemid-115 .com-content-category-blog .ladyjoy-show-more:focus-visible {
    background: #168fbe;
    box-shadow: 0 5px 14px rgba(24, 64, 79, .16);
    color: #fff;
    transform: translateY(-1px);
}

body.itemid-115 .com-content-category-blog .ladyjoy-show-more .fa {
    margin-right: 6px;
}

body.itemid-115 .com-content-category-blog .article-introtext.is-expanded + .ladyjoy-show-more {
    margin: 20px auto 0;
}

/* Destinations' four itinerary links were cards in the Helix3 module
 * template. The migrated module still contains the correct article links,
 * so restore the visual card treatment and use each article's original image
 * as the card thumbnail. */
body.itemid-110 #sp-block4-text-wrapper {
    padding: 38px 0 48px;
}

body.itemid-110 #sp-block4-text-wrapper .latestnews {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    max-width: var(--ladyjoy-container);
    padding: 0;
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li {
    background: #fff;
    border: 1px solid #e2e2e2;
    display: flex;
    flex: 0 1 262px;
    flex-direction: column;
    min-height: 324px;
    padding: 25px;
    text-align: center;
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    display: block;
    flex: 0 0 140px;
    margin-bottom: 12px;
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li:nth-child(1)::before {
    background-image: url("/images/destinations/sicily.jpg");
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li:nth-child(2)::before {
    background-image: url("/images/destinations/exumas.jpg");
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li:nth-child(3)::before {
    background-image: url("/images/destinations/nice.jpg");
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li:nth-child(4)::before {
    background-image: url("/images/destinations/portocervo.jpg");
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li a {
    color: #252525;
    display: flex;
    flex: 1;
    flex-direction: column;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 21px;
    line-height: 1.18;
    text-decoration: none;
}

body.itemid-110 #sp-block4-text-wrapper .latestnews li a::after {
    align-self: center;
    background: #159fd3;
    color: #fff;
    content: "Read more ...";
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    margin-top: auto;
    padding: 9px 14px;
}

.blockquote {
    border: 0;
    color: #9aa4aa;
    font-size: 17px;
    font-style: normal;
    line-height: 1.45;
    margin: 14px auto 28px;
    padding: 0 20px;
    text-align: center;
}

.blockquote p {
    color: #9aa4aa !important;
    margin-bottom: 8px !important;
}

.blockquote footer {
    color: #9aa4aa;
    font-size: 14px;
}

/* Gallery and lower content retain the old pale section background/gutters. */
#sp-gallery-wrapper {
    background: #f3f8fb;
    padding: 30px 0 12px;
}

#sp-gallery-wrapper .sp-module {
    margin-bottom: 18px;
}

#sp-topics-wrapper,
#sp-contact-wrapper,
#sp-footer,
#sp-socialshare,
#sp-socialshare-wrapper {
    background: #fff;
}

/* Landing-page topic navigation. The raw latest-news list is deliberately
 * upgraded to cards so it remains a useful visual entry point on desktop and
 * a tidy single-column stack on small screens. */
#sp-topics-wrapper {
    background: #edf7fb;
    padding: 42px 0 44px;
}

#sp-topics-wrapper .sp-module {
    margin: 0;
}

#sp-topics-wrapper .ladyjoy-topic-cards {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    max-width: var(--ladyjoy-container);
    padding: 0;
}

#sp-topics-wrapper .ladyjoy-topic-card {
    background: #fff;
    border: 1px solid #dce9ee;
    box-shadow: 0 10px 28px rgba(29, 79, 101, .08);
    display: flex;
    flex: 0 1 262px;
    min-height: 320px;
    padding: 25px;
    text-align: center;
    transition: box-shadow 180ms ease, transform 180ms ease;
}

#sp-topics-wrapper .ladyjoy-topic-card:hover {
    box-shadow: 0 16px 32px rgba(29, 79, 101, .15);
    transform: translateY(-3px);
}

#sp-topics-wrapper .ladyjoy-topic-card > a {
    color: #252525;
    display: flex;
    flex: 1;
    flex-direction: column;
    text-decoration: none;
}

#sp-topics-wrapper .ladyjoy-topic-card img {
    display: block;
    flex: 0 0 140px;
    height: 140px;
    margin: 0 0 14px;
    object-fit: cover;
    width: 100%;
}

#sp-topics-wrapper .topic-title {
    color: #252525;
    font-family: "Crimson Text", Georgia, serif;
    font-size: 22px;
    line-height: 1.2;
}

#sp-topics-wrapper .topic-readmore {
    align-self: center;
    background: #159fd3;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    margin-top: auto;
    padding: 9px 14px;
}

#sp-contact-wrapper {
    background:
        linear-gradient(rgba(7, 20, 28, .87), rgba(7, 20, 28, .93)),
        url("/images/block/11.jpg") center center / cover no-repeat;
    min-height: 488px;
    padding: 78px 0 74px;
    text-align: center;
}

#sp-contact-wrapper .sp-module {
    margin: 0;
}

#sp-contact-wrapper .mainintro {
    align-items: center;
    display: flex;
    flex-direction: column;
}

#sp-contact-wrapper .mainintro img {
	margin-bottom: 1rem;
}

#sp-contact-wrapper .mainintro h2 {
    color: #b58b2c;
    font-size: 76px;
    font-style: italic;
    line-height: 1;
    margin: 0 0 28px;
}

#sp-contact-wrapper .mainintro h2,
#sp-contact-wrapper .mainintro h3,
#sp-contact-wrapper .mainintro h4 {
    font-family: "Crimson Text", Georgia, serif;
    font-weight: 400;
}

#sp-contact-wrapper .mainintro h3 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 20px;
}

#sp-contact-wrapper .mainintro h4 {
    color: #fff;
    font-size: 20px;
    margin: 0 0 34px;
}

#sp-contact-wrapper .mainintro .btn {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 14px 18px;
    text-transform: uppercase;
}

#sp-contact-wrapper .mainintro .btn:hover,
#sp-contact-wrapper .mainintro .btn:focus {
    background: #fff;
    color: #159fd3;
}

#sp-footer {
    background: #159fd3;
    color: #fff;
    min-height: 61px;
    padding: 0;
}

#sp-footer .container-inner {
    padding-bottom: 0;
    padding-top: 0;
}

#sp-footer1 {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 61px;
}

#sp-footer1::before {
    color: rgba(255, 255, 255, .92);
    content: "© 2026 Lady Joy - Luxury Charter Yacht";
    font-size: 16px;
}

#sp-socialshare,
#sp-socialshare-wrapper {
    background: #edf7fb;
    padding: 18px 0 24px;
}

#sp-socialshare .container-inner {
    padding-bottom: 0;
    padding-top: 0;
}

#sp-socialshare .sp-module,
#sp-socialshare-wrapper .sp-module {
    margin: 0;
}

#sp-socialshare .social-icons-wrapper,
#sp-socialshare-wrapper .social-icons-wrapper {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

#sp-socialshare .social-icons-text,
#sp-socialshare-wrapper .social-icons-text {
    color: #9aa4aa;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#sp-socialshare .social-icons,
#sp-socialshare-wrapper .social-icons {
    list-style: none;
    margin: 0;
    padding: 0;
}

#sp-socialshare .social-icons a,
#sp-socialshare-wrapper .social-icons a {
    color: #159fd3;
    font-size: 32px;
}

@media (max-width: 1199px) {
    :root { --ladyjoy-container: 960px; }
    #sp-menu .sp-megamenu-parent > li > a,
    #sp-menu .sp-megamenu-parent > li > span { padding: 0 9px; }
}

@media (max-width: 767px) {
    :root { --ladyjoy-container: 100%; }

    #sp-header,
    #sp-header .container-inner,
    #sp-header .row,
    #sp-header .sp-column,
    #sp-header .logo {
        height: 70px;
        min-height: 70px;
    }

    #sp-header .logo-image {
        height: 52px !important;
        max-height: 52px;
    }

    #sp-menu .sp-megamenu-parent { display: none; }
    #sp-menu #offcanvas-toggler { height: 70px; line-height: 70px; }

    /* Nivo keeps the legacy Extreme wrapper at a 200px minimum on narrow
     * screens even though its responsive image is shorter. Give the hero a
     * deliberate mobile crop so the controls stay over the photograph rather
     * than floating in a white gap below it. */
    #sp-slider-wrapper,
    #sp-slider,
    #sp-slider .sp-column,
    #sp-smart-slider-116,
    #sp-smart-slider-116 .nivoSlider {
        height: 260px;
        min-height: 260px;
    }

    #sp-smart-slider-116 .nivoSlider img,
    #sp-smart-slider-116 .nivoSlider .nivo-main-image {
        height: 260px !important;
        object-fit: cover;
        width: 100% !important;
    }

    #sp-block1-wrapper {
        height: 440px;
        min-height: 440px;
    }

    #sp-block2-wrapper,
    #sp-block3-wrapper,
    #sp-block4-wrapper {
        height: 440px;
        min-height: 440px;
    }

    #sp-block1-wrapper .pre-block1-content,
    #sp-block1-wrapper .pre-block1-content.col-sm-3,
    #sp-block1-wrapper .pre-block1-content.col-sm-5 {
        width: 100%;
        padding: 25px 20px;
    }

    #sp-block1-wrapper h3 { font-size: 27px; }
    #sp-block1-wrapper .pre-block1-content p { font-size: 15px; }

    #sp-block2-wrapper .pre-block2-content,
    #sp-block3-wrapper .pre-block3-content,
    #sp-block4-wrapper .pre-block4-content,
    body.itemid-109 #sp-block2-wrapper .pre-block2-content {
        left: 0;
        padding: 25px 20px;
        right: auto;
        text-align: center;
        width: 100%;
    }

    #sp-block2-wrapper h3,
    #sp-block3-wrapper h3,
    #sp-block4-wrapper h3 { font-size: 27px; }

    #sp-block2-wrapper .pre-block2-content p,
    #sp-block3-wrapper .pre-block3-content p,
    #sp-block4-wrapper .pre-block4-content p {
        font-size: 15px;
        margin-top: 20px;
        max-width: none;
    }

    #sp-block1-text-wrapper { padding: 34px 20px 38px; }

    body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component .article-details > [itemprop="articleBody"] {
        padding: 32px 20px 46px;
    }

    body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] .article-image.pull-left,
    body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] .article-image.pull-right,
    body:is(.itemid-116, .itemid-117, .itemid-118, .itemid-119, .itemid-120) #sp-component [itemprop="articleBody"] .article-image.-pull-left {
        float: none !important;
        margin: 0 auto 22px;
    }

    body.itemid-111 #sp-component .panel-group {
        padding: 0 20px 44px;
    }

    body.itemid-111 #sp-component .panel-title {
        font-size: 20px;
    }

    body.itemid-111 #sp-component .panel-title > a {
        padding: 17px 4px;
    }

    body.itemid-111 #sp-component .panel-body {
        padding: 6px 4px 20px;
    }

    body.itemid-111 #sp-component .table-default td:first-child {
        width: 44%;
    }

    #sp-topics-wrapper { padding: 30px 20px 34px; }

    #sp-topics-wrapper .ladyjoy-topic-cards {
        gap: 18px;
    }

    #sp-topics-wrapper .ladyjoy-topic-card {
        flex-basis: 262px;
        width: 100%;
    }

    #sp-contact-wrapper {
        min-height: 0;
        padding: 58px 20px 56px;
    }

    #sp-contact-wrapper .mainintro h2 { font-size: 52px; }
    #sp-contact-wrapper .mainintro h3 { font-size: 21px; }
    #sp-contact-wrapper .mainintro h4 { font-size: 18px; }
    #sp-footer1 { min-height: 54px; }
    #sp-footer1::before { font-size: 14px; text-align: center; }

    #sp-socialshare,
    #sp-socialshare-wrapper { padding: 16px 20px 22px; }
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-12 {
        margin-left: 0;
        width: 100%;
    }
}
