/* Sitewide section polish — brand #00659b / #FF5151 */

:root {
  --aks-blue: #00659b;
  --aks-red: #FF5151;
  --aks-text: #2f3b45;
  --aks-muted: #6b7c89;
  --aks-line: #e6eef4;
  --aks-soft: #f5f8fb;
  --aks-radius: 14px;
}

/* ---------- Page title banners (all inner pages) ---------- */
:root {
  --aks-banner: linear-gradient(120deg, #004a73 0%, #00659b 48%, #0a5f8a 100%);
  --aks-banner-photo: url(../images/new/hero-01.jpg);
}

/* Slides-style page banners only — never touch home hero (.elementor-element-8aebd11) */
.elementor-widget-slides:not(.elementor-element-8aebd11) .elementor-slides-wrapper,
.elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-container,
.elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-wrapper,
.elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide {
  min-height: 180px !important;
  height: 180px !important;
}

.elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-color: #00659b !important;
  background-image: var(--aks-banner-photo) !important;
  background-position: center 28% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Per-page title photos */
.elementor-14 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-about.jpg) !important;
  background-position: center 22% !important;
}
.elementor-19 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-photos.jpg) !important;
}
.elementor-21 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-videos.jpg) !important;
}
.elementor-16 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-news.jpg) !important;
}
.elementor-5003 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-contact.jpg) !important;
  background-position: center center !important;
}
.elementor-4726 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-works.jpg) !important;
}
.elementor-2774 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-press.jpg) !important;
}
.elementor-1932 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg,
.elementor-1939 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg,
.elementor-4459 .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-bg {
  background-image: url(../images/new/banner-gallery.jpg) !important;
}

.elementor-widget-slides:not(.elementor-element-8aebd11) .elementor-background-overlay,
.elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide .elementor-background-overlay,
.elementor-element-6dc2de3 > .elementor-background-overlay {
  background: linear-gradient(180deg, rgba(0, 35, 58, 0.48), rgba(0, 35, 58, 0.62)) !important;
  opacity: 1 !important;
}

.elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 20px !important;
}

.elementor-slide-heading,
.elementor-slides .swiper-slide-inner .elementor-slide-heading {
  position: relative;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 8px !important;
  color: #fff !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  text-align: center !important;
  text-shadow: 0 2px 14px rgba(0, 30, 50, 0.28);
}

.elementor-slide-heading::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, var(--aks-red));
}

/* Template banners (elementor-659 chapters + shared title strip) */
.elementor-659 .elementor-element-d81c622,
.elementor-659 .elementor-element.elementor-element-d81c622:not(.elementor-motion-effects-element-type-background) {
  min-height: 180px !important;
  height: auto !important;
  padding: 56px 0 !important;
  background-color: #00659b !important;
  background-image: url(../images/new/banner-chapter.jpg) !important;
  background-position: center 30% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.elementor-659 .elementor-element-d81c622 > .elementor-background-overlay {
  background: linear-gradient(180deg, rgba(0, 35, 58, 0.48), rgba(0, 35, 58, 0.62)) !important;
  opacity: 1 !important;
}

.elementor-659 .elementor-heading-title,
.elementor-659 .elementor-page-title .elementor-heading-title,
.elementor-659 .elementor-element-c2f6c37 .elementor-heading-title {
  position: relative;
  display: inline-block !important;
  color: #fff !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  text-shadow: 0 2px 14px rgba(0, 30, 50, 0.28);
}

.elementor-659 .elementor-heading-title::after,
.elementor-659 .elementor-page-title .elementor-heading-title::after,
.elementor-659 .elementor-element-c2f6c37 .elementor-heading-title::after {
  content: "" !important;
  display: block !important;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, var(--aks-red));
}

.elementor-659 .elementor-element-e42834f {
  background: transparent !important;
}

.elementor-659 .elementor-element-c2f6c37 {
  text-align: center !important;
}

/* Blog / single post banner strip */
.single-post-banner {
  height: 180px !important;
  min-height: 180px !important;
  background-color: #00659b !important;
  background-image: url(../images/new/banner-blog.jpg) !important;
  background-position: center 30% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.single-post-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 35, 58, 0.48), rgba(0, 35, 58, 0.62));
  pointer-events: none;
  z-index: 0;
}

