@font-face {
  font-family: 'CFModGrotesk-Regular';
  src: url(/assets/fonts/CFModGrotesk-Regular.otf)format("opentype");
}

@font-face {
  font-family: 'CFModGrotesk-LightExtExp';
  src: url(/assets/fonts/CFModGrotesk-LightExtExp.otf)format("opentype");
}

@font-face {
  font-family: 'CFModGrotesk-SemiBoldExpanded';
  src: url(/assets/fonts/CFModGrotesk-SemiBoldExpanded.otf)format("opentype");
}

@font-face {
  font-family: 'PlayfairDisplay-Regular';
  src: url(/assets/fonts/PlayfairDisplay-Regular.ttf)format("truetype");
}

@font-face {
  font-family: 'PlayfairDisplay-Medium';
  src: url(/assets/fonts/PlayfairDisplay-Medium.ttf)format("truetype");
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #E5E6E7;
  --color-dark-grey: #999999;
  --color-blue: #160D47;
  --color-gold: #B99B80;
  --color-beige: #F4EFE9;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
  
}


h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}


h1 {
  font-family: 'CFModGrotesk-SemiBoldExpanded';
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--color-blue);
}

h2 {
  font-family: 'CFModGrotesk-LightExtExp';
  font-size: 2rem;
  line-height: 2.5rem;
  color: var(--color-blue);
}

h3 {
  font-family: 'PlayfairDisplay-Regular';
  font-size: 1rem;
  line-height: 1.2rem;
  color: var(--color-gold);
}

h4 {
  font-family: 'CFModGrotesk-LightExtExp';
  font-size: 1rem;
  line-height: 1.25rem;
  color: var(--color-blue);

}

p {
  font-family: 'CFModGrotesk-Regular';
  font-size: 1rem;
  line-height: 1.2rem;
}


li {
  list-style: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-family: 'CFModGrotesk-SemiBoldExpanded';
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--color-blue);
}
small {
  font-family: 'CFModGrotesk-Regular';
  font-size: 1.5rem;
  line-height: 3rem;
  color: var(--color-text-grey);
}




.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}


.img-caption,
.video-caption {
  padding-top: .5rem;
  line-height: 1.5em;
}


.footer  {
  text-align: center;
}

.footer ul,
.footer p {
  color: var(--color-white);
}

.footer a:hover {
  color: var(--color-gold);
}



.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}


/* Home */

.menu-items {
  font-family: 'CFModGrotesk-LightExtExp'; /* LightExtExp SemiBoldExpanded */
  font-size: .9rem;
  letter-spacing: .02rem;
  /* text-transform: uppercase; */
  color: var(--color-white);
	transition: all 0.5s ease-out;
}

.menu-items:hover {
  margin-right: 10px !important;
	color: var(--color-gold);
	/* transition: all 1s; */
}

.menu a[aria-current] {
	color: var(--color-gold);
}

.filter {
	color: var(--color-dark-grey);
}

.filter-active {
	color: var(--color-blue) !important;
}

.header-booking {
  font-family: 'CFModGrotesk-Regular';
  font-size: .8rem;
  color: var(--color-white);
  text-decoration: none;

  width:fit-content;
  padding: 10px 15px;
  border-radius: 10px;
  /* background-color: var(--color-blue); */
  border: 1px solid var(--color-white);

  transition: all 0.3s ease-out;
  cursor: pointer;
}

.header-booking:hover {
  background-color: var(--color-white);
  border: 1px solid var(--color-white);
  color: var(--color-gold);
}


.footer-booking {
  font-family: 'CFModGrotesk-Regular';
  font-size: .8rem;
  text-align: center;
  color: var(--color-white);
  text-decoration: none;

  /* max-width: max-content; */
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid var(--color-white);

  transition: all 0.3s ease-out;
  margin-top: 5vh;
}

.footer-booking:hover {
  background-color: var(--color-white);
  border: 1px solid var(--color-white);
  color: var(--color-gold);
}


.link h2 {
  font-family: 'CFModGrotesk-LightExtExp';
  font-size: 3.6rem; /* 4vw */
  line-height: 3.3rem;

  text-align: center;

  color: var(--color-blue);

  width: 100vw;
}


.link h2:hover {
  color: var(--color-white);
}


.left-column h3 a {
  color: var(--color-blue);
}
.left-column h3 a:hover {
  text-decoration: underline;
}




/* Charter card */

.img-caption h1 {
  line-height: 1.5rem;
}

.img-caption h2 {
  font-size: 1.125rem;
  line-height: 1.5rem;
}

.img-caption h3 {
  padding-bottom: 10px;
}

.img-caption p {
  font-size: 1rem;
  padding-top: 10px;
  color: var(--color-dark-grey);
}




/* Yacht page */

.charter-info h1 {
  font-size: 2.5rem;
}

.charter-info h2 {
  font-size: 1.8rem;
}

.charter-info h3 {
  line-height: 2.2rem;
}

.yacht-info-column {
  padding-top: 40px;
}

.yacht-info-group-1 p, .yacht-info-group-2 p  {
  padding-bottom: 20px;
}

.booking-price {
  padding-bottom: 50px;
}

.yacht-info-booking {
  font-family: 'CFModGrotesk-Regular';
  font-size: .8rem;
  color: var(--color-white);
  text-decoration: none;
}

.yacht-info-booking:hover {
  border: 1px solid var(--color-blue);
  border-radius: 10px;
}

a:hover {
  text-decoration: none;
}


/* Destinations */

.destination-info {
  text-align: center;
  padding: 80px 20vw 180px;
}

.connected-islands p {
    font-family: 'PlayfairDisplay-Regular';
    font-size: 2.8rem;
    line-height: 3.5rem;
    text-align: center;
    padding: 20px 0;
    color: var(--color-gold);
}

.about-info {
  padding: 80px 10vw 0;

}

.about-info p {
  font-family: 'PlayfairDisplay-Regular';
  text-align: center;
  padding-bottom: 30px;
}


/* Responsive styles */
@media screen and (max-width: 768px) {
  .link h2 {
    font-size: 2rem; 
    line-height: 1.8rem;
  }
}


