/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff4ec;
}

/* 變數定義 */
:root {
    --primary-green: #0d827c;
    --primary-pink: #e899a7;
    --primary-yellow: #f4d03f;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #fff4ec;
    --white: #fff4ec;
    --text-white: #ffffff;
}

/* 頁頭樣式 */
.site-header {
    background-color: var(--primary-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand a {
    text-decoration: none;
    color: var(--text-white);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-bubble {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
}

.chat-bubble.pink {
    background-color: var(--primary-pink);
    top: 0;
    left: 0;
}

.chat-bubble.blue {
    background-color: #5bc0de;
    bottom: 0;
    right: 0;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}

.logo-subtext {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
}

.menu-container {
    position: relative;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.8rem;
    color: var(--text-white);
    gap: 0.3rem;
    min-height: 40px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: 0.3s;
    transform-origin: center;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-text {
    font-size: 0.8rem;
    color: var(--text-white);
    margin-top: 0.2rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-green);
    min-width: 250px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: none;
    outline: none;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    border: none;
    outline: none;
}

.nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    background-color: transparent;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    text-align: left;
    font-weight: 500;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
}

.dropdown-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    position: relative;
}

.dropdown-toggle .nav-text,
.dropdown-toggle .nav-link-en {
    flex: none;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-text {
    line-height: 1.2;
    margin: 0;
}

.nav-link-en {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.2;
    margin: 0;
    font-weight: 400;
}

/* 下拉選單樣式 */
.dropdown {
    position: relative;
    display: block;
}

.dropdown-arrow {
    font-size: 0.6rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu-sub {
    position: static;
    background-color: var(--primary-green);
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    width: 100%;
    padding: 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu-sub {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.dropdown-menu-sub li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu-sub a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    text-align: left;
    background-color: var(--primary-green);
}

.dropdown-menu-sub a:hover {
    background-color: rgba(255,255,255,0.15);
    color: var(--text-white);
    padding-left: 2rem;
}

.dropdown-menu-sub a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background-color: rgba(255,255,255,0.3);
    transition: width 0.3s ease;
}

.dropdown-menu-sub a:hover::before {
    width: 3px;
}

.dropdown-menu-sub li:last-child a {
    border-bottom: none;
}

/* 主要內容 */
.main-content {
    min-height: calc(100vh - 200px);
}

/* 首頁英雄區域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green) 60%, var(--primary-yellow) 60%, var(--primary-yellow) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: "vortice-concept", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero-geometric {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
}

.geometric-shape {
    position: absolute;
    border-radius: 15px;
}

.shape-pink {
    background-color: var(--primary-pink);
    width: 200px;
    height: 150px;
    top: 20%;
    right: 10%;
    transform: rotate(-15deg);
}

.shape-yellow {
    background-color: #5A9BD4;
    width: 250px;
    height: 200px;
    top: 40%;
    right: 5%;
    transform: rotate(10deg);
}

.shape-green {
    background-color: #0a6b66;
    width: 180px;
    height: 120px;
    bottom: 20%;
    right: 15%;
    transform: rotate(-25deg);
}

/* 新聞區塊 */
.news-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-title::before {
    content: '';
    width: 16px;
    height: 16px;
    background-color: var(--text-dark);
    border-radius: 50%;
}

.section-title h2,
.section-title h1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    font-family: 'Noto Sans TC', sans-serif;
}

.section-title .title-en {
    color: var(--text-light);
    font-weight: 400;
    margin-left: 1.5rem;
    letter-spacing: 0.05em;
}

.more-info-btn {
    background-color: var(--primary-pink);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-left: auto;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.more-info-btn:hover {
    background-color: #d63384;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
}

/* 首頁新聞項目連結樣式 */
.news-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-grid a:hover .news-item {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-image {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    position: relative;
}

.news-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0,0,0,0.7);
    color: var(--text-white);
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.news-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    flex: 1;
}

/* 焦點新聞 */
.featured-news {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-pink) 100%);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    min-height: 300px;
}

.featured-image {
    flex: 1;
    background-color: rgba(255,255,255,0.2);
}

