@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Merriweather, Arial, sans-serif;
}

body {
  background-color: white;
  color: #1f2937;
  line-height: 1.6;
}

/* Top Heading */
.header {
  background-color: #1e3a8a;
  color: #ffffff;
  text-align: center;
  /* max-width: 1920px; */
  margin: 0 auto;
  padding: 3rem 0.5rem;
}

main {
  font-family: Montserrat !important;
}

.header h1 {
  font-family: "Merriweather", serif;
  font-size: 64px;
  font-weight: 700;
}

/* Blog Section Heading */
.blog-title {
  font-size: 48px;
  text-align: left;
  color: #1e1e1e;
  font-family: "Merriweather", serif;
  font-weight: 400;
    margin: 2rem auto 3rem auto;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

/* Blog Container */
.blog-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1920px;
  margin: 0 auto;
  gap: 150px;
  padding: 1rem 120px;
}

/* Blog Main Section */
.blog-main {
  flex: 1 1 50%;
}

/* Blog Post Card */
.blog-post {
  padding: 0;
  border: none;
  background: transparent;
}

/* Blog Heading */
.blog-heading {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

/* Blog Title Link */
.blog-link {
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  text-decoration: none;
  color: #1f2937;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 0px !important;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Blog Image */
.blog-img {
  width: 100%;
  height: auto;
  /* max-height: 250px; */
  object-fit: cover;
  margin: 1rem 0;
}

/* Summary Paragraphs */
.blog-summary {
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  line-height: 28px;
  color: #333;
  margin-bottom: 1rem;
}

/* Read More Button Container */
.read-more-container {
  display: flex;
  justify-content: flex-end;
  margin-top: -25px;
}
.summary-2{
  max-width: 72%;
}

/* Read More Button */
.read-more-link {
  color: #1E4B8B;
  font-weight: bold;
  font-size: 32px;
  font-weight: 400;
  text-decoration: none;
  background-color: transparent;
  text-decoration: underline;
  text-decoration-color: #1e3a8a;
  /* border: 2px solid #1e3a8a; */
  padding: 0px;
  border-radius: 5px;
  transition: all 0.3s ease;
  line-height: 28px;
  margin-bottom: 20px !important;
}

.read-more-link:hover {
  background-color: #1e3a8a;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: white;
}

/* Sidebar */
.blog-sidebar {
  flex: 1 1 30%;
  /* margin-top: 80px; */
  margin-top: 200px;

  margin-top: 250px;
  /* margin: auto 0px; */

  margin-top: 250px;
  /* margin: auto 0px; */
}

/* Sidebar Titles */
.sidebar-title {
  font-size: 32px;
  font-family: "Montserrat", sans-serif;
  color: #1f2937;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 28px;
}

/* Sidebar Lists */
.recent-posts,
.archives {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.recent-posts li,
.archives li {
  margin-bottom: 0.5rem;
}

.archives a {
  text-decoration: none;
  color: #1f2937;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 28px;
}
.recent-posts a{
  text-decoration: none;
  color: #1f2937;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  line-height: 28px;
}
.sidebar-col-two
 {
    margin-top: 8rem;
}
.recent-posts a:hover,
.archives a:hover {
  text-decoration: underline;
}

@media (max-width:1550px){
  .blog-container{
    gap: 120px;
  }
}

@media (max-width:1435px){
  .blog-title{
    font-size: 42px;
  }
  /* .blog-link{
    font-size: 30px;
  } */
  /* .tags-heading,
  .blog-summary{
    font-size: 14px;
  } */
  .read-more-link{
    font-size: 26px;
  }
  .sidebar-title{
    font-size: 30px;
  }
  .recent-posts a, .archives a{
    font-size: 19px;
  }
  .tags-heading{
    font-size: 30px !important;
  }
  .tag-link{
    font-size: 14px !important;
  }
  
}
@media (max-width:1250px){
  .blog-title{
    font-size: 38px;
  }
  .blog-link{
    font-size: 26px;
  }
  /* .tags-heading,
  .blog-summary{
    font-size: 12px;
  } */
  .read-more-link{
    font-size: 22px;
  }
  .sidebar-title{
    font-size: 26px;
  }
  .recent-posts a, .archives a{
    font-size: 17px;
  }
  .tags-heading{
    font-size: 28px !important;
  }
    .tag-link{
    font-size: 12px !important;
  }
  
}
@media (max-width:1110px){
  .blog-title{
    font-size: 34px;
  }
  .blog-link{
    font-size: 22px;
  }
  /* .tags-heading,
  .blog-summary{
    font-size: 11px;
  } */
  .read-more-link{
    font-size: 18px;
  }
  .sidebar-title{
    font-size: 22px;
  }
  .recent-posts a, .archives a{
    font-size: 14px;
  }
  .tags-heading{
    font-size: 24px !important;
  }
    .tag-link{
    font-size: 12px !important;
  }
  
}
@media (max-width:970px){
  .blog-title{
    font-size: 30px;
  }
  /* .blog-link{
    font-size: 18px;
  } */
  /* .tags-heading,
  .blog-summary{
    font-size: 11px;
  } */
  .read-more-link{
    font-size: 14px;
  }
  .sidebar-title{
    font-size: 18px;
  }
  .recent-posts a, .archives a{
    font-size: 14px;
  }
  .tags-heading{
    font-size: 20px !important;
  }
  .tag-link{
    font-size: 14px !important;
  }
  
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* .blog-container {
    flex-direction: column;
    padding: 1rem;
  } */

  .blog-main,
  .blog-sidebar {
    flex: 1 1 100%;
  }

  .read-more-container {
    justify-content: center;
  }

  .blog-img {
    max-height: 200px;
  }

  .blog-sidebar {
    margin-top: 40px;
  }

  /* .blog-title {
    text-align: center;
  } */
}

/* --- Tags Section --- */
.blog-meta-section {
  margin: 2rem 0;
  padding: 1rem;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

.tags-wrapper {
  margin-top: 15rem;
}

.tags-heading {
  font-size: 32px;
  font-family: "Montserrat", sans-serif;
  color: #1f2937;
  font-weight: 400;
  line-height: 28px;
}

.tags-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 3rem;
  row-gap: 1rem;
  padding: 0;
  justify-content: start;
}

.tag-item {
  display: flex;
  align-items: center;
}

/* .tag-item:nth-child(5),
.tag-item:nth-child(6),
.tag-item:nth-child(7) {
  justify-self: center;
} */



.tag-list ul li a {
  background-color: none;
}

.tag-link {
  font-family: "Montserrat", sans-serif;
  color: #1E1E1E;
  text-decoration: none;
}

/* .tag-link:hover,
.tag-link:focus {
  background-color: #1e3a8a;
  color: #1e3a8a;
  outline: none;
} */

/* --- Pagination --- */
.pagination-wrapper {
  text-align: center;
  margin-top: 1rem;
  padding-left: 150px;
  margin-bottom: 50px;
}

.pagination-list {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 0.5rem;
}

.pagination-link {
  display: inline-block;
  /* border: 1px solid #1e3a8a; */
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination-link:hover{
  padding: 8px 10px;
  background-color: #1e3a8a;
  color: #fff;
  outline: none;
}
.pagination-link.active{
  padding: 8px 10px;
  background-color: #1e3a8a;
  color: #fff;
  outline: none;
}
.cta-section {
  background-color: #ffffff;
  padding: 3rem 1rem;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cta-subtext {
  display: block;
  font-size: 1rem;
  color: #444;
  margin-top: 0.5rem;
}

.cta-button {
  background-color: #00a9b7;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #1e3a8a;
  /* deep blue */
  color: #fff;
  transform: translateY(-2px);
  /* subtle lift */
  cursor: pointer;
}

.blog-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

.tags-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.tags-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 3rem;
  row-gap: 1.5rem;
  margin-top: 20px;
  padding: 0;
  justify-content: start;
}

.tag-item {
  display: flex;
  align-items: center;
}

/* .tag-link {
  padding: 0.4rem 0.75rem;
  font-weight: 400;
  border-radius: 3px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #1E1E1E;
  text-decoration: none;
  transition: background-color 0.3s ease;
} */

/* .tag-link:hover,
.tag-link:focus {
  background-color: #d7f1f4;
  outline: 2px solid #007b8a;
  outline-offset: 2px;
} */
@media (max-width: 768px) {
  .header h1 {
    font-size: 50px;
    font-weight: 400;
  }
 
  .header {
    padding: 3rem 0.5rem;
  }
 
  .blog-title {
    font-size: 26px;
    font-weight: 400;
    /* margin: 0px !important */
  }
 
  .blog-summary,
  .read-more-link {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    font-family: Montserrat;
    color: #1E1E1E;
  }
 
  .blog-summary {
    font-size: 13.5px;
  }
 
  .blog-heading {
    /* margin-bottom: 0px; */
    font-size: 26px;
    font-weight: 400;
    font-family: 'Montserrat';
    line-height: 40px;
  }
 
  .read-more-container {
    justify-content: end;
  }
 
  .blog-img {
    max-height: 200px;
    margin: 0px;
  }
 
  .read-more-link {
    font-family: 'Merriweather';
    color: #1E4B8B;
  }
 
  /* .mobile-none {
    display: none;
  } */

  .tags-list {
    grid-template-columns: auto auto;
    gap: 3rem;
    row-gap: 1.5rem;
    justify-content: start;
  }
 
  .pagination-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    padding-left: 0px !important;
 
  }
 
  .blog-content p,
  h3,
  h4,
  h5 {
    font-size: 13px;
    line-height: 30px;
    font-weight: 400;
    font-family: 'Montserrat';
    color: #1E1E1E;
  }
 
  .blog-content h3 {
    margin: 25px 0px;
  }
 
  .blog-content h4 {
    font-weight: 500;
    font-size: 14px;
    margin-top: 25px;
  }
 
  .font-700 {
    font-weight: 700 !important;
  }
 
  .blog-content h5 {
    font-weight: 500;
    margin: 30px 0px 0px;
    color: black;
  }
 
  .cta-section {
    padding: 3rem 0rem !important;
  }
 
  .cta-text {
    font-size: 26px !important;
    line-height: 30px !important;
    font-weight: 400 !important;
    font-family: 'Montserrat' !important;
  }
 
  .cta-button {
    width: 100%;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    font-family: 'Montserrat';
    padding: 25px 0px !important;
  }
 
  #summer-safety-title {
    line-height: 28px !important;
  }
 
  .blog-main {
    flex: 1 1 100%;
    padding: 5px;
  }
 
  /* .blog-container {
    flex-direction: column;
    padding: 1rem;
    gap: 0px;
  } */
 
  .blog-sidebar {
    margin-top: 40px;
  }
 
  /* .blog-title {
    text-align: center;
  } */
}
/* RESPONSIVE ACCORDINGLY FIGMA */
/* @media(min-width:1782px) and (max-width:1849px){
  .blog-main{
    flex: 1 1 55%;
  }
}
@media(min-width:1705px) and (max-width:1782px){
  .blog-main{
    flex: 1 1 65%;
  }
}
@media(min-width:1675px) and (max-width:1705px){
  .blog-main{
    flex: 1 1 70%;
  }
}
@media(min-width:1625px) and (max-width:1675px){
  .blog-main{
    flex: 1 1 80%;
  }
}

@media(max-width:1000px){
  .blog-title{
    line-height: normal;
  }
} */
 @media(min-width:1440px){
  .sidebar-title{
    /* font-size: 36px !important; */
  }
  .blog-heading{
    font-size: 36px !important;
  }
  .blog-tags{
    align-items: center;
  }
  .tags-title{
    margin-bottom: 0px !important;
  }
  .cta-section{
    padding: 0px !important;
  }
  .last-container{
    max-width: 100% !important;
  }
  .cta-container{
    padding: 2rem 90px !important;
  }
  .cta-text{
    line-height: 28px;
  }
  .tags-list .tag-item a {
    font-size: 20px;
    line-height: 28px;
}
 }

 @media screen and (min-width:1440px) and (max-width:1585px) {
  .sidebar-col-one {
    margin-top: 3.3rem;
}
 }
 @media screen and (min-width:1220px) and (max-width:1250px) {
  .sidebar-col-one {
    margin-top: -2.7rem;
}
 }
 @media screen and (min-width:1086px) and (max-width:1111px) {
  .sidebar-col-one {
    margin-top: -2.7rem;
}
 }
 @media screen and (min-width:950px) and (max-width:970px) {
  .sidebar-col-one {
    margin-top: -2.7rem;
}
 }
 @media  screen and (max-width:800px) {
  .blog-container {
    flex-direction: column;
    padding: 2rem 4rem;
  }
 }
 @media screen and (min-width:1200px) and (max-width:1400px) {
  .tags-wrapper {
    margin-top: 10rem !important;
}
 }
 @media screen and (min-width:950px) and (max-width:1199px) {
  .tags-wrapper {
    margin-top: 5rem !important;
}
 }
 @media screen and  (max-width:949px) {
  .tags-wrapper {
    margin-top: 5rem !important;
}
.sidebar-col-two {
  margin-top: 4rem;
}
 }
 @media screen and  (max-width:800px) {
  aside.blog-sidebar {
    margin-top: 50px !important;
}
.blog-container {
  gap: 0px;
}
.tags-wrapper {
  margin-top: 2rem !important;
}
.sidebar-col-two {
  margin-top: 2rem;
}
 }

 @media screen and  (max-width:600px) {
  .blog-container {
    padding: 2rem 2rem;
}
 }