/*
Theme Name: Takom Energy Divi Child
Template: Divi
Version: 1.0.18
Description: Launch-ready Takom Energy styling and functionality for Divi 5.
*/

:root {
  --takom-blue: #06297e;
  --takom-blue-dark: #0d2744;
  --takom-red: #c9282d;
  --takom-red-dark: #9f1f24;
  --takom-ink: #1f2933;
  --takom-muted: #64717f;
  --takom-surface: #f4f6f8;
  --takom-line: #d9e0e7;
  --takom-white: #fff;
  --takom-radius: 14px;
  --takom-shadow: 0 18px 50px rgb(31 41 51 / 10%);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--takom-ink);
}

.et-l--footer,
#main-footer {
  display: none !important;
}

.single-post #main-content .container,
.page #main-content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.single-post #main-content .container::before,
.page #main-content .container::before {
  display: none;
}

.single-post #left-area,
.page #left-area {
  width: 100%;
  padding: 0;
}

.single-post #sidebar,
.page #sidebar,
.single-post .et_post_meta_wrapper {
  display: none;
}

.single-post .et_pb_post,
.page .et_pb_post {
  margin-bottom: 0;
}

.et_pb_button::after,
.et_pb_button:after,
.takom-home .et_pb_button::after,
.takom-home .et_pb_button:after,
.home .et_pb_button::after,
.home .et_pb_button:after,
body #page-container .et_pb_button::after,
body #page-container .et_pb_button:after {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  content: "" !important;
}

.home .et_pb_section:first-of-type a,
.home .et_pb_section_0 a,
.home .et_pb_section_0 a:visited,
.takom-home .et_pb_section_0 a,
.takom-home .et_pb_section_0 a:visited {
  color: #fff !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--takom-red);
  outline-offset: 3px;
}

.takom-page {
  background: var(--takom-white);
}

