/*
Theme Name: pk
Theme URI: https://prabhatkhabar.com/
Author: Prabhat Khabar
Author URI: https://prabhatkhabar.com
Description: Updated PrabhatKhabar WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pk
*/

html {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
*, *::before, *::after {
    box-sizing: inherit;
}
a
{
  text-decoration: none;
  color:#000;
}
body {
    margin: 0;
    background: #f8f8f8;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-family: LocalFont,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
}
.bell-icon-pk
{
  display:none;
}
/* Header */
.header {
    border-bottom: 1px solid #ddd;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    position: relative;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 8px;
   padding:30px;
}

.weather-info img {
    vertical-align: middle;
    margin-right: 4px;
}

.top-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
}

.pk-logo-svg {
    height: 40px;
    width: auto;
}

.bell-icon-pk {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: transform 0.2s;
}

.bell-icon-pk:hover {
    transform: scale(1.1);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}
.ad-container{
  display:flex;
  justify-content: center;

}

.text-ad{
  color: #767676 !important;
    font-size: 10px !important;
    text-align: center !important;
    display: block !important;
    font-family: Verdana, BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 21px !important;
}

.header-ad{
      /* margin-bottom: 0px !important; */
    /* width: 970px !important; */
    /* min-height: 120px !important; */
    justify-content: center !important;
    text-align: center !important;
    position: relative;
    background-color: #e8e8e8 !important;
    padding: 5px;
    margin: 5px;
}


#ast-24-login{
  background-color: #f58634;
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    cursor: pointer;
    margin-left: 20px;
}

#ast-24-test{
  background-color: #f58634;
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    cursor: pointer;
    margin-left: 20px;
}
.login-btn {
    background-color: #f58634;
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #e67422;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 1em;
    background-color: white;
}

.main-nav {
    position: relative;
    overflow-x: auto;           /* Horizontal scroll if items overflow */
    white-space: nowrap;        /* Prevent wrapping of nav items */
    -webkit-overflow-scrolling: touch; 
    min-height: 35px;
}

