/*
 * refine.css - Phase 2 Design Refinement
 * Applied to Acrest Top Page
 */

/* =========================================================
   COLOR SYSTEM v14 - 役割ベース統一カラー
   ========================================================= */
:root {
  --acrest-content-width: 1216px;
  /* BASE */
  --color-bg-main:       #ffffff;
  --color-bg-sub:        #f5f5f5;

  /* TEXT */
  --color-text-main:     #222222;
  --color-text-sub:      #666666;

  /* ACCENT（既存赤を弱化・落ち着かせた値） */
  --color-accent:        #b45a5a;

  /* UI STATE */
  --color-ui-selection:  rgba(0, 0, 0, 0.08);
}

/* 1. Typography & Body Spacing */
#main, #main p, .iconbox_content p {
    line-height: 1.8;
    letter-spacing: 0.01em; /* Subtle widening for readability */
}

#main p {
    margin-bottom: 1.5em; /* Increased spacing between paragraphs */
}

/* 2. Headings & Section Titles */
.av_textblock_section h2, 
.av_textblock_section h3, 
.iconbox_content_title {
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* 3. Iconbox Hover Interaction (Subtle) */
.iconbox_content {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.iconbox_content:hover {
    transform: translateY(-2px); /* High-quality subtle lift */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04); /* Ultra-light shadow */
}

/* 4. Image Soft Edges (Excluding Brands/Sliders) */
/* Apply to general image containers and gallery items */
.avia_image:not(.ls-l):not(.ls-bg),
.avia-gallery img {
    border-radius: 4px;
}

/* Explicitly ensure Brand/Slider/Office logos remain sharp (as requested) */
#header .logo img,
#layer_slider_1 img,
.avia-testimonial-image img {
    border-radius: 0;
}

/* =========================================================
   PHASE 12 - Modern UI Foundation (STEP 1)
   Non-destructive / Minimal Impact
   ========================================================= */

/* CSS Variables */
:root {
  --acrest-font-serif: "Noto Serif JP", serif;
  --acrest-font-sans: "Noto Sans JP", sans-serif;
  --acrest-color-main: #2f4f3f;
  --acrest-color-accent: #b08a4a;
  --acrest-color-bg-soft: #f7f5ef;
  --acrest-color-text: #333333;
}

/* Base Typography (low impact) */
body {
  font-family: var(--acrest-font-sans);
  color: var(--acrest-color-text);
}

/* Heading Font (light override only) */
h1,
h2,
h3,
.av-special-heading-tag {
  font-family: var(--acrest-font-serif);
}

/* Minimal spacing adjustment */
.container_wrap {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* =========================================================
   PHASE 12 - Hero Visual
   ========================================================= */

.acrest-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url("../images/nikaryo.jpg");
  background-size: cover;
  background-position: center;
}

/* ① ヒーロー視認性改善：黒オーバーレイ */
.acrest-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.acrest-hero__inner {
  position: absolute;
  bottom: 40px;
  left: max(40px, calc((100vw - var(--acrest-content-width)) / 2));
  color: #ffffff;
  z-index: 2; /* オーバーレイより前面 */
}

/* ② ヒーロー文字視認性改善：text-shadow */
.acrest-hero__title {
  font-size: 32px;
  margin: 0 0 20px 0;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.30);
}

.acrest-hero__subtitle {
  font-size: 14px;
  margin: 0 0 12px 0;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.30);
}

.acrest-hero__note {
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.30);
}

.acrest-hero__cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}

.acrest-btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
}

.acrest-btn--primary {
  background: var(--acrest-color-accent);
  color: #fff;
}

.acrest-btn--secondary {
  background: rgba(255,255,255,0.85);
  color: #333;
}

/* =========================================================
   PHASE 12 - Hide LayerSlider (Safe)
   ========================================================= */

#layer_slider_1 {
  display: none;
}

.acrest-features {
  padding: 40px 20px;
  background: #f7f7f7;
  margin-top: -20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.acrest-features__inner {
  display: flex;
  gap: 32px;
  max-width: var(--acrest-content-width);
  margin-left: auto;
  margin-right: auto;
}

.acrest-feature {
  flex: 1;
  padding: 0 16px;
}

.acrest-feature h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.acrest-feature p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.55);
}

