/* Sample Post 4 - Magazine Style Layout */

/* Magazine Post Styling */
.magazine-post {
    background-color: #ffffff;
    color: #2c2c2c;
    font-family: 'Georgia', serif;
    max-width: 900px;
    margin: 0 auto;
}

.magazine-post h1,
.magazine-post h2,
.magazine-post h3,
.magazine-post h4 {
    font-family: 'Arial', sans-serif;
    color: #1a1a1a;
}

/* Magazine Header */
.magazine-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 3px solid #1a1a1a;
    margin-bottom: 40px;
}

.category-tag {
    display: inline-block;
    background-color: #e63946;
    color: white;
    padding: 5px 20px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.magazine-title {
    font-size: 3rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: bold;
    color: #1a1a1a;
}

.subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.author-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #e63946;
}

.author-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.publish-info {
    font-size: 0.9rem;
    color: #666;
}

/* Magazine Hero Image */
.magazine-hero {
    margin: 40px -20px;
    text-align: center;
}

.magazine-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.magazine-hero figcaption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    padding: 0 20px;
}

/* Drop Cap */
.drop-cap::first-letter {
    font-size: 5rem;
    line-height: 0.8;
    float: left;
    font-weight: bold;
    color: #e63946;
    margin: 10px 10px 0 0;
    font-family: 'Georgia', serif;
}

/* Pull Quote */
.pull-quote {
    font-size: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: bold;
    color: #e63946;
    border-left: 5px solid #e63946;
    padding: 20px 30px;
    margin: 40px 0;
    background-color: #fff5f5;
}

.pull-quote.left {
    float: left;
    width: 40%;
    margin: 10px 30px 20px 0;
}

.pull-quote.right {
    float: right;
    width: 40%;
    margin: 10px 0 20px 30px;
}

/* Two Column Layout */
.two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.column h3 {
    margin-top: 0;
    color: #e63946;
}

.fancy-list {
    list-style: none;
    padding-left: 0;
}

.fancy-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.fancy-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e63946;
    font-weight: bold;
    font-size: 1.2rem;
}

.column-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.image-note {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* Specialty Grid */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.specialty-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #e63946;
}

.specialty-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.location-tag {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #666;
}

/* Sidebar Box */
.sidebar-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 5px solid #4CAF50;
}

.sidebar-box h3 {
    margin-top: 0;
    color: white;
}

.sidebar-box p {
    color: white;
    margin-bottom: 0;
}

/* Inline Figure */
.inline-figure {
    margin: 30px 0;
}

.inline-figure.right {
    float: right;
    max-width: 400px;
    margin: 0 0 20px 30px;
}

.inline-figure.left {
    float: left;
    max-width: 400px;
    margin: 0 30px 20px 0;
}

.inline-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.inline-figure figcaption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    text-align: center;
}

/* Magazine Video */
.magazine-video {
    margin: 40px 0;
    text-align: center;
}

.magazine-video iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 15px;
}

/* Recommendation Table */
.recommendation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.recommendation-table thead {
    background-color: #e63946;
}

.recommendation-table th {
    padding: 15px;
    color: white;
    font-weight: bold;
    text-align: left;
}

.recommendation-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #2c2c2c;
}

.recommendation-table tbody tr:hover {
    background-color: #fff5f5;
}

.recommendation-table tbody tr:last-child td {
    border-bottom: none;
}

/* Magazine Quote */
.magazine-quote {
    background-color: #f8f9fa;
    border-left: 5px solid #e63946;
    padding: 30px;
    margin: 40px 0;
    font-size: 1.3rem;
    font-style: italic;
    color: #2c2c2c;
}

.magazine-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-style: normal;
    color: #666;
    text-align: right;
}

/* Etiquette Steps */
.etiquette-steps {
    margin: 40px 0;
}

.etiquette-step {
    display: flex;
    gap: 25px;
    align-items: start;
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #e63946;
}

.step-num {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e63946 0%, #c41e3a 100%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h4 {
    margin: 0 0 10px 0;
    color: #1a1a1a;
}

.step-content p {
    margin: 0;
    color: #2c2c2c;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.photo-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Closing Box */
.closing-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 50px 0;
    text-align: center;
    font-size: 1.2rem;
}

.closing-box p {
    color: white;
    margin-bottom: 15px;
}

.closing-box em {
    font-size: 1.4rem;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid #1a1a1a;
}

.related-articles h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    text-decoration: none;
    color: inherit;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    border-color: #e63946;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    margin: 15px;
    color: #1a1a1a;
}

.related-card p {
    margin: 0 15px 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .magazine-title {
        font-size: 2rem;
    }

    .pull-quote.left,
    .pull-quote.right {
        float: none;
        width: 100%;
        margin: 30px 0;
    }

    .two-column-section {
        grid-template-columns: 1fr;
    }

    .inline-figure.right,
    .inline-figure.left {
        float: none;
        max-width: 100%;
        margin: 30px 0;
    }

    .magazine-video iframe {
        height: 250px;
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .etiquette-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}