/* ============================================================
   Gmail to Google Workspace Migration — full designed page.
   Theme based on the Google Workspace Migration Tool page
   (g-suite-migration-overview.css): blue theme, soft-shadow
   15px cards, a Google four-colour icon-tile palette, styled
   data table, numbered steps, tick checklists, two-col FAQ.
   Scoped to .main-gmail-gws.
   ============================================================ */

:root {
  --themeColorGrad: #e8eff6;
  --themeColorDark: #5379d3;
  --themeButtonHover: #0065a9;
  --themeColorBC: #e3ebfa;
  --themeColorBC_B: #d4edf9;
  --themePriceColor: #f15875;
}

.main-gmail-gws { color: #333; }
.main-gmail-gws section.common_bg { background: #f4f7fd; }

/* ---- Headings ---- */
.main-gmail-gws .h3-title-heading { color: #26324a; font-weight: 600; line-height: 1.3; }
.main-gmail-gws .h3-title-heading span { color: var(--themeColorDark); }
.main-gmail-gws .h3-title-heading.txt-center::after {
  content: ""; display: block; width: 56px; height: 3px; border-radius: 2px;
  background: var(--themeColorDark); margin: 14px auto 0;
}
.main-gmail-gws .subtitle-style {
  max-width: 740px; margin: 16px auto 0; color: #5c6473;
  font-weight: 400; line-height: 1.65; text-align: center;
}

/* ---- Buttons ---- */
.main-gmail-gws .button-new {
  display: inline-flex; align-items: center; gap: 8px;
   color: #fff; font-weight: 600;
  padding: 14px 32px; border-radius: 8px; text-decoration: none; border: none;
  transition: background .2s ease, transform .2s ease;
}
.main-gmail-gws .button-new:hover { background: var(--themeButtonHover); color: #fff; transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.main-gmail-gws .gmail-gws-intro { overflow: hidden; }
.main-gmail-gws .gmail-gws-intro .h3-title-heading { font-size: 30px; }

/* FIX: align the two hero columns to the TOP (was align-items:center,
   which vertically centred the short tab/text column against the much
   taller illustration — leaving a gap above the tabs and letting the
   image float up past the text). flex-start pins both columns' tops. */
.main-gmail-gws .pst-recovery-intro-flex {
  display: flex;
  align-items: flex-start;      /* was: center  */
  gap: 40px;
  margin-top: 30px;
}
.header-content .videos_img_list {
    background: url(/template/default/images/gsuite-o365-banner.webp) center no-repeat;
}
.main-gmail-gws .pst-recovery-intro-flex .one_half {
  flex: 1 1 0; width: auto; min-width: 0; float: none; margin: 0;
  box-sizing: border-box;       /* stop padding from pushing past 50% */
}

.main-gmail-gws .ost-slide-list {
  display: flex; flex-wrap: wrap; gap: 24px; list-style: none;
  padding: 0; margin: 0 0 26px; border-bottom: 1px solid #d5ddec;
}
.main-gmail-gws .ost-slide-list li {
  position: relative; padding: 0 2px 16px; font-size: 17px; font-weight: 400;
  letter-spacing: .4px; color: #7e899b; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s ease, border-color .2s ease;
}
.main-gmail-gws .ost-slide-list li:hover { color: var(--themeColorDark); }
.main-gmail-gws .ost-slide-list li.active { color: var(--themeColorDark); font-weight: 600; border-bottom-color: var(--themeColorDark); }
.main-gmail-gws .ost-slide-list li.active::before {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border-left: 9px solid transparent; border-right: 9px solid transparent;
  border-top: 12px solid var(--themeColorDark);
}
.main-gmail-gws .slide-image-block { display: none; }
.main-gmail-gws .slide-image-block.active { display: block; }
.main-gmail-gws .text-section h3 { font-size: 20px; font-weight: 600; color: #26324a; margin: 0 0 12px; }
.main-gmail-gws .text-section .sub-para { color: #5c6473; line-height: 1.65; margin: 0 0 20px; }

/* FIX: constrain the hero illustration so a tall source image can't
   overrun its column and overlap neighbouring content. */
.main-gmail-gws .o365-migrations { position: relative; }
.main-gmail-gws .o365-migrations img {
  display: block; max-width: 100%; height: auto; width: auto;
  max-height: 440px; margin: 0 auto;
  border-radius: 15px;
   /* box-shadow: 0 10px 30px rgba(83, 121, 211, .14); */
}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.main-gmail-gws .edb-holder,
.main-gmail-gws .reason-holder {
  display: grid; 
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; margin-top: 38px; align-items: stretch;
}
.main-gmail-gws .reason-holder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.main-gmail-gws .edb-holder .one-third-block,
.main-gmail-gws .reason-holder .first-block {
  box-sizing: border-box; float: none; width: auto; margin: 0;
  background: #fff; border: 1px solid var(--themeColorBC); border-radius: 15px;
  padding: 24px 22px; box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.main-gmail-gws .edb-holder .one-third-block:hover,
.main-gmail-gws .reason-holder .first-block:hover {
  transform: translateY(-4px); box-shadow: 0 10px 26px rgba(83, 121, 211, .14);
  border-color: var(--themeColorBC_B);
}
.main-gmail-gws .edb-holder .one-third-block h3,
.main-gmail-gws .reason-holder .first-block h4 {
  margin: 0 0 10px; font-size: 16.5px; font-weight: 600; color: #26324a; line-height: 1.4;
}
.main-gmail-gws .edb-holder .one-third-block p,
.main-gmail-gws .reason-holder .first-block p { margin: 0; color: #5c6473; font-size: 14.5px; line-height: 1.6; }
.main-gmail-gws .edb-holder .one-third-block a,
.main-gmail-gws .reason-holder .first-block a { color: var(--themeColorDark); font-weight: 600; text-decoration: none; }
.main-gmail-gws .edb-holder .one-third-block a:hover,
.main-gmail-gws .reason-holder .first-block a:hover { text-decoration: underline; }

/* ---- Icon tiles — Google four-colour palette ---- */
.main-gmail-gws .card-ico {
  display: flex; width: 48px; height: 48px; border-radius: 12px;
  align-items: center; justify-content: center; margin: 0 0 14px; flex: 0 0 auto;
}
.main-gmail-gws .card-ico svg { width: 24px; height: 24px; display: block; }
.main-gmail-gws .reason-holder .first-block:nth-child(4n+1) .card-ico,
.main-gmail-gws .edb-holder .one-third-block:nth-child(3n+1) .card-ico { background: #dbe7fb; color: #2b5fc4; }
.main-gmail-gws .reason-holder .first-block:nth-child(4n+2) .card-ico,
.main-gmail-gws .edb-holder .one-third-block:nth-child(3n+2) .card-ico { background: #fbdedb; color: #c33d2e; }
.main-gmail-gws .reason-holder .first-block:nth-child(4n+3) .card-ico,
.main-gmail-gws .edb-holder .one-third-block:nth-child(3n+3) .card-ico { background: #fcf0cc; color: #a97f10; }
.main-gmail-gws .reason-holder .first-block:nth-child(4n+4) .card-ico { background: #d9efdd; color: #2f8a46; }

.otherlinks a.icon-nsf-converter:before {background-position: 6px -39px !important;}
.otherlinks a.icon-tasks:before {background-position: 4px -775px !important;}
.otherlinks a.icon-cloud-2:before {background-position: 4px -318px !important;}
.otherlinks a.icon-export-3:before {background-position: 5px -716px !important;}
.otherlinks a.icon-duplicates:before {background-position: 5px -745px !important;}
.otherlinks a.icon-workspace:before {background-position: 5px -684px !important;}
.otherlinks a.icon-export-2:before {
    background-position: 4px -802px !important;
}
/* ============================================================
   TICK CHECKLISTS  (.list-ul.check-list)
   ============================================================ */
.main-gmail-gws .check-list {
  list-style: none; max-width: 820px; margin: 34px auto 0; padding: 26px 28px;
  background: #fff; border: 1px solid var(--themeColorBC); border-radius: 15px;
  box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.05);
}
.main-gmail-gws .check-list li {
  position: relative; padding: 10px 0 10px 40px; line-height: 1.55; color: #45506a;
  border-bottom: 1px solid #eef1f8;
}
.main-gmail-gws .check-list li:last-child { border-bottom: none; }
.main-gmail-gws .check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 26px; height: 26px;
  border-radius: 50%; background: #d9efdd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8a46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 15px 15px;
}

/* ============================================================
   DATA TABLE  (.spec-table)
   ============================================================ */
.main-gmail-gws .gmail-gws-table {
  margin: 34px 0 0; overflow-x: auto; border-radius: 12px; border: 1px solid var(--themeColorBC);
}
.main-gmail-gws .spec-table {
  width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; background: #fff;
}
.main-gmail-gws .spec-table thead th {
  background: var(--themeColorDark); color: #fff; font-weight: 600; text-align: left;
  padding: 14px 18px; border-right: 1px solid rgba(255,255,255,.15);
}
.main-gmail-gws .spec-table thead th:last-child { border-right: none; }
.main-gmail-gws .spec-table tbody td {
  padding: 13px 18px; border-bottom: 1px solid #eef1f8; border-right: 1px solid #f3f5fb;
  vertical-align: top; color: #4a5064; line-height: 1.55;
}
.main-gmail-gws .spec-table tbody td:last-child { border-right: none; }
.main-gmail-gws .spec-table tbody tr:nth-child(even) td { background: #f7f9fe; }
.main-gmail-gws .spec-table tbody tr:hover td { background: #eef3fd; }
.main-gmail-gws .spec-table tbody td:first-child { font-weight: 600; color: #26324a; }
.main-gmail-gws .spec-table tbody td strong { color: #2f8a46; }

/* ============================================================
   NUMBERED STEPS  (.three-steps-block.num-steps)
   ============================================================ */
.main-gmail-gws .pst-steps-holder { margin-top: 36px; }
.main-gmail-gws .pst-steps-holder .pst-half-block { float: none; width: 100%; margin: 0; }
.main-gmail-gws .num-steps {
  box-sizing: border-box; list-style: none; max-width: 860px; margin: 0 auto;
  padding: 30px 36px; background: #fff; border: 1px solid var(--themeColorBC);
  border-radius: 20px; box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.06);
  counter-reset: gw-step;
}
.main-gmail-gws .num-steps .pst-steps-block {
  position: relative; padding: 14px 0 14px 56px; min-height: 44px; margin: 0;
  line-height: 1.6; color: #45506a;
}
.main-gmail-gws .num-steps .pst-steps-block + .pst-steps-block { border-top: 1px solid #eef1f8; }
.main-gmail-gws .num-steps .pst-steps-block::before {
  counter-increment: gw-step; content: counter(gw-step);
  position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--themeColorDark); color: #fff; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   NOTE CALLOUT
   ============================================================ */
.main-gmail-gws .note-callout {
  max-width: 900px; margin: 0 auto; background: #fff;
  border: 1px solid var(--themeColorBC); border-left: 4px solid var(--themeColorDark);
  border-radius: 12px; padding: 26px 30px; box-shadow: 0 0 8.28px 0.72px rgb(4 4 4 / 0.05);
}
.main-gmail-gws .note-callout .h3-title-heading { font-size: 20px; text-align: left; margin: 0 0 10px; }
.main-gmail-gws .note-callout .h3-title-heading::after { display: none; }
.main-gmail-gws .note-callout p { margin: 0; color: #5c6473; line-height: 1.7; }
.main-gmail-gws .note-callout a { color: var(--themeColorDark); font-weight: 600; text-decoration: none; }
.main-gmail-gws .note-callout a:hover { text-decoration: underline; }

/* ============================================================
   SUPPORT STRIP
   ============================================================ */
.main-gmail-gws .license-customer-support { background: var(--themeColorDark); padding: 26px 0; }
.main-gmail-gws .license-customer-support .main-holder {
  display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap;
}
.main-gmail-gws .license-customer-support .three-section { float: none; width: auto; margin: 0; }
.main-gmail-gws .license-customer-support .txt-section { margin: 0; }
.main-gmail-gws .license-customer-support .txt-section a { color: #fff; font-weight: 600; text-decoration: none; }
.main-gmail-gws .license-customer-support .txt-section a:hover { text-decoration: underline; }

/* ============================================================
   FAQ
   ============================================================ */
.main-gmail-gws .faq-question-holder { display: flex; gap: 26px; margin-top: 34px; align-items: flex-start; }
.main-gmail-gws .faq-question-holder .one_half { flex: 1 1 0; width: auto; min-width: 0; float: none; margin: 0; list-style: none; padding: 0; }
.main-gmail-gws .accordion-item {
  box-sizing: border-box; background: #fff; border: 1px solid var(--themeColorBC);
  border-radius: 12px; margin-bottom: 14px; overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.main-gmail-gws .accordion-item:hover { border-color: var(--themeColorBC_B); box-shadow: 0 4px 14px rgba(83,121,211,.08); }
.main-gmail-gws .accordion-title { position: relative; padding: 16px 48px 16px 18px; cursor: pointer; }
.main-gmail-gws .accordion-title p { margin: 0; font-size: 15.5px; font-weight: 600; color: #26324a; line-height: 1.45; }
.main-gmail-gws .accordion-title::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 400; color: var(--themeColorDark); line-height: 1;
}
.main-gmail-gws .accordion-item.open .accordion-title::after,
.main-gmail-gws .accordion-item.active .accordion-title::after { content: "\2212"; }
.main-gmail-gws .accordion-content { padding: 0 18px 16px; }
.main-gmail-gws .accordion-content p { margin: 0; color: #5c6473; font-size: 14.5px; line-height: 1.65; }
.main-gmail-gws .prod-migration-box .blue-font { color: var(--themeColorDark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media only screen and (max-width: 991px) {
  .main-gmail-gws .edb-holder,
  .main-gmail-gws .reason-holder { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .main-gmail-gws .pst-recovery-intro-flex,
  .main-gmail-gws .faq-question-holder { flex-direction: column; gap: 28px; }
  /* stacked hero: let the illustration use full width cleanly */
  .main-gmail-gws .o365-migrations img { max-height: none; }
}
@media only screen and (max-width: 600px) {
  .main-gmail-gws .edb-holder,
  .main-gmail-gws .reason-holder { grid-template-columns: 1fr; gap: 16px; }
  .main-gmail-gws .ost-slide-list { gap: 16px; }
  .main-gmail-gws .ost-slide-list li { font-size: 15px; }
  .main-gmail-gws .num-steps { padding: 24px 18px; }
  .main-gmail-gws .license-customer-support .main-holder { gap: 18px 22px; }
}