/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  margin: 0;
  padding: 0;
  height: 100%; 
  overflow-x: hidden;
}
body {
  font-family: "Source Sans 3", sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  text-decoration: none; 
  color: inherit;        
}
/* HEADER */
.site-header {
  width: 100%;
  background: #ffffff;
}

/* TOP HEADER */
.header-top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

/* LEFT ICONS */
.header-left {
  display: flex;
  gap: 18px;
  font-size: 18px;
  color: #000;
  cursor: pointer;
}

/* CENTER LOGO */
.header-center img {
  max-height: 65px;
  width: auto;
}
/* DESKTOP DEFAULT */
.logo-desktop {
  display: block;
}

.logo-mobile {
  display: none;
}

/* RIGHT SOCIAL ICONS */
.header-right {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: #000;
  cursor: pointer;
}

/* NAVBAR WRAPPER */
.nav-wrapper {
  position: relative;
  padding: 12px 0;
}

/* GREY LINES */
.nav-wrapper::before,
.nav-wrapper::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  height: 1px;
  background: #e0e0e0;
}

.nav-wrapper::before {
  top: 0;
}

.nav-wrapper::after {
  bottom: 0;
}

/* NAVBAR */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 37px;
}

.main-nav a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #000;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

/* OVERLAY */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  z-index: 999;
  overflow-y: auto;
}

/* ACTIVE STATES */
.sidebar.active {
  transform: translateX(0);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* SIDEBAR SEARCH WRAPPER */
/* SIDEBAR SEARCH */
.sidebar-search {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CLOSE BUTTON */
.sidebar-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: none; /* shown only on mobile */
}

/* SEARCH FIELD WRAPPER */
.search-field {
  position: relative;
  flex: 1;
}

/* INPUT */
.search-field input {
  width: 100%;
  padding: 14px 42px 14px 14px;
  border: none;
  background: #f2f2f2;
  font-size: 15px;
  outline: none;
}

/* SEARCH ICON */
.search-field .fa-magnifying-glass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #000;
}

/* MENU */
.sidebar-menu a {
  display: block;
  padding: 14px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #e6e6e6;
}

/* SIDEBAR SOCIAL ICONS */
.sidebar-social {
  display: flex;
  gap: 18px;
  padding: 20px 16px;
  border-top: 1px solid #e6e6e6;
}

.sidebar-social i {
  font-size: 16px;
  color: #000;
  cursor: pointer;
}

/* FOOTER */
.site-footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  padding: 60px 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 0 !important;  /* This removes any bottom margin */
  padding-bottom: 20px;
  position: relative;
  z-index: 10;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 60px;
}

/* SHARED */
.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

/* LEFT – GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 24px;
}

.gallery-grid img {
  width: 70%;
  height: 70px;
  object-fit: cover;
}

.footer-social {
  display: flex;
  gap: 18px;
  font-size: 16px;
}

/* CENTER */
.footer-center {
  text-align: center;
}

.footer-center img {
  max-height: 45px;
  margin-bottom: 16px;
}

.copyright {
  font-size: 13px;
  margin-bottom: 14px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #000;
}

/* RIGHT – POPULAR */
.popular-post {
  display: flex;
  gap: 14px;
}

.popular-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

.popular-content h5 {
  font-size: 15px;
  margin-bottom: 6px;
}

.popular-content p {
  font-size: 14px;
  line-height: 1.5;
}

footer {
  margin-top: auto;  /* Pushes footer down when content is less than viewport height */
}

/* CONTAINER FOR THE CARDS */
.news-container {
  display: grid;
  grid-template-columns: 1.6fr 3.9fr 1.6fr; /* The left and right columns are smaller than the center */
  gap: 20px; /* Remove the right padding */
  align-items: start; /* Align items at the top */
  max-width: 1300px; /* Pick ONE width for the whole site */
  margin: 0 auto 50px auto; /* Centers the section and adds bottom spacing */
  padding: 20px 20px; /* Consistent left/right breathing room */
  width: 100%;
}


/* STYLES FOR EACH NEWS CARD */
.news-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 20px; /* Slightly increased padding */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for a more modern look */
  height: 100%;
  box-sizing: border-box;
}

/* Image styling */
.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0; /* Sharp corners */
  margin-bottom: 15px; /* Space between the image and text */
}

