@charset "utf-8";

/* ============================================================
   Homepage introduction with electrician image — consolidated
   ============================================================ */

#tag_content,
#tag_content * {
  box-sizing: border-box;
}

#tag_content {
  --tag-bg-top: #e4e8ed;
  --tag-bg-middle: #dce1e6;
  --tag-bg-bottom: #d4dae1;

  --tag-heading: #26364a;
  --tag-text: #405064;
  --tag-muted: #566476;

  --tag-orange: #d06f26;
  --tag-line: rgba(38, 54, 74, 0.16);
  --tag-hover: rgba(255, 255, 255, 0.38);

  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;

  color: var(--tag-text);
  background:
    linear-gradient(
      180deg,
      var(--tag-bg-top) 0%,
      var(--tag-bg-middle) 55%,
      var(--tag-bg-bottom) 100%
    );

  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid var(--tag-line);
    
    }


/* ============================================================
   Subtle background grid
   ============================================================ */

#tag_content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(38, 54, 74, 0.025) calc(100% - 1px)
    ),
    linear-gradient(
      0deg,
      transparent 0,
      transparent calc(100% - 1px),
      rgba(38, 54, 74, 0.025) calc(100% - 1px)
    );

  background-size: 52px 52px;
  opacity: 0.45;
  pointer-events: none;
}


/* ============================================================
   Main layout
   ============================================================ */

#tag_text {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(340px, 0.72fr)
    minmax(520px, 1.12fr)
    minmax(350px, 0.72fr);
  align-items: stretch;
  gap: 38px;

  width: 100%;
  min-height: 230px;
  margin: 0 auto;
  padding: 0 36px 0 0;
}


/* ============================================================
   Electrician image
   ============================================================ */

#tag_content .tag_image {
  position: relative;
  align-self: stretch;

  width: 100%;
  min-width: 0;
  min-height: 230px;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(220, 225, 230, 0) 0%,
      rgba(220, 225, 230, 0) 70%,
      rgba(220, 225, 230, 0.45) 84%,
      rgba(220, 225, 230, 0.88) 94%,
      rgba(220, 225, 230, 1) 100%
    ),
    url("../images/home_page/tag-image.webp");

  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
    
}

/*
  Optional subtle bottom blend. This helps the desk merge into the
  lower edge without changing the image itself.
*/

#tag_content .tag_image::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 28%;

  background:
    linear-gradient(
      180deg,
      rgba(212, 218, 225, 0),
      rgba(212, 218, 225, 0.16)
    );

  pointer-events: none;
}


/* ============================================================
   Introductory copy
   ============================================================ */

#tag_content .tag_intro {
  position: relative;
  align-self: center;

  min-width: 0;
  padding: 30px 0 30px 20px;

  text-align: left;
}

#tag_content .tag_intro::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 0;

  width: 3px;

  background: var(--tag-orange);
  border-radius: 3px;
}

#tag_content h1 {
  margin: 0 0 7px;
  padding: 0;

  color: var(--tag-heading);

  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.75rem, 2.05vw, 2.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;

  text-align: left;
  text-shadow: none;
  text-transform: none;
  white-space: nowrap;
}

#tag_content .tag_intro p {
  max-width: 720px;
  margin: 0;
  padding: 0;

  color: var(--tag-muted);

  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(0.94rem, 1vw, 1.06rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;

  text-align: left;
  text-shadow: none;
}


/* ============================================================
   Product navigation
   ============================================================ */

#tag_content .tag_product_links {
  align-self: center;
  justify-self: end;

  display: grid;
  grid-template-columns: 1fr;
  gap: 0;

  width: 100%;
  max-width: 440px;
  min-width: 0;
  padding: 24px 0;
}

#tag_content .tag_product_link {
  position: relative;

  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;

  min-height: 52px;
  padding: 9px 12px;

  color: var(--tag-heading);
  background: transparent;
  border-left: 2px solid transparent;

  font-family: "Inter", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.3;

  text-align: left;
  text-decoration: none;

  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    padding-left 180ms ease;
}

#tag_content .tag_product_link + .tag_product_link {
  border-top: 1px solid var(--tag-line);
}

#tag_content .tag_product_link:hover {
  padding-left: 17px;

  color: #172538;
  background: var(--tag-hover);
  border-left-color: var(--tag-orange);
}


/* Product icons */

#tag_content .tag_product_icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
}

#tag_content .tag_product_icon svg {
  width: 25px;
  height: 25px;

  fill: none;
  stroke: var(--tag-orange);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Product arrows */

#tag_content .tag_arrow {
  color: var(--tag-orange);

  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;

  transition: transform 180ms ease;
}

#tag_content .tag_product_link:hover .tag_arrow {
  transform: translateX(3px);
}


/* ============================================================
   Intermediate desktop
   ============================================================ */

@media screen and (max-width: 1450px) {

  #tag_text {
    grid-template-columns:
      minmax(300px, 0.62fr)
      minmax(470px, 1.08fr)
      minmax(320px, 0.7fr);

    gap: 28px;
    min-height: 220px;
    padding-right: 28px;
  }

  #tag_content .tag_image {
    min-height: 220px;
    background-position: 38% center;
  }

  #tag_content h1 {
    font-size: clamp(1.6rem, 2vw, 2.25rem);
  }
}


/* ============================================================
   Smaller desktop
   ============================================================ */

@media screen and (max-width: 1250px) {

  #tag_text {
    grid-template-columns:
      minmax(270px, 0.58fr)
      minmax(420px, 1fr)
      minmax(290px, 0.68fr);

    gap: 22px;
    min-height: 210px;
    padding-right: 24px;
  }

  #tag_content .tag_image {
    min-height: 210px;
    background-position: 36% center;
  }

  #tag_content .tag_intro {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  #tag_content .tag_intro::before {
    top: 25px;
    bottom: 25px;
  }

  #tag_content h1 {
    font-size: clamp(1.5rem, 2.1vw, 2.05rem);
    white-space: normal;
  }

  #tag_content .tag_product_link {
    font-size: 0.9rem;
  }
}


/* ============================================================
   Tablet
   ============================================================ */

@media screen and (max-width: 1000px) {

  #tag_text {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 0;

    max-width: none;
    min-height: 220px;
    padding: 0;
  }

  #tag_content .tag_image {
    grid-row: 1 / 3;

    min-height: 220px;

    background-image:
      linear-gradient(
        90deg,
        rgba(220, 225, 230, 0) 0%,
        rgba(220, 225, 230, 0) 64%,
        rgba(220, 225, 230, 0.68) 84%,
        rgba(220, 225, 230, 1) 100%
      ),
    url("../images/home_page/tag-image.webp");


    background-position: 36% center;
  }

  #tag_content .tag_intro {
    align-self: end;
    padding: 24px 24px 10px 42px;
  }

  #tag_content .tag_intro::before {
    top: 24px;
    bottom: 10px;
    left: 24px;
  }

  #tag_content .tag_product_links {
    align-self: start;
    justify-self: stretch;

    max-width: none;
    padding: 0 24px 18px;
  }

  #tag_content h1 {
    white-space: normal;
  }

  #tag_content .tag_product_link {
    min-height: 45px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}


/* ============================================================
   Mobile
   ============================================================ */

@media screen and (max-width: 700px) {

  #tag_text {
    display: block;
    min-height: 0;
  }

  #tag_content .tag_image {
    width: 100%;
    min-height: 190px;

    background-image:
      linear-gradient(
        180deg,
        rgba(220, 225, 230, 0) 0%,
        rgba(220, 225, 230, 0) 58%,
        rgba(220, 225, 230, 0.72) 84%,
        rgba(220, 225, 230, 1) 100%
      ),
    url("../images/home_page/tag-image.webp");

    background-position: center 32%;
    background-size: cover;
  }

  #tag_content .tag_intro {
    padding: 12px 18px 14px 31px;
  }

  #tag_content .tag_intro::before {
    top: 12px;
    bottom: 14px;
    left: 18px;
  }

  #tag_content h1 {
    margin-bottom: 6px;

    font-size: clamp(1.4rem, 6.8vw, 1.9rem);
    line-height: 1.12;
    white-space: normal;
  }

  #tag_content .tag_intro p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  #tag_content .tag_product_links {
    max-width: none;
    padding: 0 18px 16px;
  }

  #tag_content .tag_product_link {
    min-height: 44px;
    padding: 7px 4px;

    font-size: 0.9rem;
  }

  #tag_content .tag_product_link:hover {
    padding-left: 9px;
  }
}