.acrest-hero {
  margin-bottom: 0;
}

@media (max-width: 768px) {

  .acrest-features__inner {
    flex-direction: column;
  }

}

.acrest-vacancy-title {
  margin-bottom: 8px;
}

.acrest-vacancy-lead {
  margin-bottom: 16px;
  font-size: 14px;
}

.acrest-vacancy-cta {
  margin-top: 20px;
}

.acrest-agency-links {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 仲介会社セクション バランス調整 */

.alternate_color .av_one_fourth {
  display: flex;
  justify-content: center;
}

.alternate_color .av_one_fourth > div {
  max-width: 260px;
  text-align: center;
}

/* カラム全体を中央寄せ */

.alternate_color .flex_column {
  justify-content: center;
}

/* 仲介会社セクション 再修正 */

/* 親コンテナ拡張（PHASE 14 幅最適化：1160px）*/
#av_section_3 .container {
  max-width: 1160px;
  margin: 0 auto;
}

/* 3カラム強制 */
#av_section_3 .flex_column {
  display: flex;
  justify-content: space-between;
}

/* 各カード */
#av_section_3 .av_one_fourth {
  flex: 1;
  max-width: 30%;
}

/* カード内は左寄せに戻す */
#av_section_3 .av_one_fourth * {
  text-align: left;
}

/* 画像とテキスト整列 */
#av_section_3 .av_one_fourth img {
  margin-bottom: 10px;
}

/* 行コンテナを flex に変更（3カラム横並び） */
#av_section_3 .avia-testimonial-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.acrest-agency-card {
  position: relative;
  padding: 20px;
  transition: background 0.2s;
  cursor: pointer;
}

.acrest-agency-card:hover {
  background: rgba(255,255,255,0.05);
}

/* stretched link: avia-testimonial-link がカード全体を覆う */
.acrest-agency-card .avia-testimonial-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* =========================================================
   PHASE 14 - CONTACT Section: acrest-sc.jp 完全準拠
   ========================================================= */

#av_section_3 .sc-flex-wrap {
  display: flex;
  margin-top: 50px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

#av_section_3 .sc-s-box {
  width: auto;
  margin-right: 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
  padding-bottom: 15px;
}

#av_section_3 .sc-link-box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.5s;
}

#av_section_3 .sc-link-box:hover {
  opacity: 0.6;
}

#av_section_3 .sc-image {
  width: 100px;
  margin: 0 25px 0 0;
}

#av_section_3 .sc-image img {
  width: 100%;
  height: auto;
}

#av_section_3 .sc-name {
  width: calc(100% - 125px);
  margin-top: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #fff;
  text-align: left;
  overflow: visible;
}

#av_section_3 .sc-bold {
  font-size: 17px;
  font-weight: 600;
  line-height: 2;
}

#av_section_3 .sc-logo {
  width: 30%;
  text-align: right;
  position: relative;
  margin: 0;
}

#av_section_3 .sc-logo img {
  width: 200px;
  height: auto;
  position: absolute;
  right: 0;
  bottom: 0;
}

@media only screen and (max-width: 767px) {
  #av_section_3 .sc-s-box {
    width: 90%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #av_section_3 .sc-image {
    width: 80px;
    margin-right: 20px;
  }
  #av_section_3 .sc-name {
    width: calc(100% - 100px);
    margin-top: 12px;
  }
  #av_section_3 .sc-logo {
    width: 100%;
    text-align: center;
    position: static;
    margin-top: 30px;
  }
  #av_section_3 .sc-logo img {
    position: static;
    width: 150px;
  }
}

/* =========================================================
   PHASE 14 - CONTACT layout fix: 3 agencies + lower right logo
   ========================================================= */

.sc-contact-wrap { max-width: 1180px; margin: 0 auto; }

.sc-agency-row {
  display: flex;
  justify-content: flex-start;
  gap: 36px;
}

.sc-agency-row .sc-s-box {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 120px;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 28px 0;
}

.sc-link-box {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  text-decoration: none;
  transition: opacity 0.5s;
}

.sc-link-box:hover { opacity: 0.6; }