.single-post-banner > .wrapper,
.single-post-banner h1 {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .elementor-widget-slides:not(.elementor-element-8aebd11) .elementor-slides-wrapper,
  .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-container,
  .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-wrapper,
  .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide {
    min-height: 150px !important;
    height: 150px !important;
  }

  .elementor-659 .elementor-element-d81c622,
  .elementor-659 .elementor-element.elementor-element-d81c622:not(.elementor-motion-effects-element-type-background) {
    min-height: 150px !important;
    padding: 40px 0 !important;
  }

  .elementor-slide-heading,
  .elementor-659 .elementor-heading-title,
  .elementor-659 .elementor-element-c2f6c37 .elementor-heading-title {
    font-size: 28px !important;
  }
}

@media (max-width: 767px) {
  .elementor-widget-slides:not(.elementor-element-8aebd11) .elementor-slides-wrapper,
  .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-container,
  .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-wrapper,
  .elementor-widget-slides:not(.elementor-element-8aebd11) .swiper-slide,
  .single-post-banner {
    min-height: 132px !important;
    height: 132px !important;
  }

  .elementor-659 .elementor-element-d81c622,
  .elementor-659 .elementor-element.elementor-element-d81c622:not(.elementor-motion-effects-element-type-background) {
    min-height: 132px !important;
    padding: 38px 0 !important;
  }

  .elementor-slide-heading,
  .elementor-slides .swiper-slide-inner .elementor-slide-heading,
  .elementor-659 .elementor-heading-title,
  .elementor-659 .elementor-element-c2f6c37 .elementor-heading-title {
    font-size: 24px !important;
  }

  .elementor-slide-heading::after,
  .elementor-659 .elementor-heading-title::after {
    width: 44px;
    margin-top: 10px;
  }
}

/* ---------- Shared section headings (inner pages + content columns) ---------- */
.about-box .elementor-heading-title,
.photos-layout .elementor-heading-title,
.about-layout .abt-col-right .elementor-heading-title,
.elementor-widget-eael-filterable-gallery ~ .elementor-widget-heading .elementor-heading-title {
  position: relative;
  display: inline-block;
  color: var(--aks-blue) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.about-layout .abt-col-right > .elementor-column-wrap > .elementor-widget-wrap > .elementor-widget-heading:first-child {
  text-align: left;
}

.about-layout .abt-col-right .elementor-heading-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px 0 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--aks-blue), var(--aks-red));
}

/* ---------- Brand buttons ---------- */
.elementor-button-wrapper .elementor-button,
.eael-filterable-gallery-loadmore .eael-gallery-load-more,
a.eael-gallery-load-more {
  background: var(--aks-blue) !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 101, 155, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.elementor-button-wrapper .elementor-button:hover,
.eael-filterable-gallery-loadmore .eael-gallery-load-more:hover,
a.eael-gallery-load-more:hover {
  background: var(--aks-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 81, 81, 0.22);
}

.eael-filterable-gallery-loadmore {
  text-align: center;
  margin-top: 28px;
}

/* ---------- About icon grid (home + About hub) ---------- */
.about-box {
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(0, 101, 155, 0.08), transparent 60%),
    var(--aks-soft) !important;
  padding: 36px 0 28px !important;
}

.about-box .about-box-row {
  margin-bottom: 12px;
}

.about-box .elementor-inner-section:last-child .about-box-row {
  margin-bottom: 0;
}

.about-box .about-box-row > .elementor-column-wrap {
  height: 100%;
}