.takom-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.takom-hero {
  padding: clamp(72px, 9vw, 128px) 0;
  color: var(--takom-white);
  background:
    linear-gradient(100deg, rgb(13 39 68 / 92%), rgb(31 41 51 / 68%)),
    var(--takom-hero-image, linear-gradient(135deg, var(--takom-blue-dark), #3f4752));
  background-position: center;
  background-size: cover;
}

.takom-eyebrow {
  margin: 0 0 12px;
  color: var(--takom-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.takom-hero h1 {
  max-width: 900px;
  margin: 0;
  color: inherit;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 1.02;
}

.takom-hero p:not(.takom-eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.takom-section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.takom-section--soft {
  background: var(--takom-surface);
}

.takom-section h2 {
  margin: 0 0 20px;
  color: var(--takom-ink);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.takom-lead {
  max-width: 780px;
  color: var(--takom-muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.takom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.takom-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.takom-card {
  overflow: hidden;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: 0 8px 28px rgb(31 41 51 / 6%);
}

.takom-card__image {
  width: 100%;
  border-radius: var(--takom-radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.takom-card__body {
  padding: 26px;
}

.takom-card h2,
.takom-card h3 {
  margin: 0 0 12px;
  color: var(--takom-ink);
  font-size: 1.28rem;
  line-height: 1.25;
}

.takom-card p {
  margin: 0;
  color: var(--takom-muted);
  line-height: 1.7;
}

.takom-news-grid {
  align-items: stretch;
}

.takom-news-card {
  position: relative;
  border: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(244 246 248 / 86%)),
    var(--takom-white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.takom-news-card::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--takom-blue), var(--takom-red));
  content: "";
  opacity: 0.9;
}

.takom-news-card:hover,
.takom-news-card:focus-within {
  box-shadow: 0 22px 54px rgb(31 41 51 / 13%);
  transform: translateY(-4px);
}

.takom-news-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  color: inherit;
  background: inherit;
  text-decoration: none;
  flex-direction: column;
}

.takom-news-card:hover .takom-news-card__link,
.takom-news-card:focus-within .takom-news-card__link {
  border-color: rgb(201 40 45 / 70%);
}

.takom-news-card__link:focus-visible {
  outline: 3px solid var(--takom-red);
  outline-offset: 5px;
  border-radius: var(--takom-radius);
}

.takom-news-card .takom-card__image {
  transition: transform 220ms ease, filter 220ms ease;
}

.takom-news-card:hover .takom-card__image,
.takom-news-card:focus-within .takom-card__image {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.035);
}

.takom-news-card .takom-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.takom-news-card h2 {
  color: var(--takom-ink);
  transition: color 180ms ease;
}

.takom-news-card:hover h2,
.takom-news-card:focus-within h2 {
  color: var(--takom-blue);
}

.takom-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: var(--takom-red);
  font-weight: 900;
}

.takom-read-more::after {
  content: "→";
  transition: transform 180ms ease;
}

.takom-news-card:hover .takom-read-more::after,
.takom-news-card:focus-within .takom-read-more::after {
  transform: translateX(4px);
}

.takom-project-grid {
  align-items: stretch;
}

.takom-project-card {
  position: relative;
  border: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(244 246 248 / 86%)),
    var(--takom-white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.takom-project-card:hover,
.takom-project-card:focus-within {
  box-shadow: 0 22px 54px rgb(31 41 51 / 13%);
  transform: translateY(-4px);
}

.takom-project-card__link {
  display: flex;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  color: inherit;
  background: inherit;
  text-decoration: none;
  flex-direction: column;
}

.takom-project-card:hover .takom-project-card__link,
.takom-project-card:focus-within .takom-project-card__link {
  border-color: rgb(201 40 45 / 70%);
}

.takom-project-card__link:focus-visible {
  outline: 3px solid var(--takom-red);
  outline-offset: 5px;
}

.takom-project-card .takom-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.takom-project-card h2 {
  color: var(--takom-ink);
  transition: color 180ms ease;
}

.takom-project-card:hover h2,
.takom-project-card:focus-within h2 {
  color: var(--takom-blue);
}

.takom-project-card .takom-card__image {
  transition: transform 220ms ease, filter 220ms ease;
}

.takom-project-card:hover .takom-card__image,
.takom-project-card:focus-within .takom-card__image {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.035);
}

.takom-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.takom-split img {
  width: 100%;
  border-radius: var(--takom-radius);
  box-shadow: var(--takom-shadow);
}

.takom-copy p,
.takom-copy li {
  color: var(--takom-muted);
  line-height: 1.8;
}

.takom-copy h3 {
  margin-top: 28px;
  color: var(--takom-ink);
}

.takom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.takom-button,
.et_pb_button,
body #page-container .et_pb_button,
button.takom-button,
.home #main-content .et_pb_text.et_clickable .et_pb_text_inner p > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--takom-red) !important;
  border-radius: var(--takom-radius) !important;
  color: var(--takom-white) !important;
  background: var(--takom-red) !important;
  font-weight: 800;
  text-decoration: none;
  transition: 180ms ease;
}

.takom-button:hover,
.takom-button:focus-visible,
.et_pb_button:hover,
.et_pb_button:focus-visible,
body #page-container .et_pb_button:hover,
body #page-container .et_pb_button:focus-visible,
button.takom-button:hover,
button.takom-button:focus-visible,
.home #main-content .et_pb_text.et_clickable .et_pb_text_inner p > a:hover,
.home #main-content .et_pb_text.et_clickable .et_pb_text_inner p > a:focus-visible {
  color: var(--takom-white) !important;
  background: var(--takom-blue) !important;
  border-color: var(--takom-blue) !important;
}

.takom-button--solid {
  color: var(--takom-white) !important;
  background: var(--takom-red) !important;
}

html body #page-container a.et_pb_button:hover,
html body #page-container a.et_pb_button:focus-visible,
html body #page-container a.takom-button:hover,
html body #page-container a.takom-button:focus-visible,
html body #page-container button.takom-button:hover,
html body #page-container button.takom-button:focus-visible,
html body #page-container .et_pb_button:hover *,
html body #page-container .et_pb_button:focus-visible * {
  color: var(--takom-white) !important;
}

html body.home #page-container #main-content a.et_pb_button:hover,
html body.home #page-container #main-content a.et_pb_button:focus-visible,
html body.home #page-container #main-content a[class*="et_pb_button_"]:hover,
html body.home #page-container #main-content a[class*="et_pb_button_"]:focus-visible {
  color: var(--takom-white) !important;
  border-color: var(--takom-blue) !important;
  background: var(--takom-blue) !important;
  -webkit-text-fill-color: var(--takom-white) !important;
}

.home #main-content .et_pb_text_5 {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  line-height: 1 !important;
}

.home #main-content .et_pb_text_5 .et_pb_text_inner,
.home #main-content .et_pb_text_5 p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.home #main-content .et_pb_text_5 a {
  width: auto !important;
  max-width: max-content !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  border: 2px solid var(--takom-red) !important;
  border-radius: var(--takom-radius) !important;
  color: var(--takom-white) !important;
  background: var(--takom-red) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.home #main-content .et_pb_text_5 a:hover,
.home #main-content .et_pb_text_5 a:focus-visible {
  color: var(--takom-white) !important;
  border-color: var(--takom-blue) !important;
  background: var(--takom-blue) !important;
}

.home #main-content .et_pb_text_5::before,
.home #main-content .et_pb_text_5::after,
.home #main-content .et_pb_text_5 a::before,
.home #main-content .et_pb_text_5 a::after {
  display: none !important;
  content: none !important;
}

.home #main-content .et_pb_section_1 .et_pb_image_0,
.home #main-content .et_pb_section_1 .et_pb_image_1,
.home #main-content .et_pb_section_1 .et_pb_image_0 .et_pb_image_wrap,
.home #main-content .et_pb_section_1 .et_pb_image_1 .et_pb_image_wrap,
.home #main-content .et_pb_section_4 .et_pb_image_9,
.home #main-content .et_pb_section_4 .et_pb_image_9 .et_pb_image_wrap,
.home #main-content .et_pb_section_6 .et_pb_image_10,
.home #main-content .et_pb_section_6 .et_pb_image_10 .et_pb_image_wrap {
  overflow: hidden !important;
  border-radius: var(--takom-radius) !important;
}

