/* ==========================================================
   BLOG CLASSIC 2 COLUMNS — Dr.Anupama R
   Matched to https://dranupama.in/blog-classic-2-columns/
   ========================================================== */

/* Google Fonts imported in HTML or fallback */
@import url('https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700&subset=latin,latin-ext');

:root {
  --blog-pink: #df0068;
  --blog-pink-hover: #c2005a;
  --blog-purple: #7100d8;
  --blog-dark: #1b2a41;
  --blog-heading: #222222;
  --blog-text: #666666;
  --blog-border: #e8e8e8;
  --blog-bg-light: #f9f9f9;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Titillium Web', Arial, sans-serif;
  color: var(--blog-text);
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================
   BANNER / PAGE TITLE — ORIGINAL CONTAINER LAYOUT
   ========================================================== */
.blog-page-banner{
  position:relative;
  width:100%;
  height:315px;
  min-height:315px;
  display:flex;
  align-items:center;
  background-image:url('../images/innerpage.jpg');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
  overflow:hidden;
}

.blog-page-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.22);
  pointer-events:none;
}

.blog-page-banner > .container{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1170px;
  margin:0 auto;
  padding-left:15px;
  padding-right:15px;
}

.blog-page-banner h1{
  color:#fff;
  font-family:'Titillium Web',Arial,sans-serif;
  font-size:54px;
  line-height:1.1;
  font-weight:400;
  margin:0 0 10px;
  letter-spacing:.2px;
}

.blog-page-banner .breadcrumbs{
  color:#fff;
  font-size:16px;
  line-height:1.6;
  font-weight:400;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.blog-page-banner .breadcrumbs a{color:#fff;text-decoration:none;}
.blog-page-banner .breadcrumbs a:hover{color:var(--blog-pink);}
.blog-page-banner .breadcrumbs .delimiter{opacity:.8;font-size:14px;}
.blog-page-banner .breadcrumbs .current{color:#fff;opacity:.95;}

/* ==========================================================
   MAIN CONTENT AREA (2 COLUMNS + SIDEBAR)
   ========================================================== */
.blog-content-wrap {
  width: 100%;
  padding: 70px 0 90px;
  background: #ffffff;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 870px) 270px;
  column-gap: 30px;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

/* ==========================================================
   POSTS CONTAINER (CLASSIC 2 COLUMNS)
   ========================================================== */
.posts-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 45px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

/* Featured thumbnail */
.post-featured {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  background: #f0f0f0;
  display: block;
}

.post-featured img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-featured img {
  transform: scale(1.05);
}

.post-featured .post-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-card:hover .post-featured .post-mask {
  opacity: 1;
}

.post-featured .hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px;
  height: 44px;
  background: var(--blog-pink);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.post-card:hover .post-featured .hover-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Post Header & Title */
.post-header {
  margin-top: 18px;
}

.post-title {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--blog-heading);
  margin: 0 0 10px 0;
}

.post-title a {
  color: var(--blog-heading);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--blog-pink);
}

/* Post Excerpt */
.post-excerpt {
  color: var(--blog-text);
  font-size: 15px;
  line-height: 1.7;
}

.post-excerpt p {
  margin: 0;
}

/* ==========================================================
   PAGINATION
   ========================================================== */
.blog-pagination {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-numbers.current {
  background: var(--blog-pink);
  color: #ffffff;
  border-color: var(--blog-pink);
}

a.page-numbers:hover {
  background: var(--blog-pink);
  color: #ffffff;
  border-color: var(--blog-pink);
}

/* ==========================================================
   SIDEBAR WIDGETS
   ========================================================== */
.blog-sidebar {
  width: 270px;
  font-family: 'Titillium Web', Arial, sans-serif;
  position: sticky;
  top: 135px; /* header (115px) + 20px breathing room */
  align-self: start;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.widget-title {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--blog-heading);
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  position: relative;
  line-height: 1.2;
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--blog-pink);
}

/* Categories Widget */
.widget-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-categories li {
  border-bottom: 1px solid #f0f0f0;
  padding: 9px 0;
}

.widget-categories li:last-child {
  border-bottom: none;
}

.widget-categories a {
  display: block;
  color: #666666;
  font-size: 15px;
  text-decoration: none;
}

.widget-categories a:hover,
.widget-categories .current-cat a {
  color: var(--blog-pink);
}

.widget-categories .current-cat a {
  font-weight: 600;
}

/* Search Widget */
.widget-search .search-form {
  display: flex;
  width: 100%;
}

.widget-search input[type="search"] {
  width: 100%;
  height: 42px;
  border: 1px solid #dcdcdc;
  border-right: none;
  border-radius: 0;
  padding: 0 14px;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 14px;
  color: #333333;
  outline: none;
  background: #ffffff;
}

.widget-search input[type="search"]:focus {
  border-color: #bbbbbb;
}

.widget-search input[type="submit"],
.widget-search button[type="submit"] {
  width: 80px;
  height: 42px;
  border: none;
  border-radius: 0;
  background: var(--blog-pink);
  color: #ffffff;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-search input[type="submit"]:hover,
.widget-search button[type="submit"]:hover {
  background: var(--blog-pink-hover);
}

/* Tag Cloud Widget (Boxed Items) */
.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  line-height: normal;
  margin-top: 4px;
}

.tagcloud a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  color: #555555;
  text-decoration: none;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  transition: all 0.25s ease;
}

.tagcloud a:hover {
  background: var(--blog-pink);
  border-color: var(--blog-pink);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(223, 0, 104, 0.2);
}

.tagcloud a.current-tag,
.tagcloud a.active {
  background: var(--blog-pink);
  border-color: var(--blog-pink);
  color: #ffffff;
}

.tagcloud .tag-small {
  font-size: 13px;
}

.tagcloud .tag-large {
  font-size: 14px;
  font-weight: 700;
}

/* Calendar Widget */
.calendar-wrap {
  width: 100%;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 14px;
}

.calendar-table caption {
  caption-side: top;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
  text-align: center;
}

.calendar-table th {
  padding: 6px 2px;
  font-weight: 600;
  color: #666666;
  border-bottom: 1px solid #eeeeee;
}

.calendar-table td {
  padding: 7px 2px;
  color: #555555;
}

.calendar-table td#today,
.calendar-table td.today {
  color: #ffffff;
}

.calendar-table td#today span,
.calendar-table td.today span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--blog-pink);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 600;
}

