/*
Theme Name: FAGT
Theme URI: https://fagt.blog/
Description: Editorial presentation for the FAGT field journal. Honor stays the parent for menus, plugins and the header.
Author: FAGT
Template: honor
Version: 1.1.1
Text Domain: fagt
*/

:root {
  --fagt-ink: #141414;
  --fagt-body: #1c1c1c;
  --fagt-muted: #2c2c2c;
  --fagt-paper: #f7f6f3;
  --fagt-card: #ffffff;
  --fagt-line: #d9d6cf;
  --fagt-green: #0f3d22;
  --fagt-green-deep: #0a2c18;
  --fagt-dark: #121412;
  --fagt-on-dark: #ffffff;
  --fagt-on-dark-soft: #f3f1ec;
  --fagt-on-dark-label: #d9f2e0;
  --fagt-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --fagt-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.fagt-editorial {
  background: var(--fagt-paper);
  color: var(--fagt-body);
  font-family: var(--fagt-sans);
}

body.fagt-editorial h1,
body.fagt-editorial h2,
body.fagt-editorial h3,
body.fagt-editorial .post_title,
body.fagt-editorial .sc_item_title,
body.fagt-editorial .elementor-heading-title {
  font-family: var(--fagt-serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--fagt-ink);
}

body.fagt-editorial .page_content_wrap,
body.fagt-editorial .content,
body.fagt-editorial .post_content,
body.fagt-editorial .entry-content,
body.fagt-editorial .sidebar,
body.fagt-editorial p,
body.fagt-editorial li {
  color: var(--fagt-body);
}

body.fagt-editorial .page_content_wrap a,
body.fagt-editorial .sidebar a,
body.fagt-editorial .comments_wrap a,
body.fagt-editorial .elementor-widget-text-editor a {
  color: var(--fagt-green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

body.fagt-editorial .page_content_wrap a:hover,
body.fagt-editorial .sidebar a:hover {
  color: var(--fagt-green-deep);
}

body.fagt-editorial .page_content_wrap .elementor a {
  color: var(--fagt-green) !important;
}

.widget_title {
  color: var(--fagt-ink) !important;
}

body.fagt-editorial .sc_layouts_menu_nav > li > a,
body.fagt-editorial .menu_mobile_nav_area a {
  color: var(--fagt-ink) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px !important;
  font-weight: 650;
}

body.fagt-editorial .sc_layouts_menu_nav > li.current-menu-item > a,
body.fagt-editorial .sc_layouts_menu_nav > li > a:hover {
  color: var(--fagt-green) !important;
}

body.fagt-editorial .footer_wrap .sc_layouts_menu_nav > li > a,
body.fagt-editorial .footer_wrap .sc_layouts_menu_nav > li.current-menu-item > a,
body.fagt-editorial ul.menu_footer_nav.sc_layouts_menu_nav > li > a,
body.fagt-editorial ul.menu_footer_nav.sc_layouts_menu_nav > li.current-menu-item > a {
  color: var(--fagt-on-dark-soft) !important;
}

body.fagt-editorial .footer_wrap .sc_layouts_menu_nav > li > a:hover,
body.fagt-editorial ul.menu_footer_nav.sc_layouts_menu_nav > li > a:hover {
  color: var(--fagt-on-dark) !important;
}

.post_meta,
.post_meta_item,
.post_counters,
.post_date,
.elementor-widget-container .post_meta {
  color: var(--fagt-muted) !important;
}

.post_meta_item.post_categories,
.post_meta_categories,
.post_categories,
.cat_sep {
  display: inline !important;
  white-space: normal;
}

.post_meta_item_cat_separator {
  display: inline !important;
  color: #3a3a36 !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  margin: 0 0.45rem 0 0 !important;
}

.post_meta_categories a,
.post_categories a {
  display: inline !important;
  background: transparent !important;
  color: var(--fagt-green) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  text-decoration: none;
}

.post_categories a:nth-of-type(n+3),
.post_categories .post_meta_item_cat_separator:nth-of-type(n+2) {
  display: none !important;
}

.widget .post_meta,
.widget .post_categories a,
.widget .post_meta_item_cat_separator {
  font-size: 12px !important;
  line-height: 1.45 !important;
  letter-spacing: 0.04em !important;
}

body.fagt-editorial .sc_button,
body.fagt-editorial button.sc_button,
body.fagt-editorial input[type="submit"],
body.fagt-editorial .search-submit {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  float: none !important;
  background: var(--fagt-green) !important;
  color: var(--fagt-on-dark) !important;
  border: 0 !important;
  border-radius: 0 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-indent: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 2.6rem;
  padding: 0.65rem 0.9rem !important;
}

body.fagt-editorial .sc_button:hover,
body.fagt-editorial input[type="submit"]:hover,
body.fagt-editorial .search-submit:hover {
  background: var(--fagt-green-deep) !important;
  color: var(--fagt-on-dark) !important;
}

.search-submit::before,
.search-submit::after,
.widget_search .search-submit::before {
  content: none !important;
  display: none !important;
}

.widget_search .search-form,
.search-form {
  display: flex !important;
  align-items: stretch;
  position: static !important;
  gap: 0;
  background: var(--fagt-card);
  border: 1px solid var(--fagt-line);
  overflow: hidden;
}

.widget_search .search-form label,
.search-form label {
  flex: 1;
  display: block;
  margin: 0;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  color: var(--fagt-ink) !important;
  background: var(--fagt-card) !important;
  border: 1px solid #b7b4ac !important;
}

.search-form input[type="search"],
.widget_search input[type="search"] {
  border: 0 !important;
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.8rem;
}

input::placeholder,
textarea::placeholder {
  color: #3f3f3c !important;
  opacity: 1;
}

.sc_googlemap_wrap,
.sc_googlemap,
.elementor-widget-trx_sc_googlemap,
.elementor-widget-trx_sc_googlemap .elementor-widget-container,
.elementor-column:has(.elementor-widget-trx_sc_googlemap) {
  width: 100% !important;
  max-width: none !important;
}

.sc_googlemap,
.sc_googlemap iframe {
  width: 100% !important;
  min-height: 420px !important;
  height: 420px !important;
}

body.single.fagt-editorial .post_content_single,
body.single.fagt-editorial .entry-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--fagt-body);
}

body.single.fagt-editorial .post_content_single p,
body.single.fagt-editorial .entry-content p {
  margin-bottom: 1.15em;
  color: var(--fagt-body);
}

body.single.fagt-editorial .post_content_single h2,
body.single.fagt-editorial .entry-content h2,
body.single.fagt-editorial .post_content_single h3,
body.single.fagt-editorial .entry-content h3 {
  margin-top: 1.6em;
  line-height: 1.2;
  color: var(--fagt-ink);
}

body.single.fagt-editorial blockquote {
  border-left: 3px solid var(--fagt-green);
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.1em;
  color: var(--fagt-muted);
  font-family: var(--fagt-serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

body.fagt-editorial .footer_wrap,
body.fagt-editorial .footer_wrap p,
body.fagt-editorial .footer_wrap a,
body.fagt-editorial .footer_wrap h1,
body.fagt-editorial .footer_wrap h2,
body.fagt-editorial .footer_wrap h3,
body.fagt-editorial .footer_wrap h4,
body.fagt-editorial .footer_wrap h5,
body.fagt-editorial .footer_wrap li,
body.fagt-editorial footer.elementor-location-footer,
body.fagt-editorial footer.elementor-location-footer p,
body.fagt-editorial footer.elementor-location-footer a,
body.fagt-editorial footer.elementor-location-footer h1,
body.fagt-editorial footer.elementor-location-footer h2,
body.fagt-editorial footer.elementor-location-footer h3,
body.fagt-editorial footer.elementor-location-footer h4,
body.fagt-editorial footer.elementor-location-footer h5,
body.fagt-editorial footer.elementor-location-footer h6 {
  color: var(--fagt-on-dark-soft) !important;
}

body.fagt-front .sidebar,
body.fagt-faq .sidebar {
  display: none !important;
}

body.fagt-front .content_wrap,
body.fagt-faq .content_wrap,
body.fagt-front .content,
body.fagt-faq .content {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.fagt-front .page_content_wrap,
body.fagt-faq .page_content_wrap {
  background: var(--fagt-paper);
  padding-top: 0 !important;
}

.fagt-home,
.fagt-faq-page {
  color: var(--fagt-body);
}

.fagt-band,
.fagt-feature,
.fagt-academy {
  background: var(--fagt-dark);
  color: var(--fagt-on-dark);
}

.fagt-band {
  padding: 2.6rem 7vw 2.3rem;
}

.fagt-kicker {
  margin: 0;
  color: var(--fagt-green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fagt-band .fagt-kicker,
.fagt-feature-copy .fagt-kicker,
.fagt-academy .fagt-kicker {
  color: var(--fagt-on-dark-label) !important;
}

.fagt-band h1,
.fagt-feature-copy h2,
.fagt-feature-copy h2 a,
.fagt-academy h2 {
  margin: 0.45rem 0 0.7rem;
  color: var(--fagt-on-dark) !important;
}

.fagt-band h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.96;
}

.fagt-deck,
.fagt-feature-copy .fagt-excerpt,
.fagt-feature-copy .fagt-meta,
.fagt-academy p {
  color: var(--fagt-on-dark-soft) !important;
}

.fagt-deck {
  max-width: 40rem;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.55;
}

.fagt-feature {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  min-height: 520px;
}

.fagt-feature-media {
  display: block;
  min-height: 420px;
  background: #222 center / cover no-repeat;
}

.fagt-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 420px;
}

.fagt-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 2.4rem 2.2rem 2.6rem;
  color: var(--fagt-on-dark);
}

.fagt-feature-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.fagt-feature-copy h2 a,
.fagt-story h3 a,
.fagt-row h3 a {
  text-decoration: none;
}

.fagt-feature-copy .fagt-read,
.fagt-academy .fagt-read {
  color: var(--fagt-on-dark) !important;
  border: 1px solid var(--fagt-on-dark-label);
  padding: 0.8rem 0.95rem;
  align-self: flex-start;
}

.fagt-feature-copy .fagt-read:hover,
.fagt-academy .fagt-read:hover {
  background: var(--fagt-on-dark);
  color: var(--fagt-dark) !important;
}

.fagt-meta,
.fagt-excerpt {
  margin: 0;
  color: var(--fagt-muted);
  line-height: 1.55;
}

.fagt-read {
  color: var(--fagt-green);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.fagt-section {
  padding: 2.4rem 7vw 0.4rem;
}

.fagt-section h2,
.fagt-list-head h2,
.fagt-story h3,
.fagt-story h3 a,
.fagt-row h3,
.fagt-row h3 a {
  color: var(--fagt-ink) !important;
}

.fagt-section h2,
.fagt-list-head h2 {
  margin: 0.35rem 0 1.2rem;
  font-size: 1.7rem;
}

.fagt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.fagt-story {
  background: var(--fagt-card);
  border: 1px solid var(--fagt-line);
  min-width: 0;
}

.fagt-story img,
.fagt-row img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #ddd8d0;
}

.fagt-story div {
  padding: 1rem 1.05rem 1.15rem;
}

.fagt-story h3,
.fagt-row h3 {
  margin: 0.4rem 0 0.45rem;
  font-size: 1.28rem;
  line-height: 1.2;
}

.fagt-story .fagt-excerpt,
.fagt-row .fagt-excerpt,
.fagt-story .fagt-meta,
.fagt-row .fagt-meta {
  color: var(--fagt-muted) !important;
}

.fagt-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  position: relative;
  z-index: 2;
  background: var(--fagt-paper);
  padding: 1.2rem 7vw 0.35rem;
}

.fagt-cats a {
  color: var(--fagt-ink) !important;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 2px solid var(--fagt-green);
  padding-bottom: 0.12rem;
}

.fagt-list {
  padding: 1.6rem 7vw 2.4rem;
}

.fagt-list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--fagt-line);
  padding-top: 1.4rem;
}

