.cm-sticky {
  position: sticky !important;
  top: 120px;
  align-self: flex-start !important;
}


/* ===== Override YARPP ===== */

.yarpp-thumbnail{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding:0 !important;
    margin:0 !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    overflow:visible !important;

    display:flex !important;
    flex-direction:column;
}

.yarpp-thumbnail img{
    width:100% !important;
    height:250px !important;
    object-fit:cover !important;
    border-radius:10px;
    margin-bottom:18px !important;
}

/* Fix title */

.yarpp-thumbnail-title{
    display:block !important;
    position:relative !important;

    width:100% !important;
    height:auto !important;
    min-height:80px !important;
    max-height:none !important;

    overflow:visible !important;
    white-space:normal !important;
    text-overflow:unset !important;

    padding:0 !important;
    margin:0 0 15px !important;

    font-size:17px !important;
    font-weight:700 !important;
    line-height:1.5 !important;
    color:#222 !important;

    background:transparent !important;
}

/* Remove plugin gradient if present */

.yarpp-thumbnail-title:before,
.yarpp-thumbnail-title:after{
    display:none !important;
}

/* Read More */

.yarpp-thumbnail::after{
    content:"READ MORE";
    font-size:13px;
    font-weight:600;
    color:#777;
    letter-spacing:1px;
    border-bottom:2px solid #777;
    display:inline-block;
    width:max-content;
    margin-top:auto;
    padding-bottom:4px;
}

/* Grid */

.yarpp-thumbnails-horizontal{
    display:grid !important;
    grid-template-columns:repeat(4,1fr);
    gap:35px;
}

@media(max-width:1024px){
    .yarpp-thumbnails-horizontal{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){
    .yarpp-thumbnails-horizontal{
        grid-template-columns:1fr;
    }
}










/* Replace 40 with your form ID */
form.fluent_form_1 .ff-btn-submit {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
}

form.fluent_form_1 .ff-btn-submit:hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
}










/* ==========================================
   NEWSLETTER: NAME, EMAIL, WHATSAPP & SUBSCRIBE
   Shared by the homepage and article newsletter.
   ========================================== */
.wpcf7 .custom-subscribe-form {
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 1.25fr) 144px !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