/* Hide scrollbar if desired */
.main-nav::-webkit-scrollbar {
    display: none;
}
.main-nav {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

.hamburger {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: none; /* Hide on desktop by default */
}

/* Nav items in a single line */
.nav-list {
    display: inline-flex;
    gap: 1em;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each item is inline-block so they stay on a single line */
.nav-list li {
    flex: 0 0 auto;
}

.nav-list li a {
    position: relative;
    text-decoration: none;
    color: #333;
    padding: 0.3em 0.5em;
    transition: background 0.3s;
    display: inline-block;
}

/* The animated underline as a pseudo-element:
   We'll make it full width but start with scaleX(0) and grow to scaleX(1) from the center. */
.nav-list li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: #f58635;
    transform: scaleX(0);          /* Initially not visible */
    transform-origin: center;      /* Grows outward from the center */
    transition: transform 0.3s ease;
}

/* On hover, we still change the background and now line expands from the center */
.nav-list li a:hover {
    background: #f0f0f0;
}

.nav-list li a:hover::before {
    transform: scaleX(1);          /* Expand line to full width from center */
}


/* Mobile adjustments */
@media (max-width: 768px) {
    .hamburger {
        display: inline-block; /* Show hamburger on mobile if you want */
        margin-right: 0.5em;
    }
    /* The nav-list is always shown, no toggling */
    .nav-list {
        display: inline-flex; /* always visible */
    }
    .top-bar {
        flex-direction: column;
        padding: 8px;
        gap: 12px;
    }
    
    .top-left {
        order: 2;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
    
    .top-center {
        position: static;
        transform: none;
        order: 1;
        justify-content: center;
    }
    
    .top-right {
        order: 3;
        justify-content: center;
    }
    
    .pk-logo-svg {
        height: 32px;
    }
    
    .bell-icon-pk {
        width: 28px;
        height: 28px;
    }
}

.breaking-news-bar {
    display: flex;
    align-items: center;
    background: #F58634; /* Deep Red background */
    padding: 0.5em 1em;
    color: #fff;
    font-weight: bold;
    font-size: 0.95rem;
    overflow: hidden;
    border-bottom: 1px solid #e5660c; /* Slightly darker line for subtle contrast */
    border-radius: 3px;
}

.breaking-label {
    margin-right: 1em;
    white-space: nowrap;
    background: #fff;
    color: #f58635;
    padding: 2px;
    border-radius: 4px;
    font-size: 14px;
    font-style: italic;
}

.marquee-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.marquee-content {
    display: inline-flex;
    gap: 2em; /* space between news items */
    white-space: nowrap;
    animation: scrolling-text 25s linear infinite;
}

.news-item {
    display: list-item;
    white-space: nowrap;
    list-style-type: square;
}
.news-item a
{
  color:#fff;
}
.news-item a:hover
{
  text-shadow: 0px 2px 5px #843800;
}
.latest-story h2 {
  font-weight: 500;
  font-size: 1.1rem;
}
.latest-story h2:hover {
  color:#e5660c;
}
/* Keyframe for scrolling effect */
@keyframes scrolling-text {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Main Layout */
.main-wrapper {
    padding: 0em 3em 0em 3em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* Each section-container holds a section + sidebar pair */
.section-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1em;
    background: none;
}

/* Left and right columns within each section */
.left-col {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* Hero Section */
.hero-section {
    display: flex;
    gap: 1em;
    /* background: #fff; */
    padding: 1em;
    border-radius: 3px;
    /* box-shadow: 0px 4px 6px #e6e6e6; */
}
.hero-left
{
    max-width:55%;
}
.hero-left .hero-image {
    width: 100%;
    height: auto;
    border-radius: 3px;
    cursor: pointer;
    max-width:600px; 
}
.hero-title {
    font-size: 1.4rem;
    margin: 0.5em 0;
    cursor: pointer;
    max-width: 600px;
    
}
.hero-desc {
    font-size: 1rem;
    color: #555;
}
.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
   
  
}
.side-story {
    width: 100%;
    display: flex;
    gap: 0.5em;
    background: #fff;
    padding: 0.5em;
    border-radius: 10px;
    align-items: center;
    box-shadow: 0px 4px 6px #e2dddd;
    border: 1px solid #ededed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    /* min-height: 60px; */
    margin-bottom:0.5rem;
}
.othimg,.oth
{
  max-width: 400px;
}
.side-story:hover {
    transform: scale(1.01);
    box-shadow: 2px 4px 8px #cfcfcf;
}
.side-story img {
    width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 3px;
}
.side-story h2 {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
    font-weight: 500;
}
.side-story a 
{
  display: flex;
  gap: 10px;
}

/* Widgets */
.widget {
    /* background: #fff; */
    padding: 1em;
    border-radius: 3px;
    /* box-shadow: 0px 4px 6px #e6e6e6; */
}
.widget.ad-widget
{
text-align: center;
/* min-height: ; */
}
/* GPT Ad Container Styling */
.custom-gpt-ad {
  /* Sets initial minimum dimensions based on desktop */
  min-width: 728px;
  min-height: 90px;
  width: 100%; /* Allows the ad container to scale within its parent */
  max-width: 970px; /* Adjust as per your layout requirements */
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
  .custom-gpt-ad {
      /* These values will be overridden by inline styles set by JavaScript */
      /* Ensuring mobile ad containers are appropriately sized */
      max-width: 100%;
  }
}

.widget h3 {
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 0.5em;
}
.widget.price-widget {
    background: none;
    padding: 0;
    border: none;
}

.widget.price-widget h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.8em;
    color: #333;
}

.price-row {
    display: flex;
    gap: 0.4em;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap; /* If space is limited, allows wrapping on smaller screens */
}

.price-box {
    flex: 1;
    background: #fff;
    padding: 0.5em;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
    text-align: left;
    min-width: 160px; /* A reasonable min-width to prevent overlapping */
}

/* Header with optional icon and title */
.price-header {
    display: flex;
    align-items: center;
    gap: 0.3em;
    margin-bottom: 1em;
}
.price-header svg {
    height: 20px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}
.price-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Currency and unit line */
.price-info-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1em;
}
.currency-symbol {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
}
.price-unit {
    font-size: 0.7rem;
    color: #777;
}

/* Price value line */
.price-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.3em;
}

/* Change line */
.price-change {
    font-size: 0.9rem;
    color: #4caf50; /* Green for positive changes */
    display: flex;
    align-items: center;
    gap: 0.3em;
}
.price-change .price-arrow {
    font-size: 1rem;
    line-height: 1;
}

/* Mobile specific styles */
@media (max-width: 480px) {
  .main-wrapper {
      padding: 0;
      overflow-x: hidden;
      width: 100%;
  }

  .hero-section {
      flex-direction: column;
      width: 100%;
      margin: 0;
      padding: 0;
  }
  
  .hero-right {
      display: flex !important;
      flex-direction: column !important;
      width: 100%;
      margin: 0;
      padding: 0;
  }
  
  .side-story {
      padding: 12px 15px;
      margin: 0;
      background: #fff;
      border-bottom: 1px solid #eee;
      width: 100%;
      box-sizing: border-box;
  }

  .side-story:last-child {
      border-bottom: none;
  }

  .side-story a {
      display: flex !important;
      flex-direction: row !important;
      gap: 15px;
      align-items: flex-start;
      text-decoration: none;
      width: 100%;
      box-sizing: border-box;
  }

  .side-story h2 {
      flex: 0 0 calc(70% - 15px);
      font-size: 15px;
      line-height: 1.4;
      font-weight: 400;
      margin: 0;
      color: #000;
      order: 1;
      padding-right: 0;
  }

  .side-story img {
      width: 130px !important;
      height: 90px !important;
      object-fit: cover;
      margin: 0;
      order: 2;
      flex: 0 0 90px;
      border-radius: 4px;
  }

  /* Reset any grid or flex layouts that might cause overflow */
  .section-container {
      width: 100%;
      margin: 0;
      padding: 0;
  }

  .left-col, 
  .sidebar {
      width: 100%;
      margin: 0;
      padding: 0;
  }

  /* Ensure all containers use border-box */
  *, *:before, *:after {
      box-sizing: border-box;
  }

  /* Remove any fixed widths that might cause overflow */
  .hero-left {
      max-width: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
  }

  .hero-right {
      max-width: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
  }
}

