/* Cloud18 page: the sign-up page's hero and slideshows (signup.css), plus capacity figures and partner price cards */

.c18-section {
  scroll-margin-top: 8rem;
}
/* the "what is" text under the first slideshow's title is longer than a tagline */
.c18-section .signup-plan-head p {
  max-width: 46rem;
  margin: 0 auto;
}
.c18-content {
  border-top: 1px solid #e6eef3;
  margin-top: 2.5rem;
  padding-top: 1rem;
}

/* pricing: one card per unit, then the highlights */
/* the units are slides of the pricing carousel (.signup-slide gives the card) */
.c18-unit-code {
  font-size: 2rem;
  font-weight: 700;
  color: #0a7fb0;
  line-height: 1.1;
}
.c18-unit h3 {
  color: #005179;
  margin: .3rem 0 .6rem;
  font-size: 1.15rem;
}
/* no margin here: .signup-slide p centres the paragraph (margin: 0 auto) */

/* pricing highlights: three cards under the unit definitions */
.c18-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 2rem 0 1rem;
}
.c18-highlight {
  text-align: center;
  padding: 1.8rem 1.4rem;
  background: #f5fafd;
  border: 1px solid #d7e8f1;
  border-radius: 1rem;
}
.c18-highlight h3 {
  color: #005179;
  margin: 0 0 .5rem;
}
.c18-highlight p {
  color: #444;
  margin: 0;
}
@media (max-width: 52rem) {
  .c18-highlights { grid-template-columns: 1fr; }
}

/* the closing band (migration) reuses the hero's gradient and buttons, without its room for the fixed header */
.c18-band {
  border-top: 0;
  border-radius: 1rem;
  margin: 3rem 0 1rem;
}
.c18-band h2 {
  color: #fff;
  margin: 0 0 .8rem;
}

.c18-stat-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  color: #0a7fb0;
  margin-bottom: .3rem;
}

.c18-offer-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.4rem;
  color: #555;
  margin-bottom: 1.2rem !important;
}
.c18-offer-facts .fa {
  color: #1BB3E9;
}

.c18-prices {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
  max-width: 32rem;
  margin: 0 auto;
}
.c18-price {
  background: #fff;
  border: 1px solid #d7e8f1;
  border-radius: .8rem;
  padding: .8rem .4rem;
}
.c18-price-unit {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #0a7fb0;
}
.c18-price-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #005179;
}
.c18-price-note {
  font-size: .85rem;
  color: #777 !important;
  margin-top: .8rem !important;
}

@media (max-width: 40rem) {
  .c18-stat-value { font-size: 2.3rem; }
  .c18-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c18-price-value { font-size: 1.25rem; }
}

/* landing pages (template landing): a slide's subtitle, check list and link */
.c18-landing-subtitle {
  color: #0a7fb0;
  font-weight: 600;
  margin: 0 auto .6rem;
}
.c18-landing-items {
  list-style: none;
  padding: 0;
  margin: 1rem auto 0;
  max-width: 30rem;
  text-align: left;
}
.c18-landing-items li {
  color: #444;
  margin: .35rem 0;
}
.c18-landing-items .fa {
  color: #0a7fb0;
  margin-right: .4rem;
}
.c18-landing-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-weight: 600;
  color: #0a7fb0;
}

.c18-section-link {
  text-align: center;
  margin: .4rem 0 0;
}

/* landing: a band of logos */
.c18-logos-band {
  text-align: center;
  padding: 2.5rem 0 1rem;
}
.c18-logos-band p {
  margin: 0 auto 1.6rem;
  max-width: 46rem;
}
.c18-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.6rem 2.4rem;
}
.c18-logos img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* blog: post cards, the latest post featured */
.c18-blog-list {
  max-width: 1100px;
  margin: 2.5rem auto 0;
}
.c18-blog-card {
  display: flex;
  flex-direction: column;
  background: #f5fafd;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.c18-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 81, 121, .14);
}
.c18-blog-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: linear-gradient(135deg, #005179 0%, #0a7fb0 60%, #1BB3E9 100%);
  color: #fff;
  font-size: 3.2rem;
}
.c18-blog-visual:hover {
  color: #fff;
}
.c18-blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.3rem 1.5rem 1.5rem;
}
.c18-blog-body h3 {
  margin: .2rem 0 .6rem;
  font-size: 1.25rem;
  line-height: 1.35;
}
.c18-blog-body h3 a {
  color: #005179;
}
.c18-blog-meta {
  margin: 0;
  font-size: .85rem;
  color: #6b8796;
}
.c18-blog-summary {
  flex: 1;
  margin: 0 0 .9rem;
  font-size: .95rem;
}
.c18-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .9rem;
}
.c18-blog-tags span {
  padding: .1rem .6rem;
  border-radius: 999px;
  background: #e1f3fb;
  color: #005179;
  font-size: .75rem;
}
.c18-blog-featured {
  flex-direction: row;
  margin-bottom: 2rem;
}
.c18-blog-featured .c18-blog-visual {
  flex: 0 0 38%;
  height: auto;
  min-height: 260px;
  font-size: 5rem;
}
.c18-blog-featured .c18-blog-body {
  padding: 2rem 2.2rem;
}
.c18-blog-featured .signup-plan-badge {
  align-self: flex-start;
  margin-bottom: .6rem;
}
.c18-blog-featured h3 {
  font-size: 1.7rem;
}
.c18-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.c18-blog-feed,
.c18-blog-feed:hover {
  color: #fff;
}

/* the site guidance under the blog and every post */
.c18-guidance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.c18-guidance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.2rem;
  background: #f5fafd;
  border-radius: 14px;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.c18-guidance-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 81, 121, .14);
}
.c18-guidance-card h3 {
  margin: .8rem 0 .4rem;
  font-size: 1.1rem;
  color: #005179;
}
.c18-guidance-card p {
  flex: 1;
  font-size: .9rem;
}