.home #main-content .et_pb_section_1 .et_pb_image_0 img,
.home #main-content .et_pb_section_1 .et_pb_image_1 img,
.home #main-content .et_pb_section_4 .et_pb_image_9 img,
.home #main-content .et_pb_section_6 .et_pb_image_10 img {
  display: block;
  border-radius: var(--takom-radius) !important;
}

.home #main-content .et_pb_section_4 .et_pb_image_9 img {
  width: 100% !important;
  aspect-ratio: 0.96 / 1 !important;
  object-fit: cover !important;
  object-position: center 18% !important;
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column {
  overflow: hidden;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within {
  border-color: var(--takom-red) !important;
  background: var(--takom-red) !important;
  box-shadow: 0 20px 46px rgb(31 41 51 / 16%);
  transform: translateY(-5px);
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover h3,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover p,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover a,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover span,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover .et-pb-icon,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within h3,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within p,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within a,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within span,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within .et-pb-icon {
  color: var(--takom-white) !important;
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover .et_pb_icon_wrap,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover .et-pb-icon,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within .et_pb_icon_wrap,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within .et-pb-icon {
  border-color: var(--takom-white) !important;
  background-color: transparent !important;
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column .et_pb_image {
  overflow: hidden;
  border-radius: var(--takom-radius) var(--takom-radius) 0 0;
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column img {
  transition: filter 180ms ease, transform 220ms ease;
}

.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:hover img,
.home #main-content .et_pb_section_2 .et_pb_row_5 > .et_pb_column:focus-within img {
  filter: brightness(0.78) saturate(1.05);
  transform: scale(1.025);
}

html body.home #page-container #main-content .et_pb_section.et_pb_section_0,
html body.home #page-container #et-main-area #main-content .et_pb_section.et_pb_section_0 {
  background-image:
    linear-gradient(100deg, rgb(0 0 0 / 74%), rgb(0 0 0 / 42%)),
    url("/wp-content/uploads/2025/01/Takom-Energy-Solar-Installation-1280x720.webp") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable {
  display: inline-block !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  line-height: 1 !important;
}

body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable .et_pb_text_inner,
body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable .et_pb_text_inner p > a:not(.et_pb_button) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: max-content !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  border: 2px solid var(--takom-red) !important;
  border-radius: var(--takom-radius) !important;
  color: var(--takom-white) !important;
  background: var(--takom-red) !important;
  background-image: none !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable .et_pb_text_inner p > a:not(.et_pb_button):hover,
body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable .et_pb_text_inner p > a:not(.et_pb_button):focus-visible {
  color: var(--takom-white) !important;
  background: var(--takom-blue) !important;
  border-color: var(--takom-blue) !important;
}

.takom-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.takom-stat {
  padding: 28px 20px;
  border-radius: var(--takom-radius);
  text-align: center;
  background: var(--takom-ink);
}

.takom-stat strong {
  display: block;
  color: var(--takom-red);
  font-size: 2rem;
}

.takom-stat span {
  color: var(--takom-white);
  font-size: 0.9rem;
}

.takom-contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
}

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

.takom-contact-list a {
  color: var(--takom-ink);
  font-weight: 700;
}

.takom-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: var(--takom-shadow);
}

.takom-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.takom-field--full {
  grid-column: 1 / -1;
}

.takom-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--takom-ink);
  font-weight: 800;
}

.takom-field input,
.takom-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c8d1dc;
  border-radius: var(--takom-radius);
  color: var(--takom-ink);
  background: var(--takom-white);
}

.takom-field input[type="checkbox"],
.takom-consent input[type="checkbox"] {
  width: auto !important;
  min-width: 0;
  margin: 0.35em 8px 0 0;
}

.takom-consent label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.takom-consent input[type="checkbox"] {
  flex: 0 0 auto;
}

.takom-field textarea {
  min-height: 150px;
  resize: vertical;
}

.takom-form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--takom-radius);
  color: var(--takom-blue-dark);
  background: #eef3f8;
}

.takom-form-status--error {
  color: var(--takom-red-dark);
  background: #f8e9ea;
}

.home video,
.home .et_pb_video_box video,
.home .wp-video video {
  display: block;
  width: min(100%, 980px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--takom-radius);
  background: var(--takom-blue-dark) url("/wp-content/uploads/2025/01/Takom-Energy-Solar-Systems.webp") center / cover no-repeat;
  box-shadow: 0 24px 70px rgb(0 0 0 / 30%);
  object-fit: cover;
}

.home .et_pb_video,
.home .et_pb_code,
.home .wp-video {
  overflow: visible !important;
}

.takom-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.takom-news-meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgb(201 40 45 / 30%);
  border-radius: var(--takom-radius);
  color: var(--takom-blue);
  background: rgb(201 40 45 / 8%);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.takom-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.takom-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--takom-radius);
  object-fit: cover;
}

.single-post .takom-page,
.takom-about,
.takom-project-detail {
  background: linear-gradient(180deg, var(--takom-surface), var(--takom-white) 48%);
}

