/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor child theme with responsive blog archive and single-post layouts.
Author: Site Administrator
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.1.0
Text Domain: hello-elementor-child
*/

/* ---------- Blog design tokens ---------- */
:root {
  --hec-primary: #015DB2;
  --hec-primary-dark: #004887;
  --hec-text: #172033;
  --hec-muted: #657184;
  --hec-border: #e6ebf1;
  --hec-soft: #f5f8fc;
  --hec-radius: 18px;
  --hec-shadow: 0 10px 35px rgba(20, 45, 75, .07);
}

.hec-blog-wrap,
.hec-single-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  color: var(--hec-text);
}

.hec-blog-wrap { padding: 64px 0 76px; }
.hec-single-wrap { padding: 42px 0 76px; }

.hec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--hec-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hec-eyebrow:before {
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hec-page-heading {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--hec-text);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.hec-page-intro {
  max-width: 700px;
  margin: 0 0 36px;
  color: var(--hec-muted);
  font-size: 17px;
  line-height: 1.75;
}

.hec-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.hec-post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hec-border);
  border-radius: var(--hec-radius);
  background: #fff;
  box-shadow: 0 4px 20px rgba(20, 45, 75, .035);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hec-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 93, 178, .25);
  box-shadow: var(--hec-shadow);
}
.hec-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--hec-soft);
}
.hec-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill!important;
  transition: transform .35s ease;
}
.hec-post-card:hover .hec-card-image img { transform: scale(1.04); }
.hec-card-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 180px;
  place-items: center;
  color: var(--hec-primary);
  background: linear-gradient(135deg, #eaf4ff, #f7faff);
}
.hec-card-image-placeholder svg { width: 42px; height: 42px; }
.hec-card-content { padding: 23px 23px 25px; }
.hec-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 13px;
  margin: 0 0 13px;
  color: var(--hec-muted);
  font-size: 12px;
  line-height: 1.5;
}
.hec-post-meta a { color: var(--hec-primary); text-decoration: none; }
.hec-post-meta a:hover { text-decoration: underline; }
.hec-card-title {
  margin: 0 0 12px;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.32;
}
.hec-card-title a { color: var(--hec-text); text-decoration: none; }
.hec-card-title a:hover { color: var(--hec-primary); }
.hec-card-excerpt {
  margin: 0 0 18px;
  color: var(--hec-muted);
  font-size: 14px;
  line-height: 1.75;
}
.hec-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hec-primary);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.hec-read-more:hover { color: var(--hec-primary-dark); }
.hec-read-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hec-read-more:hover svg { transform: translateX(3px); }

.hec-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 48px 0 0;
}
.hec-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--hec-border);
  border-radius: 10px;
  color: var(--hec-text);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.hec-pagination a.page-numbers:hover,
.hec-pagination .page-numbers.current {
  border-color: var(--hec-primary);
  color: #fff;
  background: var(--hec-primary);
}
.hec-no-posts {
  padding: 36px;
  border: 1px dashed var(--hec-border);
  border-radius: var(--hec-radius);
  color: var(--hec-muted);
  text-align: center;
}

/* Single post */
/* Single post: simple, clean, responsive. Uses the default theme font. */

.hec-single,
.hec-single * {
    box-sizing: border-box;
}

.hec-single {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0 80px;
    font-family: inherit;
    color: inherit;
}

/* Breadcrumbs */
.hec-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 14px;
    opacity: .8;
}

.hec-breadcrumbs a,
.hec-meta a {
    color: #015DB2;
    text-decoration: none;
}

.hec-breadcrumbs a:hover,
.hec-meta a:hover {
    text-decoration: underline;
}

/* Header */
.hec-header {
    margin-bottom: 30px;
    text-align: center;
}

.hec-title {
    margin: 0 0 16px;
    font-family: inherit;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: inherit;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.hec-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    font-size: 14px;
    opacity: .8;
}

/* Featured image */
.hec-featured {
    margin: 0 0 40px;
}

