/**
Theme Name: Sideways26
Author: Joy Machine
Author URI: http://joymachine.com.au/
Description: Custome Theme built on Astra for The Secret States by Joy Machine.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: secret-states-23
Template: astra
*/
/**
 * Clear inner floats
 */
.clearfix::after {
  clear: both;
  content: "";
  display: table;
}

/**
 * Main content containers
 * 1. Make the container full-width with a maximum width
 * 2. Center it in the viewport
 * 3. Leave some space on the edges, especially valuable on small screens
 */
.container {
  max-width: 100%; /* 1 */
  margin-left: auto; /* 2 */
  margin-right: auto; /* 2 */
  padding-left: 20px; /* 3 */
  padding-right: 20px; /* 3 */
  width: 100%; /* 1 */
}

/**
 * Hide text while making it readable for screen readers
 * 1. Needed in WebKit-based browsers because of an implementation bug;
 *    See: https://code.google.com/p/chromium/issues/detail?id=457146
 */
.hide-text {
  overflow: hidden;
  padding: 0; /* 1 */
  text-indent: 101%;
  white-space: nowrap;
}

/**
 * Hide element while making it readable for screen readers
 * Shamelessly borrowed from HTML5Boilerplate:
 * https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css#L119-L133
 */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* SS HELPERS START */
@media (max-width: 768px) {
  .ss-Hlp-Reverse-Mobile {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
.ss-Hlp-ImgFull {
  margin: 0px !important;
}
.ss-Hlp-ImgFull img {
  margin: 0px;
  height: auto;
  max-width: 100% !important;
}

/* SS HELPERS END */
@font-face {
  font-family: "Josefin";
  src: url("/fonts/JosefinSans-VariableFont_wght.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}
h1,
h2,
h3 {
  line-height: 1.1;
}

body p {
  font-size: 1em;
}
body h1 {
  font-family: " Josefin", sans-serif;
  font-size: 2.441em;
}
body h2 {
  font-family: " Josefin", sans-serif;
  font-size: 1.953em;
}
body h3 {
  font-family: " Josefin", sans-serif;
  font-size: 1.563em;
}
body h4 {
  font-family: " Josefin", sans-serif;
  font-size: 1.25em;
}
body h5 {
  font-size: 1em;
}
body h6 {
  font-size: 0.8em;
}
body h1 .ss-Ft-Hero {
  font-size: 4.768em;
}
body h2 .ss-Ft-Hero {
  font-size: 3.052em;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role=list],
ol[role=list] {
  list-style: none;
  margin: 0;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  --font-body: var(--font-sans);
}

article {
  padding: 0px !important;
}

.gs-HomeSection {
  min-height: 90vh;
}

.gs-HomeSection img {
  max-height: 80vh;
  width: auto;
}

.gs-HomeQuote blockquote {
  width: 60%;
  margin: auto;
  /* 	display:flex;
  	flex-direction: column; */
}

.gs-HomeQuote cite {
  /* 	justify-content:right; */
  margin-left: 3%;
}

.gs-HomeSection .sb_instagram_header {
  display: none;
}

.gs-HomeNextButtons a {
  background-color: white !important;
  color: pink !important;
}

/* ///// */
/* 
  Horizontal Scroll CSS for Glance Sideways
  Header: 10vh, Content: 90vh - 15px, Footer: 30vh
  Sections: 700px wide, scroll RIGHT TO LEFT
  No !important declarations
*/
/* Allow vertical scroll to see footer, prevent horizontal body scroll */
html {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Header - 10vh */
#masthead {
  position: relative;
  z-index: 1000;
  display: block;
  height: 10vh;
  min-height: 10vh;
  max-height: 10vh;
  overflow: hidden;
}

/* Footer - 30vh */
#colophon {
  position: relative;
  z-index: 1000;
  display: block;
  clear: both;
  height: 30vh;
  min-height: 30vh;
}

/* Main content area - 90vh minus 15px, horizontal scroll */
#content.site-content {
  height: calc(90vh - 15px);
  min-height: calc(90vh - 15px);
  max-height: calc(90vh - 15px);
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  position: relative;
  -webkit-overflow-scrolling: touch;
  direction: rtl;
}

/* Wrapper elements inside content */
.site-content > .ast-container {
  height: calc(90vh - 15px);
  overflow: visible;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
}

#primary.content-area {
  height: calc(90vh - 15px);
  overflow: visible;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
}

#main.site-main {
  height: calc(90vh - 15px);
  overflow: visible;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
}