/* ============================================================
   Narrow mobile
   ============================================================ */

@media screen and (max-width: 440px) {

  #tag_content .tag_image {
    min-height: 160px;
    background-position: center 28%;
  }

  #tag_content .tag_intro {
    padding-right: 16px;
    padding-left: 29px;
  }

  #tag_content .tag_intro::before {
    left: 16px;
  }

  #tag_content .tag_product_links {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* ============================================================
   CableCalc 18-4 homepage tile — consolidated
   ============================================================ */

#cablecalc_tile,
#cablecalc_tile * {
  box-sizing: border-box;
}

#cablecalc_tile {
  --cc-orange: #d06f26;
  --cc-orange-hover: #eb7d28;
  --cc-text: #ffffff;
  --cc-muted: rgba(255, 255, 255, 0.78);
  --cc-panel: rgba(4, 12, 24, 0.84);
  --cc-line: rgba(255, 255, 255, 0.16);

  position: relative;
  width: auto;
  max-width: 2400px;
  margin: 20px 20px 20px;
  padding: 58px 0 0;
  overflow: hidden;
  color: var(--cc-text);
  background-color: #071424;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 10, 20, 0.92) 0%,
      rgba(3, 10, 20, 0.72) 38%,
      rgba(3, 10, 20, 0.12) 70%,
      rgba(3, 10, 20, 0.04) 100%
    ),
    url("../images/home_page/cablecalc18-4-background.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 0;
}

/* Main layout */

#cablecalc_tile .cc184-layout {
  display: grid;
  grid-template-columns: minmax(410px, 0.9fr) minmax(560px, 1.1fr);
  align-items: end;
  min-height: 400px;
}

#cablecalc_tile .cablecalc_copy {`
  position: relative;
  z-index: 2;
  align-self: center;
  display: block;
  overflow: visible;
  width: auto;
  min-width: 0;
  max-width: 720px;
  margin: 10px 0 12px 28px;
  padding: 0px 34px 0px;
  text-align: left;
  background: none;
  border: 0;
  box-shadow: none;
}

/* Amendment 4 flag */

#cablecalc_tile .cc184-flag {
  position: absolute;
  z-index: 5;
  top: 38px;
  left: 0;
  display: flex;
  align-items: center;
  width: 360px;
  min-height: 42px;
  margin: 0;
  padding: 10px 38px 10px 28px;
  color: #fff;
  background: var(--cc-orange);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

#cablecalc_tile .cc184-flag::after {
  content: "";
  position: absolute;
  top: 0;
  right: -24px;
  width: 26px;
  height: 100%;
  background: var(--cc-orange);
  clip-path: polygon(0 0, 100% 0, 62% 100%, 0 100%);
}

/* Isolated product heading — protects against global header/h3/p rules */

#cablecalc_tile .cc184-heading {
  display: block;
  position: static;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0 0 18px;
  padding: 0;
  color: #fff;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  box-shadow: none;
  text-align: left;
  text-transform: none;
}

#cablecalc_tile .cc184-heading h3 {
  display: block;
  position: static;
  float: none;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent !important;
  background-image: none !important;
  border: 0;
  outline: 0;
  box-shadow: none;
  transform: none;
  font-family: "Manrope", Arial, sans-serif;
  font-size: inherit;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-align: left;
  text-transform: none;
  white-space: normal;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

#cablecalc_tile .cc184-product-name,
#cablecalc_tile .cc184-version {
  display: block;
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none;
  line-height: 0.7;
}

#cablecalc_tile .cc184-product-name {
  color: #fff;
  font-size: clamp(3rem, 4.7vw, 6.3rem);
}

#cablecalc_tile .cc184-version {
  margin-top: 8px;
  color: var(--cc-orange);
  font-size: clamp(3.8rem, 5.6vw, 7.3rem);
}

#cablecalc_tile .cc184-subheading {
  display: block;
  position: static;
  clear: both;
  width: auto;
  height: auto;
  margin: 20px 0 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.18rem, 1.45vw, 1.9rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
  text-shadow: none;
}

/* Regulations and intro */

#cablecalc_tile .cc184-regulations {
  clear: both;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 16px;
  padding: 14px 0 0;
  border-top: 2px solid var(--cc-orange);
  font-family: "Manrope", Arial, sans-serif;
  line-height: normal;
  text-transform: uppercase;
}

#cablecalc_tile .cc184-regulations span,
#cablecalc_tile .cc184-regulations strong {
  display: block;
  position: static;
  margin: 0;
  padding: 0;
  line-height: 1.25;
}

#cablecalc_tile .cc184-regulations span {
  color: var(--cc-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

#cablecalc_tile .cc184-regulations strong {
  color: #fff;
  font-size: clamp(1.25rem, 1.65vw, 2rem);
  letter-spacing: 0.005em;
}

#cablecalc_tile .cc184-intro {
  clear: both;
  max-width: 520px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--cc-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
}

/* Buttons */

#cablecalc_tile .cc184-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#cablecalc_tile .cc184-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 11px 19px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.13em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

#cablecalc_tile .cc184-button:hover {
  transform: translateY(-1px);
}

#cablecalc_tile .cc184-button-primary {
  color: #fff;
  background: var(--cc-orange);
  border-color: var(--cc-orange);
}

#cablecalc_tile .cc184-button-primary:hover {
  color: #fff;
  background: var(--cc-orange-hover);
  border-color: var(--cc-orange-hover);
}

#cablecalc_tile .cc184-button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

#cablecalc_tile .cc184-button-secondary:hover {
  color: #071424;
  background: #fff;
}

/* Product image */

#cablecalc_tile .cc184-product-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
  padding: 44px 24px 14px 0;
}

#cablecalc_tile .cc184-product-image > img {
  display: block;
  width: 100%;
  max-width: 1120px;
  height: auto;
  max-height: 590px;
  margin: 0;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.35));
}

/* Schneider badge */

#cablecalc_tile .cc184-schneider-badge {
  position: absolute;
  z-index: 20;
  top: 28px;
  right: 22px;
  width: 180px;
  padding: 14px 12px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1b4d28, #2f8d41);
  border-radius: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  box-shadow:
    0 0 18px rgba(85, 220, 120, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.35);
}

#cablecalc_tile .cc184-schneider-badge img {
  display: block;
  width: 130px;
  height: auto;
  margin: 6px auto;
}

#cablecalc_tile .cc184-schneider-badge::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(
      circle,
      rgba(180, 255, 180, 0.18) 0%,
      rgba(180, 255, 180, 0) 70%
    );
  pointer-events: none;
}


/* Feature strip */

#cablecalc_tile > .cc184-features {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 0;
  padding: 18px 46px 20px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 12, 24, 0.88),
      rgba(12, 22, 35, 0.66),
      rgba(35, 26, 20, 0.62)
    );
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#cablecalc_tile > .cc184-features .cc184-feature {
  position: static;
  float: none;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0 28px;
  color: var(--cc-muted);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: left;
}

#cablecalc_tile > .cc184-features .cc184-feature + .cc184-feature {
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

#cablecalc_tile > .cc184-features .cc184-feature span,
#cablecalc_tile > .cc184-features .cc184-feature strong {
  position: static;
  float: none;
  margin-top: 0;
  padding-top: 0;
  line-height: 1.4;
  text-align: left;
}

#cablecalc_tile > .cc184-features .cc184-feature strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

#cablecalc_tile > .cc184-features .cc184-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

