/* Archive Page Responsive Styles */
@media (max-width: 1024px) {
  .archive-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .archive-post-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .archive-post-thumbnail {
    height: 200px;
  }

  .archive-cta-container {
    grid-template-columns: 0.6fr 1fr;
    gap: 10px;
    padding: 20px 0px;
    /* text-align: center; */
  }
}

@media (max-width: 768px) {
  .archive-hero-title {
    font-size: 2.5rem;
  }

  .archive-hero-description {
    font-size: 1rem;
  }

  .archive-curve-left,
  .archive-curve-right {
    display: none;
  }

  .archive-main {
    padding: 40px 0;
  }

  .archive-container {
    padding: 0 15px;
  }

  .posts-grid {
    gap: 30px;
  }

  .archive-post-item {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  }

  .archive-post-content {
    padding: 20px;
  }

  .archive-post-title a {
    font-size: 1.3rem;
  }

  .sidebar-widget {
    padding: 20px;
    margin-bottom: 20px;
  }

  .no-posts-actions {
    flex-direction: column;
    align-items: center;
  }

  .archive-cta-content h2 {
    font-size: 2rem;
  }

  .archive-cta-buttons {
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .archive-hero {
    padding: 130px 0 0px;
    min-height: 40vh;
  }
  .archive-hero-title {
    font-size: 2rem;
  }

  .archive-type {
    font-size: 12px;
    padding: 6px 15px;
  }

  .search-form {
    flex-direction: column;
    gap: 15px;
  }

  .search-submit {
    align-self: stretch;
  }

  .recent-post-item {
    flex-direction: column;
    gap: 10px;
  }

  .recent-post-thumb {
    width: 100%;
    height: 150px;
  }
}

/* Header Responsive Styles */
@media (max-width: 1660.98px) {
  .story-left-wave {
    height: 580px;
  }
  .shelly-story-right {
    gap: 10px;
  }
}

@media (max-width: 1500px) {
  .shelly-story-container {
    margin-top: 100px;
    min-height: 130vh;
  }
  .resources-container {
    max-width: 95%;
  }
  .hero-subtitle {
    font-size: 22px;
    max-width: 700px;
  }
  .hero-title {
    font-size: 50px;
  }
  .shelly-story-right {
    gap: 0;
  }
  .shelly-story-left {
    gap: 0;
  }
  .hero-right-cloud {
    top: 70%;
    width: 70%;
  }
}
@media (max-width: 1300px) {
  .hero-right-hand {
    position: absolute;
    right: 0;
    top: 45%;
    z-index: 1;
    width: 80vw;
    height: 70%;
    object-fit: scale-down;
  }
}
@media (max-width: 1300px) {
  .shelly-story-container {
    margin-top: 100px;
    min-height: 130vh;
  }
}

@media (max-width: 1199.98px) {
  #who-we-are {
    padding: 0 !important;
  }
  .main-header {
    width: 95%;
  }
  .hero {
    margin-top: 60px;
  }

  .curve-left {
    height: 30%;
  }

  .curve-right {
    position: absolute;
    height: 30%;
  }

  #timeline {
    padding: 0px 0px 60px 0px;
  }

  .hero-content {
    position: absolute;
    right: 2%;
    top: 12%;
  }

  .hero-title {
    font-size: 50px;
  }

  .hero-subtitle {
    font-size: 19px;
    max-width: 650px;
  }

  .shelly-story-container {
    padding: 0 40px 40px 0px;
    margin-top: 50px;
  }

  .shelly-title {
    font-size: 32px;
  }

  .shelly-frame {
    width: 250px;
    height: 250px;
  }

  .disclaimer-title {
    font-size: 32px;
  }
  #disclaimer {
    padding: 0;
  }
  .disclaimer-left-horse {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    width: 20%;
    opacity: 0.2;
  }
  .disclaimer-right-horse {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 1;
    width: 20%;
    opacity: 0.2;
  }
}

