/*
Theme Name: Fotogenic AI
Theme URI: https://fotogenic.ai/
Author: Fotogenic AI
Author URI: https://fotogenic.ai/
Description: Custom coded WordPress theme for Fotogenic AI.
Version: 1.0.0
Text Domain: fotogenic-ai
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --fotogenic-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fotogenic-text: #020817;
  --fotogenic-muted: #66758b;
  --fotogenic-border: #dde5ee;
  --fotogenic-surface: #ffffff;
  --fotogenic-soft: #f7f9fc;
  --fotogenic-dark: #030916;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fotogenic-text);
  background: #ffffff;
  font-family: var(--fotogenic-font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.site-nav-open {
  overflow: hidden;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border-radius: 0;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: #030916;
}

.fotogenic-page {
  padding: 152px 20px 104px;
  background: #ffffff;
}

.fotogenic-page__shell {
  width: min(100%, 880px);
  margin: 0 auto;
}

.fotogenic-page__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.fotogenic-page__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border: 1px solid var(--fotogenic-border);
  border-radius: 999px;
  color: var(--fotogenic-muted);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fotogenic-page h1 {
  margin: 0;
  color: #020817;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.fotogenic-page__intro {
  margin: 20px auto 0;
  max-width: 680px;
  color: var(--fotogenic-muted);
  font-size: clamp(18px, 2vw, 22px);
}

.fotogenic-content-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.fotogenic-content-card :where(h2, h3, h4, h5, h6) {
  margin: 2rem 0 0.75rem;
  color: #020817;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.fotogenic-content-card :where(h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

.fotogenic-content-card h2 {
  font-size: clamp(26px, 3vw, 32px);
}

.fotogenic-content-card h3 {
  font-size: clamp(22px, 2.5vw, 26px);
}

.fotogenic-content-card h4 {
  font-size: clamp(19px, 2vw, 22px);
}

.fotogenic-content-card h5,
.fotogenic-content-card h6 {
  font-size: 17px;
}

.fotogenic-content-card p,
.fotogenic-content-card li {
  color: var(--fotogenic-muted);
  font-size: 17px;
  line-height: 1.75;
}

.fotogenic-content-card p {
  margin: 0 0 1.1rem;
}

.fotogenic-content-card ul,
.fotogenic-content-card ol {
  margin: 0.5em 0 1.3em;
  padding-left: 1.25em;
}

.fotogenic-content-card ul {
  list-style: disc;
}

.fotogenic-content-card ol {
  list-style: decimal;
}

.fotogenic-content-card a {
  color: #020817;
  font-weight: 700;
}

.fotogenic-content-card :where(.has-background, .wp-block-group, .wp-block-columns, .wp-block-column) {
  background: transparent;
}

.fotogenic-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.fotogenic-contact-panel {
  border: 1px solid var(--fotogenic-border);
  border-radius: 32px;
  background: #030916;
  color: #ffffff;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
}

.fotogenic-contact-panel h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.fotogenic-contact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.fotogenic-contact-list {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.fotogenic-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.fotogenic-contact-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.fotogenic-form-card {
  border: 1px solid var(--fotogenic-border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
  padding: clamp(22px, 4vw, 42px);
}

.fotogenic-form-card .ff-el-group {
  margin-bottom: 18px;
}

.fotogenic-form-card .ff-el-input--label label {
  color: #020817;
  font-weight: 700;
}

.fotogenic-form-card :where(input, textarea, select).ff-el-form-control,
.fotogenic-form-card .ff-el-form-control {
  min-height: 46px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #ffffff;
  color: #020817;
  box-shadow: none;
}

.fotogenic-form-card textarea.ff-el-form-control {
  min-height: 110px;
}

.fotogenic-form-card .ff-btn-submit,
.fotogenic-form-card form .ff-btn-submit:not(.ff_btn_no_style),
.fotogenic-form-card button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #030916;
  font-weight: 800;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.fotogenic-form-card .ff-btn-submit:hover,
.fotogenic-form-card form .ff-btn-submit:not(.ff_btn_no_style):hover,
.fotogenic-form-card button[type="submit"]:hover,
.fotogenic-form-card .ff-btn-submit:focus-visible,
.fotogenic-form-card form .ff-btn-submit:not(.ff_btn_no_style):focus-visible,
.fotogenic-form-card button[type="submit"]:focus-visible {
  color: #ffffff;
  background: #111827;
}

@media (max-width: 767px) {
  .fotogenic-page {
    padding: 124px 20px 72px;
  }

  .fotogenic-page__header {
    margin-bottom: 32px;
  }

  .fotogenic-page h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .fotogenic-content-card h2 {
    font-size: 24px;
  }

  .fotogenic-content-card h3 {
    font-size: 21px;
  }

  .fotogenic-content-card p,
  .fotogenic-content-card li {
    font-size: 16px;
    line-height: 1.7;
  }

  .fotogenic-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Fotogenic FAZ Cookie Manager */