#cablecalc_tile > .cc184-features .cc184-feature-icon svg {
  width: 40px;
  height: 40px;
  overflow: visible;
  fill: none;
  stroke: var(--cc-orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Offer banner */

#cablecalc_tile .special_offer_banner {
  position: relative;
  z-index: 3;
  padding: 16px 24px;
  color: #fff;
  background: var(--cc-orange);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(0.78rem, 1vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

#cablecalc_tile .special_offer_banner a {
  color: inherit;
  text-decoration: none;
}

#cablecalc_tile .special_offer_banner a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Wide-screen centring */

@media screen and (min-width: 2441px) {
  #cablecalc_tile {
    margin-right: auto;
    margin-left: auto;
  }
}

/* Intermediate desktop */

@media screen and (max-width: 1450px) {
  #cablecalc_tile {
    margin-right: 16px;
    margin-left: 16px;
  }

  #cablecalc_tile .cc184-layout {
    grid-template-columns: minmax(370px, 0.9fr) minmax(470px, 1.1fr);
  }

  #cablecalc_tile .cablecalc_copy {
    margin-left: 20px;
    padding-right: 30px;
    padding-left: 30px;
  }

  #cablecalc_tile .cc184-product-image {
    padding-right: 12px;
  }
}

/* Tablet */

@media screen and (max-width: 1100px) {
  #cablecalc_tile {
    margin-right: 10px;
    margin-left: 10px;
    padding-top: 52px;
    background-image:
      linear-gradient(
        180deg,
        rgba(3, 10, 20, 0.14) 0%,
        rgba(3, 10, 20, 0.5) 42%,
        rgba(3, 10, 20, 0.95) 70%
      ),
      url("../images/home_page/cablecalc18-4-background-mobile.webp");
    background-position: center top;
  }

  #cablecalc_tile .cc184-flag {
    top: 20px;
    width: 330px;
  }

  #cablecalc_tile .cc184-layout {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }

  #cablecalc_tile .cc184-product-image {
    width: 100%;
    height: auto;
    padding: 28px 18px 0;
  }

  #cablecalc_tile .cc184-product-image > img {
    width: min(100%, 900px);
    max-height: 480px;
    margin: 0 auto;
    object-position: center bottom;
  }

  #cablecalc_tile .cablecalc_copy {
    width: calc(100% - 32px);
    max-width: none;
    margin: 0 16px 18px;
    padding: 30px;
  }

  #cablecalc_tile .cc184-product-name {
    font-size: clamp(3.25rem, 10vw, 5.5rem);
  }

  #cablecalc_tile .cc184-version {
    font-size: clamp(4rem, 13vw, 6.5rem);
  }

  #cablecalc_tile .cc184-intro {
    max-width: 680px;
  }

  #cablecalc_tile > .cc184-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
    padding: 20px 24px;
  }

  #cablecalc_tile > .cc184-features .cc184-feature {
    padding: 0 22px;
  }

  #cablecalc_tile > .cc184-features .cc184-feature:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 520px;
    margin: 0 auto;
    border-left: 0;
  }
}

/* Smaller tablet — Schneider badge */

@media screen and (max-width: 900px) {
  #cablecalc_tile .cc184-schneider-badge {
    top: auto;
    right: 14px;
    bottom: 18px;
    width: 150px;
    padding: 12px 10px;
    font-size: 0.62rem;
  }

  #cablecalc_tile .cc184-schneider-badge img {
    width: 110px;
  }
}

/* Mobile */

@media screen and (max-width: 700px) {
  #cablecalc_tile {
    margin: 0 0 20px;
    padding-top: 48px;
    border-right: 0;
    border-left: 0;
  }

  #cablecalc_tile .cc184-flag {
    top: 12px;
    width: 260px;
    min-height: 36px;
    padding: 8px 32px 8px 18px;
    font-size: 0.7rem;
  }

  #cablecalc_tile .cc184-product-image {
    padding: 22px 8px 0;
  }

  #cablecalc_tile .cc184-product-image > img {
    max-height: 330px;
  }

  #cablecalc_tile .cablecalc_copy {
    width: calc(100% - 16px);
    margin: 0 8px 8px;
    padding: 24px 18px;
  }

  #cablecalc_tile .cc184-product-name {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  #cablecalc_tile .cc184-version {
    font-size: clamp(3.5rem, 19vw, 5.4rem);
  }

  #cablecalc_tile .cc184-subheading {
    margin-top: 22px;
    font-size: 1.05rem;
  }

  #cablecalc_tile .cc184-regulations strong {
    font-size: 1.25rem;
  }

  #cablecalc_tile .cc184-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #cablecalc_tile .cc184-button {
    width: 100%;
  }

  #cablecalc_tile > .cc184-features {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 18px 16px;
  }

  #cablecalc_tile > .cc184-features .cc184-feature {
    grid-template-columns: 42px minmax(0, 1fr);
    justify-self: stretch;
    justify-items: start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 0;
    text-align: left;
  }

  #cablecalc_tile > .cc184-features .cc184-feature + .cc184-feature {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  #cablecalc_tile > .cc184-features .cc184-feature:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  #cablecalc_tile > .cc184-features .cc184-feature span,
  #cablecalc_tile > .cc184-features .cc184-feature strong {
    text-align: left;
  }

  #cablecalc_tile .special_offer_banner {
    padding: 14px 16px;
    font-size: 0.76rem;
  }
}/* ============================================================
   FormFill homepage tile — consolidated
   ============================================================ */

#formfill_tile,
#formfill_tile * {
  box-sizing: border-box;
}

#formfill_tile {
  --ff-blue: #477cb2;
  --ff-blue-dark: #315f8d;
  --ff-heading: #17283a;
  --ff-text: #24384c;
  --ff-muted: #53677a;
  --ff-orange: #d57624;
  --ff-line: rgba(44, 78, 110, 0.19);

  position: relative;
  width: auto;
  max-width: 2400px;
  margin: 0 20px 20px;
  overflow: hidden;

  color: var(--ff-text);
  background-color: #f1f4f6;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.77) 75%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("../images/home_page/formfill-background.webp");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;

    border: 1px solid rgba(205,205,205,1.00);
}


/* ============================================================
   Decorative circles
   ============================================================ */

#formfill_tile::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -140px;
  bottom: -210px;

  width: 460px;
  height: 460px;

  border: 1px solid rgba(67, 125, 180, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(67, 125, 180, 0.035),
    0 0 0 76px rgba(67, 125, 180, 0.025),
    0 0 0 114px rgba(67, 125, 180, 0.018);

  pointer-events: none;
}


/* ============================================================
   Main layout
   ============================================================ */

#formfill_tile .formfill_main {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(420px, 0.9fr)
    minmax(520px, 1.25fr);
  align-items: center;

  min-height: 540px;
}


/* ============================================================
   Main copy
   ============================================================ */

#formfill_tile .formfill_copy {
  position: relative;
  z-index: 2;

  width: auto;
  min-width: 0;
  max-width: 820px;
  margin: 0;
  padding: 58px 35px 52px 72px;

  text-align: left;
}

#formfill_tile .formfill_title {
  margin: 0;
}

#formfill_tile h3 {
  margin: 0;
  padding: 0;

  color: var(--ff-heading);
  font-family: "Sumana", serif;
  font-size: clamp(3.2rem, 4.3vw, 5.3rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 8px;

  text-align: left;
  text-shadow: none;
  text-transform: uppercase;
}

#formfill_tile .sub_heading {
  display: block;
  margin: 15px 0 0;
  padding: 0;

  color: var(--ff-blue);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.35rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 1.7px;

  text-align: left;
  text-shadow: none;
  text-transform: uppercase;
}

#formfill_tile .formfill_title_rule {
  width: 90%;
  height: 3px;
  margin: 23px 0 25px;

  background: var(--ff-orange);
}

#formfill_tile p {
  max-width: 690px;
  margin: 0 0 18px;
  padding: 0;

  color: var(--ff-text);
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.98rem, 0.95vw, 1.08rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;

  text-align: left;
  text-shadow: none;
}

#formfill_tile .formfill_lead {
  margin-bottom: 20px;

  color: #172c42;
  font-size: clamp(1.05rem, 1.05vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
}


/* ============================================================
   Buttons
   ============================================================ */

#formfill_tile .formfill_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  margin-top: 30px;
}