.hec-featured img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* Content */
.hec-content {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.hec-content p {
    margin: 0 0 1.4em;
}

.hec-content h2,
.hec-content h3,
.hec-content h4 {
    margin: 1.8em 0 .6em;
    line-height: 1.3;
}

.hec-content ul,
.hec-content ol {
    margin: 0 0 1.4em 1.4em;
}

.hec-content a {
    color: #015DB2;
}

.hec-content blockquote {
    margin: 1.6em 0;
    padding: 14px 22px;
    border-left: 4px solid #015DB2;
    border-radius: 0 10px 10px 0;
    background: #f5f9fd;
}

/* Images inside the post: always visible, centered, never overflow */
.hec-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hec-content figure,
.hec-content figure.wp-block-image,
.hec-content figure.wp-block-image.aligncenter {
    display: block;
    max-width: 100%;
    margin: 1.8em 0;
    text-align: center;
}

.hec-content figure img {
    display: inline-block;
    vertical-align: bottom;
}

.hec-content figcaption {
    margin-top: 8px;
    font-size: 14px;
    opacity: .7;
}

.hec-content .alignleft {
    float: left;
    max-width: 50%;
    margin: 0 24px 16px 0;
}

.hec-content .alignright {
    float: right;
    max-width: 50%;
    margin: 0 0 16px 24px;
}

.hec-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Videos, tables, code */
.hec-content iframe,
.hec-content video,
.hec-content embed {
    max-width: 100%;
}

.hec-content iframe {
    width: 100%;
}

.hec-content pre {
    max-width: 100%;
    overflow-x: auto;
}

.hec-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.hec-content th,
.hec-content td {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

/* Tags */
.hec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0 0;
}

.hec-tags a {
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    color: #015DB2;
    font-size: 13px;
    text-decoration: none;
}

.hec-tags a:hover {
    border-color: #015DB2;
    background: #f5f9fd;
}

/* Previous / next */
.hec-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 40px 0;
}

.hec-post-nav a {
    display: block;
    height: 100%;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hec-post-nav a:hover {
    border-color: #015DB2;
}

.hec-post-nav span {
    display: block;
    margin-bottom: 6px;
    color: #015DB2;
    font-size: 13px;
}

/* Call to action */
.hec-cta {
    padding: 36px 28px;
    border-radius: 16px;
    background: #015DB2;
    color: #fff;
    text-align: center;
}

.hec-cta h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: inherit;
    font-weight: inherit;
    font-size: 26px;
    line-height: 1.3;
}

.hec-cta p {
    margin: 0 0 22px;
    color: #fff;
    opacity: .9;
}

.hec-cta-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    background: #fff;
    color: #015DB2;
    font-weight: 600;
    text-decoration: none;
}

.hec-cta-button:hover {
    background: #eaf3fc;
    color: #014a8f;
}

/* Comments */
.hec-comments {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.hec-comments .comment-list,
.hec-comments ol,
.hec-comments ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hec-comments .children {
    margin-left: 28px;
}

.hec-comment-body {
    display: flex;
    gap: 14px;
    padding: 16px 0;
}

.hec-comment-body .avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.hec-comment-main {
    min-width: 0;
}

.hec-comment-author {
    margin: 0;
    font-weight: 600;
}

.hec-comment-date {
    font-size: 13px;
    opacity: .7;
    text-decoration: none;
}

.hec-comment-text {
    margin-top: 6px;
}

.hec-comment-reply a {
    color: #015DB2;
    font-size: 14px;
}

.hec-comments input[type="text"],
.hec-comments input[type="email"],
.hec-comments input[type="url"],
.hec-comments textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.hec-comments input[type="submit"] {
    padding: 12px 24px;
    border: 0;
    border-radius: 8px;
    background: #015DB2;
    color: #fff;
    cursor: pointer;
}

.hec-comments input[type="submit"]:hover {
    background: #014a8f;
}

.hec-comments img,
.hec-comments iframe {
    max-width: 100%;
}

/* Mobile */
@media (max-width: 600px) {
    .hec-single {
        width: calc(100% - 30px);
        padding: 24px 0 50px;
    }

    .hec-featured {
        margin-bottom: 28px;
    }

    .hec-featured img {
        border-radius: 10px;
    }

    .hec-content {
        font-size: 16px;
    }

    .hec-content .alignleft,
    .hec-content .alignright {
        float: none;
        max-width: 100%;
        margin: 0 0 1.4em;
    }

    .hec-post-nav {
        grid-template-columns: minmax(0, 1fr);
    }

    .hec-cta {
        padding: 28px 20px;
    }
}

/* Comments */
.hec-comments {
  max-width: 1080px;
  margin: 58px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--hec-border);
}
.hec-comments-title { margin: 0 0 24px; color: var(--hec-text); font-size: 28px; font-weight: 800; }
.hec-comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.hec-comment-list .comment { margin: 0 0 18px; padding: 20px; border: 1px solid var(--hec-border); border-radius: 14px; }
.hec-comment-body { display: flex; gap: 14px; }
.hec-comment-body .avatar { flex: 0 0 auto; border-radius: 50%; }
.hec-comment-author { margin: 0 0 5px; color: var(--hec-text); font-size: 15px; font-weight: 800; }
.hec-comment-date { color: var(--hec-muted); font-size: 12px; }
.hec-comment-text { margin-top: 10px; color: #3f4b5d; font-size: 15px; line-height: 1.7; }
.hec-comment-reply { margin-top: 10px; font-size: 13px; }
.hec-comment-reply a { color: var(--hec-primary); font-weight: 700; }
.hec-comment-form .comment-notes,
.hec-comment-form .logged-in-as { color: var(--hec-muted); font-size: 14px; }
.hec-comment-form label { display: block; margin-bottom: 7px; color: var(--hec-text); font-size: 14px; font-weight: 700; }
.hec-comment-form input:not([type="submit"]),
.hec-comment-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  color: var(--hec-text);
  background: #fff;
  font: inherit;
}
.hec-comment-form input:focus,
.hec-comment-form textarea:focus { outline: 2px solid rgba(1, 93, 178, .18); border-color: var(--hec-primary); }
.hec-comment-form .form-submit { margin-top: 16px; }
.hec-comment-form input[type="submit"] {
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--hec-primary);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.hec-comment-form input[type="submit"]:hover { background: var(--hec-primary-dark); }
.hec-comments .children { margin: 18px 0 0; padding-left: 28px; list-style: none; }
.hec-comments .comment-respond { margin-top: 28px; }
.hec-comments .no-comments { color: var(--hec-muted); }