.sc-image { flex: 0 0 70px; }

.sc-image img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.sc-name { text-align: left; color: #fff; margin-top: 5px; }

.sc-name strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.sc-name p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.sc-logo-row {
  margin-top: 48px;
  text-align: right;
}

.sc-logo-row img {
  width: 190px;   /* 260px × 85% */
  height: auto;
}

@media (max-width: 768px) {
  .sc-agency-row {
    flex-direction: column;
    gap: 20px;
  }
  .sc-agency-row .sc-s-box { width: 100%; }
  .sc-logo-row { text-align: center; }
  .sc-logo-row img { max-width: 70%; }
}

/* =========================================================
   PHASE 14 - CONTACT final polish: header + border
   ========================================================= */

.acrest-contact-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
  color: #fff;
}

.acrest-contact-header h2 {
  font-size: 40px;
  letter-spacing: 2px;
  margin: 0;
  color: #fff;
  font-family: var(--acrest-font-sans);
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.4);
}

.acrest-contact-header p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.sc-contact-wrap {
  border-top: none;
  padding-top: 0;
}

.sc-image img {
  width: 70px;
  height: 70px;
}

/* =========================================================
   PHASE 14 - Typography final: acrest-sc準拠
   ========================================================= */

body {
  font-family: 'Noto Sans JP', sans-serif;
}

.acrest-contact-header h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 1px;
}

.acrest-contact-header p {
  font-size: 16px;
  line-height: 2.0;
  color: rgba(255,255,255,0.85);
}

.sc-name strong {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.sc-name p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}

.sc-agency-row .sc-s-box {
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* =========================================================
   PHASE 14 - COMPLETE MATCH: acrest-sc.jp 実測値で完全一致
   =========================================================
   src: https://acrest-sc.jp/asset/css/main.css
   .footer .wrap .sec_title_box / .flex_wrap 系
   ========================================================= */

/* --- 見出しブロック（acrest-sc準拠: inline-block + vertical-align: bottom） --- */
.acrest-contact-header {
  display: block;          /* flex解除→inline-block方式に切替 */
  margin-bottom: 50px;
  line-height: 0;          /* inline-block間の余白除去 */
}

.acrest-contact-header h2 {
  display: inline-block;
  vertical-align: bottom;
  font-family: 'Noto Serif JP', serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 2px;
  margin: 0;
  margin-right: 20px;
  padding-right: 20px;
  border-right: none;
  position: relative;
  color: #fff;
}

.acrest-contact-header h2::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 50px;
  background-color: rgba(255,255,255,0.4);
  right: 0;
  top: 5px;
}

/* sub text */
.acrest-contact-header p {
  display: inline-block;
  vertical-align: bottom;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  padding-bottom: 5px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* --- カードボックス --- */
.sc-agency-row .sc-s-box {
  padding-top: 15px;
  padding-bottom: 15px;
  min-height: unset;
}

/* --- リンクボックス --- */
.sc-link-box {
  flex-wrap: nowrap;
  align-items: center;
}

/* --- アイコン画像 --- */
.sc-image {
  flex: unset;
  width: 100px;
  margin-right: 25px;
}

.sc-image img {
  width: 100px;
  height: 100px;  /* 円形を維持しつつ実寸100px */
  object-fit: cover;
  border-radius: 50%;
}

/* --- 会社名ブロック --- */
.sc-name {
  width: calc(100% - 125px);
  margin-top: 0;
  font-size: 15px;
  line-height: 1.5;
}

.sc-name strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 2;
  color: #ffffff;
}

.sc-name p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}

/* Avia .template-page h2 { letter-spacing:1px } を ID詳細度で上書き */
#av_section_3 .acrest-contact-header h2 {
  letter-spacing: 2px;
  text-transform: none;
}

/* Avia .avia_textblock p { margin-bottom: 1.5em } を ID詳細度で除去 */
#av_section_3 .acrest-contact-header p {
  margin-bottom: 0;
}

/* =========================================================
   PHASE 14 - FINAL LAYOUT FIX: 密度・整列・画像
   ========================================================= */

/* sc-image: flex-shrink禁止（78px→100px修正）*/
.sc-image {
  flex: 0 0 100px;
  width: 100px;
  margin-right: 25px;
}