.fagt-list-head a {
  color: var(--fagt-green) !important;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.fagt-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--fagt-line);
  padding: 0.9rem 0;
}

.fagt-row img {
  height: 112px;
}

.fagt-row div {
  padding: 0;
}

.fagt-academy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 2rem 7vw 2.4rem;
}

.fagt-academy h2 {
  margin: 0.3rem 0;
}

.fagt-academy p {
  margin: 0;
}

.fagt-academy a.fagt-read {
  flex: none;
}

.fagt-faq-page {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.4rem 4rem;
}

.fagt-faq-page h1 {
  margin: 0.4rem 0 0.6rem;
  color: var(--fagt-ink);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
}

.fagt-faq-page > p,
.fagt-faq-page details p {
  color: var(--fagt-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.fagt-faq-page details {
  border-top: 1px solid var(--fagt-line);
  padding: 0.95rem 0;
}

.fagt-faq-page details:last-child {
  border-bottom: 1px solid var(--fagt-line);
}

.fagt-faq-page summary {
  cursor: pointer;
  color: var(--fagt-ink);
  font-family: var(--fagt-serif);
  font-size: 1.35rem;
  line-height: 1.3;
}

.fagt-faq-page details p {
  margin: 0.75rem 0 0.3rem;
}

.fagt-faq-page a {
  color: var(--fagt-green);
}

.post_header_wrap.with_featured_image .post_featured_bg {
  position: relative;
}

.post_header_wrap.with_featured_image .post_featured_bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 8, 0.9) 0%, rgba(8, 10, 8, 0.38) 46%, rgba(8, 10, 8, 0.18) 100%);
}

.post_header_wrap.with_featured_image .post_header {
  position: relative;
  z-index: 2;
}

.post_header_wrap.with_featured_image .post_title,
.post_header_wrap.with_featured_image .post_title a,
.post_header_wrap.with_featured_image .post_meta,
.post_header_wrap.with_featured_image .post_meta a,
.post_header_wrap.with_featured_image .post_meta_categories a,
.post_header_wrap.with_featured_image .post_meta_item_cat_separator {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

@media (max-width: 900px) {
  .fagt-feature,
  .fagt-grid,
  .fagt-row {
    grid-template-columns: 1fr;
  }

  .fagt-academy {
    display: block;
  }

  .fagt-academy a.fagt-read {
    display: inline-block;
    margin-top: 1rem;
  }

  .fagt-band,
  .fagt-section,
  .fagt-cats,
  .fagt-list,
  .fagt-academy {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .fagt-feature-copy {
    padding: 1.4rem 1.2rem 1.7rem;
  }
}