.about-box .about-box-row .elementor-text-editor {
  height: 100%;
  background: #fff;
  border: 1px solid var(--aks-line);
  border-radius: var(--aks-radius);
  box-shadow: 0 8px 24px rgba(0, 101, 155, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-box .about-box-row .elementor-text-editor a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-height: 190px;
  padding: 28px 16px 22px !important;
  text-align: center;
  text-decoration: none !important;
  color: var(--aks-blue) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

.about-box .about-box-row .elementor-text-editor img {
  width: 78px !important;
  height: 78px !important;
  margin: 0 auto 14px !important;
  padding: 12px !important;
  border: 2px solid rgba(0, 101, 155, 0.28) !important;
  border-radius: 50% !important;
  background: #f7fbfe;
  object-fit: contain;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.about-box .about-box-row .elementor-text-editor:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 101, 155, 0.28);
  box-shadow: 0 16px 36px rgba(0, 101, 155, 0.12);
}

.about-box .about-box-row .elementor-text-editor:hover a {
  color: var(--aks-red) !important;
}

.about-box .about-box-row .elementor-text-editor:hover img {
  border-color: var(--aks-red) !important;
  background: #fff7f7;
  transform: scale(1.04);
}

/* ---------- About chapter layout ---------- */
.about-layout {
  background: var(--aks-soft) !important;
  padding: 36px 0 56px !important;
}

.about-layout .abt-col-left ul.menu {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--aks-line) !important;
  border-radius: var(--aks-radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 101, 155, 0.06);
}

.about-layout .abt-col-left ul.menu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--aks-line) !important;
  line-height: normal;
}

.about-layout .abt-col-left ul.menu li:last-child {
  border-bottom: none !important;
}

.about-layout .abt-col-left ul.menu li a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--aks-text) !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.about-layout .abt-col-left ul.menu li a:hover {
  background: rgba(0, 101, 155, 0.08) !important;
  color: var(--aks-blue) !important;
  padding-left: 22px;
}

.about-layout .abt-col-left ul.menu li.current_page_item > a,
.about-layout .abt-col-left ul.menu li.current_page_ancestor > a,
.about-layout .abt-col-left ul.menu li.current-menu-ancestor > a,
.about-layout .abt-col-left ul.menu li.current-menu-item > a,
.about-layout .abt-col-left ul.menu li.current-menu-parent > a {
  background: var(--aks-blue) !important;
  color: #fff !important;
  font-weight: 600;
}

.about-layout .abt-col-right > .elementor-column-wrap {
  background: #fff;
  border: 1px solid var(--aks-line);
  border-radius: var(--aks-radius);
  box-shadow: 0 12px 32px rgba(0, 101, 155, 0.06);
  padding: 28px 28px 32px !important;
}

.about-layout .abt-col-right .elementor-icon-list-items {
  margin: 0;
  padding: 0;
}

.about-layout .abt-col-right .elementor-icon-list-item {
  margin: 0 0 12px !important;
  padding: 12px 14px !important;
  background: #f8fbff;
  border: 1px solid #eef3f7;
  border-radius: 10px;
  align-items: flex-start !important;
}

.about-layout .abt-col-right .elementor-icon-list-icon {
  color: var(--aks-red) !important;
  margin-right: 10px !important;
}

.about-layout .abt-col-right .elementor-icon-list-text {
  color: var(--aks-text);
  font-size: 15px;
  line-height: 1.55;
}

.about-layout .abt-col-right .elementor-text-editor,
.about-layout .abt-col-right .elementor-widget-text-editor {
  color: var(--aks-text);
  font-size: 15px;
  line-height: 1.7;
}

.about-layout .abt-col-right .elementor-widget-image img {
  border-radius: 12px;
  border: 1px solid var(--aks-line);
  box-shadow: 0 8px 20px rgba(0, 101, 155, 0.06);
}

/* ---------- EAEL galleries (Photos, Videos, Press, home) ---------- */
.photos-layout,
.elementor-widget-eael-filterable-gallery {
  --aks-gallery-gap: 22px;
}

.photos-layout {
  background: var(--aks-soft) !important;
  padding: 36px 0 52px !important;
}

/* Photos hub album cards — kill EAEL fixed 300px height (causes portrait crop) */
.photos-layout .eael-filterable-gallery-item-wrap .eael-gallery-grid-item .gallery-item-thumbnail-wrap,
.photos-layout .gallery-item-thumbnail-wrap {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden;
  background: #d9e5ee;
}

.photos-layout .gallery-item-thumbnail-wrap > img,
.photos-layout .gallery-item-thumbnail {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  display: block;
}