.calendar-table td.pad {
  color: transparent;
}

.calendar-nav {
  margin-top: 10px;
  font-size: 13px;
  text-align: left;
}

.calendar-nav a {
  color: #777777;
  text-decoration: none;
}

.calendar-nav a:hover {
  color: var(--blog-pink);
}

/* ==========================================================
   FOOTER (Exact 3-Column + Copyright)
   ========================================================== */
.site-footer {
  /* Background image/photo is supplied by the shared .footer-bg layer
     (css/common-header.css) so every page uses the exact same local
     image and sizing — this rule only sets layout, not background. */
  position: relative;
  color: #ffffff;
  font-family: 'Titillium Web', Arial, sans-serif;
  padding: 75px 0 0 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 35, 0.88);
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 35px;
  padding-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-col-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blog-pink);
  margin-bottom: 14px;
}

.footer-col-title {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.footer-col-content {
  font-size: 15px;
  line-height: 1.6;
  color: #c9cdd4;
}

.footer-col-content a {
  color: #ffffff;
}

.footer-col-content a:hover {
  color: var(--blog-pink);
}

.footer-col-content strong {
  color: #ffffff;
}

.footer-directions-btn {
  display: inline-block;
  margin-top: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.footer-directions-btn:hover {
  color: var(--blog-pink);
  border-color: var(--blog-pink);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0 28px;
  text-align: center;
  font-size: 14px;
  color: #a4abb6;
}

.footer-copyright a {
  color: #ffffff;
  font-weight: 600;
}

.footer-copyright a:hover {
  color: var(--blog-pink);
}

/* ==========================================================
   SCROLL TO TOP BUTTON
   ========================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 42px;
  height: 42px;
  background: var(--blog-pink);
  color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--blog-pink-hover);
  transform: translateY(-3px);
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */
@media (max-width: 1050px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    column-gap: 25px;
  }
  .posts-grid-2col {
    column-gap: 20px;
    row-gap: 35px;
  }
  .post-featured img {
    height: 200px;
  }
  .post-title {
    font-size: 20px;
  }
}

@media (max-width: 860px) {
  .blog-layout {
    grid-template-columns: 1fr;
    row-gap: 50px;
  }
  .blog-sidebar {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: static;
    max-height: none;
    overflow-y: visible;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .blog-page-banner h1 {
    font-size: 44px;
  }
}

@media (max-width: 600px) {
  .posts-grid-2col {
    grid-template-columns: 1fr;
    row-gap: 35px;
  }
  .post-featured img {
    height: 220px;
  }
  .blog-content-wrap {
    padding: 45px 0 60px;
  }
  .blog-page-banner {
    min-height: 240px;
    height: 240px;
  }
  .blog-page-banner h1 {
    font-size: 36px;
  }
  .blog-page-banner .breadcrumbs {
    font-size: 14px;
}

/* ==========================================================
   RELATED POSTS SECTION ("You May Also Like")
   ========================================================== */
.orig-related,
.related_wrap {
  margin-top: 55px;
  padding-top: 45px;
  border-top: 3px solid #eeeeee;
}

.orig-related h3,
.related_wrap_title {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #222222;
  margin: 0 0 24px;
  text-align: left;
}

.orig-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 32px;
  align-items: start;
}

.orig-related-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  text-align: left;
}

.orig-related-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  width: 100%;
  height: 220px;
  background: #f4f4f4;
  margin-bottom: 14px;
}

.orig-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.orig-related-thumb:hover img {
  transform: scale(1.05);
}

.orig-related-info {
  display: flex;
  flex-direction: column;
}

.orig-related-card-title {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px;
  color: #222222;
}

.orig-related-card-title a {
  color: #222222;
  transition: color 0.25s ease;
}

.orig-related-card-title a:hover {
  color: var(--blog-pink, #df0068);
}

.orig-related-date {
  font-size: 14px;
  color: #988e99;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.orig-related-date i {
  font-size: 13px;
  color: var(--blog-pink, #df0068);
}

@media (max-width: 768px) {
  .orig-related-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .orig-related-thumb {
    height: 200px;
  }
}


/* ===== Footer icon images ===== */
.footer-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
}
.footer-icon img{
  width:52px;
  height:52px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
@media (max-width:576px){
  .footer-icon img{
    width:48px;
    height:48px;
  }
}


/* Final banner container responsive overrides */
@media (max-width: 1199px) {
  .blog-page-banner > .container { max-width:970px; }
}
@media (max-width: 991px) {
  .blog-page-banner > .container { max-width:750px; }
}
@media (max-width: 767px) {
  .blog-page-banner { height:260px; min-height:260px; }
  .blog-page-banner > .container { max-width:100%; padding-left:20px; padding-right:20px; }
  .blog-page-banner h1 { font-size:42px; margin-bottom:8px; }
}
@media (max-width: 480px) {
  .blog-page-banner { height:230px; min-height:230px; }
  .blog-page-banner h1 { font-size:36px; }
  .blog-page-banner .breadcrumbs, .blog-page-banner .crumbs { font-size:14px; gap:6px; }
}
