/*grid - containers - header/footer*/

/*header----------------------------------------*/
header {
    width: 100%;
    background-color: var(--wp--preset--color--white);
    position: fixed;
    z-index: 1000;
    top: 0;
}
body.admin-bar header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar header {
    top: 46px;
  }
}
.header-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    height: 100%;
    padding: 1.5rem 15%;
    min-height: 6rem;
}
header hr {
    width: 80%;
    margin: auto;
    transition: width 0.4s ease;
}
.site-header.is-over-hero hr {
    width: 100%;
    transition: width 0.4s ease;
}

/*footer----------------------------------------*/
footer {
    width: 100%;
    margin-top: 6rem;
}
footer hr {
    width: 80%;
    margin: auto;
}
.footer-content {
    padding: 6rem 15%;
}
.footer-content p{
    margin-bottom: 1.5rem;
    text-align: center;
}
footer .icon-list {
    margin: 0;
    padding-bottom: 0;
}

/*blog-section------------------------------------------*/
.blog-section {
    width: 75%;
    margin: 0 auto 3rem auto;
}
.faq-section{
    margin-bottom: 6rem;
}

/*columns------------------------------------------*/
.one-column {
    width: var(--one-column-width, 100%);
    box-sizing: border-box;
	overflow-wrap: anywhere;
}
.two-columns {
	display: grid;
	grid-template-columns:
		var(--two-columns-first)
		var(--two-columns-second);
	gap: var(--two-columns-gap);
    margin-bottom: 6rem;
    align-items: center;
    max-width: 100%;
}
.three-columns {
	display: grid;
	grid-template-columns:
		var(--three-columns-first)
		var(--three-columns-second)
		var(--three-columns-third);
	gap: var(--three-columns-gap);
    margin-bottom: 2rem;
    align-items: center;
}
.two-columns.fixed-composition, .three-columns.fixed-composition {
    display: grid;
}

/*hook----------------------------------------------*/
.hook {
    display: grid;
    position: relative;
    align-items: start;
    width: 80%;
    margin: auto auto 3rem auto;
}
.cta {
    background-color: var(--wp--preset--color--grey);
    width: 100%;
    padding: 0 12%;
    display: flow-root;
    border-radius: 3rem;
    margin-bottom: 3rem;
}
.cta .button {
    margin-bottom: 6rem;
}
.cta h2, .cta h1, .cta p  {
    color: var(--wp--preset--color--white);
}
.cta.light {
    background-color: var(--wp--preset--color--secondary);
}
.cta.light h2, .cta.light h1, .cta.light p  {
    color: var(--wp--preset--color--black);
}
.cta .contact-form {
    width: 100%;
}
.hook > .cta {
    width: 65%;
    padding: 0 15% 0 9%;
    overflow-wrap: break-word;
    z-index: 1;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
}
.hook > .cta h2,.hook > .cta h1,.hook > .cta p  {
    text-align: left;
}
.hook > img {
    width: 45%;
    aspect-ratio: auto;
    border-radius: 3rem;
    z-index: 1;
    justify-self: end;
    grid-column: 1;
    grid-row: 1;
    margin-top: 6rem;
    height: calc(100% - 6rem);
    border: solid 0.2rem var(--wp--preset--color--grey);
}
.hook.right > .cta {
    padding: 0 9% 0 15%;
    justify-self: end;
}
.hook.right > img {
    justify-self: start;
}
.hook .button {
    width: 75%;
    margin-left: 0;
}

/*fixed bottom-------------------------------------*/
.fixed-bottom {
    position: fixed;
    z-index: 1000;
    width: auto;
    bottom: 2rem;
    right: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
    justify-items:end;
    pointer-events: none;
}
.fixed-bottom .button {
    border-bottom-right-radius: 0;
    width: auto;
    margin: 0;
    padding: 0.75rem 1rem;
}