article {
  height: calc(90vh - 15px);
  overflow: visible;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
}

.entry-content {
  height: calc(90vh - 15px);
  overflow: visible;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
}

/* Main container - horizontal layout RIGHT TO LEFT */
.gs-HomeContainer {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  height: calc(90vh - 15px);
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  white-space: nowrap;
  direction: rtl;
}

/* Inner column wrapper */
.gs-HomeContainer > .wp-block-column {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  height: calc(90vh - 15px);
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  width: auto;
  -ms-flex-preferred-size: auto;
      flex-basis: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  white-space: nowrap;
  direction: rtl;
}

/* ALL SECTIONS - 700px wide, 90vh - 15px height */
.gs-HomeSection,
.gs-Home1Panel,
.gs-Home2Panel,
.gs-HomeQuote,
.gs-HomeFeed,
.gs-Home6Panel,
.gs-HomeNextButtons {
  min-width: 700px;
  width: 700px;
  max-width: 700px;
  height: calc(90vh - 15px);
  min-height: calc(90vh - 15px);
  max-height: calc(90vh - 15px);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  padding: 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow: hidden;
  direction: ltr;
}

/* Vertical layout for nested columns within sections */
.gs-HomeSection > .wp-block-column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  max-width: 620px;
  height: auto;
  direction: ltr;
}

.gs-HomeSection .wp-block-columns {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  max-width: 620px;
  height: auto;
  direction: ltr;
}

/* Images */
.gs-HomeSection img,
.gs-HomeSection figure {
  max-width: 100%;
  max-height: calc(90vh - 100px);
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Quote sections */
.gs-HomeQuote blockquote {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin: 0 auto;
  max-width: 620px;
  text-align: center;
}

/* Instagram feed */
.gs-HomeFeed #sb_instagram {
  max-width: 100%;
  overflow: visible;
}

.gs-HomeFeed #sbi_images {
  max-height: calc(90vh - 150px);
  overflow-y: auto;
}

/* Grid layout */
.gs-Home6Panel .wp-block-columns {
  gap: 20px;
}

/* Scrollbar styling */
#content.site-content::-webkit-scrollbar {
  height: 12px;
}

#content.site-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

#content.site-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
}

#content.site-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Firefox scrollbar */
#content.site-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.1);
}

/* Performance optimization */
.gs-HomeSection {
  will-change: transform;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #content.site-content {
    -ms-scroll-snap-type: x proximity;
        scroll-snap-type: x proximity;
    height: calc(85vh - 15px);
  }
  .gs-HomeContainer,
  .gs-HomeContainer > .wp-block-column,
  .entry-content,
  article,
  #main.site-main,
  #primary.content-area,
  .site-content > .ast-container {
    height: calc(85vh - 15px);
  }
  .gs-HomeSection,
  .gs-Home1Panel,
  .gs-Home2Panel,
  .gs-HomeQuote,
  .gs-HomeFeed,
  .gs-Home6Panel,
  .gs-HomeNextButtons {
    min-width: 100vw;
    width: 100vw;
    max-width: 100vw;
    height: calc(85vh - 15px);
    min-height: calc(85vh - 15px);
    max-height: calc(85vh - 15px);
    padding: 20px;
  }
  .gs-HomeQuote blockquote {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }
  .gs-HomeSection img,
  .gs-HomeSection figure {
    max-height: calc(85vh - 80px);
  }
  .gs-HomeSection > .wp-block-column,
  .gs-HomeSection .wp-block-columns {
    max-width: 100%;
  }
}
/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .gs-HomeSection,
  .gs-Home1Panel,
  .gs-Home2Panel,
  .gs-HomeQuote,
  .gs-HomeFeed,
  .gs-Home6Panel,
  .gs-HomeNextButtons {
    padding: 30px;
  }
}
/* Ensure interactive elements work */
.gs-HomeSection a,
.gs-HomeSection button {
  pointer-events: all;
  cursor: pointer;
}

.lightbox-trigger {
  position: absolute;
  z-index: 10;
}

/* Text wrapping */
.gs-HomeSection p,
.gs-HomeSection cite {
  word-wrap: break-word;
  overflow-wrap: break-word;
}