#faz-consent,
.faz-modal,
.faz-btn-revisit-wrapper {
  --faz-notice-background-color: rgba(255, 255, 255, 0.88);
  --faz-notice-border-color: rgba(221, 229, 238, 0.9);
  --faz-title-color: #020817;
  --faz-description-color: #66758b;
  --faz-accept-button-color: #ffffff;
  --faz-accept-button-background-color: #020817;
  --faz-accept-button-border-color: #020817;
  --faz-reject-button-color: #020817;
  --faz-reject-button-background-color: rgba(255, 255, 255, 0.76);
  --faz-reject-button-border-color: rgba(214, 222, 232, 0.98);
  --faz-settings-button-color: #020817;
  --faz-settings-button-background-color: rgba(255, 255, 255, 0.76);
  --faz-settings-button-border-color: rgba(214, 222, 232, 0.98);
  --faz-detail-color: #020817;
  --faz-detail-background-color: rgba(255, 255, 255, 0.96);
  --faz-detail-border-color: rgba(221, 229, 238, 0.9);
  --faz-detail-title-color: #020817;
  --faz-detail-description-color: #66758b;
  --faz-detail-accept-button-color: #ffffff;
  --faz-detail-accept-button-background-color: #020817;
  --faz-detail-accept-button-border-color: #020817;
  --faz-detail-reject-button-color: #020817;
  --faz-detail-reject-button-background-color: rgba(255, 255, 255, 0.76);
  --faz-detail-reject-button-border-color: rgba(214, 222, 232, 0.98);
  --faz-detail-save-button-color: #020817;
  --faz-detail-save-button-background-color: rgba(255, 255, 255, 0.76);
  --faz-detail-save-button-border-color: rgba(214, 222, 232, 0.98);
  --faz-revisit-consent-background-color: rgba(255, 255, 255, 0.88);
  --faz-revisit-consent-color: #020817;
  font-family: var(--fotogenic-font-sans);
}

#faz-consent.faz-consent-container {
  width: min(420px, calc(100vw - 32px));
  border-radius: 8px;
}

#faz-consent.faz-box-bottom-left {
  bottom: 16px;
  left: 16px;
}

#faz-consent.faz-box-bottom-right {
  right: 16px;
  bottom: 16px;
}

#faz-consent .faz-consent-bar {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(2, 8, 23, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 20px;
}

#faz-consent .faz-custom-brand-logo-wrapper .faz-custom-brand-logo {
  width: 32px;
  margin-bottom: 10px;
}

#faz-consent .faz-notice .faz-title,
.faz-modal .faz-notice .faz-title,
.faz-modal .faz-preference-title,
.faz-modal .faz-accordion-heading {
  color: #020817;
  letter-spacing: 0;
}

#faz-consent .faz-notice .faz-title {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.25;
}

#faz-consent .faz-notice-des,
.faz-modal .faz-notice-des,
.faz-modal .faz-preference-content-wrapper,
.faz-modal .faz-accordion-header-des {
  color: #66758b;
  font-size: 14px;
  line-height: 1.55;
}

#faz-consent .faz-notice-btn-wrapper,
.faz-modal .faz-notice-btn-wrapper,
.faz-modal .faz-prefrence-btn-wrapper {
  gap: 8px;
}

#faz-consent .faz-btn,
.faz-modal .faz-btn {
  min-height: 42px;
  margin: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#faz-consent .faz-btn:hover,
.faz-modal .faz-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

#faz-consent .faz-notice-des a.faz-policy,
#faz-consent .faz-notice-des button.faz-policy,
.faz-modal .faz-notice-des a.faz-policy,
.faz-modal .faz-notice-des button.faz-policy,
.faz-modal .faz-show-desc-btn {
  color: #020817;
  text-decoration-color: rgba(2, 8, 23, 0.35);
}

.faz-overlay {
  background: rgba(232, 233, 235, 0.74);
  opacity: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faz-modal {
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.24);
}

.faz-modal .faz-preference-center {
  border-radius: 8px;
}

.faz-btn-revisit-wrapper {
  border: 1px solid rgba(221, 229, 238, 0.9);
  box-shadow: 0 14px 36px rgba(2, 8, 23, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 576px) {
  #faz-consent.faz-box-bottom-left,
  #faz-consent.faz-box-bottom-right {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }

  #faz-consent .faz-consent-bar {
    padding: 18px 0;
  }

  #faz-consent .faz-custom-brand-logo-wrapper,
  #faz-consent .faz-notice .faz-title,
  #faz-consent .faz-notice-des,
  #faz-consent .faz-notice-btn-wrapper {
    padding-right: 18px;
    padding-left: 18px;
  }

  #faz-consent .faz-notice-btn-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  #faz-consent .faz-notice-btn-wrapper .faz-btn {
    width: 100%;
    margin-top: 10px;
  }

  .faz-modal {
    max-width: calc(100% - 18px);
  }
}



