/**
 * Media Queries for Responsive Design
 * 
 * This file contains all breakpoint-specific styles for responsive layouts
 * organized from smallest to largest screen sizes.
 */

/* Mobile First Approach */

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  /* Convert stacked layouts to horizontal on tablets */
  .blog-card-wrapper {
    flex-direction: row;
  }

  .blog-card-image-container {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  /* Main layout becomes 2-column on desktop */
  main {
    grid-template-columns: 1fr 300px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Print styles */
@media print {

  .site-header,
  .search-box,
  .site-footer {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .blog-content a[href]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    font-style: italic;
  }

  .blog-content {
    width: 100%;
  }
}