/* a blog post: hero and reading column */
.c18-post-back {
  margin: 0 0 .8rem;
}
.c18-post-back a,
.c18-post-hero .signup-hero-note a {
  color: #fff;
}
.c18-post {
  max-width: 780px;
  margin: 2.5rem auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
}
.c18-post h1:first-child {
  display: none;
}
.c18-post img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.c18-post pre {
  border-radius: 10px;
  overflow-x: auto;
}
.c18-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 780px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e6eef3;
}

@media (max-width: 900px) {
  .c18-blog-grid,
  .c18-guidance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .c18-blog-featured {
    flex-direction: column;
  }
  .c18-blog-featured .c18-blog-visual {
    min-height: 160px;
  }
}
@media (max-width: 600px) {
  .c18-blog-grid,
  .c18-guidance-grid {
    grid-template-columns: 1fr;
  }
  .c18-post-nav {
    flex-direction: column;
  }
}

/* pillars: the big message of a page, side by side */
.c18-pillars {
  max-width: 1100px;
  margin: 2.5rem auto 1rem;
}
.c18-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.c18-pillar {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.8rem;
  background: #f5fafd;
  border-top: 5px solid #1BB3E9;
  border-radius: 14px;
}
.c18-pillar:nth-child(2) {
  border-top-color: #005179;
}
.c18-pillar:nth-child(2) .signup-slide-icon {
  background: #005179;
}
.c18-pillar-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.c18-pillar-head .signup-slide-icon {
  flex: 0 0 auto;
  margin: 0;
}
.c18-pillar-head h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #005179;
}
.c18-pillar-head .c18-landing-subtitle {
  margin: .2rem 0 0;
}
.c18-pillar .c18-landing-items {
  flex: 1;
  max-width: none;
  margin: 0 0 1.2rem;
  text-align: left;
}
.c18-pillar .c18-landing-link {
  align-self: flex-start;
}
@media (max-width: 800px) {
  .c18-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* contact forms: the form in a card, what we can talk about beside it */
.c18-contact {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  max-width: 1050px;
  margin: 2.5rem auto 0;
  align-items: start;
}
.c18-contact-form {
  padding: 2rem 2.2rem;
  background: #f5fafd;
  border-radius: 14px;
}
.c18-contact-form h1:first-child {
  display: none;
}
.c18-contact-form label {
  color: #005179;
  font-weight: 600;
}
.c18-contact-form input[type="text"],
.c18-contact-form input[type="email"],
.c18-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .7rem .9rem;
  border: 1px solid #cfe3ee;
  border-radius: 10px;
  background: #fff;
}
.c18-contact-form textarea {
  min-height: 9rem;
}
.c18-contact-form input:focus,
.c18-contact-form textarea:focus {
  outline: none;
  border-color: #1BB3E9;
  box-shadow: 0 0 0 3px rgba(27, 179, 233, .18);
}
.c18-contact-form .buttons {
  margin-top: 1.2rem;
}
.c18-contact-form .buttons .button {
  padding: .7rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #005179 0%, #0a7fb0 60%, #1BB3E9 100%);
  color: #fff;
  font-weight: 600;
}
.c18-contact-form .buttons .button[type="reset"] {
  background: transparent;
  color: #005179;
}
.c18-contact-aside {
  padding: 1.8rem;
  border-top: 5px solid #1BB3E9;
  border-radius: 14px;
  background: #f5fafd;
}
.c18-contact-aside h3 {
  margin: 0 0 1rem;
  color: #005179;
}
.c18-contact-aside ul {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.c18-contact-aside li {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .9rem;
}
.c18-contact-aside .signup-slide-icon {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  line-height: 2.4rem;
  margin: 0;
  font-size: 1rem;
}
@media (max-width: 800px) {
  .c18-contact {
    grid-template-columns: 1fr;
  }
}


/* tables and figures inside a post: a wide table scrolls, it never breaks the column */
.c18-post table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: .9rem;
  line-height: 1.5;
}
.c18-post th,
.c18-post td {
  padding: .45rem .7rem;
  border-bottom: 1px solid #e6eef3;
  text-align: left;
  vertical-align: top;
}
.c18-post th {
  background: #f5fafd;
  color: #005179;
}
.c18-post figure {
  margin: 1.4rem 0;
}
.c18-post figcaption {
  font-size: .85rem;
  color: #6b8796;
}

/* landing: a section of cards shown at once (layout: grid), the feature list: two big blocks side by side,
   the same look as the Cloud18 pillars */
.c18-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.c18-feature-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.8rem;
  background: #f5fafd;
  border-top: 5px solid #1BB3E9;
  border-radius: 14px;
}
.c18-feature-card:nth-child(4n+2),
.c18-feature-card:nth-child(4n+3) {
  border-top-color: #005179;
}
.c18-feature-card:nth-child(4n+2) .signup-slide-icon,
.c18-feature-card:nth-child(4n+3) .signup-slide-icon {
  background: #005179;
}
.c18-feature-card .c18-pillar-head h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #005179;
}
.c18-feature-card .signup-slide-icon {
  flex: 0 0 auto;
  margin: 0;
}
.c18-feature-card .c18-landing-items {
  flex: 1;
  max-width: none;
  margin: 0 0 1.2rem;
  text-align: left;
}
[dir="rtl"] .c18-feature-card .c18-landing-items {
  text-align: right;
}
.c18-feature-card .c18-landing-link {
  align-self: flex-start;
}
@media (max-width: 800px) {
  .c18-feature-grid {
    grid-template-columns: 1fr;
  }
}
/* an odd last block takes the whole row */
.c18-feature-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