.single-post .takom-hero,
.takom-project-detail .takom-hero {
  padding-top: clamp(86px, 10vw, 142px);
  padding-bottom: clamp(92px, 10vw, 150px);
  border-bottom: 6px solid var(--takom-red);
  background-blend-mode: normal;
}

.single-post .takom-hero .takom-eyebrow,
.takom-project-detail .takom-hero .takom-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--takom-radius);
  color: var(--takom-white);
  background: rgb(13 39 68 / 46%);
  backdrop-filter: blur(6px);
}

.single-post .takom-hero h1,
.takom-project-detail .takom-hero h1 {
  max-width: 980px;
}

.single-post .takom-section,
.takom-project-detail .takom-section {
  padding-top: clamp(34px, 6vw, 72px);
}

.takom-article {
  max-width: 850px;
  margin-inline: auto;
}

.single-post .takom-article,
.takom-project-detail .takom-article {
  max-width: 930px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: var(--takom-shadow);
}

.takom-article p {
  color: var(--takom-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.single-post .takom-article p:first-of-type,
.takom-project-detail .takom-article p:first-of-type {
  color: var(--takom-ink);
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.82;
}

.takom-article a {
  color: var(--takom-blue);
  font-weight: 800;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.takom-article h2,
.takom-article h3 {
  color: var(--takom-ink);
}

.single-post .takom-article > img,
.single-post .takom-article p > img,
.single-post .takom-article .wp-post-image,
.takom-project-detail .takom-article > img,
.takom-project-detail .takom-article p > img,
.takom-project-detail .takom-project-media img {
  width: 100%;
  margin: 30px 0;
  border-radius: var(--takom-radius);
  box-shadow: 0 18px 42px rgb(31 41 51 / 12%);
}

.single-post .takom-gallery {
  gap: 18px;
}

.single-post .takom-gallery img {
  box-shadow: 0 12px 30px rgb(31 41 51 / 10%);
  transition: transform 180ms ease;
}

.single-post .takom-gallery img:hover {
  transform: translateY(-3px);
}

.takom-project-media {
  margin: 30px 0;
}

.takom-project-media img {
  display: block;
  cursor: zoom-in;
}

.takom-lightbox-image {
  cursor: zoom-in;
}

.takom-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgb(13 39 68 / 88%);
  backdrop-filter: blur(8px);
}

.takom-lightbox.is-open {
  display: flex;
}

.takom-lightbox-open {
  overflow: hidden;
}

.takom-lightbox__image {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: 0 28px 80px rgb(0 0 0 / 36%);
  object-fit: contain;
}

.takom-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--takom-radius);
  color: var(--takom-white);
  background: var(--takom-red);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.takom-lightbox__close:hover,
.takom-lightbox__close:focus-visible {
  background: var(--takom-blue);
}

.takom-article-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  width: min(930px, calc(100% - 40px));
  margin: -34px auto clamp(64px, 8vw, 104px);
  padding: 22px;
  border: 1px solid rgb(18 60 105 / 20%);
  border-radius: var(--takom-radius);
  background: linear-gradient(135deg, #f4f6f8, #fff);
  box-shadow: 0 14px 38px rgb(31 41 51 / 8%);
}

.takom-article-actions__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.takom-article-actions__links:empty {
  display: none;
}

.takom-article-actions__links a {
  display: block;
  min-height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  color: var(--takom-ink);
  background: var(--takom-white);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.takom-article-actions__links a:hover,
.takom-article-actions__links a:focus-visible {
  border-color: var(--takom-red);
  box-shadow: 0 10px 28px rgb(31 41 51 / 9%);
  transform: translateY(-2px);
}

.takom-article-actions__links span {
  display: block;
  margin-bottom: 5px;
  color: var(--takom-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.takom-article-actions__links strong {
  display: block;
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.35;
}

.takom-about .takom-section {
  position: relative;
}

.takom-about .takom-split {
  gap: clamp(44px, 7vw, 96px);
}

.takom-about-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: var(--takom-shadow);
}

.takom-about-media {
  position: relative;
}

.takom-about-media::before {
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: 0;
  border-radius: var(--takom-radius);
  background: linear-gradient(135deg, rgb(18 60 105 / 14%), rgb(201 40 45 / 14%));
  content: "";
}

.takom-about-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--takom-radius);
  box-shadow: var(--takom-shadow);
  object-fit: cover;
}

.takom-about-founder {
  align-items: center;
}

.takom-about-founder .takom-about-media img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.takom-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.takom-value-card {
  padding: 26px;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: 0 12px 34px rgb(31 41 51 / 7%);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.takom-value-card:hover,
.takom-value-card:focus-within {
  border-color: rgb(201 40 45 / 55%);
  box-shadow: 0 20px 46px rgb(31 41 51 / 13%);
  transform: translateY(-5px);
}

.takom-value-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--takom-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.takom-about-cta {
  color: var(--takom-white);
  background: linear-gradient(135deg, var(--takom-blue), var(--takom-blue-dark));
}

.takom-about-cta h2,
.takom-about-cta p {
  color: inherit;
}

.takom-services-page .takom-card {
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.takom-services-page .takom-card:hover,
.takom-services-page .takom-card:focus-within {
  border-color: var(--takom-red);
  background: var(--takom-red);
  box-shadow: 0 20px 46px rgb(31 41 51 / 15%);
  transform: translateY(-5px);
}

.takom-services-page .takom-card:hover h2,
.takom-services-page .takom-card:hover h3,
.takom-services-page .takom-card:hover p,
.takom-services-page .takom-card:hover a,
.takom-services-page .takom-card:focus-within h2,
.takom-services-page .takom-card:focus-within h3,
.takom-services-page .takom-card:focus-within p,
.takom-services-page .takom-card:focus-within a {
  color: var(--takom-white) !important;
}

.takom-services-page .takom-card .takom-card__image {
  transition: filter 180ms ease, transform 220ms ease;
}

.takom-services-page .takom-card:hover .takom-card__image,
.takom-services-page .takom-card:focus-within .takom-card__image {
  filter: brightness(0.78) saturate(1.05);
  transform: scale(1.025);
}

.takom-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
}

.takom-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  color: var(--takom-ink);
  background: var(--takom-white);
  box-shadow: 0 12px 36px rgb(31 41 51 / 8%);
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  flex-direction: column;
}

.takom-product-card:hover,
.takom-product-card:focus-within {
  border-color: var(--takom-red);
  background: var(--takom-red);
  box-shadow: 0 24px 60px rgb(31 41 51 / 15%);
  transform: translateY(-5px);
}

.takom-product-card:focus-within {
  outline: 3px solid var(--takom-red);
  outline-offset: 5px;
}

.takom-product-card > p {
  margin: 0;
}

.takom-product-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.takom-product-card__link:focus-visible {
  outline: 3px solid var(--takom-red);
  outline-offset: 5px;
}

.takom-product-card__media {
  display: flex;
  min-height: 330px;
  padding: 28px;
  background: linear-gradient(145deg, #f4f6f8, #fff);
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease, filter 180ms ease;
}

.takom-product-card__media img {
  display: block;
  width: 100%;
  max-width: 440px;
  height: 280px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  transition: transform 220ms ease;
}

.takom-product-card:hover .takom-product-card__media img,
.takom-product-card:focus-within .takom-product-card__media img {
  transform: scale(1.035);
}

.takom-product-card:hover .takom-product-card__media,
.takom-product-card:focus-within .takom-product-card__media {
  background: #fff;
  filter: brightness(0.96);
}

.takom-product-card__body {
  display: flex;
  flex: 1;
  padding: 28px;
  border-top: 4px solid var(--takom-red);
  flex-direction: column;
  transition: background-color 180ms ease;
}

.takom-product-card__body h2 {
  margin: 4px 0 12px;
  color: var(--takom-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.16;
}

.takom-product-card__body p {
  margin: 0;
  color: var(--takom-muted);
  line-height: 1.75;
}

.takom-product-card__type {
  color: var(--takom-red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.takom-product-card__cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  color: var(--takom-blue);
  font-weight: 900;
}

.takom-product-card__cta::after {
  content: "→";
  transition: transform 180ms ease;
}

.takom-product-card:hover .takom-product-card__body,
.takom-product-card:focus-within .takom-product-card__body {
  border-color: var(--takom-red);
  background: var(--takom-red);
}

.takom-product-card:hover .takom-product-card__body h2,
.takom-product-card:hover .takom-product-card__body p,
.takom-product-card:hover .takom-product-card__type,
.takom-product-card:hover .takom-product-card__cta,
.takom-product-card:focus-within .takom-product-card__body h2,
.takom-product-card:focus-within .takom-product-card__body p,
.takom-product-card:focus-within .takom-product-card__type,
.takom-product-card:focus-within .takom-product-card__cta {
  color: var(--takom-white) !important;
}

.takom-product-card:hover .takom-product-card__cta::after,
.takom-product-card:focus-within .takom-product-card__cta::after {
  transform: translateX(4px);
}

.takom-shop-hero {
  padding: clamp(86px, 10vw, 148px) 0;
  border-bottom: 6px solid var(--takom-red);
  color: var(--takom-white);
  background:
    radial-gradient(circle at 82% 28%, rgb(255 255 255 / 13%), transparent 34%),
    linear-gradient(135deg, var(--takom-blue), var(--takom-blue-dark));
}

.takom-shop-hero h1 {
  max-width: 850px;
  margin: 0;
  color: inherit;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 1.02;
}

.takom-shop-hero p:not(.takom-eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.takom-shop-card {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(30px, 6vw, 68px);
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: var(--takom-shadow);
  text-align: center;
}

.takom-shop-card__mark {
  display: inline-flex;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: var(--takom-radius);
  color: var(--takom-white);
  background: var(--takom-red);
  font-size: 2rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
}

.takom-shop-card h2 {
  margin-bottom: 16px;
}

.takom-shop-card p {
  max-width: 650px;
  margin-inline: auto;
  color: var(--takom-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.takom-shop-card .takom-actions {
  justify-content: center;
}

@media (min-width: 981px) {
  #top-menu li.menu-item-has-children > a {
    padding-right: 18px !important;
  }

  #top-menu li ul.sub-menu {
    width: 250px;
    padding: 10px;
    border: 1px solid rgb(6 41 126 / 12%);
    border-top: 4px solid var(--takom-red);
    border-radius: var(--takom-radius);
    background: var(--takom-white);
    box-shadow: 0 22px 58px rgb(0 0 0 / 18%);
  }

  #top-menu li ul.sub-menu li {
    width: 100%;
    padding: 0;
  }

  #top-menu li ul.sub-menu li a {
    width: 100%;
    padding: 11px 12px;
    border-radius: 9px;
    color: var(--takom-blue) !important;
    line-height: 1.25;
  }

  #top-menu li ul.sub-menu li a:hover,
  #top-menu li ul.sub-menu li.current-menu-item > a {
    color: var(--takom-white) !important;
    background: var(--takom-red) !important;
    opacity: 1;
  }
}

.takom-product-hero {
  padding: clamp(68px, 8vw, 116px) 0;
  border-bottom: 6px solid var(--takom-red);
  color: var(--takom-white);
  background:
    radial-gradient(circle at 78% 32%, rgb(255 255 255 / 12%), transparent 34%),
    linear-gradient(135deg, var(--takom-blue), var(--takom-blue-dark));
}

.takom-product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.takom-product-hero h1 {
  margin: 0;
  max-width: 760px;
  color: inherit;
  font-size: clamp(2.5rem, 5.5vw, 4.9rem);
  line-height: 1.02;
}

.takom-product-hero p:not(.takom-eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.takom-product-hero .takom-actions {
  margin-top: 30px;
}

.takom-product-showcase {
  display: flex;
  min-height: 430px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: 0 30px 80px rgb(0 0 0 / 24%);
  align-items: center;
  justify-content: center;
}

.takom-product-showcase img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 350px;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.takom-product-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.takom-product-feature {
  padding: 24px;
  border: 1px solid var(--takom-line);
  border-top: 4px solid var(--takom-red);
  border-radius: var(--takom-radius);
  background: var(--takom-white);
  box-shadow: 0 16px 42px rgb(31 41 51 / 11%);
}

.takom-product-feature strong {
  display: block;
  margin-bottom: 7px;
  color: var(--takom-blue);
  font-size: 1.03rem;
}

.takom-product-feature span {
  color: var(--takom-muted);
  line-height: 1.6;
}

.takom-product-media {
  display: flex;
  min-height: 430px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--takom-line);
  border-radius: var(--takom-radius);
  background: linear-gradient(145deg, #f4f6f8, #fff);
  box-shadow: var(--takom-shadow);
  align-items: center;
  justify-content: center;
}

.takom-product-media img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 360px;
  border-radius: 0;
  box-shadow: none;
  cursor: zoom-in;
  object-fit: contain;
}

.takom-product-specs {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.takom-product-specs li {
  position: relative;
  padding-left: 27px;
  color: var(--takom-muted);
  line-height: 1.65;
}

.takom-product-specs li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--takom-red);
  border-radius: 50%;
  content: "";
}

.takom-product-cta {
  color: var(--takom-white);
  background: linear-gradient(135deg, var(--takom-blue), var(--takom-blue-dark));
}

.takom-product-cta h2,
.takom-product-cta p {
  color: inherit;
}

.takom-event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.takom-event-detail {
  padding: 18px;
  border: 1px solid var(--takom-line);
  border-top: 4px solid var(--takom-red);
  border-radius: var(--takom-radius);
  background: var(--takom-surface);
}

.takom-event-detail strong {
  display: block;
  margin-bottom: 5px;
  color: var(--takom-blue);
}

.takom-event-detail span {
  color: var(--takom-muted);
}

.takom-arabic {
  margin: 36px 0;
  padding: clamp(24px, 4vw, 38px);
  border-right: 5px solid var(--takom-red);
  border-radius: var(--takom-radius);
  color: var(--takom-ink);
  background: linear-gradient(135deg, rgb(6 41 126 / 7%), rgb(201 40 45 / 7%));
  font-size: 1.08rem;
  line-height: 2;
  text-align: right;
}

.takom-arabic h2 {
  margin-top: 0;
  color: var(--takom-blue);
}

.takom-event-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.takom-event-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--takom-radius);
  background: var(--takom-surface);
}