/* Left Column - Small News Cards */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Space between small news cards */
  align-items: flex-start; /* Left alignment for small cards */
}

/* Small News Card Styling */
.left-column .news-card {
  width: 100%;/* Full width */
}

/* Category Styling */
.news-category {
  font-size: 14px;
  font-weight: 700;
  color: #0066cc; /* Blue color for category */
  text-transform: uppercase;
  margin: 12px 0 6px;
  letter-spacing: 1px;
  font-family: "Source Sans 3", sans-serif; /* Added letter-spacing for clearer separation */
} 

/* Title Styling */
.news-title {
  font-size: 20px;
  font-weight: bold;
  color: #333; /* Darker color for readability */
  margin: 0 0 8px;
  line-height: 1.5;
  font-family: "Georgia", "Times New Roman", serif;
}

/* Date Styling */
.news-date {
  font-size: 14px;
  color: #888; /* Lighter grey for date */
  margin: 0 0 12px;
  line-height: 1.5;
}

/* Description Styling */
.news-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6; /* Increased line-height for readability */
  text-align: left;
  font-family: "Georgia", "Times New Roman", serif;
}

/* Major Card (Center Column) */
.major-card {
  grid-column: span 1; /* Center column spans 1 grid unit */
  text-align: center;
}

.major-card .news-img {
  height: 560px; /* Larger image for the major card */
}

.major-card .news-title {
  font-size: 24px;
  font-weight: 600;
  color: #222; /* Dark color for the main title */
  margin: 22px 0 10px;
}

.major-card .news-desc {
  font-size: 16px;
  color: #555; /* Slightly lighter for the description */
  max-width: 600px;
  margin: 35px auto;
  line-height: 1.7; /* Slightly increased line height */
  text-align: center;
}

/* Right Column - Two Small News Cards Stacked */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 97%;
}

.right-column .news-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-column .news-img {
  height: 200px; /* Slightly smaller images for right column */
}
/* SECTION */
.business-section {
    max-width: 1300px; /* Pick ONE width for the whole site */
    margin: 0 auto 50px auto; /* Centers the section and adds bottom spacing */
    padding: 0 20px; /* Consistent left/right breathing room */
    width: 100%;
    font-family: "Georgia", "Times New Roman", serif;
}
/* SECTION HEADER */
.section-head {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 16px;
  font-family: "Source Sans 3", sans-serif;
}
.section-titles {
  padding-left: 90px;  /* Padding from left */
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 16px;
  font-family: "Source Sans 3", sans-serif;
}

.section-line {
  flex: 1;
  height: 1px;
  background: #e6e6e6;
  margin-left: 20px;
}
.section-lines {
  flex: 1;
  height: 1px;
  background: #e6e6e6;
  margin-left: 20px;  /* Padding from left */
  margin-right: 90px; /* Padding from right */
}

.news-strip {
  display: grid;
  /* Change this from 3 to 4 */
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
}

/* CARD */
.strip-card {
  padding-right: 0px;
  border-right: 1px solid #e6e6e6;
}

.strip-card:last-child {
  border-right: none;
  padding-right: 0;
}

.card-image {
  width: 100%;       /* Let it fill the 1/4th grid space */
  height: 210px;      
  overflow: hidden;
  margin-bottom: 16px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* CATEGORY */
.card-category {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0a55c2;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-family: "Source Sans 3", sans-serif;
}

/* TITLE */
.card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.32;
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
  color: #000;
}

/* DATE */
.card-date {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: #9a9a9a;
  margin-bottom: 12px;
}

/* DESCRIPTION */
.card-desc {
  font-size: 15px;
  line-height: 1.65;
  font-family: "Georgia", "Times New Roman", serif;
  color: #444;
}
.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1300px; /* Pick ONE width for the whole site */
  margin: 0 auto 50px auto; /* Centers the section and adds bottom spacing */
  padding: 0 20px; /* Consistent left/right breathing room */
  width: 100%;
}
.main-column {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Change this single number to adjust all gaps at once */
  width: 100%;
}
.image-box img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.category-title {
  font-family: "Source Sans 3", sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #0a55c2;
  text-transform: uppercase;
  margin: 0 !important;
  padding: 5px;
}

.news-titles {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.3; /* Tighter line height prevents extra air above/below text */
  margin: 0 !important;
  padding: 0 !important;
}