@media (max-width: 992px) {
  /* Header Responsive - Tablet */
  .header-container {
    padding: 12px 20px;
  }
  .hero-right-cloud {
    top: 75%;
    width: 70%;
}
  .header-logo {
    height: 45px;
  }

  .nav-links li {
    margin: 0 10px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .lang-btn {
    padding: 6px 12px;
  }

  .lang-btn span {
    font-size: 13px;
  }

  .hero {
    min-height: 80vh;
  }

  .timeline-container {
    max-width: 620px;
    padding: 40px 20px 0px;
  }
  .timeline-title {
    font-size: 36px;
  }

  .step-number {
    font-size: 40px;
    left: -75px;
    top: 2px;
  }

  .curve-left,
  .curve-right {
    height: 20%;
  }

  /* Footer Responsive */
  .footer-container {
    padding: 20px 30px 30px;
  }

  .footer-left {
    flex: 0 0 30%;
  }

  .footer-center,
  .footer-center-right {
    flex: 0 0 30%;
  }

  .footer-right {
    flex: 0 0 100%;
    margin-top: 30px;
  }

  .shelly-story-container {
    flex-direction: column;
    padding: 80px 40px 170px;
    background-size: contain;
  }

  .shelly-story-left {
    margin-bottom: 40px;
  }

  .shelly-title {
    font-size: 28px;
  }

  .story-left-wave {
    height: 380px;
  }
  .resources-container {
    padding: 20px 10px;
    gap: 10px;
  }
  .resource-icon {
    width: 50px;
    height: 50px;
  }
  .resources-left {
    gap: 10px;
  }
  .resources-title {
    font-size: 26px;
  }
  .resource-content p {
    font-size: 16px;
  }
  .resources-message {
    padding: 0;
  }
  .resources-message p {
    font-size: 16px;
  }

  .help-ready-text {
    font-size: 16px;
  }
  .help-ready-title {
    font-size: 26px;
  }
  .help-ready-right {
    flex: 1;
    padding: 10px;
  }
  .help-ready-left {
    flex: 0.8;
  }
  .resource-cloud {
    width: 70%;
  }

  .footer {
    padding-top: 140px;
  }

  .disclaimer-points {
    width: 100%;
  }
  .shelly-subtitle,
  .shelly-question,
  .shelly-text {
    margin-bottom: 0px;
  }
  .shelly-quote img {
    height: 70px;
  }
  .shelly-quote {
    left: 0;
  }
}

@media (max-width: 992px) {
  /* Header Responsive - Mobile */
  .header-container {
    padding: 10px 15px;
  }
  .hero-subtitle {
    font-size: 18px;
    max-width: 510px;
  }
  .hero-title {
    font-size: 35px;
  }
  .header-logo {
    height: 40px;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: -105%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #fff;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links a {
    font-size: 16px;
    display: block;
  }

  /* Mobile menu button display is handled in style.css */

  .language-selector {
    margin-right: 15px;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .footer-logo img {
    width: 200px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-width: 90%;
  }

  .modal-body {
    padding: 15px 20px 25px 20px;
  }

  .modal-body .pop-data-step-1 p {
    font-size: 16px;
  }

  .modal-body .pop-data-step-1 li {
    font-size: 14px;
  }

  .resources-modal-section h4 {
    font-size: 18px;
  }

  .resources-modal-section h5 {
    font-size: 15px;
  }

  .resources-modal-section p,
  .resources-modal-section ul li,
  .resources-modal-section ol li {
    font-size: 14px;
  }

  .memorial-quote .quote-content p {
    font-size: 16px;
  }

  /* Who We Are Responsive */
  .who-we-are-container {
    padding: 40px 20px;
    gap: 30px;
  }

  .who-content-block {
    padding: 25px;
  }

  .who-section-title {
    font-size: 24px;
  }

  .who-section-text {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .shelly-story-container {
    padding: 30px 40px 170px;
  }
  /* Footer Responsive */
  .footer {
    height: 100%;
    background-image: none;
    background: #efefef;
  }
  .help-ready-container {
    padding-bottom: 40px;
  }

  .footer-container {
    padding: 20px 20px 30px;
  }

  .footer-left {
    flex: 0 0 100%;
    margin-bottom: 30px;
    padding-right: 10px;
  }
  .footer-center {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
  .footer-center-right {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
  .footer-right {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }

  .footer-right {
    margin-bottom: 0;
  }

  .footer-form {
    flex-direction: column;
  }

  .footer-form input {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .footer-form button {
    border-radius: 4px;
    width: 100%;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
    max-width: 500px;
  }
  .content {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-container {
    max-width: 90%;
    margin-left: auto;
    margin-right: 0;
  }
  .timeline-title {
    font-size: 30px;
  }

  .step-number {
    font-size: 40px;
    left: -75px;
    top: 2px;
  }
  .shelly-title {
    font-size: 24px;
  }

  .shelly-question {
    font-size: 20px;
  }

  .shelly-frame {
    width: 200px;
    height: 200px;
    border-width: 10px;
  }

  .resources-container {
    padding: 40px 10px;
    gap: 10px;
    flex-direction: column;
  }
  .resources-title {
    font-size: 23px;
  }
  .resources-left {
    gap: 10px;
  }
  .resources-message {
    padding: 0;
  }
  .resources-image {
    height: 400px;
  }
  #resources {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .help-ready-left {
    flex: 0.3;
  }
  .disclaimer-container {
    padding: 40px 20px;
  }
  .footer {
    padding-top: 0;
  }
  .archive-cta-container {
    grid-template-columns: 0fr 1fr;
    gap: 10px;
    padding: 20px 0px;
    /* text-align: center; */
  }
}

@media (max-width: 576px) {
  /* Header Responsive - Small Mobile */
  .header-container {
    padding: 8px 10px;
  }
  .hero {
    min-height: 40vh;
    margin-top: 90px;
  }
  .header-logo {
    height: 35px;
  }

  .lang-btn {
    padding: 5px 10px;
  }

  .lang-btn span {
    font-size: 12px;
  }

  .flag-icon {
    width: 16px;
  }

  .timeline-title {
    font-size: 24px;
  }

  .step-number {
    font-size: 60px;
    left: -5px;
    top: -10px;
  }

  .content h3 {
    font-size: 20px;
  }

  .content p {
    font-size: 14px;
  }

  .curve-left,
  .curve-right {
    height: 60%;
  }

  .shelly-title {
    font-size: 22px;
  }

  .shelly-subtitle,
  .shelly-text,
  .shelly-quote p {
    font-size: 14px;
  }

  .shelly-frame {
    width: 180px;
    height: 180px;
  }

  .story-left-wave {
    height: 30%;
  }

  .disclaimer-container {
    padding: 30px 20px;
  }

  .disclaimer-title {
    font-size: 26px;
  }

  .point-content h3 {
    font-size: 18px;
  }

  .timeline-title {
    font-size: 24px;
  }

  .step-number {
    font-size: 30px;
    left: -50px;
    top: 0px;
  }

  .content h3 {
    font-size: 20px;
  }

  .content p {
    font-size: 14px;
  }
  .shelly-story-container {
    flex-direction: column;
    padding: 50px 20px 110px;
  }
  .curve-left,
  .curve-right {
    height: 60%;
  }

  .shelly-title {
    font-size: 22px;
  }

  .shelly-subtitle,
  .shelly-text,
  .shelly-quote p {
    font-size: 14px;
  }
  .shelly-quote img {
    height: 30px;
  }
  .shelly-story-right {
    padding: 0;
  }
  .shelly-frame {
    width: 180px;
    height: 180px;
  }

  .story-left-wave {
    height: 30%;
  }

  .disclaimer-container {
    padding: 30px 20px;
  }

  .disclaimer-title {
    font-size: 22px;
  }

  .disclaimer-intro,
  .point-content p {
    font-size: 14px;
  }

  .disclaimer-point {
    gap: 10px;
  }

  .point-circle {
    width: 15px;
    height: 15px;
  }

  .resources-container {
    padding: 40px 10px;
    gap: 10px;
    flex-direction: column;
  }

  .timeline-list li:before {
    content: "";
    position: absolute;
    top: 0px;
    left: -15px;
    width: 15px;
    height: 15px;
  }
  .timeline-list li {
    margin: 0 0 3em 0;
    padding: 0 0em 0em 2em;
    position: relative;
  }

  #timeline {
    padding: 0px 0px 0px 0px;
  }
  .help-ready-buttons {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  /* Footer Responsive */
  .footer-curve {
    height: 60px;
    margin-top: -30px;
  }

  .footer-logo h3 {
    font-size: 20px;
  }

  .footer-links h4,
  .footer-right h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-bottom {
    padding: 15px 0;
    font-size: 12px;
  }

  .help-ready-left {
    flex: 0.3;
    display: none;
  }

  .disclaimer-points:before {
    left: 7px;
  }
  .resource-right-img {
    position: absolute;
    height: 100px;
    right: -10%;
    top: 30%;
    rotate: 50deg;
  }
  .resource-left-img {
    height: 130px;
    position: absolute;
    left: -10%;
    rotate: 90deg;
    top: 30%;
  }

  .contact-btn {
    background-color: #c48e44;
    margin-top: 10px;
  }
  .hero-right-cloud {
    z-index: -1;
  }
}

/* Single Post Responsive Styles */
@media (max-width: 1200px) {
  .single-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-article {
    order: 1;
  }

  .single-sidebar {
    order: 2;
  }

  .single-hero-title {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .single-hero {
    padding: 100px 0 60px 0;
    min-height: 40vh;
  }

  .single-hero-content {
    padding: 0 20px;
  }

  .single-hero-title {
    font-size: 36px;
  }

  .single-hero-excerpt {
    font-size: 18px;
  }

  .single-container {
    padding: 0 20px;
  }

  .single-article {
    padding: 30px;
  }

  .single-author-bio {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .single-nav-container {
    padding: 0 20px;
    flex-direction: column;
    gap: 20px;
  }

  .nav-previous,
  .nav-next {
    max-width: 100%;
  }

  .nav-next {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .single-hero {
    padding: 80px 0 40px 0;
  }

  .single-hero-meta {
    flex-direction: column;
    gap: 10px;
  }

  .single-hero-title {
    font-size: 28px;
  }

  .single-hero-excerpt {
    font-size: 16px;
  }

  .single-main {
    padding: 40px 0;
  }

  .single-article {
    padding: 20px;
  }

  .single-entry-content {
    font-size: 16px;
  }

  .single-entry-content h2 {
    font-size: 24px;
  }

  .single-entry-content h3 {
    font-size: 20px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .sidebar-widget h3 {
    font-size: 18px;
  }

  .related-post-item {
    flex-direction: column;
    gap: 10px;
  }

  .related-post-thumb {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .single-hero-title {
    font-size: 24px;
  }

  .single-hero-excerpt {
    font-size: 14px;
  }

  .single-container {
    padding: 0 15px;
  }

  .single-article {
    padding: 15px;
  }

  .single-entry-content {
    font-size: 14px;
  }

  .single-entry-content h2 {
    font-size: 20px;
  }

  .single-entry-content h3 {
    font-size: 18px;
  }

  .sidebar-widget {
    padding: 15px;
  }

  .single-nav-container {
    padding: 0 15px;
  }

  .nav-previous a,
  .nav-next a {
    padding: 15px;
  }

  .nav-title {
    font-size: 16px;
  }
}