.takom-event-gallery figure:first-child {
  grid-column: 1 / -1;
}

.takom-event-gallery figure:last-child {
  grid-column: 1 / -1;
}

.takom-event-gallery img {
  display: block;
  width: 100%;
  height: 420px;
  margin: 0 !important;
  border-radius: var(--takom-radius);
  box-shadow: none !important;
  cursor: zoom-in;
  object-fit: cover;
}

.takom-event-gallery figure:first-child img {
  height: min(620px, 64vw);
  object-position: center 35%;
}

.takom-event-note {
  margin-top: 36px;
  padding: 24px;
  border-radius: var(--takom-radius);
  color: var(--takom-white);
  background: var(--takom-blue);
}

.takom-event-note strong {
  color: var(--takom-white);
}

.takom-footer {
  padding: 64px 0 24px;
  color: rgb(255 255 255 / 78%);
  background: var(--takom-blue);
}

.takom-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr;
  gap: 44px;
}

.takom-footer h2,
.takom-footer h3 {
  color: var(--takom-white);
}

.takom-footer__logo {
  width: 118px;
  height: auto;
  margin-bottom: 18px;
}

.takom-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.takom-footer li {
  margin: 8px 0;
}

.takom-footer a {
  color: rgb(255 255 255 / 84%);
}