/* sc-link-box: 二重gapを除去 */
#av_section_3 .sc-link-box {
  gap: 0;
  align-items: center;
}

/* sc-name: 横並び時のmargin-top除去、左揃え固定 */
.sc-name {
  margin-top: 0;
  text-align: left;
  width: calc(100% - 125px);
  overflow: hidden;
}

/* 3カラム均等（flex:1維持 + 幅明示） */
.sc-agency-row {
  gap: 5%;
}

.sc-agency-row .sc-s-box {
  flex: 1;
  min-width: 0;   /* flex子要素の折り返し防止 */
}

/* =========================================================
   PHASE 14 - FINAL POLISH: テキスト幅・ホバー・ロゴ
   ========================================================= */

/* ① 画像80px縮小 → テキストエリア拡張（92px確保→名前178px） */
.sc-image {
  flex: 0 0 80px;
  width: 80px;
  margin-right: 12px;
}

.sc-image img {
  width: 80px;
  height: 80px;
}

/* 名前エリアをimage+margin(92px)に合わせて再計算 */
#av_section_3 .sc-name {
  width: calc(100% - 92px);
}

/* ③ ホバー: acrest-sc準拠 opacity 0.75 / transition 0.3s */
#av_section_3 .sc-link-box {
  transition: opacity 0.3s;
}

#av_section_3 .sc-link-box:hover {
  opacity: 0.75;
}

/* ④ ロゴ: text-align:right で右端一致（確認済み diff:0.0px）*/
.sc-logo-row {
  text-align: right;
  margin-top: 40px;
}

/* =========================================================
   PHASE 15 - アンカー位置補正 & スムーズスクロール
   固定ヘッダー高さ: 62px + 余白20px = 82px
   ========================================================= */

html {
  scroll-behavior: smooth;
}

#acrest-vacancy,
#contact,
#acrest-contact {
  scroll-margin-top: 82px;
}

/* ==========================================================
   武蔵小杉シルエット：CONTACT外・copyright上
   ゾーン = height:0 のゼロ高さ要素。シルエットが上方向に伸びる
   ========================================================== */

/* CONTACT セクションは overflow visible に変更不要（外から重ねるのみ） */

/* =========================================
   最終版：フッター上シルエット
   ========================================= */

#wrap_all,
#top {
  overflow: visible !important;
}

#av_section_3 {
  position: relative;
  overflow: visible !important;
}

#av_section_3 .container,
#av_section_3 .flex_column {
  overflow: visible !important;
}

#av_section_3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 25px;

  width: 100%;
  padding-top: 17.2vw; /* 画像比率 264/1536 = 0.172 に一致 */

  background-image: url("../images/footer-silhouette-clean.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left bottom;

  opacity: 0.75;
  z-index: 1;

  pointer-events: none;
}

#av_section_3 .container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   COLOR SYSTEM v14 - STEP 2〜6 適用
   ========================================================= */

/* STEP 2: テキスト統一 */
body {
  color: var(--color-text-main);
}



/* STEP 3: グレー背景統一（#f5f5f5 に揃える） */
.acrest-features {
  background: var(--color-bg-sub);
}

/* STEP 4: アクセントカラー整理（既存の赤ズレを修正） */
a {
  color: var(--color-accent);
}

/* STEP 5: 選択色（強い赤を排除） */
::selection {
  background: var(--color-ui-selection);
  color: inherit;
}

/* STEP 6: hover（色変更ではなく opacity で統一） */
a:hover {
  opacity: 0.7;
  color: inherit;
}

/* =========================================================
   PHASE 14 - Header Visibility & UI Cleanup
   ========================================================= */

/* ヘッダー透過の無効化 */
.header_bg {
  background: #ffffff !important;
}

#header {
  background: #ffffff !important;
}

#header_main {
  background: #ffffff !important;
}

.html_header_transparency #header {
  background: #ffffff !important;
}

/* 検索アイコンの非表示 */
.header-search,
#menu-item-search {
  display: none !important;
}