#formfill_tile .formfill_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-height: 48px;
  padding: 11px 20px;

  border: 1px solid var(--ff-blue);
  border-radius: 3px;

  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 2.1px;

  text-align: center;
  text-decoration: none;
  text-transform: uppercase;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#formfill_tile .formfill_button span {
  font-size: 1.4em;
  line-height: 1;

  transition: transform 0.25s ease;
}

#formfill_tile .formfill_button:hover {
  transform: translateY(-2px);
}

#formfill_tile .formfill_button:hover span {
  transform: translateX(4px);
}

#formfill_tile .formfill_button_primary {
  color: #fff;
  background: var(--ff-blue);
  box-shadow: 0 7px 20px rgba(42, 91, 137, 0.18);
}

#formfill_tile .formfill_button_primary:hover {
  color: #fff;
  background: var(--ff-blue-dark);
  border-color: var(--ff-blue-dark);
  box-shadow: 0 10px 25px rgba(42, 91, 137, 0.24);
}

#formfill_tile .formfill_button_secondary {
  color: var(--ff-blue-dark);
  background: rgba(255, 255, 255, 0.55);
}

#formfill_tile .formfill_button_secondary:hover {
  color: #244c73;
  background: #fff;
  border-color: var(--ff-blue-dark);
}


/* ============================================================
   Product image
   ============================================================ */

#formfill_tile .formfill_visual {
  position: relative;
  align-self: stretch;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;

  min-width: 0;
  padding: 40px 28px 0 0;
}

#formfill_tile .formfill_visual::before {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 2%;

  width: 80%;
  height: 66%;

  background:
    radial-gradient(
      ellipse at center,
      rgba(61, 100, 135, 0.16),
      transparent 68%
    );

  filter: blur(8px);
  pointer-events: none;
}

#formfill_tile .formfill_visual img {
  position: relative;
  z-index: 1;

  display: block;
  width: 100%;
  max-width: 1120px;
  height: auto;
  max-height: 500px;
  margin: 0;

  object-fit: contain;
  object-position: right bottom;
}


/* ============================================================
   Feature strip
   ============================================================ */

#formfill_tile .formfill_features {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));

  margin: 0 58px 34px;
  padding: 24px 18px;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(56, 100, 142, 0.16);
  border-radius: 9px;
  box-shadow: 0 12px 34px rgba(38, 62, 84, 0.12);
  backdrop-filter: blur(7px);
}

#formfill_tile .formfill_feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;

  min-width: 0;
  margin: 0;
  padding: 5px 18px;

  text-align: left;
}

#formfill_tile .formfill_feature > div:last-child {
  min-width: 0;
}

#formfill_tile .formfill_feature + .formfill_feature {
  border-left: 1px solid var(--ff-line);
}

#formfill_tile .formfill_feature_icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding-top: 1px;
}

#formfill_tile .formfill_feature_icon svg {
  width: 42px;
  height: 42px;
  overflow: visible;

  fill: none;
  stroke: var(--ff-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#formfill_tile .formfill_feature:last-child .formfill_feature_icon svg {
  width: 46px;
  height: 46px;
}

#formfill_tile .formfill_feature strong,
#formfill_tile .formfill_feature span {
  display: block;
  font-family: "Poppins", sans-serif;
  text-align: left;
}

#formfill_tile .formfill_feature strong {
  margin-bottom: 6px;

  color: #22374c;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.4px;

  text-transform: uppercase;
}

#formfill_tile .formfill_feature span {
  color: var(--ff-muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
}


/* ============================================================
   Wide-screen centring
   Matches CableCalc
   ============================================================ */

@media screen and (min-width: 2441px) {

  #formfill_tile {
    margin-right: auto;
    margin-left: auto;
  }
}


/* ============================================================
   Three-column feature layout
   ============================================================ */

@media screen and (max-width: 1550px) {

  #formfill_tile .formfill_features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px 20px;
  }

  #formfill_tile .formfill_feature {
    padding: 20px 22px;
  }

  #formfill_tile .formfill_feature:nth-child(4) {
    border-left: 0;
  }

  #formfill_tile .formfill_feature:nth-child(n + 4) {
    border-top: 1px solid var(--ff-line);
  }
}


/* ============================================================
   Intermediate desktop
   Margins match CableCalc
   ============================================================ */

@media screen and (max-width: 1450px) {

  #formfill_tile {
    margin-right: 16px;
    margin-left: 16px;

    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.77) 45%,
        rgba(255, 255, 255, 0) 100%
      ),
      url("../images/home_page/formfill-background-tablet.webp");
  }

  #formfill_tile .formfill_main {
    grid-template-columns:
      minmax(380px, 0.95fr)
      minmax(460px, 1.05fr);

    min-height: 470px;
  }

  #formfill_tile .formfill_copy {
    padding: 46px 24px 42px 48px;
  }

  #formfill_tile h3 {
    letter-spacing: 5px;
  }

  #formfill_tile .formfill_visual {
    padding-top: 35px;
    padding-right: 16px;
  }

  #formfill_tile .formfill_visual img {
    max-height: 430px;
  }

  #formfill_tile .formfill_features {
    margin-right: 38px;
    margin-left: 38px;
  }
}


/* ============================================================
   Tablet
   Margins match CableCalc
   ============================================================ */

@media screen and (max-width: 1100px) {

  #formfill_tile {
    margin-right: 10px;
    margin-left: 10px;

    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.82) 32%,
        rgba(255, 255, 255, 0.12) 100%
      ),
      url("../images/home_page/formfill-background-tablet.webp");

    background-position: right bottom;
  }

  #formfill_tile .formfill_main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  #formfill_tile .formfill_copy {
    width: 100%;
    max-width: 900px;
    padding: 48px 48px 20px;
  }

  #formfill_tile h3,
  #formfill_tile .sub_heading,
  #formfill_tile p {
    text-align: left;
  }

  #formfill_tile p {
    max-width: 820px;
  }

  #formfill_tile .formfill_visual {
    width: 100%;
    min-height: 330px;
    padding: 10px 22px 0;

    justify-content: center;
  }

  #formfill_tile .formfill_visual img {
    width: min(100%, 850px);
    max-height: 420px;

    object-position: center bottom;
  }

  #formfill_tile .formfill_features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 24px 24px;
    padding: 8px 18px;
  }

  #formfill_tile .formfill_feature {
    padding: 18px 20px;
  }

  /* Reset desktop three-column borders */

  #formfill_tile .formfill_feature,
  #formfill_tile .formfill_feature:nth-child(4),
  #formfill_tile .formfill_feature:nth-child(n + 4) {
    border-top: 0;
    border-left: 0;
  }

  #formfill_tile .formfill_feature:nth-child(even) {
    border-left: 1px solid var(--ff-line);
  }

  #formfill_tile .formfill_feature:nth-child(n + 3) {
    border-top: 1px solid var(--ff-line);
  }
}


/* ============================================================
   Smaller tablet
   ============================================================ */

@media screen and (max-width: 800px) {

  #formfill_tile .formfill_copy {
    padding: 42px 28px 20px;
  }

  #formfill_tile .formfill_features {
    margin-right: 18px;
    margin-left: 18px;
  }

  #formfill_tile .formfill_feature {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 14px;
  }

  #formfill_tile .formfill_feature_icon {
    width: 40px;
    height: 40px;
  }

  #formfill_tile .formfill_feature_icon svg {
    width: 38px;
    height: 38px;
  }

  #formfill_tile .formfill_feature:last-child .formfill_feature_icon svg {
    width: 40px;
    height: 40px;
  }

  #formfill_tile .formfill_feature strong {
    font-size: 0.73rem;
    line-height: 1.3;
  }

  #formfill_tile .formfill_feature span {
    font-size: 0.7rem;
    line-height: 1.45;
  }
}


/* ============================================================
   Mobile
   Margins and border behaviour match CableCalc
   ============================================================ */