.takom-footer a:hover {
  color: var(--takom-red);
}

.takom-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.takom-footer__bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  body #page-container {
    padding-top: 72px !important;
  }

  body #main-header,
  body.et_fixed_nav #main-header,
  body.et_non_fixed_nav.et_transparent_nav #main-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 99999 !important;
    min-height: 72px !important;
    padding: 0 !important;
    border: 0 !important;
    background: var(--takom-blue) !important;
    box-shadow: 0 10px 28px rgb(0 0 0 / 18%) !important;
  }

  #main-header .container,
  #main-header .et_menu_container {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    height: 72px !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  #main-header .logo_container {
    position: static !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    align-items: center !important;
    line-height: 1 !important;
  }

  #main-header .logo_helper {
    display: none !important;
  }

  #main-header #logo {
    display: block !important;
    width: auto !important;
    max-width: 148px !important;
    height: 46px !important;
    max-height: 46px !important;
    object-fit: contain !important;
  }

  #main-header #et-top-navigation {
    position: static !important;
    display: flex !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto !important;
    padding: 0 !important;
    align-items: center !important;
  }

  #top-menu-nav,
  #top-menu {
    display: none !important;
  }

  #et_mobile_nav_menu {
    position: relative !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  #main-header .mobile_nav {
    position: relative !important;
    display: flex !important;
    min-width: 112px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgb(255 255 255 / 22%) !important;
    border-radius: var(--takom-radius) !important;
    background: rgb(255 255 255 / 10%) !important;
    align-items: center !important;
  }

  #main-header .select_page {
    display: inline-flex !important;
    height: 44px !important;
    padding: 0 44px 0 14px !important;
    color: var(--takom-white) !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    align-items: center !important;
    letter-spacing: 0.01em !important;
  }

  #main-header .mobile_menu_bar {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    display: flex !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(-50%) !important;
  }

  #main-header .mobile_menu_bar::before {
    top: auto !important;
    color: var(--takom-white) !important;
    font-size: 28px !important;
    line-height: 1 !important;
  }

  #main-header .et_mobile_menu {
    top: calc(100% + 12px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(338px, calc(100vw - 36px)) !important;
    padding: 8px !important;
    border: 1px solid rgb(6 41 126 / 12%) !important;
    border-top: 4px solid var(--takom-red) !important;
    border-radius: var(--takom-radius) !important;
    background: var(--takom-white) !important;
    box-shadow: 0 24px 70px rgb(0 0 0 / 22%) !important;
  }

  #main-header .et_mobile_menu li a {
    padding: 13px 12px !important;
    border-bottom: 1px solid var(--takom-line) !important;
    border-radius: 10px !important;
    color: var(--takom-blue) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  #main-header .et_mobile_menu li:last-child a {
    border-bottom: 0 !important;
  }

  #main-header .et_mobile_menu li a:hover,
  #main-header .et_mobile_menu li.current-menu-item > a {
    color: var(--takom-white) !important;
    background: var(--takom-red) !important;
    opacity: 1 !important;
  }

  #main-header .et_mobile_menu .sub-menu {
    padding-left: 12px !important;
  }

  #main-header .et_mobile_menu .sub-menu li a {
    padding-left: 22px !important;
    font-size: 0.9rem !important;
  }

  .takom-grid,
  .takom-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .takom-split,
  .takom-contact-grid,
  .takom-footer__grid,
  .takom-article-actions,
  .takom-values-grid {
    grid-template-columns: 1fr;
  }

  .takom-product-grid,
  .takom-product-hero__grid {
    grid-template-columns: 1fr;
  }

  .takom-product-showcase {
    min-height: 360px;
  }

  .takom-product-features {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .takom-article-actions__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body #page-container {
    padding-top: 70px !important;
  }

  body #main-header,
  #main-header .container,
  #main-header .et_menu_container {
    min-height: 70px !important;
    height: 70px !important;
  }

  #main-header .container,
  #main-header .et_menu_container {
    padding-inline: 16px !important;
  }

  #main-header #logo {
    max-width: 136px !important;
    height: 42px !important;
    max-height: 42px !important;
  }

  #main-header .mobile_nav {
    min-width: 104px !important;
    min-height: 42px !important;
  }

  #main-header .select_page {
    height: 42px !important;
    padding-right: 40px !important;
    font-size: 0.88rem !important;
  }

  html body.home #page-container #main-content .et_pb_section.et_pb_section_0,
  html body.home #page-container #et-main-area #main-content .et_pb_section.et_pb_section_0 {
    min-height: auto !important;
    padding-top: 52px !important;
    padding-bottom: 26px !important;
    background-position: center center !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row {
    width: min(100% - 32px, 560px) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_0 {
    display: none !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_1 {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_text_1 {
    margin-bottom: 18px !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_text_1 h1 {
    font-size: clamp(2.35rem, 11.2vw, 3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
  }

  body.home #page-container #main-content .et_pb_section_0 .et_pb_text.et_clickable .et_pb_text_inner p > a:not(.et_pb_button) {
    min-height: 44px !important;
    padding: 11px 18px !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 {
    margin-top: 0 !important;
    padding: 14px !important;
    border: 1px solid rgb(255 255 255 / 16%) !important;
    border-radius: var(--takom-radius) !important;
    background: rgb(0 0 0 / 34%) !important;
    backdrop-filter: blur(10px);
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_column {
    display: grid !important;
    gap: 9px !important;
    grid-template-columns: 1fr !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_blurb {
    margin: 0 !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_blurb_content {
    display: flex !important;
    max-width: none !important;
    min-height: 0 !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_blurb_1,
  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_blurb_2 {
    padding-left: 38px !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_main_blurb_image {
    width: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et-pb-icon {
    color: var(--takom-red) !important;
    font-size: 24px !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_blurb_container {
    padding-left: 0 !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 h4 {
    margin: 0 0 2px !important;
    color: var(--takom-white) !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.11em !important;
    line-height: 1.1 !important;
  }

  .home #main-content .et_pb_section_0 .et_pb_row_2 .et_pb_blurb_description p {
    margin: 0 !important;
    color: var(--takom-white) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
  }

  .home #main-content .et_pb_section:not(.et_pb_section_0) {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .home #main-content .et_pb_section:not(.et_pb_section_0) .et_pb_row {
    width: min(100% - 32px, 560px) !important;
    max-width: none !important;
  }

  .home #main-content .et_pb_section:not(.et_pb_section_0) h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  .home #main-content .et_pb_section:not(.et_pb_section_0) h3 {
    line-height: 1.18 !important;
  }

  .home #main-content .et_pb_image img,
  .home #main-content video {
    border-radius: var(--takom-radius) !important;
  }

  #main-content .takom-hero {
    padding-top: 70px !important;
    padding-bottom: 54px !important;
  }

  #main-content .takom-hero h1 {
    font-size: clamp(2.1rem, 9.8vw, 2.75rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.03em !important;
  }

  #main-content .takom-hero p:not(.takom-eyebrow) {
    margin-top: 16px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .takom-section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  .takom-section h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  .takom-lead {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  .takom-grid,
  .takom-grid--2,
  .takom-stats,
  .takom-form__grid,
  .takom-gallery,
  .takom-values-grid,
  .takom-event-details,
  .takom-event-gallery {
    gap: 18px !important;
    margin-top: 26px !important;
    grid-template-columns: 1fr;
  }

  .takom-event-gallery figure:first-child {
    grid-column: auto;
  }

  .takom-event-gallery figure:last-child {
    grid-column: auto;
  }

  .takom-event-gallery img,
  .takom-event-gallery figure:first-child img {
    height: 290px;
  }

  .takom-product-hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .takom-product-hero h1 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .takom-product-showcase,
  .takom-product-media {
    min-height: 0;
    padding: 22px;
  }

  .takom-product-showcase img,
  .takom-product-media img {
    height: 260px;
  }

  .takom-product-card__media {
    min-height: 250px;
    padding: 20px;
  }

  .takom-product-card__media img {
    height: 220px;
  }

  .takom-product-card__body {
    padding: 22px;
  }

  .takom-split,
  .takom-contact-grid {
    gap: 28px !important;
  }

  .takom-card__image {
    aspect-ratio: 16 / 9;
  }

  .takom-card__body,
  .takom-value-card {
    padding: 20px !important;
  }

  .takom-form {
    padding: 22px 18px !important;
  }

  .takom-footer {
    padding: 42px 0 20px !important;
  }

  .takom-footer__grid {
    gap: 26px !important;
  }

  .takom-footer__logo {
    width: 98px !important;
    margin-bottom: 14px !important;
  }

  .takom-footer li {
    margin: 6px 0 !important;
  }

  .takom-socials {
    gap: 10px 12px !important;
    margin-top: 16px !important;
  }

  .takom-footer__bottom {
    margin-top: 28px !important;
    padding-top: 16px !important;
  }

  .takom-wrap {
    width: min(100% - 28px, 1180px);
  }

  .takom-grid,
  .takom-grid--2,
  .takom-stats,
  .takom-form__grid,
  .takom-gallery,
  .takom-values-grid {
    grid-template-columns: 1fr;
  }

  .takom-about-card {
    padding: 24px 20px;
  }

  .takom-about-media::before {
    inset: 14px -10px -14px 10px;
  }

  .takom-field--full {
    grid-column: auto;
  }

  .single-post .takom-article,
  .takom-project-detail .takom-article {
    padding: 24px 20px;
    border-radius: var(--takom-radius);
  }

  .takom-article-actions {
    width: min(100% - 28px, 930px);
    margin-top: -42px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
