/**
 * Responsive Stylesheet
 * Blue Olive Capital Theme
 */

/* ==========================================================================
   Tablet Landscape (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .investments-grid,
  .news-grid,
  .media-grid,
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .investment-layout {
    grid-template-columns: 1fr;
  }

  .investment-sidebar {
    position: static;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-widgets-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* ==========================================================================
   Tablet Portrait (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --spacing-xl: 2.5rem;
    --spacing-lg: 1.5rem;
    --spacing-md: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  /* Header */
  .menu-toggle {
    display: flex;
  }

  .primary-menu {
    display: none;
  }

  /* Hero */
  .hero-section {
    min-height: 400px;
    height: auto;
    padding: var(--spacing-lg) 0;
    padding-bottom: 0;
    padding-top: 0;
  }

  .hero-title {
    font-size: 3.5rem !important;
    font-weight: 400;
    margin-bottom: 0 !important;
  }
  .hero-overlay {
    background: rgba(0, 43, 139, 0.9);
  }

  .hero-description {
    font-size: 1.125rem !important;
    margin-bottom: 0 !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
  }
  /* Sections */
  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  /* Grids */
  .investments-grid,
  .news-grid,
  .media-grid,
  .posts-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .values-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  /* Entry Title */
  .entry-title {
    font-size: 2rem;
  }

  /* CTA */
  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  /* Footer */
  .footer-widgets-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-menu {
    justify-content: center;
  }

  /* Navigation */
  .nav-links {
    flex-direction: column;
  }

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

  /* 404 */
  .error-404-title {
    font-size: 5rem;
  }

  .error-404-subtitle {
    font-size: 1.5rem;
  }

  .error-404-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-404-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ==========================================================================
   Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-lg: 1.5rem;
    --spacing-md: 1rem;
    --spacing-sm: 0.75rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Typography */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero */
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .stats-title {
    font-size: 2.5rem;
  }


  .strategies-section::before {
    top: auto;
    height: auto;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background-size: cover;
  }
	
  /* Section Titles */
  .section-title {
    font-size: 2.5rem;
  }
  .about-title {
    font-weight: 400 !important;
    font-size: 1.75rem !important;
    padding: 0.5rem 1rem !important;
  }
  .about-h2 {
    font-size: 2.3rem !important;
  }
  .section-description {
    font-size: 1.25rem;
  }
  .leadership-title {
    font-size: 2.3rem !important;
    text-align: left !important;
  }

  .leadership-section {
    padding: 4rem 0.5rem;
  }
  .leadership-section-wrapper {
    gap: 1.75rem;
  }
  .approach-arrow:nth-child(4) {
    display: none !important;
  }
  .approach-container-wrapper {
    padding: 0 !important;
  }
	
  .market-insights-section {
    padding: 4rem 0.5rem;
  }
.approach-item p {
  min-height: 110px;
}
  /* Cards */
  .investment-content,
  .news-content,
  .media-content,
  .post-content {
    padding: var(--spacing-sm);
  }

  .investment-title,
  .news-title,
  .media-title {
    font-size: 1.125rem;
  }

  /* Contact Form */
  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: var(--spacing-sm);
  }

  /* Buttons */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }

  .btn-large {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }

  /* Entry */
  .entry-title {
    font-size: 1.75rem;
  }

  .entry-content,
  .investment-content {
    font-size: 1rem;
  }

  /* Mobile Menu */
  .mobile-menu-content {
    width: 90%;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 1.5rem 1rem;
  }
  .footer-widgets {
    padding: var(--spacing-lg) 0;
  }

  .footer-menu {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* 404 */
  .error-404-title {
    font-size: 4rem;
  }

  /* Site Branding */
  .site-title {
    font-size: 1.25rem;
  }

  .custom-logo-link {
    max-width: 150px;
  }

  /* Filter Buttons */
  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
  }

  /* Investment Meta */
  .investment-meta {
    padding: var(--spacing-sm);
  }

  /* Pagination */
  .page-numbers {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   Hover States for Touch Devices
   ========================================================================== */

@media (hover: none) {
  .investment-card:hover,
  .investment-item:hover,
  .news-card:hover,
  .media-item:hover,
  .post-item:hover {
    transform: none;
  }

  .investment-card:hover .investment-thumbnail img,
  .investment-item:hover .investment-thumbnail img {
    transform: none;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .cta-section,
  .post-navigation,
  .breadcrumbs,
  .pagination,
  .menu-toggle,
  .mobile-menu-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    max-width: 100%;
  }

  a {
    text-decoration: underline;
  }

  .entry-content,
  .investment-content {
    max-width: 100%;
  }
}