.othimg,.oth
{
max-width: 400px;
}
.side-story:hover {
  transform: scale(1.01);
  box-shadow: 2px 4px 8px #cfcfcf;
}

/* Adjust spacing and font sizes slightly on smaller screens if needed */
@media (max-width: 768px) {
    .price-row {
        flex-direction: row;
    }
    .price-box {
        min-width: unset;
    }
}

.market-widget {
    background: none;
    padding: 0;
    border: none;
    font-family: Arial, sans-serif;
}

.market-widget h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1em;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Row of market boxes */
.market-row {
    display: flex;
    gap: 1em;
    flex-wrap: wrap; /* Allow wrapping if space is limited */
}

/* Individual market box styling similar to the provided stock cards */
.market-box {
    flex: 1;
    background: #fff;
    padding: 1em;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
    min-width: 160px;
}

.market-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5em;
}

.market-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 0.3em;
}

.market-change {
    font-size: 0.9rem;
    color: #4caf50; /* Green for positive */
    /* If negative, you can add a class to change the color to red */
}
.market-change.negative {
    color: #d32f2f;
  }
  

/* Optional: If on smaller screens you need them stacked */
@media (max-width: 768px) {
    .market-row {
        flex-direction: row;
    }
}


.vote-btn {
    background: #f60;
    color: #fff;
    border: none;
    padding: 0.3em 0.7em;
    border-radius: 3px;
    cursor: pointer;
}
.rashifal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3em;
}
.rashifal-list li {
    background: #fafafa;
    border-radius: 3px;
    padding: 0.3em 0.5em;
    font-size: 0.9rem;
    display: block;
    min-width: 85px;
    min-height: 90px;
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 2px 3px 5px #dbdbdb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.rashifal-list li:hover {
    transform: scale(1.03);
    box-shadow: 2px 4px 8px #cfcfcf;
}

.rashifal-list span {
    font-family: "arial unicode ms", "Lucida Sans Unicode", sans-serif;
    display: block;
    font-size: 3rem;
    color: #8a0202;
}

/* Other Sections */
.section-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1em;
    /* Make sure parent containers don't have fixed widths unless desired */
    width: 100%;
    box-sizing: border-box;
}

.left-col, .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1em;
    min-width: 0; /* Prevent overflow in grids */
}

.featured-stories {
    background: #fff;
    padding: 1em;
    border-radius: 3px;
    position: relative;
    overflow: hidden; /* Contain any overflowing slides */
    box-sizing: border-box;
    width: 100%; /* Ensure it fits its column */
    box-shadow: 0px 4px 6px #e6e6e6;
}

.section-title {
    margin: 0 0 1em 0;
    font-size: 1.2rem;
}

.slider {
    position: relative;
    width: 100%; /* Matches the width of featured-stories column */
    overflow: hidden;
    box-sizing: border-box;
}

.slides {
    display: flex;
    gap: 1em;
    transition: transform 0.5s ease;
    touch-action: pan-y;
}
.slides a {
  text-decoration: none;
  color: #000;
}
.slides h3 {
  font-weight: 500;
  font-size:1rem;
}
.story-card {
    background: #fafafa;
    border-radius: 3px;
    text-align: center;
    padding: 0.5em;
    flex: 0 0 auto;
    box-sizing: border-box;
    max-width: 190px;
}
.story-card img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    min-height:250px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 30px;
    text-align: center;
    font-size: 1.2rem;
    z-index: 10;
    opacity: 0.8;
}
.arrow:hover {
    background: #f60;
    opacity: 1;
}
.prev-arrow {
    left: 0.5em;
}
.next-arrow {
    right: 0.5em;
}
.arrow:disabled {
    background: #ccc;
    cursor: default;
}

/* Responsiveness: no widths forced beyond container.
   itemsPerView logic handled in JS to fit within current column width. */

/* Responsive grid stacking at smaller widths if needed: */
@media (max-width: 1024px) {
    .section-container {
        grid-template-columns: 1fr;
    }
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1em;
    padding: 13px;
    border-radius: 3px;
    /*background: #fff;*/
    /*box-shadow: 0px 4px 6px #e6e6e6;*/
}
.latest-story {
    background: #fff;
    border-radius: 3px;
    padding: 0.5em;
    text-align: center;
}
.latest-story img {
    max-width: 100%;
    height: 170px;
    border-radius: 3px;
    object-fit: cover;

}