/*Slider------------------------------------------------*/
.horizontal-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: auto;
    overscroll-behavior-x: auto;
	overscroll-behavior-y: auto;
    padding: 0 10vw;
    margin-bottom: 3rem;
    cursor: grab;
    scrollbar-width: none;
}
.horizontal-slider::-webkit-scrollbar {
    display: none;
}
.horizontal-slider.is-dragging,
.horizontal-slider.is-dragging * {
	cursor: grabbing;
    scroll-snap-type: none;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}
.horizontal-slider > div {
    flex: 0 0 25vw;
    min-width: 320px;
    scroll-snap-align: center;

    padding: 3rem;
    border-radius: 0.5rem;
    background: var(--wp--preset--color--secondary);

    transform: scale(0.82);
    opacity: 0.55;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.horizontal-slider > div.is-central {
    transform: scale(1);
    opacity: 1;
}

/*form---------------------------------------------*/
.contact-form{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1.5rem;
    width: 75%;
    margin: 3rem auto 0 auto;
}

/*bento grid-------------------------------------------*/
.grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
    row-gap: 1rem;
    width: 100%;
}
.bentobox {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    border: solid #000 0.2rem;
    border-radius: 1rem;
}
.bentobox:hover{
    border: solid #A68358 0.2rem;
}
.bentobox p {
    margin: auto 0 auto 0;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
}
.bentobox .line {
    height: 4rem;
    width: 0.2rem;
    background-color: #000;
    margin: 0.5rem;
}
.bentobox .logobox {
    padding: 5rem 0 5rem 3rem;
    width: 30%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items:center;
}
.bentobox.one {
    margin-bottom: 1rem;
}
.bentobox .logogrid {
    width: 64%;
    display: grid;    
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 0;
    row-gap: 1rem;
    justify-items:center;
}
.logobox img {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
}
.bentobox #description {
    margin: 2rem 0 2rem 5%;
    width: 55%;
    text-align: left;
}
.bentobox.two p {
    width: 35%;
}
.bentobox.two .logogrid {
    margin: 2rem 0 2rem 0;
    width: 62%;
    display: grid;    
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    justify-items:center;
    align-items: center;
}
.bentobox .logogrid img {
    width: 3rem;
    height: 3rem;
    position: relative;
}
.bigbox {
    display: grid;    
    grid-template-columns: 1fr;
    gap: 0;
    justify-items:center;
    padding: 3rem;
}
.bigbox h3 {
    width: 70%;
}
.bigbox #description {
    margin: 0;
    width: 60%;
    padding: 0;
}
/* tooltip bubble */
.logoTool::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);
  background: #111;
  color: #fff;
  font-size: small;
  padding: 0.4rem 1rem;
  border-radius: 0.3rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1;
}
/* little triangle */
.logoTool::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #111;
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 10;
}
/* show on hover/keyboard focus */
.logoTool:hover::after,
.logoTool:focus-visible::after,
.logoTool:hover::before,
.logoTool:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 4px);
}






@media (max-aspect-ratio: 4/3) {
.header-top {
    padding: 1.5rem 10%;
}
}






@media(max-aspect-ratio: 2/3) {
footer {
    margin-top: 3rem;
}
.blog-section {
    width: 80%;
}
.one-column {
    width: 100%;
}
.two-columns {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.three-columns {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.two-columns.fixed-composition, .three-columns.fixed-composition {
    gap: var(--three-columns-gap);
}
.hook {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    margin-bottom: 6rem;
}
.cta {
    border-radius: 1.5rem;
    padding: 0 10%;
}
.hook > .cta {
    width: 100%;
    margin: 0;
    padding: 3rem 10% 0 10%;
}
.hook.right > .cta {
    padding: 3rem 10% 0 10%;
}
.hook > img {
    width: 100%;
    margin: 0 0 -6rem 0;
    aspect-ratio: 3 / 4;
    border-radius: 1.5rem;
}
.hook .button {
    width: 100%;
}
.contact-form {
    width: 100%;
}
}