/* 
   Profile Mobile Landing Styles
   Optimized for Hans Hatch and Miranda Segura profiles
*/

:root {
    --h-brand-orange: #FF4E00;
    --h-brand-dark: #000000;
    --h-btn-gray: #B2B2B2;
    --h-text-main: #333333;
}

.h-profile-body {
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Section */
.h-profile-header {
    background: linear-gradient(135deg, #FF4E00 0%, #E64400 100%);
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
    height: 280px;
    display: flex;
    overflow: hidden;
}

.h-profile-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #FF4E00;
    transform: translateY(100%);
    z-index: 10;
}

.h-profile-photo-container {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-left: 20px;
}

.h-profile-photo {
    width: auto;
    height: 260px; /* Increased for premium feel */
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: slideUp 0.8s ease-out;
}

.h-profile-branding {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    text-align: right;
    color: #fff;
}

.h-profile-branding .h-magazine-label {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    opacity: 0.9;
}

.h-profile-branding .h-sm-logo {
    width: 160px;
    height: auto;
    margin-left: auto;
}

/* Info Section */
.h-profile-info {
    padding: 60px 25px 20px; /* 60px top to clear the triangle */
    display: flex;
    align-items: center;
    gap: 15px;
}

.h-soy-bubble {
    width: 60px;
    height: auto;
}

.h-info-text h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: #000;
    line-height: 1.1;
}

.h-info-text p {
    font-size: 16px;
    font-weight: 500;
    margin: 5px 0 0;
    color: #666;
}

/* Buttons System */
.h-profile-actions {
    padding: 10px 25px;
}

.h-btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.h-btn-main:active {
    transform: scale(0.98);
}

.h-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.h-grid-item {
    background: #B2B2B2;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    transition: background 0.2s;
}

.h-grid-item:active {
    background: #999;
}

.h-grid-item i, .h-grid-item img {
    width: 24px;
    height: 24px;
}

.h-grid-item span {
    font-size: 12px;
    font-weight: 600;
}

/* News Section */
.h-news-section {
    padding: 30px 25px;
}

.h-news-title {
    font-size: 18px;
    font-weight: 800;
    color: #FF4E00;
    border-left: 4px solid #FF4E00;
    padding-left: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.h-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 100px 100px; /* Asymmetric look */
    gap: 15px;
}

.h-news-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #eee;
    text-decoration: none;
}

.h-news-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
}

.h-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 15px 10px;
}

.h-news-card h4 {
    color: #fff;
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
}

.h-news-card .h-news-meta {
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    margin-top: 5px;
    display: block;
}

/* Footer Social */
.h-profile-footer {
    padding: 40px 25px 60px;
    text-align: center;
}

.h-social-flex {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.h-social-icon {
    width: 32px;
    height: 32px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.h-social-icon img {
    width: 100%;
    height: 100%;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Specific Tablet adjustments */
@media (min-width: 768px) {
    .h-profile-body {
        max-width: 500px;
        margin: 0 auto;
        box-shadow: 0 0 50px rgba(0,0,0,0.1);
        min-height: 100vh;
    }
}