.trending-topics {
    padding: 1em;
    background: #f8f8f8; /* or your page background */
    box-sizing: border-box;
}

.common-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5em;
}

.common-section-heading .read-more {
    font-size: 0.85rem;
    color: #f58635;
    text-decoration: none;
}

/* Topics container: horizontally scrollable */
.topics-container {
    display: inline-flex;
    gap: 0.5em;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5em 0;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}
.topics-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers */
}

/* Topic buttons */
.topic-btn {
    background: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 0.5em 0.8em;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.topic-btn:hover {
    background: #f0f0f0;
    border-color: #333;
}
.topics-parent
{
overflow: scroll;
}

/* Yellow section with image */
.yellow-section {
    margin-top: 1em;
    text-align: center;
    background: #fec20d;
    border-radius: 8px;
}
.yellow-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px; /* optional */
    display: inline-block;
    max-height: 180px;
}

@media (max-width: 480px) {
    .main-wrapper
    {
        padding:0em 0em 0em 0em;
    }
    .trending-topics h3 {
        font-size: 0.95rem;
    }
    .topic-btn {
        font-size: 0.85rem;
        padding: 0.4em 0.6em;
    }

    .story-card img
    {
      min-height: 200px;
      object-fit: cover;
    }
    .slides h3
    {
      font-size:0.8rem;
    }
    .story-card
    {
      height:280px;
    }
}

.weather-widget {
    display: flex;
    align-items: center;
    background: #fde9d9; /* Light peach background */
    border-radius: 12px;
    padding: 0.8em 1em;
    box-sizing: border-box;
    gap: 1em;
    font-family: Arial, sans-serif;
}

/* City Dropdown styles */
.city-dropdown {
    flex-shrink: 0;
}
.city-btn {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.4em 0.8em;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.city-btn:hover {
    background: #f9f9f9;
    border-color: #ddd;
}
.arrow {
    font-size: 0.8rem;
    /* color: #666; */
}

/* Weather Info */
.weather-info {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex: 1;
}
.weather-info > span 
{
    font-size: 2rem;
}
.weather-details {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
    font-size: 0.95rem;
    color: #333;
}

/* Temperature and Condition */
.temperature {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3em;
}
.temp-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f58635; /* Orange color for temperature */
}
.condition {
    font-size: 1rem;
    color: #555;
}

/* PM Info */
.pm-info {
    font-size: 0.9rem;
    color: #666;
}
.pm-info strong {
    font-weight: bold;
    color: #333;
}
.moderate {
    color: #4c9ee3; /* Blue shade for moderate */
    font-weight: normal;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .weather-widget {
        flex-direction: column;
        align-items: flex-start;
    }
    .weather-info {
        gap: 0.5em;
    }
    .temp-value {
        font-size: 1.3rem;
    }
    .city-btn {
        font-size: 0.9rem;
    }
}

.widget.word-widget p strong {
    font-size: 1.5rem;
    color: #f58635;
}