@media (max-width: 980px) {
  .hec-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .hec-single-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hec-sidebar-card { position: static; }
}
@media (max-width: 600px) {
  .hec-blog-wrap, .hec-single-wrap { width: min(100% - 30px, 1180px); }
  .hec-blog-wrap { padding: 42px 0 52px; }
  .hec-single-wrap { padding: 26px 0 50px; }
  .hec-page-intro { margin-bottom: 25px; font-size: 15px; }
  .hec-post-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hec-card-content { padding: 19px; }
  .hec-card-title { font-size: 21px; }
  .hec-single-title { font-size: clamp(30px, 9vw, 42px); }
  .hec-single-header { text-align: left; }
  .hec-single-meta { justify-content: flex-start; }
  .hec-featured-image { margin-bottom: 26px; border-radius: 14px; }
  .hec-entry-content { font-size: 16px; line-height: 1.8; }
  .hec-post-navigation { grid-template-columns: minmax(0, 1fr); }
  .hec-comments-title { font-size: 24px; }
  .hec-comment-list .comment { padding: 15px; }
  .hec-comments .children { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hec-post-card, .hec-card-image img, .hec-read-more svg { transition: none; }
}
/* Blog listing layout - Primary color #015DB2 */

/* Main blog grid */
.blogs-listing .elementor-posts-container,
.blogs-listing .elementor-loop-container {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px 28px !important;
    width: 100% !important;
    align-items: stretch !important;
}

/* Individual blog card */
.blogs-listing .elementor-post,
.blogs-listing .e-loop-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

/* Featured image */
.blogs-listing .elementor-post__thumbnail__link,
.blogs-listing .elementor-post__thumbnail,
.blogs-listing .elementor-post__thumbnail img,
.blogs-listing .e-loop-item img {
    max-width: 100%;
}

.blogs-listing .elementor-post__thumbnail__link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.blogs-listing .elementor-post__thumbnail {
    position: relative;
    padding-bottom: 0 !important;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blogs-listing .elementor-post__thumbnail img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* Blog content */
.blogs-listing .elementor-post__text,
.blogs-listing .elementor-post__card,
.blogs-listing .elementor-post__content {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.blogs-listing .elementor-post__text {
    padding-top: 14px;
}

.blogs-listing .elementor-post__title {
    margin: 0 0 10px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.blogs-listing .elementor-post__title a {
    color: #015DB2;
    text-decoration: none;
}

.blogs-listing .elementor-post__title a:hover {
    color: #003F7D;
}

.blogs-listing .elementor-post__excerpt {
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.blogs-listing .elementor-post__read-more {
    color: #015DB2;
    font-weight: 600;
}

/* Tablet */
@media (max-width: 1024px) {
    .blogs-listing .elementor-posts-container,
    .blogs-listing .elementor-loop-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 20px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .blogs-listing {
        width: 100%;
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        box-sizing: border-box;
    }

    .blogs-listing .elementor-posts-container,
    .blogs-listing .elementor-loop-container {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .blogs-listing .elementor-post,
    .blogs-listing .e-loop-item {
        width: 100% !important;
        min-width: 0 !important;
    }

    .blogs-listing .elementor-post__title {
        font-size: 21px;
    }
}
/* Footer Content - Fixed Height with Scroll */
.footer-content {
    color: #ffffff !important;
    height: 250px !important;
    max-height: 250px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #ffffff #333333;
}

/* All Footer Content White */
.footer-content,
.footer-content * {
    color: #ffffff !important;
}

/* Footer Links */
.footer-content a {
    text-decoration: none;
}

.footer-content a:hover {
    opacity: 0.8;
}

/* Scrollbar - Chrome, Edge, Safari */
.footer-content::-webkit-scrollbar {
    width: 6px;
}

.footer-content::-webkit-scrollbar-track {
    background: #333333;
}

.footer-content::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

.footer-content::-webkit-scrollbar-thumb:hover {
    background: #cccccc;
}

/* Same Height on Desktop and Mobile */
@media (max-width: 767px) {
    .footer-content {
        height: 250px !important;
        max-height: 250px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
}