.container {
    max-width: 1270px;
    margin: 30px auto;
    padding: 0 15px;
}
section.article-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.article-image {
      flex: 1;
    min-width: 250px;
}
.article-content {
    flex: 2;
}
.article_date {
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 700;
}
p.article_title {
    color: #117C9E;
    font-size: 30px;
    margin-bottom: 5px;
    font-weight: bold;
    line-height: 40px;
}
.article_desc {
    color: #444;
    margin-bottom: 15px;
    font-size: 16px;
}
section.send_to_whats_app {
    text-align: center;
    margin-bottom: 10px;
}
button.whats_btn {
    background-color: #08566E;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
}
 /* reset box sizing for predictable layout */
  .popup-box, .phone-input-wrapper, .phone-input-wrapper * { box-sizing: border-box; }

  /* Overlay & popup */
  .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  .popup-box {
    background: #fff;
    border-radius: 12px;
    padding: 36px 44px;
    width: 760px;          /* change to match your Figma width */
    max-width: 96%;
    min-height: 420px;     /* keep your required height */
    text-align: center;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  }
  .popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #3b3b3b;
  }

  /* icons */
  .popup-icons { display:flex; align-items:center; justify-content:center; gap:36px; margin-bottom: 12px; }
  .folder-icon { width:75px; height:56px; object-fit:contain; }
  .arrow-icon  { width:150px; height:auto; object-fit:contain; } /* wider arrow for your design */
  .phone-icon  { width:56px; height:auto; object-fit:contain; }

  .popup-text { margin: 16px 0 26px; font-size:18px; font-weight:500; color:#111; line-height:1.3; }

  /* phone input wrapper - key styles to match screenshot */
  .phone-input-wrapper {
    display: flex;
    align-items: center;
    width: 560px;             /* set exact width you want inside popup */
    max-width: 100%;
    height: 56px;             /* fixed height so text is vertically centered */
    margin: 0 auto 28px;
    border: 2px solid #1c6a7b; /* border color matching screenshot - tweak as needed */
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  /* country dropdown (left) */
  .phone-input-wrapper .country-code {
    width: 60px;               /* fixed dropdown width */
    height: 100%;
    padding: 0 14px;
    font-size: 16px;
    color: #7A7A7A;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    position: relative;
    /* custom chevron (inline SVG) */
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");*/
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    text-align: left;
  }

  .js-form-item.form-item.js-form-type-textfield.form-item-whatsapp-number.js-form-item-whatsapp-number.form-no-label .form-text, .form-date, .form-textarea, .form-select, .form-email, .form-tel, .form-file, .custom-select > a {
    width: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #7A7A7A;
    border: 2px solid #1c6a7b;
    border-radius: 0px;
    padding: 17px 15px;
}
.page-node-type-brochure-article .form-text{
    border: 0px solid #D3D4DB !important;
}
  /* phone input (right) */
  .whatsapp-input {
    flex: 1;
    height: 100%;
    padding: 0 18px;
    border: none;
    font-size: 16px;
    color: #444;
  }
  .whatsapp-input::placeholder { color: #9aa6ab; }
  .whatsapp-input:focus { outline: none; }

  /* whatsapp button */
  .whatsapp-btn {
    background: #108113;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    cursor: pointer;
  }
  .whatsapp-btn img { width: 20px; height: auto; display:block; }


  .popup-text span {
  display: block; /* Forces each span to start on a new line */
}
.brochure-form .button {
  padding: 0px !important;
    background-color: #108113 !important;
    border: 1px solid #108113!important;
  }
 .brochure-form .button:hover {
    background-color: #108113 !important;
    color: #fff!important;
}
.form-item {
    margin-bottom: 0px !important;
}
 .page-node-type-brochure-article .related-brochure-section { max-width: 1270px; padding: 0 15px; margin: 0 auto;
}
.page-node-type-brochure-article .related-section .view-content { position: relative; padding-bottom: 20px;
}
.page-node-type-brochure-article .related-section .view-content h3 {  display:none;
}
.page-node-type-brochure-article .related-section .view-header h2 { color: #007b94; font-size: 32px; margin-bottom: 10px; font-weight: bold;
}
.page-node-type-brochure-article .article-image img{  width: 425px;
}
.page-node-type-brochure-article .related-section { margin: 30px 0px;
}
.cardScroller { display: inline; overflow: visible; scroll-behavior: smooth; gap: 15px; padding: 10px 0; -ms-overflow-style: none; scrollbar-width: none;
}
.related-section .brochure-card { width: 285px; min-height: 345px; height: 380px; margin-bottom: 20px; box-shadow: 1px 2px 1px 2px rgba(0, 0, 0, 0.1); background: #fff; padding: 10px; border-radius: 8px; text-align: center; display: flex; flex-direction: column; justify-content: space-between;
}
.related-section .brochure-card img, .section-container .brochure-card img { width: 100%; object-fit: cover; height: 234px; border-radius: 8px; margin-bottom: 8px;
}
.related-section .brochure-card p.brochure-card-title a, .section-container .brochure-card p.brochure-card-title a { font-size: 16px; margin: 0 0 8px 0; font-weight: 600; color: #333; flex-grow: 1; /* pushes button down */ display: -webkit-box; -webkit-line-clamp: 2; /* max 2 lines */ -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; min-height: 32px; /* keeps consistent spacing even with short titles */
}
.related-section .brochure-card a.card-btn, .section-container .brochure-card a.card-btn { background-color: #fff; color: #007b94; border: 1px solid #007b94; border-radius: 22px; padding: 6px 16px; font-size: 16px; cursor: pointer; width: fit-content; margin: 10px auto; font-weight: bold; transition: all 0.2s ease-in-out;
}
.related-section .brochure-card a.card-btn:hover, .section-container .brochure-card a.card-btn:hover { background-color: #007b94; color: #fff;
}
.section-container { max-width: 1270px; margin: 40px auto; padding: 0px;
}
.section-header-shared { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.section-header-shared h2 { color: #007b94; font-size: 26px; font-weight: bold; margin: 0;
}
.section-container .brochure-card { flex: 0 0 calc(25% - 15px); background: #fff; border-radius: 8px; box-shadow: 1px 2px 1px 2px rgba(0, 0, 0, 0.1); text-align: center; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; min-height: 345px; height: 380px; margin: 10px 20px 10px 0px; padding: 10px;
}
.section-container .view-content h3 { margin-bottom: 0px;
}
.section-container .category-section {  margin-top: 30px;
}
.view-banner-content {  margin-bottom: 30px;
}
.cardScroller .slick-next { right: -50px;
}
.cardScroller .slick-prev { left: -75px;
}
.cardScroller button.slick-prev.slick-arrow, button.slick-next.slick-arrow { margin-left: 10px; margin-top: -18px;
}
.slick-arrow:hover { opacity: 0.8;
}
.slick-arrow.slick-next { background-image: url(/assets/theme/images/ right-arrow.svg); left: auto; 
  right: -65px;
}
.slick-arrow { cursor: pointer; font-size: 0; left: -65px; top: 50%; position: absolute; text-indent: -999px; overflow: unset; z-index: 9; width: 44px; height: 44px; background: rgba(0, 55, 95, 0.2) url(/assets/theme/images/left-arrow.svg) no-repeat center center; background-size: 18px; transition: transform .3s; transform: translateY(-50%); border: none; padding: 0; border-radius: 50%;
}
.section-container .slick-dots button, .related-section .slick-dots button {  width: 12px;  height: 12px; border-radius: 50%;
}
form.views-exposed-form {  display: flex;  justify-content: end; margin-bottom: 10px;
}
.views-exposed-form .js-form-item.js-form-type-select, .views-exposed-form .js-form-type-search-api-autocomplete{ max-width: 200px; margin-left: 16px;
}
a.read_more_brochure {
    color: #117c9e;
    font-size: 16px;
    font-weight: 600;
}
  /* small responsive tweak */
  @media (max-width:700px) {
    .popup-box { padding: 20px; width: 100%; }
    .phone-input-wrapper { width: 100%; height:35px; }
    .popup-icons { gap: 18px; }
    .arrow-icon { width: 90px; }
  }

@media (max-width: 768px) {
  form.views-exposed-form {
    display: inline-block;
}
.container {
        padding: 0px 0;
    }
.views-exposed-form .js-form-item.js-form-type-select, .views-exposed-form .js-form-type-search-api-autocomplete {
    max-width: 100%;
    margin-bottom: 10px !important;
}
.section-header-shared h2 {
    font-size: 24px;
}
  section.article-container {
      display: inline-block;
  }
    p.article_title {
        font-size: 18px;
        line-height: 25px;
    }

button.whats_btn {
    font-size: 16px;
}
.page-node-type-brochure-article .related-section .view-header h2 {
    font-size: 20px;
}
    .article_desc {
    font-size: 14px;
}
  .related-section .brochure-card {
    width: 250px;
    min-height: 284px;
    height: 380px;
  }
.cardScroller .slick-prev {
    top: -18px;
    left: -38px;
    position: relative;
    float: right;
    display: inline-block !important;
    box-shadow: 1px 5px 8px 0px rgb(0 0 0 / 30%);
    /*background: url(/assets/theme/images/right.png);
    background-image:none;*/
}
.slick-arrow.slick-next {
    right: -5px !important;
    top: -8px;
    position: absolute;
    float: right;
    display: inline-block !important;
    box-shadow: 1px 5px 8px 0px rgb(0 0 0 / 30%);
   /* background: url(/assets/theme/images/left.png);
    background-image:none;*/
}
.slick-list.draggable {
    width: 100%;
}
.page-node-type-brochure-article .related-section {
    margin: 0px 0px;
    padding: 0px;
    margin-top: -30px;
}
}

.preview-content { display: none;
}
.whats_btn { background-color: #08566E; color: #fff; padding: 10px 25px; border: none; border-radius: 20px; font-size: 18px; cursor: pointer;
}
button.whats_btn { background-color: #08566E; color: #fff; padding: 10px 25px; border: none; border-radius: 20px; font-size: 18px; cursor: pointer;
}
.preview-content {gap:15px; padding: 20px; border-radius: 8px; border: 1px solid #ccc; overflow: auto; margin-bottom: 30px;
}
.preview-content .article-content { flex: 1 1 80%;}
.preview-content .article-image { flex: 1 1 20%;}
.preview-content .article_date {    font-size: 18px;
}
.preview-content .article_title { font-size: 24px; font-weight: 600; margin-bottom: 10px; line-height: 20px; }
.preview-content .article_desc { font-size: 16px;
}
.preview-content section.send_to_whats_app {    text-align: center;
}
.preview-toggle.active {    color: #ffffff !important;  background-color: #007b94 !important;
}
@media screen and (max-width: 480px) { .preview-content { flex-direction: column; }
}

.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup box */
.popup-content {
  background-color: #ffffff;
  border: 2px solid #00707a;
  border-radius: 10px;
  padding: 60px;
  text-align: center;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Title */
.popup-content h2 {
    color: #117C9E;
    margin-bottom: 20px;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 46px;
    line-height: 56px;
    text-align: center;
}

/* Paragraph */
.popup-content p {
    color: #000000;
    margin-bottom: 60px;
    font-family: 'Open Sans';
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
}

.popup-content strong {
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    color: #000000;
}

/* Button */
.close-btn {
    background-color: #08566E;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    text-transform: capitalize;
}

.close-btn img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    padding-right: 5px;
}

.close-btn:hover {
  background-color: #00585c;
}
.error-message, .err-result {
    padding-top: 30px;
}
.preview_btn {
    margin-bottom: 10px;
}
@media (max-width: 768px) {
.popup-content {
    padding: 40px;
}
.popup-content h2 {
    font-size: 35px;
}
.popup-content p {
    margin-bottom: 40px;
    font-size: 16px;
}
.preview-content .article_title {
    font-size: 20px;
    line-height: 30px;
}
.slick-arrow {
    width: 35px !important;
    height: 35px !important;
}
.section-container .brochure-card {
    min-height: 380px;
    height: auto;
    padding: 5px;
}
.preview-content .article_desc {
    font-size: 16px;
    line-height: 23px;
}

  .article_date {
    margin-top: 10px;
    font-size: 16px;
  }

button.whats_btn {
    font-size: 16px;
}

.popup-text {
    margin: 20px 0 26px;
    font-size: 16px;
}
.js-form-item.form-item.js-form-type-textfield.form-item-whatsapp-number.js-form-item-whatsapp-number.form-no-label .form-text, .form-date, .form-textarea, .form-select, .form-email, .form-tel, .form-file, .custom-select > a {
    font-size: 12px;
    padding: 10px 5px;
}
.error-message, .err-result {
    padding-top: 15px;
    font-size: 12px;
}
span.number_thank {
    display: flow;
    margin-top: 10px;
}
}

@media screen and (max-width: 480px) {
    .section-container .brochure-card {
        min-height: 350px;
        height: auto;
        padding: 5px;
    }
    .related-section .brochure-card img, .section-container .brochure-card img {
        height: 200px;
    }
}