/* PC/スマホ全デバイスでのヘッダー透過完全無効化（不透明度1を強制） */
html.html_header_transparency #header,
html.html_header_transparency_desktop #header,
html.html_header_transparency #header_main,
html.html_header_transparency_desktop #header_main {
  background: #ffffff !important;
  opacity: 1 !important;
}

#header,
#header_main,
.header_bg {
  background: #ffffff !important;
  opacity: 1 !important;
}

/* =========================================================
   PHASE 14 - Header Height Unification (about standard)
   ========================================================= */

/* パディング調整を削除（テーマのデフォルトも打ち消し） */
#header_main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ヘッダー高さを構造で固定（about基準 80px） */
#header_main .container,
#header_main .inner-container {
  min-height: 80px !important;
  display: flex !important;
  align-items: center !important;
}

/* =========================================================
   PHASE 14 - Hero Alignment Adjustment
   ========================================================= */

/* 不要になったセクション幅制限（720px）を解除 */
#top .av-section .container .content {
  max-width: none !important;
}

/* =========================================================
   PHASE 15 - Gallery Hover Unification
   ========================================================= */

/* ギャラリーリンクのラッパー：画像拡大時のハミ出し防止 */
.avia-gallery a.lightbox {
  display: block;
  overflow: hidden !important;
  border-radius: 4px; /* 既存の角丸指定を維持 */
}

/* 画像のアニメーション統一（STEP 4） */
.avia-gallery a.lightbox img {
  transform: scale(1) !important;
  transition: transform 0.3s ease !important;
}

.avia-gallery a.lightbox:hover img {
  transform: scale(1.05) !important;
}

/* オーバーレイ統一（STEP 1, 2, 4） */
/* JSによるインラインopacityアニメーションを強制上書き */
.avia-gallery a.lightbox .image-overlay {
  background: rgba(0, 0, 0, 0.45) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.avia-gallery a.lightbox:hover .image-overlay {
  opacity: 1 !important;
}

/* アイコン統一（STEP 1, 3） */
/* 既存の個別カラー（青・赤）を消去し、56pxの円形・中央配置に統一 */
.avia-gallery a.lightbox .image-overlay .image-overlay-inside::before {
  color: #ffffff !important;
  background-color: transparent !important; /* 既存背景色削除 */
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important; /* 円形 */
  border: 1px solid #ffffff !important; /* 高級感のある白枠 */
  
  /* 中央配置の確実な適用 */
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  
  /* アイコン自体のセンタリング */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
}

/* =========================================================
   PHASE 16 - Features Link Button
   ========================================================= */
.acrest-link-button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #a85a5a;
  color: #a85a5a !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 12px; /* 視認性と余白確保のため追加 */
  transition: all 0.25s ease;
}

.acrest-link-button:hover {
  background: #a85a5a;
  color: #ffffff !important;
}

.avia-last-testimonial img {
  max-height: 88px;
  width: auto;
}

/* =========================================================
TOPフッター：ポンポン表示（初期状態）
========================================================= */

#av_section_3 .sc-s-box {
  opacity: 0;
  transform: scale(0.5);
}

/* =========================================================
アニメーション発火クラス
========================================================= */

#av_section_3 .sc-s-box.acrest-animate-in {
  animation: acrest-appear 0.9s cubic-bezier(0.175, 0.885, 0.320, 1.275) forwards;
}

/* =========================================================
keyframes（Enfold挙動に準拠）
========================================================= */

@keyframes acrest-appear {
  0% {
    opacity: 0.1;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================================================
   PHASE 15 - Gallery Thumbnail Opacity Fix
   Force full opacity for gallery thumbnails after disabling JS
   ========================================================= */

.avia-gallery img,
.avia-gallery-thumb img,
.avia-gallery-thumb a,
.avia-gallery-thumb {
    opacity: 1 !important;
}

.avia-gallery-thumb a {
    cursor: pointer;
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.avia-gallery-thumb a img {
    opacity: 1 !important;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.avia-gallery-thumb a:hover img {
    opacity: 1 !important;
    filter: brightness(0.88) contrast(1.05);
    transform: scale(1.02);
}

.avia-gallery-thumb a:hover {
    opacity: 1 !important;
}

/* Hide legacy Enfold round icons while allowing overlay meaning */
.image-overlay-inside {
    display: none !important;
}