/* Footer */
footer .btn-sbmt {
    background: #f58220;
    padding: 10px;
    border: none;
    color: #fff
  }

  footer .ft-sctn.ftr-brdbtm,
  footer .ftr-list {
    border-bottom: 1px solid #707070
  }

  footer #footer_subscribe_box,
  footer .email-subscription,
  footer .follow-us {
    text-align: center
  }

  footer .submit-message {
    text-align: center;
    padding: 20px 0;
    display: none
  }

  footer .submit-message span {
    text-align: center;
    display: block
  }

  footer .ftr-list {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 3px;
    border-top: 1px solid #707070
  }

  footer .ftr-list .ftr-cntr a {
    display: inline-block;
    font-size: 14px;
    line-height: 18px;
    text-align: left;
    color: #ededed;
    padding: 10px;
    width: 11%;
    margin: 0
  }

  footer .ft-sctn {
    display: flex;
    width: 100%;
    text-align: center
  }

  footer .ft-sctn .ftr-frst-lnk,
  footer .ft-sctn a:first-child {
    border-left: none
  }

  footer .ft-sctn a {
    font-size: 12px;
    padding: 0 5px;
    border-left: 1px solid #707070;
    color: #ededed
  }

  footer .ft-sctn p {
    width: 100%;
    text-align: center;
    padding: 10px 0
  }

  footer .ft-sctn .ftr-cpyrgt {
    padding: 30px 0 20px;
    text-align: center;
    color: #ededed;
    font-size: 12px
  }

  footer span {
    font-size: 13px;
    font-weight: 700
  }

  footer .email-subscription .hindustan-link {
    font-size: 16px;
    padding: 20px 0 10px;
    color: #fff
  }

  footer .email-subscription .btn-sbmt {
    display: inline-block;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topleft: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    -webkit-border-bottom-left-radius: 0;
    border-radius: 0 4px 4px 0
  }

  footer .email-subscription input {
    font-family: NotoSansDevanagari, sans-serif;
    padding: 12px 12px 12px 35px;
    margin-right: -6px;
    width: 30%;
    background-repeat: no-repeat;
    background-size: 20px;
    display: inline-block;
    background-position: 10px;
    border: none
  }

  footer .ap-dnwld {
    text-align: center;
    margin: 20px
  }

  footer .ap-dnwld h3 {
    font-size: 20px;
    color: #fff;
    margin: 20px
  }

  footer .ap-dnwld img {
    max-width: 130px;
    margin-right: 15px
  }

  footer .follow-us span {
    background: #fff;
    padding: 6px 0;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    margin: 0 15px;
    display: inline-block;
    text-align: center
  }

  footer .follow-us span a {
    margin: 3px 9px;
    display: block;
    height: 20px;
    width: 20px
  }

  footer .follow-us span:last-child {
    background: #ff0100
  }

  footer .follow-us p {
    font-size: 16px;
    font-weight: 600;
    padding-right: 15px;
    margin: 20px 0 10px;
    color: #fff;
    text-align: center
  }

  @media (max-width:767px) {
    .hdr-lft .icon-search {
      position: absolute;
      left: 16px;
      top: 2px;
      border-color: #949494;
      width: 10px;
      height: 10px
    }

    .owl-carousel .owl-nav button.owl-next .icon-arrow,
    .owl-carousel .owl-nav button.owl-prev .icon-arrow {
      top: 8.6px
    }

    footer .email-subscription {
      max-width: 100%
    }

    footer .email-subscription .hindustan-link {
      font-size: 18px
    }

    footer .btn-sbmt {
      font-size: 14px
    }

    footer .ft-sctn a {
      font-size: 14px;
      padding: 5px;
      display: inline-block
    }

    footer .email-subscription input {
      width: 70%;
      font-size: 14px
    }

    footer .ap-dnwld h3 {
      font-size: 16px
    }

    footer .ftr-list .ftr-cntr {
      max-width: 100%;
      text-align: center
    }

    footer .ftr-list .ftr-cntr a {
      font-size: 14px;
      padding: 3px;
      width: 30%
    }

    footer .row {
      padding: 0;
      margin: 0
    }

    footer .submit-message span {
      margin: 14px 0;
      font-size: 18px
    }

    footer .submit-message {
      padding: 8px 0 0
    }
  }
  .ftrMain {
    background: #000;
  }

  .ftrInsd {
    margin: auto;
  }

  .ftrMain li {
    margin-bottom: 24px;
  }

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

  .ftrMain li span {
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 12px;
  }
  .ftrMain li span:before{content: "";
border-left: 4px solid #f58220;
position: absolute;
left: 0;
top: 0;
height: 100%;}

  .ftrMain li a {
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    color: #8f8f8f;
    line-height: 30px;
    text-decoration: none;
  }

  .ftrMain li a:after {
    content: " ";
    width: 1px;
    height: 13px;
    margin: 0 10px;
    background: #8f8f8f;
    display: inline-block;
    top: 2px;
    position: relative;
  }

  .ftrLinkAll {
    margin-bottom: 40px;
    padding-top: 47px;
    list-style-type: none;
  }

  .ftrMain li a:last-child:after {
    display: none;
  }

  .ftrMain li img {
    margin-left: 5px;
    width: 12px;
  }

  .ftrLogoSec {
    display: flex;
    padding-bottom: 60px;
    justify-content: space-between;
  }

  .ftrLogo {
    display: inline-block;
    width: 362px;
    height: 79px;
  }

  .ftrLogo .logoImg {
    width: 90px;
    height:90px;
  }

  .ftrSocialBlk {
    display: flex;
  }

  .ftrSocial {
    margin-right: 60px;
    position: relative;
  }

  .ftrSocial:after {
    content: " ";
    width: 1px;
    height: 60px;
    right: -18px;
    position: absolute;
    background-color: #727272;
    top: 22px;
  }

  .ftrSocialBlk .hdng {
    display: block;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    margin-bottom: 14px;
  }

  .ftrSocial a {
    width: 35px;
    display: inline-block;
    height: 35px;
    margin-right: 6px;
  }

  .ftrSocial img {
    width: 100%;
  }

  .ftrApp a {
    width: 131px;
    display: inline-block;
    height: 38px;
  }

  .ftrApp .gplay-ftr {
    margin-right: 9px;
  }

  .ftrApp img {
    height: 38px;
  }

  .ftr-more-lnk {
    width: 100%;
    text-align: center;
  }

  .ftr-more-lnk p {
    width: 100%;
    text-align: center;
    padding-bottom: 12px;
    position: relative;
    margin-bottom: 12px;
  }

  .ftr-more-lnk p::after {
    width: 100%;
    left: 0;
    right: 0;
    height: 1px;
    bottom: 0;
    background-color: #383838;
    content: ' ';
    position: absolute
  }

  .ftr-more-lnk p:last-child::after {
    display: none;
  }

  .ftr-more-lnk span {
    font-size: 13px;
    font-weight: normal;
  }

  .ftr-more-lnk .lnk-overview {
    color: #8f8f8f;
    font-size: 13px;
  }

  .ftr-more-lnk a {
    font-size: 13px;
    padding-right: 5px;
    margin-right: 5px;
    border-right: 1px solid #8f8f8f;
    color: #8f8f8f;
    text-decoration: none;
  }
  .ftrMain a:hover
  {
    color:#f58635;
  }

  .ftr-more-lnk p a:last-child {
    border-right: none;
  }

  .ftrCpyRgt {
    color: #8a8a8a;
    font-size: 13px;
    padding: 12px 16px;
    background: #212121;
    margin: auto;
    text-align: center;
  }

  @media(max-width: 768px) {
    .ftrInsd {
      padding-top: 27px;
      padding: 0 16px;
    }

    .ftrLinkAll {
      margin-bottom: 26px;
      padding-top: 26px;
    }

    .ftrMain li {
      margin-bottom: 18px;
    }

    .ftrMain li span {
      font-size: 16px;
      margin-bottom: 10px;
      line-height: normal;
    }

    .ftrMain li a {
      font-size: 14px;
      line-height: 22px;
    }

    .ftrLogoSec,
    .ftrSocialBlk {
      flex-direction: column;
    }

    .ftrSocial {
      margin-right: 0;
    }

    .ftrSocial:after {
      display: none;
    }

    .ftrLogoSec {
      padding-bottom: 17px;
    }

    .ftr-more-lnk {
      padding: 0 16px;
    }

    .ftr-more-lnk p {
      line-height: 22px;
      text-align: left;
    }

    .ftrLogo {
      width: 276px;
      height: 61px;
      margin-bottom: 27px;
    }

    .ftrSocial {
      margin-bottom: 20px;
    }

    .ftrSocial a {
      margin-right: 10px;
    }

    .ftrCpyRgt {
      font-size: 11px;
    }
  }

  .ad_refreshBlck {
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
  }

  .adclass
  {
    align-items: center;
    overflow: hidden;
    text-align:center;
  }
  .adclass .bid-ads,
  .ads .bid-ads {
    height: 90px;
    width: 100%;
    display: block;
    background-color: #e9e9e9;
  }

  .adclass::before,
  .ads::before,
  .epr-ads::before {
    content: "Advertisement";
    margin: 0 auto;
    min-height: 11px;
    color: #777;
    font-size: 14px;
    line-height: 16px;
    padding: 5px 0
  }