.wpcf7 .custom-subscribe-form :is(.subscribe-input, .subscribe-submit) {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.wpcf7 .custom-subscribe-form .subscribe-input {
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #eeeeee !important;
}

.wpcf7 .custom-subscribe-form p,
.wpcf7 .custom-subscribe-form .wpcf7-form-control-wrap {
    display: block !important;
    position: relative;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

.wpcf7 .custom-subscribe-form .subscribe-submit > p {
    height: 100% !important;
}

.wpcf7 .custom-subscribe-form br {
    display: none !important;
}

.wpcf7 .custom-subscribe-form :is(input[type="text"], input[type="email"], input[type="tel"]) {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #222 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-align: center !important;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.wpcf7 .custom-subscribe-form input::placeholder {
    color: #777 !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.wpcf7 .custom-subscribe-form :is(input[type="text"], input[type="email"], input[type="tel"]):is(:focus, :focus-visible) {
    background: #f5f5f5 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.wpcf7 .custom-subscribe-form .subscribe-input:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

.wpcf7 .custom-subscribe-form input[type="submit"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 64px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #141414 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: normal !important;
    text-align: center !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease;
}

.wpcf7 .custom-subscribe-form input[type="submit"]:hover {
    background: #333 !important;
}

.wpcf7 .custom-subscribe-form input[type="submit"]:focus-visible {
    outline: 2px solid #555 !important;
    outline-offset: 4px !important;
}

.wpcf7 .custom-subscribe-form .wpcf7-spinner {
    position: absolute !important;
    top: auto !important;
    bottom: 4px !important;
    left: calc(50% - 12px) !important;
    right: auto !important;
    margin: 0 !important;
    transform: none !important;
}

.wpcf7 .custom-subscribe-form .subscribe-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wpcf7 .custom-subscribe-form .wpcf7-not-valid-tip {
    display: block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 16px 12px !important;
    color: #b3261e !important;
    font: 400 13px/1.4 Arial, Helvetica, sans-serif !important;
    text-align: left !important;
}

/* Preserve the existing response-message styling for Contact Form 7. */
.wpcf7 form .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
}

@media (max-width: 1024px) {
    .wpcf7 .custom-subscribe-form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .wpcf7 .custom-subscribe-form .subscribe-input {
        border-right: 0 !important;
    }

    .wpcf7 .custom-subscribe-form :is(.subscribe-input, .subscribe-submit, input[type="text"], input[type="email"], input[type="tel"], input[type="submit"]) {
        min-height: 64px !important;
    }

    .wpcf7 .custom-subscribe-form :is(input[type="text"], input[type="email"], input[type="tel"]) {
        height: 64px !important;
    }
}

@media (max-width: 640px) {
    .wpcf7 .custom-subscribe-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .wpcf7 .custom-subscribe-form :is(input[type="text"], input[type="email"], input[type="tel"]) {
        padding: 0 18px !important;
        text-align: left !important;
    }
}

/* Country code and national mobile number share the existing phone column. */
.wpcf7 .custom-subscribe-form .subscribe-phone-fields {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: start !important;
    width: 100% !important;
    gap: 0 !important;
}

.wpcf7 .custom-subscribe-form :is(.subscribe-phone-code, .subscribe-phone-number) {
    min-width: 0 !important;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-code {
    border-right: 1px solid #eee;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-code select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 8px 0 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: #222 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    cursor: pointer;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-number input[type="tel"] {
    padding: 0 12px !important;
    text-align: left !important;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-code select:is(:focus, :focus-visible) {
    outline: none !important;
    background-color: #f5f5f5 !important;
}

@media (max-width: 1024px) {
    .wpcf7 .custom-subscribe-form .subscribe-phone-code select {
        height: 64px !important;
        min-height: 64px !important;
    }
}

/* Newsletter polish and searchable country picker. */
.wpcf7 .custom-subscribe-form {
    gap: 12px !important;
    font-family: Arial, Helvetica, sans-serif;
}

.wpcf7 .custom-subscribe-form .subscribe-input {
    border: 1px solid #e7e4e0 !important;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.wpcf7 .custom-subscribe-form .subscribe-input:hover {
    border-color: #cfcac4 !important;
}

.wpcf7 .custom-subscribe-form .subscribe-input:focus-within {
    border-color: #bdb7af !important;
}

.wpcf7 .custom-subscribe-form :is(input[type="text"], input[type="email"], input[type="tel"]) {
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 20px !important;
    text-align: left !important;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-number input[type="tel"] {
    padding: 0 12px !important;
    border-radius: 0 8px 8px 0 !important;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-code {
    border-right: 1px solid #ece9e5;
    background: #faf9f7;
    border-radius: 8px 0 0 8px;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-code select {
    height: 62px !important;
    min-height: 62px !important;
}

.wpcf7 .custom-subscribe-form .subscribe-phone-code .newsletter-country-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.wpcf7 .custom-subscribe-form .newsletter-country-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 62px;
    min-width: 0;
    margin: 0;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 8px 0 0 8px;
    background: transparent !important;
    color: #262626 !important;
    font: 500 14px/1.4 Arial, Helvetica, sans-serif !important;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

.wpcf7 .custom-subscribe-form .newsletter-country-trigger svg {
    flex-shrink: 0;
}

.wpcf7 .custom-subscribe-form .newsletter-country-trigger:is(:hover, :focus-visible, [aria-expanded="true"]) {
    background: #f0eeea !important;
    outline: none;
}

.wpcf7 .custom-subscribe-form .newsletter-country-trigger[aria-invalid="true"] {
    color: #b3261e !important;
}

.newsletter-country-menu {
    position: fixed;
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e2de;
    border-radius: 12px;
    background: #fff;
    color: #222;
    box-shadow: 0 12px 40px rgba(25, 20, 15, 0.14);
    font: 400 14px/1.5 Arial, Helvetica, sans-serif;
    text-align: left;
    box-sizing: border-box;
    color-scheme: light;
}

.newsletter-country-menu[hidden] {
    display: none !important;
}

.newsletter-country-menu * {
    box-sizing: border-box;
}

.newsletter-country-header {
    flex-shrink: 0;
    padding: 16px 16px 12px;
    border-bottom: 1px solid #f0eeeb;
}

.newsletter-country-heading {
    margin: 0 0 10px;
    color: #666;
    font: 600 11px/1.4 Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-country-menu input.newsletter-country-search {
    display: block;
    width: 100%;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #e4e1dd;
    border-radius: 6px;
    background: #faf9f7;
    color: #222;
    font: 400 14px/1.5 Arial, Helvetica, sans-serif;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.newsletter-country-menu input.newsletter-country-search:focus {
    border-color: #aaa39a;
}

.newsletter-country-menu input.newsletter-country-search::placeholder {
    color: #777;
    opacity: 1;
}

.newsletter-country-list {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
    scrollbar-width: thin;
    scrollbar-color: #d2cdc6 transparent;
}

.newsletter-country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 10px;
    border-radius: 6px;
    color: #333;
    font: 400 14px/1.5 Arial, Helvetica, sans-serif;
    cursor: pointer;
}

.newsletter-country-option:is(:hover, .is-active) {
    background: #f5f3ef;
}

.newsletter-country-option[aria-selected="true"] {
    color: #111;
    font-weight: 600;
}

.newsletter-country-option-name {
    flex: 1;
    min-width: 0;
}

.newsletter-country-option-code {
    flex-shrink: 0;
    color: #666;
    font-variant-numeric: tabular-nums;
}

.newsletter-country-check {
    width: 14px;
    flex-shrink: 0;
}

.newsletter-country-status {
    flex-shrink: 0;
    padding: 8px 16px;
    border-top: 1px solid #f0eeeb;
    color: #6a655e;
    font: 400 11px/1.5 Arial, Helvetica, sans-serif;
}

@media (max-width: 640px) {
    .newsletter-country-menu input.newsletter-country-search {
        font-size: 16px;
    }
}
