/* ========================================
   ROCKS 2 PAGE SPECIFIC STYLES
   Path: css/3rocksandminerals/rocks2.css
   ======================================== */

/* --- Layout Utilities --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- TOP SECTION (2 Columns) --- */
.r2-top-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px; /* 20px padding between columns */
    margin-bottom: 40px;
}

.r2-top-col-1 {
    flex: 1;
    text-align: left;
}

.r2-top-col-2 {
    flex: 0 0 auto;
}

.r2-question-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000066;
    line-height: 1.2;
    font-family: Arial, Helvetica, sans-serif;
}

/* --- MIDDLE SECTION (2 Columns) --- */
.r2-middle-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.r2-mid-col-1 {
    flex: 0 0 auto;
}

.r2-mid-col-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.r2-instruction-text {
    font-size: 1.4rem;
    color: #000066;
    line-height: 1.5;
    margin-bottom: 20px;
}

.text-bold {
    font-weight: bold;
}

.text-red {
    color: #CC0000;
    font-weight: bold;
}

/* Links Container */
.r2-help-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Equally spaced */
    margin-top: 10px;
}

.r2-link {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000066;
    text-decoration: underline;
}

.r2-link:hover {
    color: #660099;
}

/* --- LOWER MIDDLE (Backpack Images) --- */
.r2-backpack-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Equally spaced across full width */
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.r2-backpack-item {
    flex: 0 0 auto;
}

/* --- BOTTOM SECTION (Tongue Twister) --- */
.r2-bottom-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px; /* Padded 15 pixel from col 1 */
    margin-bottom: 40px;
}

.r2-bot-col-1 {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Right align content inside col 1 */
    text-align: right;
}

.r2-dare-text {
    font-size: 1.3rem;
    color: #000066;
    font-weight: bold;
    margin-bottom: 15px;
}

.r2-rick-face {
    /* Image is right aligned via flex-end on parent */
    display: block;
}

/* Tongue Twister Box */
.r2-bot-col-2 {
    flex: 1;
    background-color: #E6F2FF; /* Light blue */
    border: 2px solid #B0C4DE; /* Faint 2px border (LightSteelBlue) */
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tongue-twister-text {
    font-size: 1.3rem;
    color: #000066;
    font-weight: bold;
    line-height: 1.6;
    font-family: "Courier New", Courier, monospace; /* Monospace fits tongue twisters well */
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .r2-top-section, 
    .r2-middle-section, 
    .r2-bottom-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .r2-top-col-1, .r2-bot-col-1 {
        text-align: center;
        align-items: center;
    }

    .r2-help-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .r2-backpack-grid {
        justify-content: center;
    }
}