.faz-modal .faz-show-desc-btn {
	  display: inline-flex;
	  align-items: center;
	  min-height: 36px;
	  padding: 4px 8px;
	  margin-left: 4px;
	  border-radius: 8px;
	  color: #020817;
	  text-decoration: underline;
	  text-underline-offset: 3px;
}

.faz-modal .faz-show-desc-btn:hover {
	  background: rgba(2, 8, 23, 0.06);
}

#faz-consent .faz-switch input[type="checkbox"]:checked,
.faz-modal .faz-switch input[type="checkbox"]:checked {
	  background: #020817;
}

#faz-consent .faz-switch input[type="checkbox"],
.faz-modal .faz-switch input[type="checkbox"] {
	  background: #cbd5e1;
}

}
}
}
}

.faz-modal .faz-accordion-item {
	  display: grid;
	  grid-template-columns: 24px minmax(0, 1fr);
	  column-gap: 20px;
	  align-items: start;
}

.faz-modal .faz-accordion-chevron {
	  grid-column: 1;
	  grid-row: 1;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  width: 24px;
	  height: 24px;
	  margin: 19px 0 0;
}

.faz-modal .faz-accordion-chevron i {
	  position: relative;
	  width: 10px;
	  height: 10px;
}

.faz-modal .faz-accordion .faz-accordion-chevron i::before {
	  top: 1px;
	  left: 0;
}

.faz-modal .faz-accordion-header-wrapper {
	  grid-column: 2;
	  grid-row: 1;
}

.faz-modal .faz-accordion.faz-accordion-active .faz-accordion-body {
	  grid-column: 2;
}

}
}
}
}
}
}

@media (max-width: 576px) {
	#faz-consent .faz-notice-btn-wrapper {
		    gap: 12px;
		    margin-top: 20px;
	}
	
	#faz-consent .faz-notice-btn-wrapper .faz-btn {
		    margin-top: 0;
	}
}

	}
	}
}

@media (max-width: 576px) {
	.faz-modal {
		    width: calc(100vw - 32px);
		    max-width: calc(100vw - 32px);
		    max-height: calc(100dvh - 32px);
		    margin: 16px auto;
	}
	
	.faz-modal .faz-preference-center {
		    max-height: calc(100dvh - 32px);
		    display: flex;
		    flex-direction: column;
		    overflow: hidden;
	}
	
	.faz-modal .faz-preference-body-wrapper {
		    min-height: 0;
		    overflow: auto;
	}
	
	.faz-modal .faz-footer-wrapper {
		    flex: 0 0 auto;
		    padding-bottom: max(16px, env(safe-area-inset-bottom));
	}
}

	}
	}
	}
	}
}

/* FAZ mobile banner button spacing refinement */
@media (max-width: 576px) {
	#faz-consent.faz-consent-container .faz-notice-btn-wrapper {
		    row-gap: 8px;
		    gap: 8px;
		    margin-top: 24px;
	}
	
	  #faz-consent.faz-consent-container .faz-notice-btn-wrapper .faz-btn,
	  #faz-consent.faz-consent-container .faz-notice-btn-wrapper .faz-btn:first-child,
	#faz-consent.faz-consent-container .faz-notice-btn-wrapper .faz-btn + .faz-btn {
		    margin-top: 0;
		    margin-bottom: 0;
	}
}

	}
	}
}

/* FAZ mobile banner direct button stack */
@media (max-width: 576px) {
	#faz-consent.faz-consent-container .faz-notice-btn-wrapper[data-faz-tag="notice-buttons"] {
		    display: flex;
		    flex-direction: column;
		    align-items: stretch;
		    row-gap: 10px;
		    gap: 10px;
		    margin-top: 22px;
	}
	
	  #faz-consent.faz-consent-container .faz-notice-btn-wrapper[data-faz-tag="notice-buttons"] > .faz-btn {
		      margin: 0;
	}
}

	}
	}
}