/*
Theme Name: AraFest2
Description: Theme for fest.arvesta.am
Text Domain: ara
Version: 1.01
Author: Arvesta
Template: astra
*/

/* Basics */

:root {
  --ff-abel: "Abel", sans-serif;
  --ff-roco: 'Roboto Condensed', sans-serif;
  --ff-robo: 'Roboto', sans-serif;
  --ff-nota: 'Noto Sans Armenian', sans-serif;
  --ff-note: 'Noto Serif Armenian', serif;
}

.lang-switch {
  display: inline-block;
  font-family: var(--ff-nota);
  font-weight: 400;
  font-size: 0.75rem;
  padding: 0 10px;
  background-color: #e2e4e6;
  color: #ddd !important;
}

/* home */

.ara .site-branding .site-logo-img .custom-logo-link img {
  width: clamp(100px, 20vw, 120px) !important;
  height: auto !important;
}

.ara .menu-toggle {
  position: fixed;
  top: 40px;
  right: 0.5rem;
}

.ast-builder-layout-element.ast-flex.site-header-focus-item {
  position: relative;
}

.ara .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item>.menu-link {
  background-color: #cc0000;
  color: #fff;
}

.ara .site-branding {
  position: relative;
  top: 0;
  left: 0.5rem;
}

.section {
  position: relative;
}