@media screen and (max-width: 700px) {

  #formfill_tile {
    margin: 0 0 20px;

    /* Explicitly mirrors CableCalc mobile border behaviour */
    border-right: 0;
    border-left: 0;

    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.82) 28%,
        rgba(255, 255, 255, 0.08) 100%
      ),
      url("../images/home_page/formfill-background-mobile.webp");

    background-position: left bottom;
  }

  #formfill_tile::before {
    left: -240px;
    bottom: -250px;
  }

  #formfill_tile .formfill_copy {
    padding: 34px 20px 16px;
  }

  #formfill_tile h3 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: 4px;
  }

  #formfill_tile .sub_heading {
    margin-top: 11px;

    font-size: 0.82rem;
    line-height: 1.45;
    letter-spacing: 1.25px;
  }

  #formfill_tile .formfill_title_rule {
    margin-top: 18px;
    margin-bottom: 20px;
  }

  #formfill_tile p,
  #formfill_tile .formfill_lead {
    font-size: 0.91rem;
    line-height: 1.55;
  }

  #formfill_tile .formfill_actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;

    margin-top: 24px;
  }

  #formfill_tile .formfill_button {
    width: 100%;
    min-height: 47px;
  }

  #formfill_tile .formfill_visual {
    min-height: 230px;
    padding: 20px 6px 0;
  }

  #formfill_tile .formfill_visual img {
    width: 100%;
    max-height: 300px;
  }

  /* Single-column feature list */

  #formfill_tile .formfill_features {
    grid-template-columns: 1fr;
    margin: 0 12px 14px;
    padding: 4px 16px;
  }

  #formfill_tile .formfill_feature {
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 14px;

    width: 100%;
    padding: 16px 0;

    border-top: 0;
    border-left: 0;
  }

  #formfill_tile .formfill_feature:nth-child(even),
  #formfill_tile .formfill_feature:nth-child(n + 3),
  #formfill_tile .formfill_feature:nth-child(n + 4) {
    border-top: 0;
    border-left: 0;
  }

  #formfill_tile .formfill_feature + .formfill_feature {
    border-top: 1px solid var(--ff-line);
    border-left: 0;
  }

  #formfill_tile .formfill_feature_icon {
    width: 38px;
    height: 38px;
  }

  #formfill_tile .formfill_feature_icon svg {
    width: 36px;
    height: 36px;
  }

  #formfill_tile .formfill_feature:last-child .formfill_feature_icon svg {
    width: 38px;
    height: 38px;
  }

  #formfill_tile .formfill_feature strong {
    margin-bottom: 3px;
    font-size: 0.74rem;
  }

  #formfill_tile .formfill_feature span {
    font-size: 0.72rem;
    line-height: 1.45;
  }
}


/* ============================================================
   Narrow mobile
   ============================================================ */

@media screen and (max-width: 440px) {

  #formfill_tile .formfill_copy {
    padding-right: 16px;
    padding-left: 16px;
  }

  #formfill_tile h3 {
    font-size: 2.35rem;
    letter-spacing: 3px;
  }

  #formfill_tile p,
  #formfill_tile .formfill_lead {
    margin-bottom: 14px;

    font-size: 0.86rem;
    line-height: 1.5;
    letter-spacing: 0;

    text-align: left;
  }

  #formfill_tile .formfill_visual {
    min-height: 190px;
  }

  #formfill_tile .formfill_features {
    margin-right: 10px;
    margin-left: 10px;
  }

  #formfill_tile .formfill_feature strong {
    font-size: 0.72rem;
  }

  #formfill_tile .formfill_feature span {
    font-size: 0.69rem;
  }
}


/* ============================================================
   Existing FormFill iPad tile buttons
   Kept completely separate from the homepage tile
   ============================================================ */

#formfill_ipad input {
  padding: 10px 16px;
  margin: 30px 10px;

  color: #fff;
  background-color: rgba(255, 255, 255, 0.26);
  border: 1px solid #fff;
  border-radius: 0;

  font-family: "Poppins", sans-serif;
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 4px;

  cursor: pointer;
  -webkit-appearance: none;

  transition: background-color 0.3s ease;
}

#formfill_ipad input:hover {
  background-color: #ff9e00;
  border-color: #fff;
}

@media screen and (max-width: 1367px) {

  #formfill_ipad input {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 8px 14px;
  }
}

