/* Core layout */ .page-layout { display: flex; gap: 1rem; /* Reduced from 2rem */ max-width: 1600px; margin: 0 auto; padding: 0.75rem; /* Reduced from 1rem */ } /* Logo container */ .logo-container { display: flex; justify-content: center; margin-bottom: 1.5rem; /* Reduced from 2rem */ width: 100%; } .main-logo { width: 300px; height: auto; border-radius: 8px; object-fit: contain; transition: transform 0.3s ease; } .main-logo:hover { transform: scale(1.05); } /* Left sidebar */ .left-sidebar { width: 280px; display: flex; flex-direction: column; gap: 0.75rem; /* Reduced from 1rem */ order: 2; } /* Main content container */ .home-container { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; padding: 1rem; /* Reduced from 1.5rem */ min-width: 0; order: 1; } .home-content { max-width: 800px; margin: 0; } /* Typography styles */ .home-content h1 { margin: 0 0 0.75rem; /* Reduced from 1rem */ font-size: 1.8rem; } .home-content p { margin: 0.4rem 0; /* Reduced from 0.5rem */ font-size: 0.95rem; line-height: 1.3; /* Reduced from 1.4 */ } .subtitle { font-weight: bold; font-style: italic; color: var(--md-primary-fg-color); margin: 0.5rem 0 0.75rem 0 !important; /* Reduced from 0.7rem 0 1rem 0 */ } /* Button styles */ .home-buttons { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.6rem; /* Reduced from 0.8rem */ margin-top: 0.75rem; /* Reduced from 1rem */ } .home-button { display: inline-block; padding: 0.6rem 1.2rem; /* Reduced from 0.7rem 1.4rem */ border-radius: 4px; /* Reduced from 6px */ text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: all 0.2s ease; } .home-button.primary { background-color: var(--md-primary-fg-color); color: white; } .home-button.primary:hover { background-color: var(--md-primary-fg-color--dark); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .home-button.secondary { background-color: transparent; color: var(--md-primary-fg-color); border: 1px solid var(--md-primary-fg-color); } .home-button.secondary:hover { background-color: rgba(var(--md-primary-fg-color--rgb), 0.05); transform: translateY(-2px); } /* Contact sidebar */ .contact-sidebar { width: 300px; display: flex; flex-direction: column; gap: 0.75rem; /* Reduced from 1rem */ order: 3; } /* Card styling */ .sidebar-card { background: var(--md-primary-bg-color); border-radius: 6px; /* Reduced from 8px */ padding: 1rem; /* Reduced from 1.2rem */ text-decoration: none; color: inherit; border: 1px solid rgba(0, 0, 0, 0.08); /* Reduced opacity from 0.1 */ transition: all 0.2s ease; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* Reduced shadow */ } .sidebar-card:hover { transform: translateY(-2px); border-color: var(--md-primary-fg-color); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08); /* Reduced from 0 4px 12px and opacity 0.12 */ } .card-content h3 { font-size: 1.1rem; margin: 0 0 0.6rem 0; /* Reduced from 0.8rem */ color: var(--md-primary-fg-color); } .card-content p { font-size: 0.85rem; margin: 0.2rem 0 0.6rem; /* Reduced from 0.3rem 0 0.8rem */ } /* Resources card */ .resource-list { display: flex; flex-direction: column; gap: 0.6rem; /* Reduced from 0.8rem */ } .resource-item { display: flex; align-items: center; gap: 0.5rem; /* Reduced from 0.7rem */ padding: 0.6rem; /* Reduced from 0.7rem */ border-radius: 4px; /* Reduced from 6px */ text-decoration: none; color: inherit; transition: all 0.2s ease; background: rgba(0, 0, 0, 0.02); } .resource-item:hover { background: rgba(var(--md-primary-fg-color--rgb), 0.1); transform: translateY(-2px); } .resource-icon { font-size: 1.2rem; } .resource-info { display: flex; flex-direction: column; } .resource-info strong { font-size: 0.9rem; margin-bottom: 0.2rem; } .resource-info span { font-size: 0.75rem; opacity: 0.8; } /* Download card */ .sidebar-card.download { display: flex; align-items: center; gap: 1rem; background: var(--md-primary-fg-color); color: white; } .card-icon { font-size: 1.5rem; opacity: 0.9; } /* Community profile */ .community-profile { display: flex; align-items: center; gap: 0.75rem; /* Reduced from 1rem */ margin: 0.75rem 0; /* Reduced from 1rem */ padding: 0.6rem; /* Reduced from 0.8rem */ background: rgba(var(--md-primary-fg-color--rgb), 0.04); border-radius: 6px; /* Reduced from 8px */ border-left: 2px solid var(--md-primary-fg-color); /* Reduced from 3px */ } .community-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--md-primary-fg-color); } .community-info { flex: 1; } .community-info strong { display: block; font-size: 0.9rem; color: var(--md-primary-fg-color); } /* Contact actions */ .contact-actions { display: flex; flex-direction: column; gap: 0.6rem; /* Reduced from 0.8rem */ margin-top: 0.75rem; /* Reduced from 1rem */ } .action-btn { display: flex; align-items: center; gap: 0.4rem; /* Reduced from 0.5rem */ padding: 0.6rem 0.9rem; /* Reduced from 0.7rem 1rem */ background: white; border: 1px solid rgba(0, 0, 0, 0.08); /* Reduced opacity from 0.1 */ border-radius: 4px; /* Reduced from 6px */ color: inherit; text-decoration: none; font-size: 0.85rem; transition: all 0.2s ease; } .action-btn:hover { background: var(--md-primary-fg-color); color: white; border-color: var(--md-primary-fg-color); } .action-btn.secondary { background: rgba(var(--md-primary-fg-color--rgb), 0.1); color: var(--md-primary-fg-color); } .icon { opacity: 0.8; } /* Responsive design */ @media (max-width: 1200px) { .page-layout { flex-wrap: wrap; justify-content: center; } .home-container { flex-basis: 100%; order: 1; } .left-sidebar { flex-basis: 45%; order: 2; } .contact-sidebar { flex-basis: 45%; order: 3; } } @media (max-width: 900px) { .page-layout { flex-direction: column; } .home-container { order: 1; } .left-sidebar, .contact-sidebar { width: 100%; max-width: 600px; margin: 0 auto; } .left-sidebar { order: 2; } .contact-sidebar { order: 3; } } @media (max-width: 600px) { .page-layout { padding: 0.4rem; /* Reduced from 0.5rem */ } .home-buttons { flex-direction: column; width: 100%; } .home-button { width: 100%; text-align: center; } .logo-container { margin-bottom: 1.2rem; /* Reduced from 1.5rem */ } .main-logo { width: 100px; } } /* Dark mode support */ [data-md-color-scheme="slate"] .sidebar-card { background: rgba(45, 55, 72, 0.3); border-color: rgba(255, 255, 255, 0.05); /* Reduced opacity from 0.1 */ } [data-md-color-scheme="slate"] .resource-item { background: rgba(255, 255, 255, 0.05); } [data-md-color-scheme="slate"] .resource-item:hover { background: rgba(255, 255, 255, 0.1); } [data-md-color-scheme="slate"] .action-btn { background: rgba(45, 55, 72, 0.5); border-color: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); }