/* assets/style.css - minimal responsive magazine style */
:root {
  --font-heading: "Open Sans", Arial, sans-serif; /* clean sans-serif for headlines */
  --font-body: "Merriweather", Georgia, serif;   /* serif for readability */
  --color-text: #111;
  --color-muted: #555;
  --serif: "Playfair Display",Georgia,serif;
  --color-bg: #f7f7f7;
  --color-accent: #0073e6; /* blue accent */
  --color-border: #e6e6e6;
  --maxw: 1200px;
}
*{box-sizing:border-box}
body{margin:0;color:var(--text);background:#f7f7f7;line-height:1.5}
a{color:var(--accent);text-decoration:none}
.container{max-width:var(--maxw);margin:28px auto;padding:0 16px}
.wrap{display:flex;justify-content:space-between;align-items:center}
.site-header{background:#0f0f0f; border-bottom:1px solid #e6e6e6}
.site-header .brand a{font-weight:700;font-size:35px;padding:14px 0;display:inline-block ;font-family:"Merriweather", Georgia, serif;} 
.main-grid{display:grid;grid-template-columns:1fr 275px;gap:24px}
.content{min-height:400px}
.sidebar{background:#fff;padding:35px;border-radius:6px;border:1px solid #eee}
.sidebar-left{order:-1}
.feature{display:flex;gap:12px;background:#fff;padding:14px;border-radius:6px;margin-bottom:18px;border:1px solid #eee}
.feature img{width:260px;height:150px;object-fit:cover;border-radius:4px}
.feature .meta{flex:1}
.feature .meta h2{margin:0 0 8px;font-size:20px}
.cat{display:inline-block;background:#eef6ff;padding:4px 8px;border-radius:4px;font-size:12px;margin-bottom:8px;color:var(--accent)}
.excerpt{color:var(--muted);margin-top:8px}
.recent-item{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid #f0f0f0}
.recent-item img{width:72px;height:48px;object-fit:cover;border-radius:4px}
.rmeta{font-size:13px}
.ad-box .ad img{width:50%;max-width:300px}

/* Category list */
.category-top img{width:100%;height:280px;object-fit:cover;border-radius:6px}
.category-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.list-item{display:flex;gap:10px;background:#fff;padding:8px;border-radius:6px;border:1px solid #eee}
.list-item img{width:120px;height:78px;object-fit:cover;border-radius:4px}

/* Article page */


/* Author */
.author-block{display:grid;grid-template-columns:260px 1fr;gap:18px}
.author-meta img{width:120px;height:120px;object-fit:cover;border-radius:50%}


/* Responsive */
@media(max-width:900px){
  .main-grid{grid-template-columns:1fr}
  .sidebar-right,.sidebar-left{order:2}
  .author-block{grid-template-columns:1fr}
  .category-list{grid-template-columns:1fr}
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

body.dark-mode {
  --text: #f5f5f5;
  --bg: #121212;
  --accent: #4dabf7;
  --muted: #bbbbbb;
  background: var(--bg);
  color: var(--text);
}

/* Hamburger (top-left) */
.hamburger {
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -377px;
  width: 360px;
  height: 100%;
  background: #1a1a1a;
  color: #fff;
  padding-top: 60px;
  transition: left 0.3s ease-in-out;
  z-index: 1100;
  overflow-y: auto;
}

.side-menu.open {
  left: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu ul li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.side-menu ul li a {
  display: block;
  padding: 1rem 2.6rem;
  color: #fff;
  font-size: 16px;
  transition: background 0.2s, padding-right 0.2s;
  position: relative;
}

/* Arrow appears on hover */
.side-menu ul li a::after {
  content: '→'; /* Right arrow symbol */
  position: absolute;
  right: 1rem;
  opacity: 0;
  transition: opacity 0.2s, right 0.2s;
}

.side-menu ul li a:hover::after {
  opacity: 1;
  right: 1.5rem; /* Slight move effect */
}
.side-menu .site-name {
  text-align: center;
  width: 100%;
  margin: 0.5em 0 0.5em 0;
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
}
.header-social {
  display: flex;
  gap: 16px;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  padding: 0;
}

.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 18px;
  transition: background 0.3s, color 0.3s;
  border: none;
  margin: 0;
}

.header-social a:hover {
  background: #0073e6;
  color: #fff;
}

.site-header .wrap {
  position: relative;
}
/* Close Button */
.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}
.brand a {
  color: #fff !important;
}
/* Overlay (when menu is open) */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 1000;
}

#overlay.show {
  display: block;
}

/* Adjust container when menu open (optional push effect) */
body.menu-open {
  overflow: hidden;
}
/* Header flex adjustments */
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background: #0073e6;
  color: #fff;
}

/* Top Stories */
.top-stories {
  margin-bottom: 40px;
}
.top-stories h2 {
  margin-bottom: 15px;
  /* border-bottom: 2px solid var(--accent); */
  display: inline-block;
  padding-bottom: 4px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.story img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.story h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* Category Blocks */
.cat-block {
  margin-bottom: 40px;
}
.cat-block h2 {
  margin-bottom: 15px;
  /* border-left: 4px solid var(--accent); */
  padding-left: 8px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cat-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.cat-grid h3 {
  font-size: 15px;
  margin: 6px 0;
}
.cat-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.3em;
  gap: 0.5em;
}
.cat-title .cat-arrow {
  font-size: 1.5em;
  font-weight: normal;
  margin-left: 0.3em;
  color: #222;
}
/* Editor’s Pick */
.editors-pick {
  background:#fff;
  padding:16px;
  margin-bottom:24px;
  border:1px solid #eee;
  border-radius:6px;
}
.editors-pick img.pick-img {
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:6px;
  margin-bottom:10px;
}
.editors-pick h3 {margin:10px 0;font-size:22px}

/* Quote */
.quote-day-box {
  border: 5px solid #ece3c1;
  padding: 2em 1em 1.5em 1em;
  margin: 2em 0;
  position: relative;
  background: #fff;
  text-align: center;
}
.quote-day-header {
  position: absolute;
  left: 50%;
  top: -1.2em;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 1em;
  font-weight: bold;
  color: #888;
  font-size: 1.2em;
  letter-spacing: 1px;
}
.quote-day-header span {
  background: #fff;
}
.quote-day-box blockquote {
  margin: 0;
  font-size: 1.5em;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: #222;
}
.quote-text {
  display: block;
  margin-bottom: 0.5em;
}
.quote-author {
  font-size: 1em;
  font-weight: bold;
  margin-top: 0.5em;
  color: #222;
}
.quote-role {
  font-weight: normal;
  color: #888;
}
.quote-share {
  font-size: 0.9em;
  color: #888;
  margin-top: 0.5em;
  letter-spacing: 1px;
}

/* Trending */
.trending {
  background:#fff;
  padding:16px;
  margin:24px 0;
  border:1px solid #eee;
  border-radius:6px;
}
.trending ul {list-style:none;margin:0;padding:0}
.trending li {
  padding:6px 0;
  border-bottom:1px solid #f5f5f5;
  display:flex;
  justify-content:space-between;
}
.trending li:last-child {border:none}
.tdate {color:var(--muted);font-size:12px}

/* Newsletter */
.newsletter {
  background:#fff;
  padding:20px;
  border:1px solid #eee;
  border-radius:6px;
  text-align:center;
  margin:30px 0;
}
.newsletter input {
  padding:10px;
  border:1px solid #ccc;
  border-radius:4px;
  width:70%;
  margin-right:8px;
}
.newsletter button {
  padding:10px 16px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:4px;
  cursor:pointer;
}
.newsletter button:hover {opacity:.9}
/* ===== Global Reset ===== */
body {
  font-family: "Merriweather", Georgia, serif;
  background: #fff;
  color: #111;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #3d424a; /* Forbes red hover */
}

h1, h2, h3, h4, h5 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  margin: 22 0 10px;
}

p {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  margin: 0 0 15px;
}

/* ===== Top Nav ===== */


/* ===== Breaking News Bar ===== */
.breaking-news {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 10px 20px;
  overflow-x: auto;
}

.breaking-label {
  background: #d32f2f;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  margin-right: 15px;
  border-radius: 3px;
}

.breaking-news ul {
  display: flex;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breaking-news li {
  white-space: nowrap;
  font-size: 14px;
}

.hero-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.main-feature img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.main-feature h2 {
    font-family: 'Merriweather', serif;
        font-size: 24px;
        margin: 175px 0;
        font-weight: 700;
        text-align: center;
        display: inline-block;
        width: 90%;
        line-height: 1.4;
        word-break: break-word;  /* prevents overflow on long words */
}


.main-feature p {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}

/* Sidebar */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Categories */
.categories-widget h3,
.recent-widget h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cat-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-btn {
  padding: 6px 12px;
  border: 1px solid #333;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.cat-btn:hover {
  background: #333;
  color: #fff;
}

/* Recent Posts */
.recent-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.recent-item img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 3px;
}

.rtitle {
  font-size: 14px;
  line-height: 1.3;
}

/* ===== Trending Sidebar ===== */
.trending-box {
  border-left: 1px solid #eee;
  padding-left: 20px;
}

.trending-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 2px solid #d32f2f;
  display: inline-block;
  padding-bottom: 5px;
}

.trending-box ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trending-box li {
  display: flex;
  align-items: baseline;
  margin-bottom: 15px;
  font-size: 15px;
}

.trending-box li span {
  color: #d32f2f;
  font-weight: bold;
  font-size: 18px;
  margin-right: 8px;
}

/* ===== Article Grid ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
}

.grid-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* ===== Quote of the Day ===== */
.quote-box {
  background: #f9f9f9;
  border-left: 4px solid #d32f2f;
  padding: 15px 20px;
  margin: 20px;
  font-style: italic;
  font-size: 15px;
}


.section-divider {
  border: none;
  border-top: 4px solid #222; /* dark color, thick line */
  margin: 2em 0;
}
.numbered-list {
  counter-reset: nf-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}
.numbered-list li {
  position: relative;
  padding: 1em 0 1em 2.5em;
  border-bottom: 1px solid #eee;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.numbered-list li::before {
  counter-increment: nf-counter;
  content: counter(nf-counter) ".";
  position: absolute;
  left: 0;
  top: 1em;
  font-size: 2em;
  color: #d32f2f;
  font-family: 'Merriweather', serif;
  font-weight: 400;
}
.nf-title a {
  font-weight: bold;
  font-size: 1.1em;
  color: #222;
  text-decoration: underline;
}
.nf-meta {
  font-size: 0.95em;
  color: #888;
  margin-top: 0.2em;
}
.nf-author {
  font-size: 0.95em;
  color: #444;
  margin-top: 0.2em;
}
.nf-author span {
  font-weight: bold;
  color: #222;
  text-decoration: underline;
}
.nf-bookmark {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.3em;
  cursor: pointer;
  position: absolute;
  right: 0.5em;
  top: 1.2em;
  transition: color 0.2s;
}
.nf-bookmark:hover {
  color: #d32f2f;
}

.breaking-title {
  font-family: 'Merriweather', serif;
  font-size: 2.3em;
  font-weight: 700;
  margin-bottom: 1.2em;
  color: #222;
}
.breaking-feature {
  margin-bottom: 2em;
}
.breaking-feature img {
  float: right;
  width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 32px;
  margin-bottom: 12px;
}
.breaking-feature h2 {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.breaking-feature p {
  font-size: 1em;
  color: #444;
  margin-bottom: 0.7em;
}
.breaking-feature .byline {
  font-size: 0.98em;
  color: #222;
  margin-bottom: 0.5em;
}
.breaking-feature .byline a {
  font-weight: bold;
  text-decoration: underline;
  color: #222;
}
.breaking-list {
  margin-top: 1em;
}
.breaking-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 1.5em;
}
.breaking-info {
  flex: 1;
  min-width: 0;
}
.breaking-time {
  color: #888;
  font-size: 0.95em;
  margin-bottom: 0.3em;
}
.breaking-headline a {
  font-size: 1.15em;
  font-weight: bold;
  color: #222;
  text-decoration: none;
}
.breaking-headline a:hover {
  text-decoration: underline;
}
.breaking-excerpt {
  font-size: 1em;
  color: #444;
  margin: 0.5em 0 0.7em 0;
}
.breaking-byline {
  font-size: 0.98em;
  color: #222;
  margin-bottom: 0.5em;
}
.breaking-byline a {
  font-weight: bold;
  text-decoration: underline;
  color: #222;
}
.breaking-bookmark {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.3em;
  cursor: pointer;
  margin-top: 0.2em;
  transition: color 0.2s;
}
.breaking-bookmark:hover {
  color: #d32f2f;
}
.breaking-thumb {
  width: 220px;
  min-width: 180px;
  max-width: 240px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.breaking-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.breaking-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 1.2em 0;
}

@media (max-width: 900px) {
  .breaking-feature img {
    float: none;
    display: block;
    margin: 0 auto 12px auto;
    width: 100%;
    max-width: 100%;
    height: 180px;
  }
  .breaking-item {
    flex-direction: column;
    gap: 12px;
  }
  .breaking-thumb {
    width: 100%;
    height: 180px;
    max-width: 100%;
  }
  .breaking-thumb img {
    height: 180px;
  }
}
/* Article container */

/* Related posts heading */
.related h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 2.5em 0 1em;
}
/* Share row */
.share-row {
  margin: 15px 0 25px;
}

.share-row button {
  border: 1px solid #ccc;
  background: #f8f8f8;
  font-size: 13px;
  padding: 6px 12px;
  margin-right: 5px;
  cursor: pointer;
  color: #444;
  border-radius: 3px;
}

.share-row button i {
  margin-right: 6px;
}

/* Sidebar ads */
.sidebar .ad img {
  width: 100%;
  margin-bottom: 20px;
}

/* Article-page grid */
.article-page .main-grid1 {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

.latest-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-posts ul li {
  margin-bottom: 0.3em;
}

.latest-posts ul li a {
  color: #222;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.latest-posts ul li a:hover {
  color: #0073e6;
  text-decoration: underline;
}

.category-ad img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.category-ad img:hover {
  transform: scale(1.02);
}
/* Popup background */
.ad-popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.ad-popup-content {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}
/* Close button */
.ad-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.ad-close:hover { color: red; }

/* Ad image */
.ad-popup-content img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.ad-popup-content img:hover { transform: scale(1.03); }

/* Sponsored label */
.ad-label {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
/* Popup background */
.ad-popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.ad-popup-content {
  background: #fff;
  padding: 20px;
  max-width: 340px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}

/* Close button */
.ad-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.ad-close:hover { color: red; }

/* Ad image */
.ad-popup-content img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}
.ad-popup-content img:hover { transform: scale(1.03); }

/* Sponsored label */
.ad-label {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  margin-top: 5px;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
/* =======================
   FOOTER BASE & GRID
======================= */
.site-footer {
  background: #f9f9f9;
  color: #0c0c0c;
  padding: 40px 0 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 9rem; /* tightened from 3rem */
  align-items: flex-start;
  padding: 1 30px;
}

/* Columns */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-col:last-child {
  align-items: flex-end;
  text-align: right;
}

/* =======================
   FOOTER HEADINGS & TEXT
======================= */
.site-footer h4 {
  color: #0a0a0a;
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 700;
}

.site-footer p {
  margin: 0 0 10px;
}


.site-footer p, a {
  font-family: var(--font-body);
  font-size: inherit;
}

.site-footer .desc {
  font-size: 14px;
  color: #0a0a0a;
  margin-bottom: 16px;
  max-width: 320px;
}

/* =======================
   LINKS
======================= */
.site-footer a {
  color: #110f0f;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  text-decoration: underline;
}
.footer-social-icons a:hover
{
    color: white;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 6px; /* tighter spacing */
}

.footer-list li:last-child {
  margin-bottom: 0;
}

/* =======================
   SOCIAL ICONS
======================= */
.footer-social-icons {
  display: flex;
  flex-direction: row;
  gap: 5px;          /* tighter icon spacing */
  margin-top: 6px;   /* closer to heading */
  justify-content: flex-end;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;       /* smaller icons for cleaner look */
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.footer-social-icons a:hover {
  background: #0073e6;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* =======================
   BOTTOM BAR
======================= */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  margin-top: 25px;
  font-size: 13px;
  color: #555;
}

.footer-bottom a {
  color: #555;
}

.footer-bottom a:hover {
  color: var(--accent, #0073e6);
}

/* =======================
   RESPONSIVE STYLES
======================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
  }

  .footer-col,
  .footer-col:last-child {
    align-items: center;
    text-align: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .site-footer .desc {
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-social-icons {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