.photos-layout .eael-gallery-grid-item {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: #fff !important;
  border: 1px solid var(--aks-line) !important;
  border-radius: var(--aks-radius) !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(0, 101, 155, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.photos-layout .eael-gallery-grid-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 101, 155, 0.28) !important;
  box-shadow: 0 18px 40px rgba(0, 101, 155, 0.14);
}

.photos-layout .eael-gallery-grid-item > a {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  flex: 1;
  min-height: 0;
}

.photos-layout .gallery-item-caption-wrap.caption-style-card,
.photos-layout .caption-style-card {
  margin: 0 !important;
  padding: 14px 14px !important;
  background: #fff !important;
  border-top: 1px solid var(--aks-line) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px;
  box-sizing: border-box;
}

.photos-layout .caption-style-card .gallery-item-caption-over,
.photos-layout .caption-style-card .fg-item-content,
.photos-layout .caption-style-card p {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  text-align: center !important;
}

.photos-layout .caption-style-card a,
.photos-layout .caption-style-card .aks-photo-title {
  display: block;
  margin: 0 !important;
  color: var(--aks-blue) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  text-align: center !important;
}

.photos-layout .eael-gallery-grid-item:hover .caption-style-card a,
.photos-layout .eael-gallery-grid-item:hover .aks-photo-title {
  color: var(--aks-red) !important;
}

.photos-layout .eael-filter-gallery-container {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

@media (max-width: 1024px) {
  .photos-layout .eael-filter-gallery-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 767px) {
  .photos-layout .eael-filter-gallery-container {
    grid-template-columns: 1fr !important;
  }

  .photos-layout .eael-filterable-gallery-item-wrap .eael-gallery-grid-item .gallery-item-thumbnail-wrap,
  .photos-layout .gallery-item-thumbnail-wrap {
    aspect-ratio: 16 / 10 !important;
  }
}

.gallery-card-screen .eael-filter-gallery-container,
.elementor-widget-eael-filterable-gallery .eael-filter-gallery-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--aks-gallery-gap);
}

