/* ==========================================================================
   Responsive Styles — aktiengurus.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   Large Desktop (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-article-image {
    height: 400px;
  }
}

/* --------------------------------------------------------------------------
   Tablet (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Grid adjustments */
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Layout */
  .site-content {
    gap: 25px;
  }

  .sidebar {
    width: 260px;
  }

  /* Navigation - tighter spacing */
  .nav-item a {
    padding: 23px 10px;
    font-size: 13px;
  }

  /* Hero */
  .hero-article-image {
    height: 350px;
  }

  .hero-article-overlay h2 {
    font-size: 24px;
  }

  /* Typography */
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  /* Horizontal article cards */
  .article-card-horizontal .article-card-image {
    width: 220px;
  }
}

/* --------------------------------------------------------------------------
   Small Tablet / Large Phone (max-width: 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Show hamburger, hide desktop nav */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  /* Header adjustments */
  .site-header .container {
    height: 55px;
  }

  /* Single column layout */
  .site-content,
  .content-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
  }

  .sidebar {
    width: 100%;
  }

  /* Grid: single column */
  .article-grid,
  .article-grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Hero */
  .hero-article-image {
    height: 280px;
  }

  .hero-article-overlay {
    padding: 25px 20px 20px;
  }

  .hero-article-overlay h2 {
    font-size: 20px;
  }

  /* Typography */
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  body {
    font-size: 14px;
    line-height: 22px;
  }

  /* Article cards */
  .article-card-body {
    padding: 15px;
  }

  .article-card-body h3 {
    font-size: 16px;
  }

  .article-card-image img {
    height: 180px;
  }

  /* Horizontal card: stack on mobile */
  .article-card-horizontal {
    flex-direction: column;
    gap: 15px;
  }

  .article-card-horizontal .article-card-image {
    width: 100%;
  }

  .article-card-horizontal .article-card-image img {
    height: 200px;
  }

  /* Category page header */
  .category-header {
    padding: 25px 0;
  }

  .category-header h1 {
    font-size: 24px;
  }

  /* Single article */
  .single-article-header h1 {
    font-size: 24px;
  }

  .single-article-content {
    font-size: 15px;
    line-height: 1.7;
  }

  .single-article-content img {
    margin: 15px 0;
  }

  .single-article-author-line {
    font-size: 13px;
    padding: 10px 0;
  }

  /* Single post hero */
  .single-post-hero {
    padding: 20px 0;
  }

  .single-post-hero-title {
    font-size: 20px;
    line-height: 1.3;
  }

  /* Post navigation */
  .post-navigation {
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }

  .nav-next {
    text-align: left;
  }

  /* Share buttons */
  .share-buttons {
    gap: 3px;
  }

  .share-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  /* Author box */
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Stock info box */
  .stock-info-box {
    padding: 20px 15px;
  }

  .stock-info-box p {
    font-size: 13px;
  }

  /* News ticker */
  .news-ticker-label {
    font-size: 11px;
    padding: 10px 12px;
  }

  .news-ticker-list li a {
    font-size: 13px;
  }

  /* Footer */
  .footer-widgets .container {
    flex-direction: column;
  }

  .footer-widget {
    min-width: 100%;
  }

  .footer-bottom .container {
    text-align: center;
  }

  /* Pagination */
  .pagination {
    margin: 25px 0;
  }

  .pagination a,
  .pagination span {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }

  /* Widgets */
  .widget {
    padding: 20px;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Mobile nav overlay adjustments */
  .mobile-nav {
    top: 55px;
    height: calc(100vh - 55px);
  }

  /* Section spacing */
  .section {
    padding: 25px 0;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  /* Search overlay */
  .search-overlay-form input {
    font-size: 18px;
  }

  .search-overlay-close {
    top: 15px;
    right: 15px;
  }

  /* Buttons */
  .mehr-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   Small Phone (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 17px;
  }

  .hero-article-image {
    height: 220px;
  }

  .hero-article-overlay h2 {
    font-size: 18px;
  }

  .hero-article-overlay {
    padding: 20px 15px 15px;
  }

  .article-card-image img {
    height: 160px;
  }

  /* Tighter category header */
  .category-header {
    padding: 20px 0;
  }

  .category-header h1 {
    font-size: 20px;
  }

  /* Single article */
  .single-article-header h1 {
    font-size: 20px;
  }

  .single-post-hero {
    padding: 15px 0;
  }

  .single-post-hero-title {
    font-size: 18px;
  }

  .single-article-content {
    font-size: 13px;
  }

  /* Footer social icons */
  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  /* News ticker */
  .news-ticker {
    height: 35px;
  }

  .news-ticker-label {
    padding: 8px 10px;
    font-size: 10px;
  }

  /* Mobile nav full-width */
  .mobile-nav {
    width: 100%;
    right: -100%;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 12px;
  }

  /* Article meta */
  .article-meta {
    font-size: 11px;
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .news-ticker,
  .menu-toggle,
  .back-to-top,
  .search-overlay,
  .pagination,
  .mehr-btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .site-content {
    flex-direction: column;
  }

  .main-content {
    width: 100%;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  img {
    max-width: 100% !important;
  }
}