.section-home {
  width: 100%;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1200px) {
  .ara.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.ara-panel .ara-btn-chevron {
  width: 32px;
  height: 32px;
}

.bottom svg rect {
  fill: #00aeff !important;
}


.ara-btn-chevron>a:hover>svg rect,
.icon-container.has-icon-background-color>svg:hover rect {
  fill: #000 !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wp-block-cover__image-background {
  background-color: #00aeff;
}

/* Masters */

.ara-grid__item-img {
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
}


/* CF7 */

.home .wp-block-uagb-container.uagb-is-root-container>.uagb-container-inner-blocks-wrap {
  --inner-content-custom-width: min(100%, 1200px) !important;
}

.total-price-value {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  margin-top: 10px;
}

.wpcf7-form-control.ara-submit-button {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-family: var(--ff-roco) !important;
}


/* FORM BASICS */

.ara-contact-form-container {
  width: 100%;
  max-width: 100%;
}

.ara-contact-form-container *,
.ara-contact-form-container *::before,
.ara-contact-form-container *::after {
  box-sizing: border-box;
}

.ara-contact-form-container p {
  margin: 0 0 1.5rem;
}


.ara-contact-form-container .col {
  font-size: 16px;
}

/* PART BOXES */

.ara-contact-form-container .part {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #cccc;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.6);
}


/* INPUTS */

.ara-contact-form-container input[type="text"],
.ara-contact-form-container input[type="number"],
.ara-contact-form-container input[type="email"],
.ara-contact-form-container input[type="url"],
.ara-contact-form-container input[type="password"],
.ara-contact-form-container input[type="search"],
.ara-contact-form-container input[type="tel"],
.ara-contact-form-container input[type="date"],
.ara-contact-form-container select,
.ara-contact-form-container textarea {
  width: 100%;
  max-width: 100%;
  height: 50px;
}

.ara-contact-form-container textarea {
  height: auto;
  min-height: 120px;
}

/* FILE INPUTS */
.ara-contact-form-container input[type="file"] {
  width: 100%;
  max-width: 100%;
}

/* RADIO / CHECKBOX GROUPS */
.ara-contact-form-container .wpcf7-radio,
.ara-contact-form-container .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.ara-contact-form-container .wpcf7-list-item {
  margin: 0;
}

/* DESKTOP ROWS */

@media (min-width: 992px) {

  .ara-flex-row-1,
  .ara-flex-row-2,
  .ara-flex-row-3 {
    display: flex;
    gap: 1rem;
    width: 100%;
  }

  .ara-flex-row-1>.col {
    flex: 1 1 100%;
  }

  .ara-flex-row-2>.col {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .ara-flex-row-3>.col {
    flex: 1 1 calc(33.333% - 0.67rem);
  }
}

/* MOBILE / TABLET STACK */

@media (max-width: 991px) {

  .ara-flex-row-1,
  .ara-flex-row-2,
  .ara-flex-row-3 {
    display: block;
  }

  .ara-flex-row-1>.col,
  .ara-flex-row-2>.col,
  .ara-flex-row-3>.col {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* Master classes / additional master classes */
.ara-contact-form-container .checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.ara-contact-form-container .checkbox-group .wpcf7-list-item {
  display: block;
  margin: 0;
}

.ara-contact-form-container .checkbox-group .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  column-gap: 0.5rem;
  line-height: 1.3;
  cursor: pointer;
}

.ara-contact-form-container .checkbox-group input[type="checkbox"] {
  margin: 0;
  inline-size: 18px;
  block-size: 18px;
}

.ara-contact-form-container .checkbox-group .wpcf7-list-item-label {
  display: block;
}

/* wider desktop */
@media (min-width: 1200px) {
  .ara-contact-form-container .checkbox-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* mobile */
@media (max-width: 1024px) {
  .ara-contact-form-container .checkbox-group {
    grid-template-columns: 1fr;
  }
}

.wpcf7-list-item-label {
  font-size: 17px;
}

/* Program */

.ara-grid {
  display: grid;
  width: 100%;
  margin: 0 auto;
  /* Use the variable from PHP, default to 3 if missing */
  grid-template-columns: repeat(var(--cols-m, 3), 1fr);
  gap: 15px;
  padding: 20px;
}

/* Individual Item */
.ara-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ara-grid__item-img-wrapper {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
}

/* Circular Portrait */
.ara-grid__item-img {
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-image: linear-gradient(to top, #e2e4e6 0%, rgb(194, 192, 192) 100%);
}

/* Typography */
.ara-grid__item-name {
  display: block;
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.ara-grid__item-country {
  display: block;
  color: #000;
  opacity: 0.8;
  font-size: 0.75rem;
  margin-top: 2px;
}

.ara-grid__item-content {
  display: block;
  color: #fff;
  opacity: 0.8;
  font-size: 0.75rem;
  margin-top: 2px;
}


/* Desktop Override: 1025px and up */
@media (min-width: 1025px) {
  .ara-grid {
    /* Use the variable from PHP, default to 8 */
  grid-template-columns: repeat(auto-fit, minmax(190px, max-content));
    justify-content: center;
    gap: 25px;
    padding: 30px;
    max-width: 1200px;
  }

  .ara-grid__item-img-wrapper {
    max-width: 200px;
    /* Larger images on desktop */
  }
}

/* Days grid */
.ara-grid-days {
  display: grid;
  width: 100%;
  margin: 0 auto;
  justify-content: center; /* THIS is the key */
  grid-template-columns: repeat(var(--cols-m, 3), 1fr);
  gap: 15px;
  padding: 15px;
}

/* Individual Item */
.ara-grid-days__item {
  display: flex;
  flex-direction: column;
}

.ara-grid-days__item-img-wrapper {
  width: 100%;
  display: flex;
  background-color: #fff;
  margin-bottom: 10px;
  border: 2px solid #fff;
}

/* Circular Portrait */
.ara-grid-days__item-img {
  width: 100%;
  object-fit: cover;
}

/* Typography */
.ara-grid-days__item-name {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.ara-grid-days__item-content {
  display: block;
  color: #fff;
  font-size: 0.75rem;
  margin-top: 2px;
}


/* Desktop Override: 1025px and up */
@media (min-width: 1025px) {
  .ara-grid-days {
    /* Use the variable from PHP, default to 8 */
    grid-template-columns: repeat(var(--cols-d, 8), 1fr);
    gap: 25px;
    padding: 30px;
    max-width: 1200px;
  }

  .ara-grid-days__item-img-wrapper {
    max-width: 200px;
    /* Larger images on desktop */
  }
}

/* days - no grid */
.ara-day {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  margin: 0 auto 1.5rem;
}

.ara-day-img-wrapper {
  width: 100%;
  margin-bottom: 1rem;
  border: 14px solid #fff;
  border-radius: 12px;
}

.ara-day-img {
  width: 100%;
}

.ara-day-info {
  width: 100%;
}

.ara-day-name {
  font-family: var(--ff-robo);
  display: block;
  color: #cc0000;
  font-weight: 700;
  font-size: 2.75rem;
  margin-top: 1.5rem;
  line-height: 1.2;
}

.ara-day-content {
  display: block;
  color: #000;
  font-size: 1.25rem;
  margin-right: 1rem;
}

/* galllery */

.gallery-reveal {
  display: none;
}

.gallery-reveal.is-visible {
  display: block;
}

/* swup */
#primary {
  animation: swupIn .3s ease forwards;
}

html.is-animating #primary {
  animation: swupOut .3s ease forwards;
}

@keyframes swupOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes swupIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.front-grid {
  display: grid !important;
  /* 3 flexible columns | 600px center | 3 flexible columns */
  grid-template-columns: repeat(3, 1fr) 600px repeat(3, 1fr);
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Days */

.ara.program .swiper-pagination {
  display: none;

}

.ara-contact-outer {
  position: relative;
  top: -150px;
}