.featured-content {
    flex: 1;
    padding: 2rem;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--primary-green);
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.featured-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.featured-text {
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.featured-btn {
    background-color: var(--text-white);
    color: var(--primary-green);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.featured-btn:hover {
    background-color: var(--primary-green);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 130, 124, 0.3);
}

/* 關於頁面 */
.about-hero {
    background-color: var(--white);
    padding: 4rem 0 0 0;
}

.about-header {
    margin-bottom: 3rem;
}

.about-header-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-bullet {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.about-header-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    font-family: 'Noto Sans TC', sans-serif;
}

.about-main-image {
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.about-main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-content-section {
    display: flex;
    align-items: stretch;
    min-height: 320px;
}

.about-content-left {
    flex: 0 0 40%;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FFD537;
}

.about-content-right {
    flex: 1;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffe8a8;
}

.about-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    line-height: 1.2;
}

.about-main-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.about-description {
    line-height: 1.9;
    color: var(--text-dark);
    margin: 0;
    font-size: 1.15rem;
    text-align: justify;
    letter-spacing: 0.3px;
}

/* 關於頁面圖表區塊 */
.about-chart-section {
    background-color: var(--white);
    padding: 4rem 0 4rem 0;
}

.about-chart-container {
    width: 100%;
    text-align: center;
}

.about-chart-image {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.about-chart-description {
    max-width: 100%;
    margin: 2rem 0 0 0;
    text-align: left;
}

.about-chart-description p {
    color: #000000;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
    padding: 0 2rem;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 300;
}

/* 流程圖 */
.process-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 4rem 0 1rem 0;
    gap: 1rem;
}

.process-item {
    text-align: center;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 350px;
    justify-content: space-between;
}

.process-circle {
    width: 120px;
    height: 120px;
    background-color: var(--primary-green);
    border-radius: 50%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.process-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    margin: 0;
    flex-shrink: 0;
    align-self: center;
    width: 120px;
    text-align: center;
}

.process-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-align: left;
    line-height: 1.4;
    height: 80px;
    display: block;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* 刪除描述文字樣式 */

.process-connector {
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
    position: absolute;
    top: 50%;
    right: -30px;
    z-index: 1;
    transform: translateY(-50%);
}

.process-item:last-child .process-connector {
    display: none;
}

/* 聯絡頁面 */
.contact-hero {
    background-color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.contact-main-content {
    flex: 1;
}

.contact-icon {
    width: 120px;
    height: 120px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-icon-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-pink) 0%, var(--primary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-icon-circle::before {
    content: '💬';
    font-size: 3rem;
    filter: brightness(0) invert(1);
}

.contact-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-green);
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.contact-org-header {
    margin-top: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--text-dark);
    margin-bottom: 1rem;
}

.org-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.org-subtitle {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

.contact-info-section {
    background-color: var(--white);
    padding: 0 0 4rem 0;
}

.contact-info-section .section-container {
    text-align: left;
}

.contact-details {
    max-width: 800px;
    margin: 0;
    text-align: left;
}

.contact-org {
    margin-bottom: 3rem;
    text-align: left;
}

.org-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.org-item {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-method {
    margin-top: 2rem;
    text-align: left;
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.method-item {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* 照片頁面 */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.photo-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.photo-info {
    padding: 1.5rem;
    background-color: var(--primary-yellow);
}

.photo-title {
    font-weight: 600;
    color: var(--text-dark);
}

/* 教案頁面 - 卡片樣式 */
.lesson-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 教案連結樣式 */
.lesson-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.lesson-link:hover {
    transform: translateY(-2px);
}

.lesson-item {
    display: flex;
    align-items: stretch;
    background-color: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    gap: 2rem;
    overflow: hidden;
    min-height: 300px;
}

.lesson-link:hover .lesson-item {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.lesson-image {
    width: 320px;
    height: 256.77px;
    background-color: var(--primary-green);
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lesson-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, #48a999 100%);
    color: white;
    text-align: center;
    gap: 0.5rem;
}

.lesson-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.lesson-school {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.lesson-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #fff4ec;
    min-height: 200px;
    height: 100%;
}

.lesson-category {
    display: inline-block;
    background-color: #5A9BD4;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    align-self: flex-start;
}

.lesson-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.lesson-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 分頁 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .current {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.pagination a:hover {
    background-color: var(--primary-green);
    color: var(--text-white);
}

.pagination .pagination-btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .pagination-btn {
    text-decoration: none;
}

/* 頁腳 */
.site-footer {
    background-color: var(--primary-green);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-info {
    flex: 1;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-social {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    margin-right: 0;
    padding-right: 2rem;
}

.social-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-link.instagram {
    background-color: #E1306C;
    color: var(--text-white);
}

.social-link.facebook {
    background-color: #1877F2;
    color: var(--text-white);
}

.social-link.email {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.social-link:hover {
    transform: translateY(-3px);
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0 1rem 2rem;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1rem;
}

.footer-copyright p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}

/* 回到頂部按鈕 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0a6b66;
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* 中等螢幕優化 */
@media (max-width: 1200px) and (min-width: 1025px) {
    .section-container {
        padding: 0 1.5rem;
    }
}

/* 平板電腦優化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .lesson-item {
        padding: 1.2rem;
        gap: 1.5rem;
    }
    
    .lesson-image {
        width: 280px;
        height: 224.67px;
    }
    
    .lesson-title {
        font-size: 1.2rem;
    }
    
    .lesson-description {
        font-size: 0.95rem;
    }
}

/* 響應式設計 */
@media (max-width: 768px) {
    /* 導航優化 */
    .nav-container {
        padding: 0 1rem;
        border: none;
        outline: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.8rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .logo-subtext {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .dropdown-menu {
        min-width: 200px;
        right: -1rem;
        max-width: calc(100vw - 2rem);
    }
    
    /* 移動端下拉選單樣式 */
    .dropdown-menu-sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background-color: transparent;
        margin-top: 0;
        min-width: auto;
        max-width: 100%;
        padding: 0;
        border: none;
        overflow: hidden;
    }
    
    .dropdown-menu-sub a {
        padding: 0.6rem 2rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
        background-color: transparent;
    }
    
    .dropdown-menu-sub a:hover {
        padding-left: 2rem;
        background-color: rgba(255,255,255,0.1);
    }
    
    .dropdown-menu-sub a::before {
        display: none;
    }
    
    /* 英雄區域優化 */
    .hero-section {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-geometric {
        width: 30%;
        opacity: 0.7;
    }
    
    .shape-pink {
        width: 120px;
        height: 90px;
    }
    
    .shape-yellow {
        width: 150px;
        height: 120px;
    }
    
    .shape-green {
        width: 100px;
        height: 80px;
    }
    
    /* 新聞區塊優化 */
    .news-section {
        padding: 2rem 0;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .section-title {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
        justify-content: space-between;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
        flex: 1;
        margin-right: 1rem;
    }
    
    .section-title h1 {
        font-size: 1.3rem;
        flex: 1;
        margin-right: 1rem;
    }
    
    .section-title .title-en {
        margin-left: 1rem;
        font-size: 0.9rem;
        letter-spacing: 0.03em;
    }
    
    .more-info-btn {
        align-self: flex-start;
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        flex-shrink: 0;
        white-space: nowrap;
        display: inline-block;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .news-item {
        margin: 0 auto;
        max-width: 100%;
        height: 100%;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 1.2rem;
    }
    
    .news-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
    }
    
    /* 焦點新聞優化 */
    .featured-news {
        flex-direction: column;
        min-height: auto;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    
    .featured-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        opacity: 0.9;
    }
    
    .featured-text {
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    .featured-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    /* 照片輪播優化 */
    .photo-carousel-slide {
        padding-bottom: 75%; /* 保持4:3比例 */
    }
    
    .photo-carousel-caption {
        padding: 1.5rem;
    }
    
    .photo-carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .photo-carousel-caption p {
        font-size: 0.9rem;
    }
    
    .photo-carousel-btn-prev,
    .photo-carousel-btn-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 關於頁面優化 */
    .about-content-section {
        flex-direction: column;
    }
    
    .about-content-left {
        flex: none;
        padding: 2rem;
        text-align: center;
    }
    
    .about-content-right {
        padding: 2rem;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .about-main-subtitle {
        font-size: 1rem;
    }
    
    .about-description {
        font-size: 0.95rem;
    }
    
    .about-chart-section {
        padding: 2rem 0 3rem 0;
    }
    
    .about-chart-image {
        max-width: 90%;
        padding: 0 1rem;
    }
    
    .about-chart-description {
        max-width: 100%;
        margin: 1.5rem 0 0 0;
    }
    
    .about-chart-description p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    
    .process-item {
        height: auto;
        max-width: 300px;
        gap: 1rem;
    }
    
    .process-connector {
        display: none;
    }
    
    /* 聯絡頁面對齊優化 - 強制左對齊 */
    .contact-hero {
        text-align: left !important;
    }
    
    .contact-hero .section-container {
        padding: 0 1rem !important;
        text-align: left !important;
    }
    
    .contact-hero-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    .contact-main-content {
        text-align: left !important;
        width: 100% !important;
    }
    
    .contact-title {
        text-align: left !important;
        line-height: 1.1 !important;
    }
    
    .contact-icon {
        margin-bottom: 1rem !important;
    }
    
    .contact-org-header {
        text-align: left !important;
        margin-top: 1.5rem !important;
        border-bottom: 2px solid var(--text-dark) !important;
        padding-bottom: 1rem !important;
    }
    
    .org-main-title {
        text-align: left !important;
        margin-bottom: 0.5rem !important;
    }
    
    .org-subtitle {
        text-align: left !important;
        margin: 0 !important;
    }
    
    /* 聯絡資訊區塊對齊 - 強制左對齊 */
    .contact-info-section {
        text-align: left !important;
    }
    
    .contact-info-section .section-container {
        padding: 0 1rem !important;
        text-align: left !important;
    }
    
    .contact-details {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }
    
    .contact-org {
        text-align: left !important;
        margin-bottom: 2rem !important;
    }
    
    .org-title {
        text-align: left !important;
        margin-bottom: 1rem !important;
    }
    
    .org-item {
        text-align: left !important;
        margin-bottom: 0.6rem !important;
    }
    
    .contact-method {
        text-align: left !important;
        margin-top: 1.5rem !important;
    }
    
    .method-title {
        text-align: left !important;
        margin-bottom: 1rem !important;
    }
    
    .method-item {
        text-align: left !important;
        margin-bottom: 0.6rem !important;
    }
    
    /* 頁腳優化 */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        padding: 0 1rem 0 1rem;
    }
    
    .footer-social {
        text-align: left;
        align-items: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-copyright {
        text-align: left;
        padding: 1rem 0 0 0;
        margin: 1rem 0 0 0;
        max-width: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-copyright p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    /* 小螢幕進一步優化 */
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .logo-subtext {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    .dropdown-menu {
        min-width: 180px;
        right: -0.5rem;
        max-width: calc(100vw - 1rem);
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    /* 英雄區域 */
    .hero-section {
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }
    
    .hero-geometric {
        width: 25%;
    }
    
    /* 新聞區塊 */
    .section-title {
        gap: 0.5rem;
    }
    
    .section-title h2 {
        font-size: 1.2rem;
    }
    
    .section-title h1 {
        font-size: 1.2rem;
    }
    
    .section-title .title-en {
        margin-left: 0.8rem;
        font-size: 0.8rem;
        letter-spacing: 0.02em;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-title {
        font-size: 0.95rem;
    }
    
    .news-excerpt {
        font-size: 0.8rem;
    }
    
    .featured-content {
        padding: 1.2rem;
    }
    
    .featured-title {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .featured-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        opacity: 0.9;
    }
    
    .featured-text {
        font-size: 0.85rem;
    }
    
    /* 聯絡頁面小螢幕字體優化 */
    .contact-title {
        font-size: 2.5rem;
    }
    
    .org-main-title {
        font-size: 1.5rem;
    }
    
    .org-subtitle {
        font-size: 0.9rem;
    }
    
    .org-title {
        font-size: 1.3rem;
    }
    
    .org-item {
        font-size: 0.9rem;
    }
    
    .method-title {
        font-size: 1.3rem;
    }
    
    .method-item {
        font-size: 0.9rem;
    }
    
    /* 關於頁面 */
    .about-chart-section {
        padding: 1.5rem 0 2.5rem 0;
    }
    
    .about-chart-description p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
    
    /* 教案頁面優化 */
    .lesson-list {
        gap: 1.5rem;
    }
    
    .lesson-item {
        padding: 1rem;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lesson-image {
        width: 100%;
        height: 256.77px;
        align-self: stretch;
    }
    
    .lesson-content {
        padding: 0;
    }
    
    .lesson-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .lesson-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* 頁腳優化 */
    .footer-content {
        padding: 0 1rem 0 1rem;
        gap: 1.5rem;
    }
    
    .footer-info h3 {
        font-size: 1.3rem;
    }
    
    .footer-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .social-title {
        font-size: 1.1rem;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-copyright {
        padding: 1rem 0 0 0;
        text-align: left;
        margin: 1rem 0 0 0;
        max-width: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        text-align: left;
    }
    
    /* 教案頁面小螢幕優化 */
    .lesson-list {
        gap: 1rem;
    }
    
    .lesson-item {
        padding: 0.8rem;
        border-radius: 15px;
    }
    
    .lesson-image {
        height: 205.42px;
    }
    
    .lesson-title {
        font-size: 1rem;
    }
    
    .lesson-description {
        font-size: 0.85rem;
    }
    
    .lesson-icon {
        font-size: 2rem;
    }
    
    .lesson-school {
        font-size: 0.9rem;
    }
    
    /* 回到頂部按鈕 */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
} 

/* =================================
   LESSON PAGE STYLES
   ================================= */

/* All CSS icons removed */

/* Lesson Header */
.lesson-header {
    background: linear-gradient(135deg, #3a9e9e 0%, #52c4a8 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.lesson-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.lesson-header-bg {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.lesson-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    align-items: center;
}

.lesson-category,
.lesson-date {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.lesson-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.2;
    color: #333;
}

.lesson-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    opacity: 0.95;
    max-width: 800px;
    color: #333;
}

.lesson-details {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.lesson-author {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    line-height: 1.2;
    color: #333;
}

.lesson-tags {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag-item {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

/* Lesson Page Content */
.lesson-post .lesson-content {
    background: white;
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3 {
    color: #2e8b8b;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.content-wrapper h1 {
    font-size: 2rem;
    border-bottom: 3px solid #48a999;
    padding-bottom: 0.5rem;
}

.content-wrapper h2 {
    font-size: 1.6rem;
    padding-left: 0;
}

.content-wrapper h3 {
    font-size: 1.3rem;
    color: #5a9ba8;
}

.content-wrapper p {
    margin: 1rem 0;
    color: #444;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1rem 0;
    padding-left: 0;
    list-style-type: none;
}

.content-wrapper li {
    margin: 0.5rem 0;
    color: #444;
    line-height: 1.6;
    padding-left: 0;
}

.content-wrapper a {
    color: #333;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.content-wrapper a:hover {
    color: #666;
    border-bottom-color: #666;
}

.content-wrapper hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #48a999, transparent);
    margin: 2rem 0;
    border-radius: 1px;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.content-wrapper blockquote {
    background: #f8f9fa;
    border-left: 4px solid #48a999;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* 圖片並排顯示容器 */
.content-wrapper .image-container {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 教案頁面中包含兩張並排圖片的段落 */
.content-wrapper p:has(img[style*="flex: 1; min-width: 48%"]) {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 確保段落中的圖片能正確並排 */
.content-wrapper p img[style*="flex: 1; min-width: 48%"] {
    flex: 1;
    min-width: 48%;
    max-width: 48%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* Lesson Navigation */
.lesson-navigation {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-prev,
.nav-next,
.nav-home {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #2e8b8b;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 60px;
}

.nav-prev:hover,
.nav-next:hover,
.nav-home:hover {
    border-color: #48a999;
    background: #48a999;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 169, 153, 0.3);
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-next .nav-content {
    align-items: flex-end;
}

.nav-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.7;
    margin-bottom: 0.2rem;
}

.nav-title {
    font-weight: 600;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-home {
    font-weight: 600;
    justify-content: center;
}

/* Responsive Design for Lesson */
@media (max-width: 768px) {
    .lesson-header {
        padding: 2rem 0;
    }
    
    .lesson-title {
        font-size: 2rem;
    }
    
    .lesson-meta {
        gap: 0.5rem;
        justify-content: flex-start;
    }
    
    .lesson-details {
        gap: 0.8rem;
        margin-top: 1rem;
        justify-content: flex-start;
        align-items: center;
    }
    
    .lesson-tags {
        gap: 0.8rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.6rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.3rem;
    }
    
    /* 小螢幕上圖片垂直排列 */
    .content-wrapper p:has(img[style*="flex: 1; min-width: 48%"]) {
        flex-direction: column;
    }
    
    .content-wrapper p img[style*="flex: 1; min-width: 48%"] {
        max-width: 100%;
        min-width: 100%;
        flex: none;
    }
    
    .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-prev,
    .nav-next,
    .nav-home {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .nav-content {
        align-items: center;
    }
    
    .nav-next .nav-content {
        align-items: center;
    }
    
    .nav-title {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .lesson-title {
        font-size: 1.7rem;
    }
    
    .lesson-excerpt {
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 0 1rem;
    }
} 

/* 照片輪播 */
.photo-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto 4rem auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.photo-carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.photo-carousel-slide {
    min-width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 75%; /* 4:3 比例 (3/4 = 0.75) */
}

.photo-carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.photo-carousel-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.photo-carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* 照片輪播控制按鈕 */
.photo-carousel-btn-prev,
.photo-carousel-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
}

.photo-carousel-btn-prev {
    left: 20px;
}

.photo-carousel-btn-next {
    right: 20px;
}

.photo-carousel-btn-prev:hover,
.photo-carousel-btn-next:hover {
    background: rgba(255,255,255,1);
    transform: translateY(-50%) scale(1.1);
}

/* 照片輪播指示器 */
.photo-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.photo-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-carousel-dot.active {
    background: rgba(255,255,255,1);
    transform: scale(1.2);
}

/* 照片網格樣式優化 */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.photo-info {
    padding: 1.5rem;
}

.photo-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.photo-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
} 