.news-dates {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: #777;
  margin: 0 !important;
  padding: 5px;
}

.news-description {
  font-family: "Georgia", serif;
  font-size: 16px;
  line-height: 1.4; /* Slightly reduced from 1.6 for a more compact look */
  color: #444;
  margin: 0 !important;
  padding: 0 !important;
}
.side-column {
  display: flex;
  flex-direction: column;
  gap: 20px;  /* Space between news cards */
}

.news-cards {
  display: flex;
  flex-direction: column;
  background-color: #f7f7f7;  /* Background color for each card */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Light shadow for effect */
  gap: 10px;
  position: relative;  /* To position image in upper right corner */
}
/* Styling for the categories */
.news-categories {
  font-size: 14px;
  color: #0a55c2;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Source Sans 3", sans-serif;
}

/* Styling for the title */
/* Styling for the title */
.news-titl {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  padding-right: 140px; 
  font-family: "Playfair Display", serif; /* Ensure space on the right for the image */
}

/* Styling for the date */
.news-dat {
  font-size: 12px;
  color: #888;
  font-family: "Source Sans 3", sans-serif;
}

/* Styling for the description */
.news-descriptions {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  font-family: "Georgia", "Times New Roman", serif;
}
.news-image {
  position: absolute;
  top: 20px;  /* Adjust the position from top */
  right: 20px;  /* Adjust the position from right */
  width: 100px;  /* Resize to square size */
  height: 80px;  /* Square aspect ratio */
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Ensure the image covers the area without distortion */
}
.main-columns {
    display: flex;
    flex-direction: column;
    width: 100%; 
    gap: 0px; /* Removing gap here to control it via card margins */
}
        /* 1. Main Container: Two Columns */
.page-wrapper {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    max-width: 1300px; /* Pick ONE width for the whole site */
    margin: 0 auto 50px auto; /* Centers the section and adds bottom spacing */
    padding: 0 20px; /* Consistent left/right breathing room */
    width: 100%;
}

        /* 2. The News Card Structure */
.news-crd {
    display: flex;
    width: 100%; /* Forces the card to span the entire main column width */
    align-items: flex-start;
    border-bottom: 1px solid #eee; 
    padding: 20px 0; /* Padding top and bottom, 0 on sides */
}

.news-images {
    /* Changing from 15% or 20% to 35% makes the image significantly larger */
    flex: 0 0 55%; 
    max-width: 65%;
}

.news-images img {
    width: 100%;
    /* Increase height to match the new width */
    height: 260px; 
    object-fit: cover;
    display: block;
    /* Keeps a nice rectangular shape similar to your reference */
    aspect-ratio: 16 / 10; 
}

.news-content {
    flex: 1; 
    padding-left: 30px; /* Increased padding to prevent crowding */
    display: flex;
    flex-direction: column;
    /* This ensures text never overlaps the image */
    min-width: 0; 
}

        /* 3. Typography Styles */
        .category {
            font-family: "Source Sans 3", sans-serif;
            color: #0066cc;
            text-transform: uppercase;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            margin-bottom: 12px;
        }

.news-name {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    /* Removed 'nowrap' to allow the title to fit if the image gets too big */
    line-height: 1.2;
    margin-bottom: 8px;
}

        .news-datee {
            font-family: "Source Sans 3", sans-serif;
            color: #555;
            font-size: 15px;
            margin-bottom: 20px;
        }
.news-dscription {
    font-family: "Georgia", serif;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    /* Because the width is now 65%, your text will naturally 
       take up a few more lines to fit the full sentence. */
    width: 100%;
}

        /* 4. Secondary Column (Placeholder) */
        .side-columns {
            background-color: #f9f9f9;
            border-radius: 4px;
            padding: 10 px;
            height: 100%;
        }
/* --- Ad Box Styles --- */
.ad-container {
    width: 100%; 
    margin-bottom: 30px;
    background-color: #f9f9f9;
}

.ad-label {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #000;  
}

.ad-box { 
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Standard portrait magazine ratio */
    overflow: hidden;
    background-color: #000;
}

.ad-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.8; /* Darkens image slightly to make white text pop */
    filter: grayscale(100%); /* Matches the aesthetic of your upload */
    transition: transform 0.5s ease;
}

.ad-box:hover img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns text to the top like the image */
    padding-top: 40px;
    align-items: center;
    color: #fff;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 40%);
}