@media screen and (max-width: 641px) {

  #formfill_ipad input {
    margin: 20px 5px 0;
    padding: 8px 12px;

    font-size: 0.6em;
    font-weight: 600;
  }
}
/*--------------------------------------------------------- Advert Banner -----------------------------------------------------------------------------------*/
#advert_banner {
  position: relative;
  background-color: rgba(53, 72, 93, 1.00);
  padding: 10px;
  color: rgba(255, 255, 255, 1.00);
  font-size: 1.1em;
  margin: 0px;
  margin-top: 100px;
  box-sizing: border-box;
  display: block;
  height: 130px;
  overflow: hidden;
}
#advert_banner img {
  width: 100px;
  height: auto;
  vertical-align: middle;
  margin: 10px;
}
#advert_banner input {
  padding: 8px;
  padding-left: 16px;
  padding-right: 16px;
  margin: 20px;
  font-size: 0.8em;
  font-weight: 500;
  background-color: rgba(0, 137, 8, 1.00);
  color: rgba(255, 255, 255, 1.00);
  letter-spacing: 4px;
  cursor: pointer;
  -webkit-transition: background-color 1s ease 0s;
  -o-transition: background-color 1s ease 0s;
  border: 0px;
  -webkit-appearance: none;
  border-radius: 0px;
}
#advert_banner input:hover {
  background-color: rgba(255, 158, 0, 1.00);
  color: rgba(255, 255, 255, 1.00);
  border: 0px;
}
@media screen and (max-width: 1367px) {
  #advert_banner {
    font-size: 1em;
    height: auto;
  }
  #advert_banner img {
    width: 80px;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  #advert_banner input {
    padding: 6px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 10px;
    background-color: rgba(0, 137, 8, 1.00);
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 1.00);
  }
}
@media screen and (max-width: 1101px) {
  #advert_banner {
    font-size: 1em;
    height: auto;
    line-height: 1.4em;
    padding: 20px;
  }
  #advert_banner img {
    width: 90px;
    float: left;
  }
  #advert_banner input {
    padding: 6px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 10px;
    background-color: rgba(0, 137, 8, 1.00);
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 1.00);
  }
}
@media screen and (max-width: 641px) {
  #advert_banner {
    font-size: 0.9em;
    height: auto;
    line-height: 1.4em;
    padding: 10px;
  }
  #advert_banner img {
    width: 100px;
    float: left;
    margin-left: -10px;
  }
  #advert_banner input {
    padding: 6px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 16px;
    background-color: rgba(0, 137, 8, 1.00);
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 1.00);
    clear: both;
  }
}
@media screen and (max-width: 440px) {}
/*---------------------------------------------------- Benefits Tiles ----------------------------------------------------------------------------------------*/
main .tile_grid {
  display: inline-flex;
  display: -webkit-flex; /* Safari */
  -webkit-flex-wrap: wrap; /* Safari 6.1+ */
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  overflow: visible;
  padding: 10px;
  padding-top: 0px;
  margin: 0px;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
#benefits_banner .flex_container {
  overflow: hidden;
  display: flex;
  flex: 1 1 600px;
  margin: 50px;
  border-radius: 0px;
  max-width: 600px;
  min-width: 440px;
  position: relative;
  flex-direction: column;
}
@media screen and (max-width: 1367px) {
  #benefits_banner .flex_container {
    margin: 20px;
  }
}
@media screen and (max-width: 1281px) {
  #benefits_banner .flex_container {
    margin: 30px 10px;
  }
}
@media screen and (max-width: 440px) {
  main .tile_grid {
    padding: 0px;
  }
  #benefits_banner .flex_container {
    min-width: 320px;
    margin: 0px;
    margin-top: 50px;
  }
}
#benefits_banner .flex_container h3 {
  display: contents;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 5px;
  color: rgba(67, 61, 30, 1.00);
  text-transform: uppercase;
  font-family: 'Noto Sans', sans-serif;
  line-height: 2.6em;
}
@media screen and (max-width: 440px) {
  #benefits_banner .flex_container h3 {
    letter-spacing: 2px;
    white-space: nowrap;
    font-size: 0.8em;
    font-weight: 400;
  }
}
#benefits_banner .flex_tile {
  border: solid 1px rgba(20, 16, 14, 1.00);
  box-sizing: border-box;
  margin: 0px;
  min-height: 400px;
  border-radius: 0px;
}
@media screen and (max-width: 440px) {
  #benefits_banner .flex_tile {
    min-height: 340px;
    border-radius: 0px;
    width: 100%;
  }
}
@media screen and (max-width: 361px) {
  #benefits_banner .flex_tile {}
}
#os_container {
  background-image: url("../images/home_page/cablecalc_os_background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 1.00);
  font-size: 1.1em;
  line-height: 1.3em;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(0, 0, 0, 1.00);
  padding: 4px;
  padding-top: 10px;
  white-space: normal;
  text-shadow: 1px 1px 3px rgba(128, 128, 128, 1.00);
  text-align: justify;
}
#os_icons {
  position: absolute;
  top: 20px;
  right: 0;
  margin: 20px;
}
#os_icons img {
  max-width: 160px;
  max-height: 60px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  margin-bottom: 0px;
  filter: drop-shadow(2px 2px 2px rgba(180, 180, 180, 1.00));
  display: block;
}
#os_copy {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 14px;
  margin-bottom: 22px;
}
@media screen and (max-width: 550px) {
  #os_container {
    background-image: url("../images/home_page/cablecalc_os_background.jpg");
    background-position: left;
    font-size: 1em;
    line-height: 1.3em;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(9, 10, 11, 1.00);
    padding: 4px;
    padding-top: 10px;
    white-space: normal;
    text-shadow: 1px 1px 3px rgba(128, 128, 128, 1.00);
    text-align: justify;
  }
  #os_icons {
    margin: 5px;
    margin-top: 20px;
  }
  #os_icons img {
    max-width: 100px;
    max-height: 45px;
  }
}
@media screen and (max-width: 361px) {
  #os_container {
    background-position: center;
  }
  #os_icons {
    margin: 0px;
    position: relative;
    float: right;
  }
  #os_icons img {
    max-width: 100px;
    max-height: 45px;
  }
}
#eighteenth_edition {
  background-image: url("../images/home_page/18th_edition_background.jpg");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  /*border: solid thin rgba(255,255,255,1.00);*/
  background-color: rgba(255, 255, 255, 1.00);
}
#connectivity_tile {
  background-image: url("../images/home_page/connectivity_tile_background.jpg");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  /*border: solid thin rgba(255,255,255,1.00);*/
  background-color: rgba(255, 255, 255, 1.00);
}
#connectivity_tile_copy {
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 1.00);
  white-space: normal;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.73);
  position: absolute;
  top: 30px;
  text-align: justify;
  margin: 20px;
}
#eighteenth_edition_copy {
  font-size: 1.1em;
  line-height: 1.5em;
  font-weight: 400;
  color: rgba(255, 255, 255, 1.00);
  white-space: normal;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.73);
  position: absolute;
  bottom: 0;
  text-align: justify;
  margin: 12px;
  letter-spacing: 0.6px;
}
#mobile_container {
  background-image: url("../images/home_page/cablecalc_mobile_apps_background.jpg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(255, 255, 255, 1.00);
  font-size: 1.1em;
  line-height: 1.4em;
  font-weight: 400;
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 1.00);
  padding: 12px;
  white-space: normal;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.00);
  text-align: justify;
}
#mobile_os_icons {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 20px;
}
#android_logo {
  margin: 0px auto;
  width: 120px;
  height: auto;
  -webkit-filter: drop-shadow(1px 1px 2px rgba(137, 137, 137, 1.00));
  filter: drop-shadow(1px 1px 2px rgba(137, 137, 137, 1.00));
  display: block;
}
#ios_logo {
  margin: 0px auto;
  margin-bottom: 24px;
  width: 75px;
  height: auto;
  -webkit-filter: drop-shadow(1px 1px 2px rgba(137, 137, 137, 1.00));
  filter: drop-shadow(1px 1px 2px rgba(137, 137, 137, 1.00));
  display: block;
}
@media screen and (max-width: 440px) {
  #eighteenth_edition_copy, #connectivity_tile_copy, #os_copy, #mobile_container {
    font-size: 0.9em;
    letter-spacing: 1px;
    line-height: 1.3em;
    font-weight: 200;
  }
  #os_copy {
    font-weight: 400;
    margin-bottom: 10px;
  }
  #eighteenth_edition_copy {
    line-height: 1.4em;
    color: rgba(251, 248, 239, 1.00);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1.00);
    text-align: center;
    font-weight: 400;
  }
  #mobile_os_icons {
    margin: 10px;
    margin-bottom: 20px;
  }
  #android_logo {
    width: 100px;
  }
  #ios_logo {
    width: 60px;
    height: auto;
    margin-bottom: 12px;
  }
}
@media screen and (max-width: 360px) {
  #eighteenth_edition_copy, #connectivity_tile_copy, #os_copy, #mobile_container {
    line-height: 1.2em;
    overflow: hidden;
    white-space: normal;
    padding: 6px;
    margin: 0px;
  }
}
/*--------------------------------------------------------------------- Ipad Banners ---------------------------------------------------------------------*/
#formfill_ipad {
  background-image: url("../images/home_page/formfill_ipad_background_landscape_2400px.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  height: calc(100vw / 2.7);
  max-height: 900px;
  max-width: 2400px;
  margin: 0px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: block;
  position: relative;
  background-color: rgba(60, 66, 74, 1.00);
  color: rgba(255, 255, 255, 1.00);
  box-sizing: border-box;
}
#cablecalc_ipad {
  background-image: url("../images/home_page/cablecalc_ipad_background_landscape_2400px.jpg");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(3, 3, 3, 1.00);
  height: calc(100vw / 2.7);
  max-height: 900px;
  max-width: 2400px;
  overflow: hidden;
  margin: 0px auto;
  padding: 0px;
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 1.00);
  box-sizing: border-box;
}
#cablecalc_ipad_copy {
  margin: 80px;
  margin-left: 45%;
  position: absolute;
  display: block;
  vertical-align: middle;
  top: 50%;
  transform: translate(-0%, -80%);
}
#formfill_ipad_copy {
  margin: 80px;
  margin-right: 35%;
  position: absolute;
  display: block;
  vertical-align: middle;
  top: 50%;
  transform: translate(-0%, -80%);
}
@media screen and (max-width: 1921px) {
  #cablecalc_ipad {
    background-image: url("../images/home_page/cablecalc_ipad_background_landscape_1920px.jpg");
    max-height: 720px;
    max-width: 1921px;
    height: calc(100vw / 2.5);
  }
  #formfill_ipad {
    background-image: url("../images/home_page/formfill_ipad_background_landscape_1920px.jpg");
    max-height: 720px;
    max-width: 1921px;
    height: calc(100vw / 2.5);
  }
  #cablecalc_ipad_copy {
    margin: 40px;
    margin-left: 45%;
    position: relative;
    transform: none;
    top: 0
  }
  #formfill_ipad_copy {
    margin: 40px;
    margin-right: 35%;
    position: relative;
    transform: none;
    top: 0
  }
}
@media screen and (max-width: 1367px) {
  #cablecalc_ipad {
    background-image: url("../images/home_page/cablecalc_ipad_background_landscape_1366px.jpg");
    max-height: 512px;
    max-width: 1367px;
  }
  #formfill_ipad {
    background-image: url("../images/home_page/formfill_ipad_background_landscape_1366px.jpg");
    max-height: 512px;
    max-width: 1367px;
    height: calc(100vw / 2.3);
  }
  #cablecalc_ipad_copy {
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #formfill_ipad_copy {
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 30%;
    padding: 0px;
  }
}
@media screen and (max-width: 1101px) {
  #cablecalc_ipad {
    background-image: url("../images/home_page/cablecalc_ipad_background_portrait_1100px.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vw * 1.3);
    max-height: 1349px;
    padding: 10px;
  }
  #formfill_ipad {
    background-image: url("../images/home_page/formfill_ipad_background_portrait_1100px.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100vw * 1.4);
    max-height: 1536px;
  }
  #cablecalc_ipad_copy {
    margin: 20px;
  }
  #formfill_ipad_copy {
    margin: 20px;
  }
}
@media screen and (max-width: 641px) {
  #cablecalc_ipad {
    background-image: url("../images/home_page/cablecalc_ipad_background_portrait_640px.jpg");
    background-position: center top;
    height: calc(100vw * 1.9);
  }
}
@media screen and (max-width: 440px) {
  #cablecalc_ipad {
    height: calc(100vw * 2.2);
    padding: 10px;
  }
  #formfill_ipad {
    height: calc(100vw * 2.7);
    padding: 10px;
  }
  #cablecalc_ipad_copy {
    margin: 0px;
  }
  #formfill_ipad_copy {
    margin: 0px;
  }
}
@media screen and (max-width: 360px) {
  #cablecalc_ipad {
    height: calc(100vw * 2.3);
    padding: 5px;
  }
  #formfill_ipad {
    height: calc(100vw * 3.1);
    padding: 5px;
  }
}
.ios_logo_container {
  width: 70px;
  margin: 0px;
  padding: 0px;
  border: none;
}
.ios_logo_container img {
  width: 100%;
  height: auto;
}
#cablecalc_ipad h3 {
  font-family: 'Sumana', serif;
  padding: 0px;
  margin: 0px;
  margin-top: 100px;
  margin-bottom: 40px;
  font-size: 2.8em;
  font-weight: 500;
  letter-spacing: 4px;
  line-height: 0.8em;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1.00);
  text-align: center;
  text-transform: uppercase;
  clear: both;
}
@media screen and (max-width: 1367px) {
  #cablecalc_ipad h3 {
    margin-top: 40px;
    margin-bottom: 10px;
  }
}
#cablecalc_ipad .sub_heading {
  font-size: 0.5em;
  font-weight: 300;
  letter-spacing: 6px;
  font-family: 'Poppins', sans-serif;
}
#formfill_ipad h3 {
  font-family: 'Sumana', serif;
  padding: 0px;
  margin: 0px;
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 2.8em;
  font-weight: 500;
  letter-spacing: 4px;
  line-height: 0.8em;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1.00);
  text-align: center;
  text-transform: uppercase;
  clear: both;
}
#formfill_ipad .sub_heading {
  font-size: 0.5em;
  font-weight: 300;
  letter-spacing: 6px;
  font-family: 'Poppins', sans-serif;
}
#cablecalc_ipad p {
  color: rgba(255, 255, 255, 1.00);
  padding: 0px;
  margin: 0px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 1.00);
  text-align: justify;
  font-size: 1.2em;
  font-weight: 300;
}
#formfill_ipad p {
  padding: 0px;
  margin: 0px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
  text-align: justify;
  font-size: 1.1em;
  font-weight: 300;
}
.app_store {
  display: inline-block;
  margin: 10px;
  margin-left: 30px;
  vertical-align: middle;
}
#cablecalc_ipad input, #formfill_ipad input {
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.72);
  color: rgba(0, 0, 0, 1.00);
  border-color: rgba(0, 0, 0, 1.00);
}
#cablecalc_ipad input:hover, #formfill_ipad input:hover {
  background-color: rgba(251, 251, 251, 1.00);
  color: rgba(0, 0, 0, 1.00);
  border-color: rgba(0, 0, 0, 1.00);
}
@media screen and (max-width: 1367px) {
  #cablecalc_ipad h3 {
    margin-top: 50px;
    font-size: 2.3em;
  }
  #formfill_ipad h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 2.4em;
  }
  #formfill_ipad p, #cablecalc_ipad p {
    margin-bottom: 20px;
    line-height: 1.3em;
    font-size: 1em;
    margin: 0px;
    padding: 0px;
  }
}
@media screen and (max-width: 1101px) {
  #cablecalc_ipad h3 {
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 2.4em;
  }
  #cablecalc_ipad .sub_heading {
    font-size: 0.6em;
  }
  #formfill_ipad h3 {
    margin-top: 50px;
    margin-bottom: 40px;
    font-size: 2.4em;
  }
  #formfill_ipad .sub_heading {
    font-size: 0.6em;
  }
  #cablecalc_ipad p {
    margin-bottom: 20px;
  }
  #formfill_ipad p {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 641px) {
  .ios_logo_container {
    width: 50px;
  }
  #cablecalc_ipad h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.4em;
    letter-spacing: 1px;
    line-height: 1.2em;
  }
  #cablecalc_ipad .sub_heading {
    font-size: 0.6em;
    letter-spacing: 3px;
  }
  #formfill_ipad h3 {
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 2.4em;
  }
  #formfill_ipad .sub_heading {
    font-size: 0.6em;
  }
  #cablecalc_ipad p {
    margin-bottom: 16px;
    font-size: 1em;
    line-height: 1.3em;
    font-weight: 200;
  }
  #formfill_ipad p {
    margin-bottom: 20px;
  }
  #cablecalc_ipad input {
    margin: 0px;
  }
}
@media screen and (max-width: 440px) {
  #cablecalc_ipad h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.4em;
    letter-spacing: 1px;
    line-height: 1.2em;
  }
  #cablecalc_ipad .sub_heading {
    font-size: 0.6em;
    letter-spacing: 3px;
  }
  #formfill_ipad h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.4em;
    letter-spacing: 1px;
    line-height: 1.2em;
  }
  #formfill_ipad .sub_heading {
    font-size: 0.6em;
    letter-spacing: 3px;
  }
  #cablecalc_ipad p {
    margin-bottom: 16px;
    font-size: 0.9em;
    line-height: 1.3em;
    font-weight: 200;
  }
  #formfill_ipad p {
    margin-bottom: 16px;
    font-size: 0.9em;
    line-height: 1.3em;
    font-weight: 200;
  }
  #cablecalc_ipad input, #formfill_ipad input {
    margin: 0px;
    padding: 8px 8px
  }
  .app_store {
    margin: 10px;
    margin-left: 30px;
    vertical-align: middle;
    height: 38px;
    width: auto;
  }
}
@media screen and (max-width: 360px) {
  #cablecalc_ipad h3 {
    margin-top: 30px;
    margin-bottom: 10px;
  }
  #formfill_ipad h3 {
    margin-top: 40px;
    margin-bottom: 10px;
  }
  #cablecalc_ipad p {
    line-height: 1.2em;
    margin-bottom: 8px;
  }
  #formfill_ipad p {
    line-height: 1.2em;
    margin-bottom: 8px;
  }
}
/*------------------------------------------------------------------ News Items Structure ---------------------------------------------------------------------*/
#parent_news_container {
  position: relative;
  margin-bottom: 4px;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  min-height: 300px;
  max-width: 2400px;
  display: block;
  box-sizing: border-box;
  /*    border: rgba(255,0,4,1.00) solid thin;*/
}
#parent_news_container #carousel_container {
  scroll-behavior: smooth;
  border: none;
  overflow-x: scroll;
  display: block;
}
#parent_news_container #carousel_container::-webkit-scrollbar {
  height: 4px !important;
}
/* Track */ #parent_news_container #carousel_container::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(166, 166, 166, 1.00);
  background: rgba(198, 208, 220, 1.00);
}
/* Handle */ #parent_news_container #carousel_container::-webkit-scrollbar-thumb {
  background: rgba(124, 156, 195, 1.00);
  border-radius: 7px;
}
/* Handle on hover */ #parent_news_container #carousel_container::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 129, 178, 1.00);
}
#carousel {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
.news_item {
  margin: 10px;
  border: solid 2px rgba(67, 67, 67, 1.00);
  border-radius: 16px;
  padding: 0px;
  overflow: hidden;
  background-color: rgba(251, 251, 251, 1.00);
  flex: 0 0 400px;
  scroll-snap-align: start;
  height: 280px;
}
@media screen and (max-width: 641px) {
  #parent_news_container {
    min-height: 360px;
  }
  .news_item {
    flex: 0 0 250px;
    border-radius: 14px;
    height: 330px;
  }
}
div.control-container {
  position: absolute;
  width: 100%;
  overflow: hidden;
  padding: 0px;
  margin: 0px;
}
div.container {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-flow: row;
  justify-content: left;
}
div.left-scroll {
  top: calc(50% - 30px);
  transform: rotate(45deg);
  left: 15px;
  visibility: hidden;
}
div#left_scroll_container {
  height: 100%;
  width: 10%;
  min-width: 50px;
  max-width: 120px;
  z-index: 2;
  background: linear-gradient(to right, rgba(237, 237, 237, 1.00), rgba(136, 173, 215, 0.00));
  position: absolute;
  left: 0;
  visibility: hidden;
}
div#right_scroll_container {
  height: 100%;
  width: 10%;
  min-width: 50px;
  max-width: 120px;
  z-index: 2;
  background: linear-gradient(to left, rgba(237, 237, 237, 1.00), rgba(136, 173, 215, 0.00));
  position: absolute;
  right: 0;
}
div.right-scroll {
  top: calc(50% - 30px);
  transform: rotate(225deg);
  right: 15px;
}
div.scroll {
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0px 20px;
  border-color: rgba(46, 46, 46, 1.00);
  opacity: 40%;
  z-index: 10;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  border-bottom: 8px solid;
  border-left: 8px solid;
}
@media screen and (max-width: 641px) {
  div.right-scroll {
    right: 0px;
  }
  div.scroll {
    margin: 0px 10px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border-bottom: 7px solid;
    border-left: 7px solid;
  }
  div.left-scroll {
    left: 0px;
  }
}
@media screen and (max-width: 1101px) {
  div.right-scroll {
    right: 5px;
  }
  div.scroll {
    margin: 0px 10px;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border-bottom: 7px solid;
    border-left: 7px solid;
  }
  div.left-scroll {
    left: 5px;
  }
}
#control-container a {
  color: #2E2E2E;
}
/*---------------------------------------------------------- horizontal scrolling tiles ------------------------------------------------------------*/
/*---------------------------------------------------------- news items ------------------------------------------------------------*/
.news_item h3 {
  font-size: 1em;
  letter-spacing: 0.2px;
  line-height: 1.2em;
  margin: 0px;
  margin-bottom: 0px;
  margin-top: 5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px #959595;
  font-weight: 300;
  text-decoration: none;
  text-align: center;
}
@media screen and (max-width: 550px) {
  .news_item h3 {
    font-size: 1em;
    letter-spacing: 0px;
    font-weight: 300;
  }
  #pdf_icon {
    height: 50px;
  }
}
.news_item .content {
  padding: 10px;
  padding-bottom: 10px;
  text-align: center;
}
.news_item p {
  color: #060606;
  font-weight: normal;
  font-size: 0.7em;
  line-height: 1.4em;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-align: justify;
  text-justify: inter-word;
}
.news_item li {
  color: #00002E;
  font-weight: normal;
  font-size: 0.6em;
  line-height: 1.2em;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}