.elementor-grid-4 .eael-filter-gallery-container,
.elementor-grid-4.elementor-widget-eael-filterable-gallery .eael-filter-gallery-container {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.elementor-grid-2 .eael-filter-gallery-container,
.elementor-grid-2.elementor-widget-eael-filterable-gallery .eael-filter-gallery-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card-screen .eael-filterable-gallery-item-wrap,
.elementor-widget-eael-filterable-gallery .eael-filterable-gallery-item-wrap {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

.gallery-card-screen .eael-gallery-grid-item,
.gallery-card-screen .eael-filterable-gallery-item-wrap,
.elementor-widget-eael-filterable-gallery .eael-gallery-grid-item:not(.fg-layout-3-item),
.elementor-widget-eael-filterable-gallery .eael-filterable-gallery-item-wrap {
  overflow: hidden !important;
  border-radius: var(--aks-radius) !important;
}

.gallery-card-screen .eael-gallery-grid-item,
.elementor-widget-eael-filterable-gallery .eael-gallery-grid-item:not(.fg-layout-3-item) {
  border: 1px solid var(--aks-line) !important;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 101, 155, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.gallery-card-screen .eael-gallery-grid-item:hover,
.elementor-widget-eael-filterable-gallery .eael-gallery-grid-item:not(.fg-layout-3-item):hover {
  transform: translateY(-4px);
  border-color: rgba(0, 101, 155, 0.25);
  box-shadow: 0 18px 40px rgba(0, 101, 155, 0.14);
}

.gallery-card-screen .gallery-item-thumbnail-wrap,
.elementor-widget-eael-filterable-gallery .gallery-item-thumbnail-wrap {
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  background: #d9e5ee;
}

.gallery-card-screen .gallery-item-thumbnail,
.elementor-widget-eael-filterable-gallery .gallery-item-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-card-screen .eael-gallery-grid-item:hover .gallery-item-thumbnail,
.elementor-widget-eael-filterable-gallery .eael-gallery-grid-item:hover .gallery-item-thumbnail {
  transform: scale(1.05);
}

.gallery-card-screen .gallery-item-hoverer-bg,
.elementor-widget-eael-filterable-gallery .gallery-item-hoverer-bg {
  background: linear-gradient(180deg, transparent 30%, rgba(0, 40, 65, 0.55) 100%) !important;
  opacity: 0.85 !important;
}

.gallery-card-screen .caption-style-card,
.elementor-widget-eael-filterable-gallery .caption-style-card {
  padding: 14px 16px 16px;
  background: #fff;
}

.gallery-card-screen .fg-item-title,
.elementor-widget-eael-filterable-gallery .fg-item-title,
.elementor-widget-eael-filterable-gallery .caption-style-card a,
.elementor-widget-eael-filterable-gallery .fg-item-content a {
  margin: 0 !important;
  color: var(--aks-text) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  text-decoration: none !important;
}

.elementor-widget-eael-filterable-gallery .caption-style-card a:hover,
.elementor-widget-eael-filterable-gallery .fg-item-content a:hover {
  color: var(--aks-red) !important;
}

/* Filter controls */
.eael-filter-gallery-control ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 28px !important;
  padding: 0 !important;
  list-style: none;
}

.eael-filter-gallery-control ul li {
  margin: 0 !important;
}

.eael-filter-gallery-control ul li a {
  display: inline-block;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--aks-line) !important;
  background: #fff !important;
  color: var(--aks-blue) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.eael-filter-gallery-control ul li.current a,
.eael-filter-gallery-control ul li a:hover {
  background: var(--aks-blue) !important;
  border-color: var(--aks-blue) !important;
  color: #fff !important;
}

/* Videos — same card polish as Photos hub */
.videos-layout {
  background: var(--aks-soft) !important;
  padding: 36px 0 52px !important;
}

.video-screen .eael-filterable-gallery-item-wrap .eael-gallery-grid-item .gallery-item-thumbnail-wrap,
.video-screen .gallery-item-thumbnail-wrap,
.gallery-card-screen.video-screen .gallery-item-thumbnail-wrap {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden;
  background: #0a2a3d;
  position: relative;
}

.video-screen .gallery-item-thumbnail-wrap > img.gallery-item-thumbnail,
.video-screen .gallery-item-thumbnail {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  display: block;
}

.video-screen .eael-gallery-grid-item {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: #fff !important;
  border: 1px solid var(--aks-line) !important;
  border-radius: var(--aks-radius) !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(0, 101, 155, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-screen .eael-gallery-grid-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 101, 155, 0.28) !important;
  box-shadow: 0 18px 40px rgba(0, 101, 155, 0.14);
}

.video-screen .video-popup,
.gallery-card-screen .video-popup {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none !important;
}

.video-screen .video-popup-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 40, 65, 0.45) 100%);
  opacity: 0.75;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.video-screen .eael-gallery-grid-item:hover .video-popup-bg {
  opacity: 0.9;
}

.video-screen .video-popup > img,
.gallery-card-screen .video-popup > img {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
  transition: transform 0.25s ease;
}

.video-screen .eael-gallery-grid-item:hover .video-popup > img,
.gallery-card-screen .eael-gallery-grid-item:hover .video-popup > img {
  transform: scale(1.08);
}

.video-screen .gallery-item-caption-wrap.caption-style-card,
.video-screen .caption-style-card {
  margin: 0 !important;
  padding: 14px 14px !important;
  background: #fff !important;
  border-top: 1px solid var(--aks-line) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px;
  box-sizing: border-box;
}

.video-screen .caption-style-card .gallery-item-caption-over,
.video-screen .caption-style-card .fg-item-content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  text-align: center !important;
}