.ad-brand {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    letter-spacing: 8px;
    font-weight: 400;
    margin-bottom: 5px;
}

.ad-subtext {
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
/* --- Newsletter Box Styles --- */
.newsletter-container {
    /* 1. Reset width to 100% - let the side column handle the sizing */
    width: 100%;
    margin-top: 40px;
    background-color: #f9f9f9;
    padding: 20px; /* Added padding so text isn't hitting the edges */

    /* 2. The Sticky Logic */
    position: -webkit-sticky; 
    position: sticky;
    top: 20px; 
    
    /* 3. Ensure the parent (side-columns) has no height restriction */
    align-self: flex-start; 
    
    z-index: 10;
}

.newsletter-label {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #000;
    text-align: center;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* 1. Center the button horizontally */
    align-items: center; 
}

.newsletter-input {
    width: 100%;
    /* 2. Remove the grey background */
    background-color: transparent; 
    /* 3. Add a thin border so the fields are visible */
    border: 1px solid #ccc; 
    padding: 15px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: #000; /* Darkens border when typing */
}

/* Style for the placeholder text */
.newsletter-input::placeholder {
    color: #aaa;
}

.newsletter-button {
    /* 4. Ensure it doesn't stretch full-width on desktop */
    width: fit-content; 
    min-width: 150px;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.newsletter-button:hover {
    opacity: 0.8;
}
/* Container Styles */
.business-card {
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  max-width: 1300px; /* Pick ONE width for the whole site */
  margin: 20px auto; /* Centers the section and adds bottom spacing */
  padding: 0 20px; /* Consistent left/right breathing room */
  width: 100%;
}

/* Heading - Bold Serif Style */
.business-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 56px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 15px 0;
  letter-spacing: -1px;
}

/* Paragraph - Clean Sans-Serif */
.business-description {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.4;
  color: #222222;
  margin: 0;
  max-width: 700px; /* Keeps line length comfortable */
}
/* Container Layout */
.article-container {
  display: flex;
  flex-direction: row;
  align-items: center; /* Vertically centers text relative to image */
  gap: 40px;
  background-color: #f9f9f9;
  max-width: 1300px; /* Pick ONE width for the whole site */
  margin: 0 auto 50px auto; /* Centers the section and adds bottom spacing */
  padding: 0 20px; /* Consistent left/right breathing room */
  width: 100%;
}

/* Image Styling */
.article-image {
  flex: 1; /* Takes up 50% */
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text Content Styling */
.article-content {
  flex: 1; /* Takes up 50% */
  font-family: Arial, sans-serif;
}

.catogory {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #3b5998; /* Corporate blue */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.title {
  font-family: "Times New Roman", Times, serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
  margin: 0 0 15px 0;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.date {
  font-size: 14px;
  color: #aaa;
}
/* Container and Layout */
.profile-container {
  background-color: #f9f9f9;
  max-width: 1300px; /* Pick ONE width for the whole site */
  margin: 30px auto 50px auto; /* Centers the section and adds bottom spacing */
  padding: 0 20px; /* Consistent left/right breathing room */
  width: 100%;
}

.profile-flex {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* Space between image and text */
}

/* Avatar Styling */
.profile-image img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Typography */
.profile-name {
  font-family: "Times New Roman", Times, serif;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin: 0 0 5px 0;
  line-height: 1;
}

.profile-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.5;
  color: #222;
  margin: 0 0 15px 0;
}

/* Social Icons Styling */
.profile-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

.profile-socials a {
  color: #000000;
  font-size: 18px;
  text-decoration: none;
}
.article-header {
  max-width: 800px;
  margin: 15px auto;
  padding: 20px;
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
  background-color: #f9f9f9;
}

.article-category {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: #3a5a8c;
  display: block;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.article-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 25px 0;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 17px;
  line-height: 1.4;
  color: #757575;
  margin-bottom: 40px;
}

.meta-data {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Source Sans Pro', sans-serif;
  color: #999;
  font-size: 16px;
}

.divider {
  width: 4px;
  height: 4px;
  background-color: #999;
  border-radius: 50%;
}

.author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.author .name {
  color: #999;
}
/* Container for the image */
.image-wrapper {
  max-width: 700px; /* Standard editorial width */
  margin: 20px 10px;
  padding: 0;
}

.image-container {
  position: relative;
  width: 100%;
  /* This creates the exact 3:2 dimensions of your source image */
  aspect-ratio: 3 / 2; 
  overflow: hidden;
  border: none; /* Ensuring no border is applied */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body {
  max-width: 695px;
  margin: 22px;
  padding: 5px;
  background-color: #f9f9f9;
}

.content-text {
  /* Using a classic serif stack to match the image */
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 19px;
  line-height: 1.58;
  color: #292929;
  letter-spacing: -0.003em;
  margin-bottom: 30px;
  -webkit-font-smoothing: antialiased;
}
.callout-container {
  /* Using a light grey background and blue left border as seen in the image */
  background-color: #efefef;
  border-left: 4px solid #3a5a8c;
  padding: 30px;
  max-width: 680px;
  margin: 20px;
}

.callout-text {
  /* Clean sans-serif font stack */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.4;
  color: #292929;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}
/* Core Layout Styles */
.editorial-container {
  max-width: 740px;
  margin: 5px;
  padding: 20px;
  font-family: 'Georgia', serif; /* Matching the high-quality serif look */
  line-height: 1.6;
  color: #292929;
  background-color: #f9f9f9;
}

.content-wrapper {
  overflow: hidden; /* Clears the float */
}

/* The exact image placement and dimensions */
.image-block {
  float: right;
  width: 235px; /* Precise width based on the visual ratio */
  margin-left: 20px;
  margin-bottom: 20px;
}

.float-image {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #999;
  text-align: right;
  margin-top: 10px;
  line-height: 1.2;
}

/* Text and Link Styles */
.article-text {
  font-size: 20px;
  margin-bottom: 25px;
}

.blue-link {
  color: #3a5a8c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Container to maintain editorial spacing */
.story-container {
  max-width: 840px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f9f9f9;
}

.content-wrappr {
  overflow: hidden; /* Ensures the container expands to fit the floated content */
}

/* Image styling and exact placement */
.image-blck {
  float: left;
  width: 310px; /* Exact width to match the model image ratio */
  margin-right: 35px;
  margin-bottom: 15px;
}

.editorial-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Typography matching the uploaded model */
.story-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 30px;
}
.gallery-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.gallery-row {
  display: flex;
  gap: 15px; /* Exact spacing between the image boxes */
  align-items: stretch;
}

.gallery-item {
  flex: 1; /* Ensures all three boxes take up equal width */
  aspect-ratio: 3 / 2; /* Maintains the cinematic landscape ratio */
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Optional: Slight contrast boost to match the model's punchy blacks */
.gallery-item img {
  filter: contrast(1.1);
}
/* Container styling with subtle border */
.author-profile-card {
  max-width: 720px;
  margin: 20px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  display: flex;
  gap: 30px;
  background-color: #f9f9f9;
  align-items: flex-start;
}

/* Rounded avatar styling */
.profile-avatar {
  flex-shrink: 0;
}

.profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Content and Typography */
.profile-content {
  flex-grow: 1;
}

.author-name {
  font-family: 'Playfair Display', serif; /* Bold editorial serif */
  font-size: 24px;
  margin: 0 0 12px 0;
  color: #1a1a1a;
  font-weight: 700;
}

.author-bio {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 18px;
  line-height: 1.5;
  color: #444;
  margin: 0 0 20px 0;
}

/* Social Icon styling */
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon {
  color: #000;
  font-size: 18px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.7;
}
/* Container and Section Header */
.related-posts {
  max-width: 1220px;
  margin: 60px auto;
  padding: 0 20px;
  background-color: #f9f9f9;
}

.section-name {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1px;
  color: #1a1a1a;
  border-top: 1px solid #f0f0f0;
  padding-top: 25px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Grid Layout */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* Individual Card Styling */
.post-card {
  display: flex;
  flex-direction: column;
}

.post-thumbnail {
  width: 100%;
  aspect-ratio: 1 / 1; /* Square dimensions as seen in the model */
  margin-bottom: 15px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-date {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 8px;
  display: block;
}

.post-headline {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
  font-weight: 700;
}
@media (max-width: 768px) {
.category-title {
  padding-top: 70px;
}
  /* HEADER CONTAINER */
  .header-top {
    height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    position: relative;
  }

  /* LEFT – HAMBURGER */
  .header-left {
    font-size: 19px;
    line-height: 1;
    z-index: 2;
  }

  /* CENTER – LOGO IMAGE */
  .header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
  }

  /* LOGO SWITCH */
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: block;
    height: 20px;
    width: 10px;
  }

  /* RIGHT SIDE – REMOVE COMPLETELY */
  .header-right {
    display: none;
  }

  /* NAVBAR HIDDEN */
  .nav-wrapper {
    display: none;
  }
  .sidebar {
    width: 100%;
  }
  .sidebar-close {
    display: block;
  }
  .sidebar-menu a {
    font-size: 19px;
    padding: 18px 16px;
  }
  .sidebar-social {
    padding-bottom: 28px;
  }
  .site-footer {
    padding: 40px 0;
    position: relative;
    z-index: 10;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  /* LEFT */
  .footer-gallery {
    text-align: left;
  }

  /* CENTER */
  .footer-center {
    text-align: center;
  }
.major-card {
padding-bottom: 10px;
}
.major-card .news-desc {
  margin: 20px auto;
}
  .footer-links {
    flex-wrap: wrap;
    gap: 14px;
  }
  .popular-post {
    align-items: center;
  }

  .news-container {
    grid-template-columns: 1fr; /* Stack all columns vertically */
    gap: 20px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .left-column {
    order: 1;
    gap: 15px;
  }
    .major-card {
    order: -1; /* 🔥 moves it to TOP */
  }

  .major-card .news-img {
    height: 250px; /* smaller image on mobile */
  }

  /* Stack right-column cards vertically */
  .right-column {
    gap: 15px;
    order: 2;
    
  }
  /* SECTION SPACING */
  .business-section {
    padding: 0 20px;
  }
  /* STACK CARDS */
  .news-strip {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* CARD */
  .strip-card {
    display: block;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 30px;
  }

  .strip-card:last-child {
    border-bottom: none;
  }

  /* IMAGE – FULL WIDTH ON MOBILE */
  .card-image {
    width: 100%;
    height: 260px; /* editorial mobile height */
  }

  /* TYPOGRAPHY SCALE */
  .card-title {
    font-size: 20px;
    line-height: 1.35;
  }

  .card-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }

  .card-category {
    font-size: 12px;
  }

  .card-date {
    font-size: 13px;
  }
.container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px; /* Slightly tighter padding for mobile screens */
    margin-bottom: 30px;
  }

  /* 2. Scale down the main headline */
  .news-titles {
    font-size: 20px;
    line-height: 1.2;
  }

  .news-description {
    font-size: 14.5px;
    line-height: 1.5;
  }

  /* 3. Adjust the News Cards in the Side Column */
  .news-cards {
    padding: 15px; /* Tighter padding for the card */
  }

  .news-titl {
    font-size: 17px;
    /* Reduce the padding so the title doesn't look squashed */
    padding-right: 90px; 
  }

  .news-image {
    /* Scale down the absolute image to fit the smaller padding */
    width: 80px;
    height: 65px;
    top: 15px;
    right: 15px;
  }

  .news-descriptions {
    font-size: 13px;
    margin-top: 8px;
    /* Ensure descriptions don't wrap behind the image */
    width: 100%; 
  }
    /* 1. Stack the columns */
    .page-wrapper {
        grid-template-columns: 1fr; 
        gap: 30px;
        padding: 0 15px;
        margin: 0 auto; /* Center the container on small screens */
    }

    /* 2. Fix the Card Layout */
    .news-crd {
        flex-direction: column; /* Stacks image on top of text */
        align-items: stretch;   /* Ensures children fill full width */
    }

    /* 3. Reset Image Container */
    .news-images {
        flex: 0 0 auto;        /* Stop it from trying to take 55% width */
        max-width: 100%;       /* Allow it to fill the screen */
        width: 100%;           /* Explicitly set to 100% */
        margin-bottom: 15px;    /* Gap before the text starts */
    }

    .news-images img {
        width: 100%;
        height: auto;          /* Let the image scale properly */
        aspect-ratio: 16 / 9;  /* Keeps it looking like a news banner */
    }

    /* 4. Reset Text Content */
    .news-content {
        width: 100%;           /* Force text to take full width */
        padding-left: 0;       /* Remove the desktop side-gap */
        flex: none;            /* Remove flex-grow logic for mobile */
    }

    /* 5. Typography Tweaks for Mobile */
    .news-name {
        font-size: 22px;       /* Scale down the title slightly */
        white-space: normal;   /* Ensure title can wrap if it's too long */
    }

    .news-dscription {
        font-size: 15px;
        line-height: 1.5;
        /* Ensure text is visible and taking full width */
        display: block; 
    }
    .ad-container {
        /* Reset from 165% to fit the screen width */
        width: 100%; 
        margin-bottom: 40px;
        padding: 0 5px; /* Adds a tiny buffer for phone edges */
    }

    .ad-box {
        /* Changing ratio from 3/4 (portrait) to 16/9 (landscape) 
           keeps the ad looking good without making the user 
           scroll a lot just to see it. */
        aspect-ratio: 16 / 16; 
    }

    .ad-overlay {
        padding-top: 20px; /* Reduce top padding for the shorter box */
    }

    .ad-brand {
        font-size: 30px;    /* Scale down the text size for smaller screens */
        letter-spacing: 5px; /* Tighten spacing slightly */
    }

    .ad-subtext {
        font-size: 10px;
        letter-spacing: 2px;
    }
    .newsletter-container {
        position: static; /* Disables sticky for better mobile flow */
        width: 100%;
        margin-top: 30px;
        padding: 20px;
    }

    .newsletter-button {
        width: 100%; /* Full width button for easier tapping */
    }
  .business-card {
    padding: 30px 20px; /* Reduced padding for smaller screens */
  }

  .business-title {
    font-size: 32px; /* Scaled down heading */
  }

  .business-description {
    font-size: 16px; /* Scaled down text */
    line-height: 1.5;
  }
  .article-header, 
  .article-body, 
  .editorial-container, 
  .story-container, 
  .image-wrapper {
    max-width: 100%;
    margin: 2px 2px; /* Consistent side margins for mobile */
    padding: 10px 10px; /* Comfortable touch padding */
  }
  .author-profile-card {
    max-width: 100%;
    margin: 10px 10px; /* Consistent side margins for mobile */
    padding: 10px 10px;
  }
  .callout-container {
    max-width: 100%;
    margin: 10px 10px; /* Consistent side margins for mobile */
    padding: 10px 10px;
  }
  /* 2. Typography Adjustments */
  .article-title {
    font-size: 32px;
    margin-left: 7px; /* Scale down title for mobile viewports */
  }
  .article-category,
  .subtitle {
    margin-left: 7px;
  }
  .content-text, 
  .article-text, 
  .story-text {
    font-size: 18px; /* Slightly smaller for better line-length comfort */
    line-height: 1.5;
  }

  /* 3. Handle Floated Content (Crucial for Mobile) */
  .image-block, 
  .image-blck {
    float: none !important; /* Kill the floats */
    width: 100% !important; /* Force image to take full width */
    margin: 0 0 20px 0 !important; /* Reset side margins */
  }

  .caption {
    text-align: left; /* Captions look better left-aligned on mobile */
  }

  /* 4. Author Card Stack */
  .author-profile-card {
    flex-direction: column; /* Stack avatar on top of text */
    align-items: center;
    text-align: center;
  }

  .profile-avatar img {
    width: 100px;
    height: 100px;
  }

  .social-links {
    justify-content: center; /* Center icons when text is centered */
  }

  /* 5. Gallery & Related Posts Grids */
  .gallery-row {
    flex-direction: column; /* Stack the 3 images vertically */
    gap: 10px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for Related Posts */
    gap: 15px;
  }

  /* 6. Meta-Data Wrap */
  .meta-data {
    flex-wrap: wrap; /* Prevent metadata from overflowing off-screen */
    justify-content: center;
    gap: 10px;
  }
  .article-container {
    flex-direction: column; /* Stacks the image on top of the text */
    gap: 20px;              /* Reduces space between elements */
    padding: 0 15px;        /* Slightly tighter padding for smaller screens */
    margin-bottom: 30px;    /* Less bottom margin on mobile */
  }

  .article-image, 
  .article-content {
    flex: none;             /* Disables the 50% width split */
    width: 100%;            /* Forces both to take full width */
  }

  .title {
    font-size: 26px;        /* Scales down the title size for better fit */
    line-height: 1.2;
  }

  .description {
    font-size: 15px;        /* Slightly smaller text for readability */
  }
}