.news_item a {
  text-decoration: underline;
  color: #40566F;
}
#news_image_18theditionbook {
  width: 160px;
  height: auto;
  margin-right: -42px;
  margin-top: 10px;
  margin-left: 0px;
  margin-bottom: 0px;
  float: right;
}
@media screen and (max-width: 550px) {
  #news_image_18theditionbook {
    width: 110px;
    height: auto;
    margin-right: -26px;
    margin-left: 0px;
  }
  .news_item p {
    line-height: 1.3em;
    letter-spacing: 0.4px;
    text-decoration: none;
    text-align: justify;
    text-justify: inter-word;
  }
}
main .news_item img.ios_icon {
  width: 50px;
  height: auto;
}
@media screen and (max-width: 550px) {
  main #news_items_container img.ios_icon {
    width: 30px;
    height: auto;
  }
}
main .news_item img#cablecalc_ipad {
  height: 188px;
  width: auto;
  margin: 10px;
}
@media screen and (max-width: 550px) {
  main #news_items_container img#cablecalc_ipad {
    width: 180px;
    height: auto;
  }
}
main .news_item img#formfill_ipad {
  width: 166px;
  height: auto;
  margin: 10px;
  margin-left: 0px;
}
main .news_item img#android_logo {
  margin: 10px;
  margin-left: 0px;
  margin-bottom: 0px;
}
main .news_item img#castline_primary_logo {
  width: 280px;
  height: auto;
  margin: 4px;
}
@media screen and (max-width: 550px) {
  main .news_item img#castline_primary_logo {
    width: 100%;
    height: auto;
  }
}
main .news_item #facebook_logo {
  width: 50px;
  height: auto;
  margin: 10px;
  margin-right: 0px;
  margin-top: 0px;
  padding: 0px;
}
@media screen and (max-width: 550px) {
  main .news_item #facebook_logo {
    width: 46px;
  }
}
@media screen and (max-width: 550px) {
  main .news_item .fb-page {
    max-width: 300px;
  }
}
main .news_item img#calendar {
  width: 125px;
  height: auto;
  margin-right: -10px;
}
@media screen and (max-width: 550px) {
  main .news_item img#calendar {
    width: 25%;
    height: auto;
  }
}
#eighteenth_edition img {
  width: 260px;
  position: absolute;
  right: 0;
  bottom: 0;
}
#news_item_cablecalc_offer {
  object-fit: scale-down;
  width: auto;
  max-height: 150px;
  margin-top: -10px;
  margin-bottom: -10px;
  display: inline-block;
}
@media screen and (max-width: 641px) {
  #news_item_cablecalc_offer {
    width: 100%;
    max-height: 250px;
    margin: 0px;
    margin-bottom: -10px;
  }
}
/*---------------------------------------------------------- large news item ------------------------------------------------------------*/
#large_news_banner {
  max-width: 2400px;
  overflow: hidden;
  padding: 10px;
  display: block;
  position: relative;
  color: rgba(255, 255, 255, 1.00);
  border: solid 2px rgba(67, 67, 67, 1.00);
  border-radius: 16px;
  background-color: rgba(251, 251, 251, 1.00);
  margin: 10px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 1921px) {
  #large_news_banner {
    margin: 10px;
  }
  #large_news_banner_copy {
    display: block;
    vertical-align: middle;
    text-align: left;
    color: #444444;
    box-sizing: border-box;
    max-width: 1900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
  }
  @media screen and (max-width: 1101px) {
    #large_news_banner_copy {
      font-size: 1em;
    }
  }
  @media screen and (max-width: 641px) {
    #large_news_banner {
      padding: 4px;
      margin: 4px;
    }
    #large_news_banner_copy {
      font-size: 0.9em;
      text-align: justify;
    }
  }
  #screenshot {
    float: left;
    margin: 50px;
    margin-left: 40px;
    margin-top: 10px;
    -webkit-filter: drop-shadow(2px 2px 5px #959595);
    filter: drop-shadow(2px 2px 5px #959595);
    width: calc(40vw);
    max-width: 500px;
    height: auto;
    max-height: calc(75vh);
    object-fit: scale-down;
  }
  @media screen and (max-width: 1101px) {
    #screenshot {
      width: calc(90vw);
      max-width: 550px;
      float: none;
      display: block;
      margin-left: auto;
      margin-right: auto;
      margin-top: 40px;
    }
  }
  @media screen and (max-width: 641px) {
    #screenshot {
      width: calc(80vw);
    }
  }
  #large_news_banner_copy h3 {
    letter-spacing: 1px;
    line-height: 1.4em;
    margin: 30px;
    font-size: 1.8em;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #959595;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
  }
  @media screen and (max-width: 1101px) {
    #large_news_banner_copy h3 {
      letter-spacing: 0.6px;
      font-size: 1.4em;
    }
  }
  @media screen and (max-width: 641px) {
    #large_news_banner_copy h3 {
      letter-spacing: 0.4px;
      font-size: 1.25em;
      margin: 4px;
      white-space: nowrap;
    }
  }
}