/* Responsive Styles */
@media (max-width: 1024px) {
    .section-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-left
{
    max-width:100%;
}
  .top-left,.top-right
  {
    display:none;
  }
  .top-center 
  {
    width:100%;
  }
    .top-bar, .main-header {
        flex-direction: column;
        align-items: flex-start;
        overflow: scroll;
    }
   .user-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .search-input {
        flex: 1;
        margin-right: 0.5em;
    }

    /* Hero-right as 2-column grid on mobile */
    .hero-section {
        flex-direction: column;
    }
    .hero-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
       
        max-height: 100%;
    }
    .side-story a
    {
      display: block;
      flex-direction:row-reverse;
    }

    .side-story {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    .side-story img {
      width: 100%;
      margin-bottom: 0.5em;
      float: right;
  
    }

    /* Section-container stacks */
    .section-container {
        grid-template-columns: 1fr;
    }

    .breaking-news-bar {
        font-size: 0.85rem;
    }
    .marquee-content {
        gap: 1em;
    }

    .pk-logo-svg
{
  height:40px;
}
.bell-icon-pk {
  height: 30px;
  display: block;
}
}
.header_top_top,div#mobileheadernew,#tdi_3 .mobileheader-v1,.breaking-news-scroll
{
  display: none !important;
}
.td-pb-row [class*="td-pb-span"]
{
  float:left !important;
}
#tdm-popup-modal-td_m_5374
{
  bottom:70px !important;
}
hr {
    height: 1px;
    background: linear-gradient(to right, transparent, #747070, transparent);
    border: none;
    margin: 20px 0;
}

.city-list-container {
    margin-bottom: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.city-btn {
    background: #fff;
    border: 1px solid #f58634;
    border-radius: 4px;
    padding: 0.4em 0.8em;
    cursor: pointer;
    color: #f58634;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
}
.city-btn:hover {
    background: #f58634;
    color: #fff;
}
article.latest-story h3 {
    font-size: 1rem;
    font-weight: 500;
}

/* Base styles for all ad units */
/* Base styles for all ad units */
.ad-container {
    background-color: #f5f5f5; /* Slight gray background */
    margin: 20px auto; /* Center alignment with spacing */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid #ddd;
    transition: all 0.3s ease; /* Smooth size transition */
}

.ad-container::before {
    content: "Advertisement";
    font-size: 12px;
    color: #666;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Default sizes (Desktop) */
.ad-leaderboard { width: 728px; height: 90px; }
.ad-large-rectangle { width: 336px; height: 280px; }
.ad-medium-rectangle { width: 300px; height: 250px; }
.ad-wide-skyscraper { width: 160px; height: 600px; }
.ad-skyscraper { width: 120px; height: 600px; }
.ad-banner { width: 468px; height: 60px; }
.ad-large-mobile { width: 320px; height: 100px; }
.ad-mobile { width: 320px; height: 50px; }
.ad-square { width: 250px; height: 250px; }
.ad-half-page { width: 300px; height: 600px; }

/* Tablet (max-width: 768px) */
@media screen and (max-width: 768px) {
    .ad-leaderboard { width: 468px; height: 60px; } /* Switch to banner size */
    .ad-large-rectangle { width: 300px; height: 250px; } /* Switch to medium rectangle */
    .ad-medium-rectangle { width: 300px; height: 250px; } /* Unchanged */
    .ad-wide-skyscraper { width: 120px; height: 600px; } /* Switch to skyscraper */
    .ad-skyscraper { width: 120px; height: 600px; } /* Unchanged */
    .ad-banner { width: 468px; height: 60px; } /* Unchanged */
    .ad-large-mobile { width: 320px; height: 100px; } /* Unchanged */
    .ad-mobile { width: 320px; height: 50px; } /* Unchanged */
    .ad-square { width: 250px; height: 250px; } /* Unchanged */
    .ad-half-page { width: 300px; height: 250px; } /* Reduce height */
}

/* Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .ad-leaderboard { width: 320px; height: 50px; } /* Switch to mobile banner */
    .ad-large-rectangle { width: 300px; height: 250px; } /* Medium rectangle */
    .ad-medium-rectangle { width: 300px; height: 250px; } /* Unchanged */
    .ad-wide-skyscraper { width: 120px; height: 300px; } /* Shorter skyscraper */
    .ad-skyscraper { width: 120px; height: 300px; } /* Shorter skyscraper */
    .ad-banner { width: 320px; height: 50px; } /* Switch to mobile banner */
    .ad-large-mobile { width: 320px; height: 100px; } /* Unchanged */
    .ad-mobile { width: 320px; height: 50px; } /* Unchanged */
    .ad-square { width: 250px; height: 250px; } /* Unchanged */
    .ad-half-page { width: 300px; height: 250px; } /* Reduce height */
}

/* Video Section Specific Styles */
.video-section .hero-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
}

.video-section .hero-left {
    max-width: 100%;
}

.video-section .video-container {
    position: relative;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.video-section .video-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video-section .video-container:hover img {
    transform: scale(1.02);
}

.video-section .hero-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.video-section .side-story {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px #e2dddd;
    border: 1px solid #ededed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin-bottom: 0;
}

.video-section .side-story:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px #d1d1d1;
}

.video-section .video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.video-section .video-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.video-section .video-thumbnail:hover img {
    transform: scale(1.02);
}

.video-section .side-story h2 {
    margin: 8px 0 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.video-section .side-story a {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Video play button styles */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-thumbnail .video-play-button {
    width: 40px;
    height: 40px;
}

.video-play-button:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
    transition: all 0.3s ease;
}

.video-thumbnail .video-play-button:before {
    border-width: 8px 0 8px 12px;
}

.video-container:hover .video-play-button,
.video-thumbnail:hover .video-play-button {
    background: rgba(245, 134, 52, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive styles */
@media (max-width: 480px) {
    .video-section .hero-section {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .video-section .hero-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .video-section .video-container img {
        height: 200px;
    }
    
    .video-section .video-thumbnail img {
        height: 100px;
    }

    .video-section .side-story h2 {
        font-size: 0.85rem;
    }

    .video-play-button {
        width: 40px;
        height: 40px;
    }

    .video-play-button:before {
        border-width: 8px 0 8px 12px;
    }
    
    .video-thumbnail .video-play-button {
        width: 30px;
        height: 30px;
    }
    
    .video-thumbnail .video-play-button:before {
        border-width: 6px 0 6px 9px;
    }
}

.category-header {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.category-title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.section-container {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.left-col {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Featured Story */
.featured-story {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.featured-image {
    flex: 0 0 400px;
}

.featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.featured-content {
    flex: 1;
    min-width: 0;
}

.featured-title {
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 15px;
}

.featured-title a {
    color: #333;
    text-decoration: none;
}

.featured-excerpt {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.story-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.story-image {
    flex: 0 0 120px;
}

.story-image img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.story-content {
    flex: 1;
    min-width: 0;
}

.story-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.story-title a {
    color: #333;
    text-decoration: none;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.widget h3 {
    font-size: 18px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.side-story {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.side-story:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.side-story a {
    display: flex;
    gap: 10px;
    text-decoration: none;
}

.side-story img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.side-story h4 {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

/* Advertisements */
.ad-container {
    margin: 20px 0;
    text-align: center;
}

.text-ad {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .featured-story {
        flex-direction: column;
    }

    .featured-image {
        flex: none;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .story-item {
        flex-direction: column;
    }

    .story-image {
        flex: none;
    }

    .story-image img {
        width: 100%;
        height: 200px;
    }
}







/*new*/
/* 
   Minimal custom CSS for your new Bootstrap-based homepage template.
   Avoid reusing old styles or large custom overrides. 
   Just includes a few utility classes for the slider & ads.
*/

/* Basic section heading style */
.section-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-heading .read-more {
  font-size: 0.9rem;
  font-weight: normal;
  color: #f58634;
}

/* Ads container - can keep it fairly minimal */
.ad-container {
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  position: relative;
  display: inline-block;
  width: 100%;
  min-height: 50px;
  margin: 0 auto;
}
.ad-container::before {
  content: "Advertisement";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #666;
}

/* The hero-section can rely on Bootstrap classes, so minimal custom styling needed. */
.hero-section .hero-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.hero-title {
  font-size: 1.2rem;
  margin-top: 0.5em;
  font-weight: 600;
}

/* side-story block for small items */
.side-story {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.2s ease;
}
.side-story:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* City posts grid is handled by .row and .col in template. 
   Buttons have .btn .btn-outline-... from bootstrap. */

/* Web stories slider minimal styling */
.slider {
  overflow: hidden; 
  position: relative;
}
.slides {
  transition: transform 0.5s ease;
  will-change: transform;
}
.story-card {
  min-width: 140px;
  margin-right: 8px;
  background: #fafafa;
  border-radius: 4px;
}
.story-card img {
  border-radius: 4px;
}
.story-card h3 {
  font-size: 0.9rem;
  margin: 0;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  text-align: center;
  opacity: 0.8;
}
.arrow:hover {
  background: #f58634;
}
.prev-arrow {
  left: 0.5em;
}
.next-arrow {
  right: 0.5em;
}

/* Large main video overlay */
.video-play-btn .play-circle {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 70% 50%, #f59036 0%, #fbb74e 100%);
  border-radius: 50%;
  position: relative;
}
.video-play-btn .play-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

/* Smaller videos overlay */
.play-circle-sm {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: radial-gradient(circle at 70% 50%, #f59036 0%, #fbb74e 100%);
  border-radius: 50%;
  position: relative;
}
.play-circle-sm::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

/* Basic responsiveness is handled by bootstrap's .row/.col. 
   Additional custom breakpoints can be added here if needed. */
#cityPostsContainer img 
{
  width:100%;
  height:175px;
  object-fit: cover;
}
.sudoku-container {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 2px;
  background: #b0bec5;
  padding: 5px;
  border-radius: 10px;
  /*max-width: 450px;*/
  /*width: 90%;*/
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sudoku-cell {
  width: 100%;
  padding-top: 75%;
  position: relative;
  background: #ffffff;
  border: none;
  outline: none;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  color: #2e7d32; /* Vibrant green for digits */
}

.sudoku-cell:focus {
  background: #e3f2fd; /* Soothing light blue for focus */
}

.sudoku-cell:disabled {
  background: #f1f8e9; /* Light green for pre-filled/hinted cells */
  color: #558b2f; /* Slightly darker green for contrast */
  cursor: not-allowed;
}

.sudoku-hint {
  background: #fff3e0; /* Warm, subtle orange for hints */
  color: #ef6c00; /* Vibrant orange for hint digits */
}

.sudoku-buttons {
  margin-top: 0px;
  display: block;
}

.sudoku-btn {
  padding: 5px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  background: #f58634; /* Vibrant blue for buttons */
  color: white;
}

.sudoku-btn:hover {
  transform: scale(1.05);
  background: #f58636;
}

.sudoku-btn:active {
  transform: scale(0.95);
}

.sudoku-separator {
  height: 1px;
  background: linear-gradient(to right, transparent, #b0bec5, transparent);
  border: none;
  margin: 20px 0;
  /*width: 100%;*/
  /*max-width: 450px;*/
}

@media (max-width: 600px) {
  .sudoku-container {
      gap: 1px;
  }

  .sudoku-cell {
      font-size: 1rem;
  }

  .sudoku-btn {
      padding: 8px 15px;
      font-size: 0.9rem;
  }
}

.word-card {
	padding: 15px;
	background-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.word {
	font-size: 24px;
	color: #f17c33;
	font-weight: bold;
	margin-top: 10px;
}

.pronunciation {
	font-size: 16px;
	color: #6c757d;
	margin: 5px 0;
}

.usage {
	font-size: 14px;
	color: #6c757d;
	margin-top: 10px;
	line-height: 1.5;
}