.video-screen .caption-style-card .fg-item-title,
.video-screen .fg-item-title {
  margin: 0 !important;
  color: var(--aks-blue) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

.video-screen .eael-gallery-grid-item:hover .fg-item-title {
  color: var(--aks-red) !important;
}

.video-screen .eael-filter-gallery-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.video-screen.elementor-grid-4 .eael-filter-gallery-container {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 1024px) {
  .video-screen .eael-filter-gallery-container,
  .video-screen.elementor-grid-4 .eael-filter-gallery-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 767px) {
  .videos-layout {
    padding: 28px 0 40px !important;
  }

  .video-screen .eael-filter-gallery-container,
  .video-screen.elementor-grid-4 .eael-filter-gallery-container {
    grid-template-columns: 1fr !important;
  }
}

/* Recent Works document cards */
.works-layout {
  background: var(--aks-soft) !important;
  padding: 36px 0 52px !important;
}

.works-layout .aks-works-gallery .eael-filter-gallery-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.works-layout .aks-works-gallery .eael-filterable-gallery-item-wrap {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

.works-layout .aks-works-gallery .eael-gallery-grid-item {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: #fff !important;
  border: 1px solid var(--aks-line) !important;
  border-radius: var(--aks-radius) !important;
  overflow: hidden !important;
  box-shadow: 0 10px 28px rgba(0, 101, 155, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.works-layout .aks-works-gallery .eael-gallery-grid-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 101, 155, 0.28) !important;
  box-shadow: 0 18px 40px rgba(0, 101, 155, 0.14);
}

.works-layout .aks-works-gallery .eael-gallery-grid-item > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.works-layout .aks-works-gallery .gallery-item-thumbnail-wrap {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden;
  background: #e8eef3;
}

.works-layout .aks-works-gallery .gallery-item-thumbnail {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block;
  transition: transform 0.45s ease;
}

.works-layout .aks-works-gallery .eael-gallery-grid-item:hover .gallery-item-thumbnail {
  transform: scale(1.03);
}

.works-layout .aks-works-gallery .caption-style-card {
  margin: 0 !important;
  padding: 16px 16px 18px !important;
  background: #fff !important;
  border-top: 1px solid var(--aks-line) !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 88px;
  box-sizing: border-box;
}

.works-layout .aks-works-gallery .gallery-item-caption-over {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.works-layout .aks-works-title {
  display: block;
  color: var(--aks-blue) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center;
}

.works-layout .aks-works-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aks-red) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3;
}

.works-layout .aks-works-gallery .eael-gallery-grid-item:hover .aks-works-title {
  color: var(--aks-red) !important;
}

.works-layout .aks-works-doc-thumb {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(600px 280px at 50% 20%, rgba(0, 101, 155, 0.12), transparent 60%),
    #f3f7fb !important;
}

.works-layout .aks-works-doc-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid rgba(255, 81, 81, 0.35);
  color: var(--aks-red);
  font-size: 30px;
  box-shadow: 0 10px 24px rgba(0, 101, 155, 0.08);
}

@media (max-width: 767px) {
  .works-layout {
    padding: 28px 0 40px !important;
  }

  .works-layout .aks-works-gallery .eael-filter-gallery-container {
    grid-template-columns: 1fr !important;
  }
}

/* Soft section pads for common content wrappers */
#content .elementor-top-section.photos-layout,
#content .elementor-top-section.about-layout,
#content .elementor-top-section.about-box {
  margin-top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gallery-card-screen .eael-filter-gallery-container,
  .elementor-widget-eael-filterable-gallery .eael-filter-gallery-container,
  .elementor-grid-4 .eael-filter-gallery-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .about-box .about-box-row {
    width: 50% !important;
  }

  .about-box .about-box-row .elementor-text-editor a {
    min-height: 170px;
    font-size: 15px !important;
  }

  .about-layout .abt-col-right > .elementor-column-wrap {
    padding: 22px 20px 26px !important;
  }
}

@media (max-width: 767px) {
  .about-box,
  .photos-layout,
  .about-layout {
    padding: 28px 0 40px !important;
  }

  .gallery-card-screen .eael-filter-gallery-container,
  .elementor-widget-eael-filterable-gallery .eael-filter-gallery-container,
  .elementor-grid-4 .eael-filter-gallery-container,
  .elementor-grid-2 .eael-filter-gallery-container {
    grid-template-columns: 1fr;
  }

  .about-box .about-box-row {
    width: 100% !important;
  }

  .about-box .about-box-row .elementor-text-editor a {
    min-height: 0;
    padding: 22px 14px 18px !important;
  }

  .about-layout .abt-col-left,
  .about-layout .abt-col-right {
    width: 100% !important;
  }

  .about-layout .abt-col-left {
    margin-bottom: 20px;
  }
}
